frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Metal Gear Solid 2's source code has been leaked on 4chan

https://www.thegamer.com/mgs2-hd-edition-source-code-massive-leak/
86•rishabhd•2h ago

Comments

AnotherGoodName•1h ago
I wonder if it’s a real leak or just an agent recreation of the source from machine code.

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.

bigyabai•1h ago
It's (probably) a real leak. There are original comments in Japanese describing cut content and game logic that was scrapped in the final release.
jayd16•1h ago
Raw assets are probably the better tell
whywhywhywhy•59m ago
It’s the real code there is code for known removed content (tanker escape scene and the 9/11 removed cutscene). Also AI can’t do what you’re theorizing yet.

>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

AnotherGoodName•52m ago
>Also AI can’t do what you’re theorizing yet.

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.

echelon•51m ago
> It’s the real code there is code for known removed content (tanker escape scene and the 9/11 removed cutscene). Also AI can’t do what you’re theorizing yet.

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.

tuna74•32m ago
How do you verify that everything is correct?
AnotherGoodName•24m ago
I’m sure the builds from doing what i’ve been doing won’t generate identical bytecode but it’s fun for the sake of messing with the game or understanding it (eg. The checksum logic for newstowers save game logic was cooy pastable as was the whole save game structure formatting itself and clearly matches the game - it works!). Likewise with all the JA3 mechanics documented in that linked guide.
defen•30m ago
Whoa, since when is there a Jagged Alliance 3? Is it any good? JA2 is one of my favorite games of all time
AnotherGoodName•14m ago
It’s playable but nowhere near as good and a lot of criticism is warranted. A true ‘70%’ game.

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.

jamesu•26m ago
There is no way you could recreate a convincing enough 90s era codebase of a japanese videogame + its associated tools + scripts and commented out codepaths with current ai tools.
sigmoid10•15m ago
I wouldn't be too sure about that. The original decompilations of Mario 64 and Ocarina of Time were done mostly by hand because LLMs weren't really around yet, but these kinds of projects seem perfectly suited for handing the gritty work off to AI: There is a clear output (exact binary recreation) and a straightforward path to get there (look at this assembly code and produce some C code from it). The decompilation of Twilight Princess jumped from very little to basically 100% of core code in the past year alone: https://github.com/zeldaret/tp

I have no doubt that this would be possible for MGS2 as well.

CamperBob2•11m ago
That's pre-2026 thinking. At this point, with the ability to lash IDA or similar tools to an agentic harness, there is no longer any such thing as a closed-source binary.
tombert•1h ago
Maybe with the source code, I'd be able to figure out what the hell happened in the last ~2 hours of the game.
2OEH8eoCRo0•56m ago
Dunkey MGS Explained https://www.youtube.com/watch?v=aaLiLRVeaZA
halflife•35m ago
That’s great, now do kingdom hearts
2OEH8eoCRo0•26m ago
Dunkey Kingdom Hearts explained https://www.youtube.com/watch?v=8o1ieehttdA
jwitthuhn•34m ago
I need scissors, 61!
charcircuit•58m ago
>this remains a tremendous milestone for games preservation

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.

tfigueroa•53m ago
It’s, what, 25 years old? There have been many sequels, prequels, remastering. The economic benefits of this IP are largely exhausted; that it is now leaked to the commons isn’t an alarming thing.
charcircuit•34m ago
The game just had an update to support the Switch 2 only 2 months ago. It is still being used commercially.
unleaded•47m ago
copyright infringement is awesome
r33b33•23m ago
This
pdntspa•43m ago
because intellectual property laws are inherently worthy of respect and they are never used against consumers ever
gwern•33m ago
> Clearly if it was able to be leaked it already was being preserved

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.

0cf8612b2e1e•14m ago
Anti-emulation Nintendo was caught repacking a pirated ROM.

https://www.eurogamer.net/did-nintendo-download-a-mario-rom-...

BYOMesh – New LoRa mesh radio offers 100x the bandwidth

https://partyon.xyz/@nullagent/116499715071759135
36•nullagent•59m ago•8 comments

Southwest Headquarters Tour

https://katherinemichel.github.io/blog/travel/southwest-headquarters-tour-2026.html
79•KatiMichel•2h ago•7 comments

Mercedes-Benz commits to bringing back physical buttons

https://www.drive.com.au/news/mercedes-benz-commits-to-bringing-back-phycial-buttons/
417•teleforce•4h ago•242 comments

