I think the next 10 years or so are going to see a chucklefuck of games reversed thanks to LLMs, which can easily pattern match and operate on contrivedely optimized assembly and output reasonably accurate C/C++ code. I’m one of many right now using Ghidra + LLM workflow. It’s doing the thing it needs to and I’ve helped several communities revive and port their games this way. It is a huge time saver. While I’d perso…
10 years is far too pessimistic for this being a routine task, I think 2 years max. As you mentioned, you can already do this today by just giving GPT 5.5/Opus 4.8 an IDA/Ghidra tooling (a CLI or MCP, I have a custom CLI for it). You can start with the LLM going from the string anchors and renaming functions/globals, then when you have enough functions, the LLM can start working on typing - IDA has a very powerful ty…
Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
211–220 of 302 posts
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#212I think the next 10 years or so are going to see a chucklefuck of games reversed thanks to LLMs, which can easily pattern match and operate on contrivedely optimized assembly and output reasonably accurate C/C++ code. I’m one of many right now using Ghidra + LLM workflow. It’s doing the thing it needs to and I’ve helped several communities revive and port their games this way. It is a huge time saver. While I’d perso…
Your take is very interesting, but please do not forget that pirating games is a crime.
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#213Earlier quoted context omitted.
10 years is far too pessimistic for this being a routine task, I think 2 years max. As you mentioned, you can already do this today by just giving GPT 5.5/Opus 4.8 an IDA/Ghidra tooling (a CLI or MCP, I have a custom CLI for it). You can start with the LLM going from the string anchors and renaming functions/globals, then when you have enough functions, the LLM can start working on typing - IDA has a very powerful ty…
Have you published your IDA CLI anywhere? I'd be interested to see what that looks like
Then recently I found https://github.com/bkerler/ida_rpc which seems to be ~60% the same thing as the one I have, the only big difference is that I do not give any special commands to LLMs, they just have to write Python in scripts/inline heredocs to interact with IDA. This lets them do a lot more interesting things since they get a full programming language.
This is an example of how LLMs work with idagent (`ida` is implicitly imported, ida.types, ida.comments is helper's own wrappers): https://paste.debian.net/hidden/cf46a122
More interesting example that was used to let the LLM/me track the rename progress for the initial function renames + gaps (code-looking like bytes that weren't inside of functions, IDA's autoanalysis missed some real functions). Although the game turned out to be small enough with only ~1500 real game functions that needed renames, which was done in ~10 hours of agent time total I think (I didn't parallelize with multiple agents). https://paste.debian.net/hidden/bf458b3a
To be honest, you can probably have an agent vibecode a similar MVP tool to the one I have in about an hour-two :)
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#214Damn, I still have the CD in one of my unopened boxes from our last move.
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#215I think the next 10 years or so are going to see a chucklefuck of games reversed thanks to LLMs, which can easily pattern match and operate on contrivedely optimized assembly and output reasonably accurate C/C++ code. I’m one of many right now using Ghidra + LLM workflow. It’s doing the thing it needs to and I’ve helped several communities revive and port their games this way. It is a huge time saver. While I’d perso…
Your take is very interesting, but please do not forget that pirating games is a crime.
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#216Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#217Earlier quoted context omitted.
Completely unrelated but I find it amusing in a good way that Oblivion is recognized more favorably now. I never understood the disregard for it (horse armor nonsense aside), as it has a very compelling, unique atmosphere and a not so terrible storyline/writing.
To me, the level scaling just completely annihilates the game. Why even have a leveling system if practically everything just stays leveled with you?
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#218Earlier quoted context omitted.
They’re not talking about the chatbot TUI. The chatbot TUI was and is in JavaScript. They’ve ported the JavaScript runtime .
Not GP but the js runtime has a long tail of case edges you simply can't emulate with a single app.
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#219Does it actually play identically or is there going to be weird bugs all over the place? Seems like an impossible ask to verify if you don't have an immense test suite that covers everything.
Re: Command and Conquer Generals natively ported to macOS, iPhone, iPad using Fable
#220> Long sessions on iPad can be killed by iOS for memory (~3 GB+ resident); the app exits to the home screen with no dialog. Session logs (current + previous) are in the Files app under the game's folder. Under investigation. Wait. It's a port from a game from 2003. I don't think PC had 4 GB of memory back then (unless my memory is fuzzy, ah!): I mean, maybe some had that, but not the majority. I doubt the requirement…