Skip to content

Releases

v1.1

Choose a tag to compare

@crabsmack crabsmack released this 01 Dec 16:59

The native PC port of The Adventures of Batman and Robin (Sega Genesis / Mega Drive): v1.1, with fixes from the first playtest and two new options.

Bring your own ROM

There is no game data in these zips. The program reads your own dump of the cartridge (USA) each time it starts, and checks it by SHA-1 1da4b3fc92a6572e70d748ebad346aeb291f89f3.

Changes since v1.0

Fixes

  • No more stop in the Two-Face fight: 28 seconds into the boss's second phase the game forces a floor tilt through a routine the port had not translated, and stopped ("no C for code address $0241DE"). It is translated now (1,344 functions). The static check that hunts for this kind of stop now also follows the calls scripts make, and found no other.
  • Widescreen, the zeppelin lift's left edge: the floor ended short of the left bar, and a pipe showed where the cartridge shows black. The bar now covers what the cartridge's own black column covers.
  • 16:9-gameplay, the stage 1 street: the game depended on what was drawn. Its spawn and kill windows read the street's margin from the last drawn picture, so a run without pictures played differently. They now read the game's own state, and a new check plays recorded sessions both drawn and not drawn and requires the same game.
  • High frame rate, the crane claw: between frames its fingers folded into a clump, because each ball was paired with another as they turned. Every object drawn from several pieces now has each piece paired with itself.
  • High frame rate with widescreen, the Two-Face arena: between frames the ship showed torn strips while the arena scrolled (2 lines in every 8 came from the wrong row). The widescreen view rewrites some background cells line by line, and the pictures between frames now apply those rewrites where the scrolled rows are drawn, in every scene that uses them.

New

  • widescreen and high_fps follow your display (auto, the new default): 16:9 on a display wider than 3:2 (16:10, 16:9, ultrawide), else 4:3; the display's own frame rate when it is over 60 Hz, else 60. The launcher says what auto picked. auto never turns on 16:9-gameplay, which changes the game.
  • lives: 0 is the cartridge's 2; also 1-99, or inf (a lost life still refills the health and halves the weapon level, but the counter never goes down). In the launcher's Gameplay options.
  • Recorded sessions: [record] inputs = 1 in settings.ini keeps every session's inputs (and its sync rows) in recordings/ beside the program, for bug reports that replay exactly.

Defaults that differ from the cartridge

widescreen and high_fps (auto), music_voices (on), scaling (sharp_bilinear). widescreen=0,high_fps=0,music_voices=0,scaling=integer gives the cartridge's picture and sound.

Downloads

File Notes
Windows (x64) batmanrobin-native-windows.zip Not signed: SmartScreen asks first ("More info", then "Run anyway"), and antivirus programs sometimes flag a new unsigned program by guess.
Linux (x86-64) batmanrobin-native-linux.zip Needs glibc 2.38 or newer (Ubuntu 24.04, Debian 13, Fedora 39, Linux Mint 22 or later) and SDL2 (Debian/Ubuntu: sudo apt install libsdl2-2.0-0). Built and tested in Ubuntu 24.04 under WSL.

SHA-256:

c0dc0fbb450a5511b55286d1aa9cf8c343279023a82f4c7f98ad879d8745219e  batmanrobin-native-windows.zip
835b96f19d8e6ab6bac2c919f6061fa4a2ecb75c6f165bafc352205d6c9ed180  batmanrobin-native-linux.zip

Built from d228ec3.

The original work here is MIT. The engine the port is built on (segagenesisrecomp) is PolyForm Noncommercial, so these builds are for personal, non-commercial use. Every part's license is in the zip's LICENSES/.

Not played by a person yet: replays and the phase checks tested these fixes, but the playtest that found the problems ran v1.0. To see the fixes: the crane fight at 240 Hz (the claw); stage 2's lift and the Two-Face fight in 16:9 at 240 Hz (the left edge, the ship, the forced tilt); lives=inf.

v1.0

Choose a tag to compare

@crabsmack crabsmack released this 26 Nov 20:29

The first release of the native PC port of The Adventures of Batman and Robin (Sega Genesis / Mega Drive), built from a complete decompilation: all 1,343 of the game's functions in hand-written C, with no emulated 68000.

Bring your own ROM

There is no game data in these zips. The program reads the game's code, graphics, sound and levels from your own dump of the cartridge (USA) each time it starts, and checks it by SHA-1 1da4b3fc92a6572e70d748ebad346aeb291f89f3. Any common dump format works (.md, .bin, .gen, .smd).

Unzip, start batmanrobin_native and point it at your dump; a launcher opens with every option and the controls, then PLAY.

What is in it

Checked against the original. The port matches the original game's state (RAM and video memory) at every sync point of 209 recorded runs: a full-game TAS, fuzzed play branching from it, and runs through each of the 12 boss fights, 12,657,836 sync points in all.

Options (in the launcher, on the command line or in settings.ini):

  • widescreen: 16:9 (the game plays exactly as in 4:3, the view is wider) or 16:9-gameplay (enemies and objects act across the wide view). F10 in game.
  • high_fps: 120, 144, 165, 240 or any 61-1000 Hz, frames in between the game's 60 with sprites and scrolling interpolated. F9 in game.
  • unlimited_sprites: no sprite flicker.
  • music_voices: sound effects no longer cut the music's notes. fm_ladder, fm_filter: the YM2612's ladder distortion off, a cleaner output filter.
  • weapon_level, start_stage: start with a weapon level; a level select by stage or section.
  • scaling: how the picture fills the window. F4 in game.
  • shader_preset: RetroArch .slangp shader presets through librashader. None are included; libretro's slang-shaders has them. F8 in game.

Quick saves and rewind: F5 saves, F7 loads, F6 picks one of 4 slots (kept until the game quits). Hold Backspace or a controller's left trigger to rewind up to a minute, with the sound played backwards.

Controls: keyboard or controllers for two players, remapped in the launcher. If the game stops, it saves a crash-reports/ folder beside the program with every button press of the session: please attach it to an issue.

Defaults that differ from the cartridge

Everything else plays as the cartridge does until you turn it on.

  • music_voices is on: the music has sound chips of its own. music_voices=0 restores the cartridge's shared chips.
  • scaling is sharp_bilinear: the picture fills the window with every pixel the same size and a one-pixel blend where two meet. scaling=integer shows whole multiples of the cartridge's pixels, with a border.

Downloads

File Notes
Windows (x64) batmanrobin-native-windows.zip Not signed: SmartScreen asks first ("More info", then "Run anyway"), and antivirus programs sometimes flag a new unsigned program by guess.
Linux (x86-64) batmanrobin-native-linux.zip Needs glibc 2.38 or newer (Ubuntu 24.04, Debian 13, Fedora 39, Linux Mint 22 or later) and SDL2 (Debian/Ubuntu: sudo apt install libsdl2-2.0-0). Built and tested in Ubuntu 24.04 under WSL.

SHA-256:

31f6255cc6ae84cfa342f2a25af89acaf9f09a341a81618103d7efcf61c7e345  batmanrobin-native-windows.zip
4fd6e8e1760282e16933dcda5b26aff8987b3c61f6ccc84909522be20f1e43df  batmanrobin-native-linux.zip

Built from 35e20a8.

The original work here is MIT. The engine the port is built on (segagenesisrecomp) is PolyForm Noncommercial, so these builds are for personal, non-commercial use. Every part's license is in the zip's LICENSES/.