Hacker News new | ask | show | jobs
by bazodedo 1 day ago
Extract positioning/actions from the video, then replay using the original game engine and render at any desired resolution. Capture replay, pixelate and compare. Repeat until identical. Though the effort required suggest you postpone that project for perhaps two more years, until the required compute/intelligence is cheap.
3 comments

Does UT have deterministic saves?

The corresponding project in any Trackmania game, for instance, would be made trivial with access to the original save (saves to reproduce online match) as one can simply replay the saves in the existing replay editor, set your cameras as desired, and even produce a new recording from the replay editor.

Like, if you see a crappy youtube upload where perhaps you can't quite see something, if the save is on the exchange, you can watch it in whatever resolution you have at home.

"Extract positioning/actions from the video"

How would one even start doing it? Especially in a pixelated video?

The very best I would hope for this way, would be a very rough approximation. Unless one specially trains a model for this task. Or am I missing something?

With "structure fron motion", you could reconstruct a model of the level geometry. Then you could find a best-fit position compared to the actual level geometry, and that gives you the path of the camera through the level. With some reverse engineering you could read the position, velocity, etc. of the character from RAM and program a PID controller to play inputs to match the computed camera path.

It would be quite a significant undertaking.

Sounds like a lot of programming indeed.

For doing manually, I recall seeing the CS "door stuck" clip get remade, mentioned by 3klik, but that's also an ungodly amount of manual tracing.

Upscaling does sound the most approachable method.

The geometry is already available, as well as all movement physics. It is probably much easier than upscaling real world footage.
The geometry of the level is avaiable as well as the physic of the game in general. But everything else, all the positions, events, actions, .. you get from where?
You'll get it from the original pixelated footage, if I haven't overlooked anything.
And how? Those are just pixels. You use a algorithm or a model to get coordinates out of pixels? Both do not seem trivial to me.
It's not unheard of for video game speedrunners to reverse engineer a game to the point that the internal state of the random number generator can be inferred based solely on what's on screen, and then to manipulate the state of that random number generator using valid game inputs to cause a "lucky" random event that saves time.

Reconstructing object positions based on the rendered frames wouldn't even be impressive.

Not trivial, but should be easier than upscaling pixels from real world footage, where you don't have access to all of those things listed.
it's a .wmv video not a save-game/replay save
Is the recording of a single map? What version of Unreal Tournament?
no - it's a montage video from the best shots over months - typical mid 2010 stuff

I believe Unreal Tournament 2003 specifically for this video