使用 Codex 5.4 逆向工程一个没有源代码的 DOS 游戏
This repository is an active reverse-engineering and native-port effort for the original DOS game SkyRoads.
The goal is not to make a loose remake. The goal is a true, deterministic port that reproduces the shipped DOS build's data formats, simulation, rendering rules, demo playback, and audio timing as closely as possible, then runs that logic natively on macOS and other modern platforms.
DOSBox already solves a different problem: it runs the original DOS executable through emulation.
This project is doing something deeper:
That matters because it unlocks things emulation alone does not:
This is real and playable, but not finished and not yet fully 1:1.
Current native build status:
What is still incomplete:
TREKDAT span pipelineIn short: this is already past "concept demo" territory, but it is not honest to call it finished or pixel-perfect yet.
The project now has working native parsers or extractors for:
.LZS archives with CMAP and PICT chunksANIM.LZS wrapper resourcesROADS.LZS road dataTREKDAT.LZS renderer dataMUZAX.LZS music dataINTRO.SND and SFX.SNDDEMO.REC*.DAT HUD fragment packsSKYROADS.EXEThe current reverse-engineering baseline includes verified findings for:
TREKDAT ring buffer setupThe Rust workspace now contains:
skyroads-data: exact loaders and binary format parsingskyroads-core: deterministic gameplay, demo playback, and app stateskyroads-renderer-ref: CPU reference renderer under active DOS-faithful portingskyroads-audio-ref: native audio path for intro/sample/music schedulingskyroads-sdl: macOS-first native hostskyroads-cli: verification and inspection commandscrates/skyroads-data: native loaders for original SkyRoads files and EXE-derived tablescrates/skyroads-core: deterministic app/gameplay statecrates/skyroads-renderer-ref: reference software renderercrates/skyroads-audio-ref: reference audio pathcrates/skyroads-sdl: SDL host used to run the native buildcrates/skyroads-cli: CLI inspection and validation toolstools/skyroads_extract.py: Python extractor for original DOS assets and structurestools/skyroads_dosbox_trace.py: DOSBox-X startup/file-I/O tracertools/skyroads_dos_oracle.py: DOSBox-X debugger harness for capturing runtime checkpointsdocs/reverse-engineering.md: detailed reverse-engineering notes and verified findingsdocs/port-architecture.md: target native-port architectureRequirements:
Useful commands:
cargo test
cargo run -p skyroads-cli -- summary .
cargo run -p skyroads-sdl -- .If you want to run against a different local SkyRoads data directory, you can pass that path instead of ..
SDL controls:
Up / Down: menu, throttle, brakeLeft / Right: steerEnter: select, restartSpace: skip intro, jump, restartEscape: back to menuQ: quitTab: cycle visual debug modesFor the deeper technical record:
This repository is intended for compatibility, preservation, research, and native-port work on SkyRoads.
Please use it responsibly:
This repository is intentionally documenting the work as it actually happened:
That distinction matters. The interesting part of this project is not "an old game runs." The interesting part is that the original binary is being understood deeply enough to rebuild it natively.
暂无开放 Issues,或尚未同步最近议题。