Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

I asked Codex 5.4 to reverse engineer a DOS game with no source code. It’s been running for 6 hours, I can’t look away. It unpacked assets, disassembled the EXE, rebuilt the renderer, and built my childhood favorite SkyRoads in Rust! Now think of all the games we can revive.

511,794 Aufrufe • vor 7 Monaten •via X (Twitter)

71 Kommentare

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

open sourcing all my prompts so far, plan files, and current progress here so you can follow along or reverse engineer your own project:

Profilbild von Derya Unutmaz, MD
Derya Unutmaz, MDvor 7 Monaten

@apples_jimmy One of my hobby for AI vibe coding projects is remaking all of my Commodore 64 and Amiga games from the late 80s and early 90s ☺️

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

@apples_jimmy This is the sign to do it!! 😊

Profilbild von jason
jasonvor 7 Monaten

Wow want some credits?

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Sir absolutely 🙏 I have so many ideas :)

Profilbild von Sten Tamkivi
Sten Tamkivivor 7 Monaten

There are even more layers in your choice of game: 1) SkyRoads was a breakout for a 🇪🇪 group called Bluemoon, in 1993: 2) same team co-founded Kazaa, and then Skype in 2003 3) After exiting Skype, Jaan Tallinn became a prolific AI investor (incl DeepMind, Anthropic) and AI safety philantrophist and Ahti is building a very AI-driven co @StarshipRobots

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Whoa, this is amazing

Profilbild von Tigran
Tigranvor 7 Monaten

6 hours autonomous EXE disassembly is wild but makes sense. Reverse engineering is mostly pattern recognition, and that is what Codex is built for.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Yep! Basically has been reading, storing, and then patching till it gets tests passing

Profilbild von Nik Knack ☕
Nik Knack ☕vor 7 Monaten

EVERY GAME WILL BE ON PC

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Or finally ported to Mac!!!

Profilbild von Nik Knack ☕
Nik Knack ☕vor 7 Monaten

Sure, More the merrier! Straight to Apple Silicon!

Profilbild von Adam.GPT
Adam.GPTvor 7 Monaten

Lode Runner!

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

hahah yessss

Profilbild von Vish
Vishvor 7 Monaten

the fact that it chose Rust for the rewrite is the quietly impressive part. it didn't just transliterate x86 assembly into C... it understood the game's structure well enough to pick a modern language and rebuild the renderer from scratch. this opens up a whole preservation angle that the retro gaming community has been doing by hand for decades. imagine pointing this at every abandonware title from the 90s

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

100% and it’s part of why I didn’t ask it to pick a certain language or framework, I wanted to see which path it thought would be the least friction

Profilbild von Bicalho
Bicalhovor 7 Monaten

Oh wow. I wanna revive this one.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

do it!

Profilbild von Bicalho
Bicalhovor 7 Monaten

Next weekend. 🙂

Profilbild von Cavit Erginsoy
Cavit Erginsoyvor 7 Monaten

did it actually disassemble it or simply hallucinated the game from scratch or from what it found on web

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Nope! It’s been running full debugging logs and porting files, and I’ve seen it patch based off everything it’s disassembling. Genuinely been amazing to watch

Profilbild von Cavit Erginsoy
Cavit Erginsoyvor 7 Monaten

wild

Profilbild von Pietro Schirano
Pietro Schiranovor 7 Monaten

Unreal

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

bro you literally inspired the thought yesterday

Profilbild von Pietro Schirano
Pietro Schiranovor 7 Monaten

I love it! This is the new “snake game” ahahah

Profilbild von Max Tepafray 😈Resident Juxtubus💭
Max Tepafray 😈Resident Juxtubus💭vor 7 Monaten

You've inspired me. I have ChatGPT 5.4 trying to decompile Bubsy (SNES) now.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Hahah let’s gooo

Profilbild von John-Daniel Trask
John-Daniel Traskvor 7 Monaten

@apples_jimmy Following just because it’s sky roads. Be still my childhood heart ❤️

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

@apples_jimmy Hahah too many memories racing close to the edge

Profilbild von Loftwah
Loftwahvor 7 Monaten

I played this so much as a kid

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

same!

Profilbild von Peter Yang
Peter Yangvor 7 Monaten

what do you mean you just said "build lode runner"?

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

I gave it the directory and I said reverse engineer this game, do not infer anything, it needs to be a true 1:1 port that runs natively And then it unpacked assets, ran tons of tests and started mapping all of it. I’ll put it all on Git and share prompts too!

Profilbild von Peter Yang
Peter Yangvor 7 Monaten

I've been trying to build F-zero with each model release and it's all failed so far - might try it with GPT 5.4 lol

Profilbild von scoopy trooples
scoopy trooplesvor 7 Monaten

