Comment on How to port any N64 game to the PC in record time
Excrubulent@slrpnk.net 5 months agoThis is going to be important for maintaining the legacy of old video games.
Like, emulators are fine, but access to recompilation makes it much easier to keep things in a generally useful format.
Honestly one of the reasons I don’t play emulated games much is that the extra step of configuring and running the compiler is a hassle, and sometimes it straight up doesn’t work.
AProfessional@lemmy.world 5 months ago
This is the worst format for that?
Binaries will never get bug fixes or improvements like an emulator. The rom is the only relevant archive of a game.
cucumber_sandwich@lemmy.world 5 months ago
C code that reproduces a running binary on an up to date compiler is worse than a machine code binary for a legacy machine of which complete Emulation is not guaranteed?
Nibodhika@lemmy.world 5 months ago
Yes, because machine code for the legacy machine is how the game was made, you can’t be 100% sure that recompiling it for other platforms won’t introduce bugs because of the difference in platforms. For example, the original Space Invaders used the CPU to it’s maximum to render all of the invaders, they weren’t normalizing by the dt between one frame and the next like we do today for most games, so this results in the game running as fast as possible, which in turns translates to the less enemies on screen, the faster they move. If you recompile that binary for a modern system it’s game over in less than 1 second, because current hardware can handle all of those spaceships as if it were nothing.
cucumber_sandwich@lemmy.world 5 months ago
Ah, i think i misunderstood your comment.
In terms of archiving I agree, in terms of restoring a running copy from an archive, maybe not.
Excrubulent@slrpnk.net 5 months ago
Right, but it’s not just pushing a button to get the recompiled code, there’s stil translation work to be done. Crucially, a framerate will need to be chosen, so you can just choose to base the framerate on the processing done.
Sure, the ROM is “original” but I’d argue that accessing the source code - or an analogue to it - is a more fundamental way of archiving the original, since without that source code we don’t have access to how it was originally made.
The point is not that it competes with ROMs or replaces them, but it adds to them and makes the archive that much more complete.