A desktop made for one

https://isene.org/2026/05/Audience-of-One.html
73•xngbuilds•3h ago•35 comments

How far behind is each major Chromium browser?

https://chromium-drift.pages.dev/
99•skaul•1h ago•34 comments

Security through obscurity is not bad

https://mobeigi.com/blog/security/security-through-obscurity-is-not-bad/
50•mobeigi•4h ago•62 comments

Bad Connection: Global telecom exploitation by covert surveillance actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
18•miohtama•2h ago•3 comments

I recreated the Apple Lisa computer inside an FPGA [video]

https://www.youtube.com/watch?v=8jNQDcpHc68
8•cyrc•1h ago•0 comments

Alert-driven monitoring

https://simpleobservability.com/docs/alert-driven-monitoring
69•khazit•5h ago•30 comments

Metal Gear Solid 2's source code has been leaked on 4chan

https://www.thegamer.com/mgs2-hd-edition-source-code-massive-leak/
87•rishabhd•2h ago•28 comments

What is Z-Angle Memory and why is Intel developing it?

https://www.hpcwire.com/2026/02/05/what-is-z-angle-memory-and-why-is-intel-developing-it/
53•rbanffy•2d ago•20 comments

For thirty years I programmed with Phish on, every day

https://christophermeiklejohn.com/ai/personal/phish/flow/agents/2026/05/03/rift.html
164•azhenley•3h ago•114 comments

The Death of Scrum – Built for a slower world, performed by those who left

https://death-of-scrum.net/
4•mantyx•34m ago•0 comments

Cordouan Lighthouse

https://en.wikipedia.org/wiki/Cordouan_Lighthouse
17•Petiver•4d ago•0 comments

Text-to-CAD

https://github.com/earthtojake/text-to-cad
8•softservo•2d ago•2 comments

Show HN: Apple's SHARP running in the browser via ONNX runtime web

https://github.com/bring-shrubbery/ml-sharp-web
136•bring-shrubbery•9h ago•35 comments

How Kepler built verifiable AI for financial services with Claude

https://claude.com/blog/how-kepler-built-verifiable-ai-for-financial-services-with-claude
10•eddiehammond•47m ago•1 comments

Underwater robot tracks sperm whale conversations in real time

https://www.reuters.com/business/environment/underwater-robot-tracks-sperm-whale-conversations-re...
8•thedebuglife•2h ago•0 comments

Porsche will contest Laguna Seca in historic colors of the Apple Computer livery

https://newsroom.porsche.com/en_US/2026/motorsport/porsche-will-contest-laguna-seca-in-historic-c...
89•Amorymeltzer•4h ago•30 comments

Modern jet engine turbines: each blade a single crystal (2015)

https://www.americanscientist.org/article/each-blade-a-single-crystal
12•whycome•5h ago•1 comments

Nuclear receptor 4A1 linked to health effects of coffee: study

https://sciencex.com/news/2026-04-coffee-doesnt-key-biological-pathway.html
82•pseudolus•7h ago•62 comments

A couple million lines of Haskell: Production engineering at Mercury

https://blog.haskell.org/a-couple-million-lines-of-haskell/
372•unignorant•19h ago•182 comments

Group averages obscure how an individual's brain controls behavior: study

https://med.stanford.edu/news/all-news/2026/04/brain-scans-individual-versus-group.html
97•hhs•2d ago•26 comments

This Month in Ladybird – April 2026

https://ladybird.org/newsletter/2026-04-30/
472•richardboegli•22h ago•133 comments

The agent harness belongs outside the sandbox

https://www.mendral.com/blog/agent-harness-belongs-outside-sandbox
144•shad42•21h ago•105 comments

Dav2d

https://code.videolan.org/videolan/dav2d
580•dabinat•1d ago•166 comments

Six years perfecting maps on watchOS

https://www.david-smith.org/blog/2026/04/29/maps-on-watchos/
414•valzevul•21h ago•106 comments

Do_not_track

https://donottrack.sh/
479•RubyGuy•1d ago•147 comments

Embedded Rust or C firmware? Lessons from an industrial microcontroller use case

https://arxiv.org/abs/2604.25679
139•mrtz•2d ago•126 comments

The Oscars just banned AI from winning acting and writing awards

https://gizmodo.com/the-oscars-just-banned-ai-from-winning-acting-and-writing-awards-2000753740
52•ZeidJ•1h ago•23 comments