can someone do this for bubble bobble with online co-op?

Profilbild von vik
vikvor 7 Monaten

omg this was my favorite game

Profilbild von 🇨🇦halogen
🇨🇦halogenvor 7 Monaten

I was thinking of doing one of these with an old BBS door like Legend Of The Red Dragon 2, which had simultaneous multiplayer and an overhead map view. Could be a lot of fun as a chaotic 300 player server if you got traction, and the game as released was missing quest content

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

that would be so sick!

Profilbild von David Palmer
David Palmervor 7 Monaten

Do WordStar 4.0 and Ser Reshi will die horribly in The Winds Of Winter.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

hahaha

Profilbild von MotionViz
MotionVizvor 7 Monaten

i know codex is goated. While i am a Gemini Guy. I made a short summary on Codex.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

yeah I’m really impressed, it’s great

Profilbild von MotionViz
MotionVizvor 7 Monaten

expecations are high from my side for gemini. already part of Chrome Built-in AI Early Preview Program. but the main part is the model and coding agents. what can we expect in the near future?

Profilbild von Martz
Martzvor 7 Monaten

so cool, do you have a GitHub for it?

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

I’ll push it to git and reply here when it’s up!

Profilbild von Martz
Martzvor 7 Monaten

thanks will be waiting!

Profilbild von Argentinian Peasant
Argentinian Peasantvor 7 Monaten

revive this one

Profilbild von The Fizzy Mind
The Fizzy Mindvor 7 Monaten

This must be a joke… 6 hours? How many tokens has it eaten?! I can’t get mine to work more than 5 minutes. What am I missing?

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

No joke the first session was 3 hours and 34 minutes, then I asked to steer the plan in another direction slightly. I started with plan mode and make sure it’s setup with a good exit criteria, after that it basically just kept pushing towards it.

Profilbild von The Fizzy Mind
The Fizzy Mindvor 7 Monaten

Thanks, Ammaar! That’s a very good point! A well-defined exit criterion is like “trapping” the model inside a loop to prevent it from coming back empty-handed. I knew, for example, that Claude supports the “Ralph Wiggum” loop (quite similar in logic), but I never actually tried it. And I never thought I could do it with Codex too! Currently, I’m indeed the “bottleneck” between the model and the task. I’ll give it a go—let Codex score its own output and notify me only if it meets the threshold I’ve defined…

Profilbild von Dan Advantage
Dan Advantagevor 7 Monaten

real question actually: how do you get around gpt stopping constantly? e.g.

Profilbild von cozybear
cozybearvor 7 Monaten

Imagine not using TypeScript

Profilbild von Eric Winnington
Eric Winningtonvor 7 Monaten

Trying a Claude vs Codex head to head. Will see in several hours.

Profilbild von Janson
Jansonvor 7 Monaten

@thps2x I wonder if this would work for FMV games like Darkseed or Harvester, I’d like to create an Open FMV Game engine that can play them all upscaled and such

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

@thps2x That would be sick! I was hoping to jump to command and conquer next and see what was possible

Profilbild von Gene Sigalov
Gene Sigalovvor 7 Monaten

I remember this game. It was fantastic. I probably have it on a floppy somewhere. :)

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

whoa! still having the floppy is awesome

Profilbild von Idan Beck
Idan Beckvor 7 Monaten

I loved this game - this is super cool

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

same! :)

Profilbild von Niall O'Higgins
Niall O'Higginsvor 7 Monaten

Super cool - I used to play this game every night.

Profilbild von Gleb Reys
Gleb Reysvor 7 Monaten

Wow! Will be trying the same soon - looks promising!

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Report back!

Profilbild von Dipanjan
Dipanjanvor 7 Monaten

One good use of AI based reverse engineering could be the closed source game servers which went dark. This would revive a lot of old classics.

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

I this this will 100% happen

Profilbild von Nathan Lands
Nathan Landsvor 7 Monaten

amazing

Profilbild von Dave 🇦🇺
Dave 🇦🇺vor 7 Monaten

Hi Ammaar, How do I get access to this? I have a few ideas of my own and a specific game in mind... :-)

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

Just grab codex from OpenAI!

Profilbild von Dave 🇦🇺
Dave 🇦🇺vor 7 Monaten

Thankyou. 😊

Profilbild von chefboirdoge
chefboirdogevor 7 Monaten

lol Nintendo cease and desists bout to go crazy 😢

Profilbild von Ammaar Reshi
Ammaar Reshivor 7 Monaten

lmaooo personal experimentation only

Profilbild von chefboirdoge
chefboirdogevor 7 Monaten

💀 lol things are gonna get wild lmao o even checked Nintendo still trying to sell megaman for money with steam deals lol 😆

Ähnliche Videos