Repository navigation
Releases
Spider-Man: The Videogame - Native Recompilation v0.1.1 (sound + truck crash fix)
Spider-Man: The Videogame — Native Recompilation v0.1.1 (sound + truck crash fix)
This release adds the Steam Deck opening/truck crash fix to the sound-fix build.
Crash fix
- The failing path was
jsr 0x088B00at0x0600FC; that dispatcher calls the object handler at4[R20]. 0x073716is a valid handler — the first entry of the object-handler tables at0x1389A,0x13C82,0xDDF0and0xE056— but those tables were not described to the static analysis, so no translated function existed there.- The tables are now described in
symbols.txtas 32-bit code-pointer records. This translates0x073716and the later handlers0x06AFAA,0x06A333,0x06A36F,0x06A458,0x06B09Eand0x08A876. - No assertion was suppressed, no return address was hardcoded, and the opening/truck sequence was not bypassed.
Validation
tests/run_tests.py: PASS — 1,500/1,500 attract frames, 901/901 coin/start/gameplay frames, and 6,000/6,000 opening/gameplay frames identical in state and picture vss32ref; 2,500/2,500 no-selectiontruck.txtframes identical.- Linux native 6,000-frame run: exit 0, state and video identical to the MAME reference.
- Steam Deck AppImage,
spidman.ziponly beside the AppImage, 6,000 frames: exit 0. - AppImage 1,500-frame run: exit 0, passed the former frame-1010 crash point, 4,800,000 bytes of 48 kHz stereo s16le audio captured.
- The AppImage contains no ROM and no unrelated game data.
Artifacts
SpiderMan-Fixed-SteamDeck-x86_64.AppImage— fixed Steam Deck / Linux x86-64 AppImageSpiderMan-Fixed-Linux-x86_64— rebuilt Linux executable used inside the AppImageSpiderMan-Fixed-Source.zip— corrected source, tests, docs and generated C; no ROM- matching
.sha256files
Checksums
8ec92c2531e135111962f628c03853e2449935cefa2d60a15cb0f3a4ca3b7673 SpiderMan-Fixed-SteamDeck-x86_64.AppImage
522569cf6ea7d687cc847874f0d46b9873003d0aa5d0c5d51adeb520d1a1d6af SpiderMan-Fixed-Linux-x86_64
1c4c0fa9bf1f3371fac0fd78fdc9fdb9bff53fe634554a8f517d6f590d7acd9b SpiderMan-Fixed-Source.zip
Running
- Put your own MAME
spidman.zipbeside the AppImage, or setSPIDERMAN_ROMto it. - Desktop Mode: make the AppImage executable and double-click it.
- Gaming Mode: add it as a non-Steam game.
- The AppImage does not include the copyrighted ROM.
The existing SpiderMan-Windows-x64.zip is the previous Windows sound-fix build and does not include this Linux/Steam Deck truck fix.
Credits: built on arcade-decomp by Sebastian Toyos (@cheviman) — https://github.com/cheviman/arcade-decomp — and on segasonic-decomp by the same author. Both are BSD-3-Clause; their notices are preserved. See BUILD_STATUS.md and docs/CRASH_REPORT.md in the source for details.
Spider-Man: The Videogame - Native Recompilation v0.1.0
Superseded by v0.1.1, which fixes the SDL2 sound rate and bundles the MinGW runtime DLLs.
Native static recompilation of Sega's 1991 arcade game Spider-Man: The Videogame (Sega System 32, 4-player board). - Main NEC V60 program translated to native C/x86-64: 6,273 instructions, 718 functions. - Board model: memory, interrupts, timers, 315-5296 I/O, 8255 4-player PPI, EEPROM, System 32 video. - Verified frame by frame against MAME: 1,500/1,500 attract frames and 901/901 coin/start/gameplay frames identical in state and picture. - Windows x64 build and Steam Deck/Linux x86_64 AppImage. - ROM-free: no ROM, BIOS or game data is included. Supply your own MAME spidman.zip. - Sound currently uses a documented reference Z80/chip fallback (MAME Z80, RF5C68, ymfm YM3438); the main game is native. - High-level V60 decompilation is partial; the instruction-level translation is the functional build. Credits: built on arcade-decomp by Sebastian Toyos (@cheviman) - https://github.com/cheviman/arcade-decomp - and on segasonic-decomp by the same author. Both are BSD-3-Clause; their notices are preserved. See BUILD_STATUS.md in the source for the full test record and limitations.