ZH version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
93% Positive
Analyzed from 1232 words in the discussion.
Trending Topics
#code#game#source#com#https#original#real#binary#mgs#www

Discussion (39 Comments)Read Original on HackerNews
I’ve been having fun lately with agents and decompilation. You can literally point them at any game and ask them to decompile the game and structure and format as if it was the original source code. Asking them to ensure it compiles works fine.
Some proof: i made online save game editors for jagged alliance 3; grandcheaten.com and news tower; thedailycheat.com (.com domains are only $10 so i figured why not).
You can do this with any game i’ve found. Older games work best due to the forced simplicity of the source code though.
I have no doubt that this would be possible for MGS2 as well.
Here's the same simple program, written in 3 different ways, producing identical binary compatible code: https://godbolt.org/z/qWrc8fEnn
How does the AI know whether it should produce back the snippet #1, #2 or #3? It does not. It cannot.
What is the experience faulty decompilation, and the existence of bugs in the binary?
Could one decompile a binary to a more modern language than C?
>and ask them to decompile the game and structure and format as if it was the original source code. Asking them to ensure it compiles works fine
lot of people claiming this the end result is the AI downloading an emulator and rom
Did you try the above links? I haven’t shared the full source but all game mechanics listed in the ja3 guide including code snippets where helpful.
There are lots of decompilation community efforts for N64 games, etc.
Someone should train a model on this. Giving the decompiled symbols good names, etc.
De-minification and de-obfuscation while we're at it.
It should be easy to generate a ton of "synthetic" (actually real) training data for this by simply compiling sources and using that as (input, output) pairs.
Gunplay is weak. Accuracy drops off waaaay too fast based on maximum range of the gun and burst fire has arbitrary damage reduction per bullet. So short range guns almost always missed (mechanics documented from source in the above guide) and if they hit they did little damage. It means the only viable weapons are long range weapons. Rifles and assault rifles. A submachine gun is worse than a sniper rifle even at close range.
The plot has a key gameplay changing moment that triggers waaay to early meaning you have to work to see much of the game content. Everyone tries to avoid the trigger on the second playthrough which is a silly thing to do game design wise. A desire to teleport across the map was the original motivation to the above from my point of view.
Enemies are bullet sponges in the late game too. A lame way o balance weak ai and gunplay.
It could have been as good as ja2 but they just didn’t refine the above enough.
Clearly if it was able to be leaked it already was being preserved. It is shameful that such a publication tries and celebrate copyright infringement like this.
Preserved by whom? Many leaks are done by old or ex-employees who quietly kept a shall we say 'backup' of their work. More than one 'official' re-release has been rumored to be an embarrassed company quietly filing the serial numbers off a rogue leak because they realized way too late that their archival practices were inadequate.
https://www.eurogamer.net/did-nintendo-download-a-mario-rom-...
Aside from that thought exercise, like many "internet facts" this one also might not be true, and repeating it doesn't really help either "side."
https://medium.com/@AberrantWolf/mario-illegal-roms-and-medi...
Recompilation efforts raise the bar for future re-releases, and incentivize proper remaster efforts like MGS Delta instead of the half-assed Master collection. I would love to see Konami thrive as a company and get more people interested in MGS, but their recent re-releases don't deserve to be priced at $60. Their monopoly of the source code feels like an existential threat to both future preservation and high-quality MGS remakes, it's healthier for Konami to simply let it go at this point.