Skip to content

Releases

Spider-Man: The Videogame - Native Recompilation v0.1.1 (sound + truck crash fix)

Choose a tag to compare

@omegakatana92 omegakatana92 released this 28 Oct 20:23

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 0x088B00 at 0x0600FC; that dispatcher calls the object handler at 4[R20].
  • 0x073716 is a valid handler — the first entry of the object-handler tables at 0x1389A, 0x13C82, 0xDDF0 and 0xE056 — but those tables were not described to the static analysis, so no translated function existed there.
  • The tables are now described in symbols.txt as 32-bit code-pointer records. This translates 0x073716 and the later handlers 0x06AFAA, 0x06A333, 0x06A36F, 0x06A458, 0x06B09E and 0x08A876.
  • 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 vs s32ref; 2,500/2,500 no-selection truck.txt frames identical.
  • Linux native 6,000-frame run: exit 0, state and video identical to the MAME reference.
  • Steam Deck AppImage, spidman.zip only 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 AppImage
  • SpiderMan-Fixed-Linux-x86_64 — rebuilt Linux executable used inside the AppImage
  • SpiderMan-Fixed-Source.zip — corrected source, tests, docs and generated C; no ROM
  • matching .sha256 files

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.zip beside the AppImage, or set SPIDERMAN_ROM to 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

Choose a tag to compare

@omegakatana92 omegakatana92 released this 28 Oct 16:17

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.