The Adventures of Batman and Robin: a native PC port, built from a complete decompilation of the Sega Genesis game.

BRING YOUR OWN ROM. Nothing of the cartridge is in this package: 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): the
program recognises the game by its bytes, not its file name.

STARTING

Start ./batmanrobin. The first time, it looks for your dump beside the program, or asks for it with a
file dialog; then the launcher opens: the ROM, every option and the controls, then PLAY. The
launcher can be turned off with its checkbox ("Show this launcher when the game starts") or skipped once with
--no-launcher. From a command line:

    ./batmanrobin path/to/dump.bin --options widescreen=16:9,high_fps=144

Choices are kept in settings.ini beside the program (the command line wins).

OPTIONS (the game plays as the cartridge does by default: what is on by default changes only what
you see and hear. widescreen and high_fps are auto, following your display; music_voices and
scaling are on. widescreen=0,high_fps=0,music_voices=0,scaling=integer is the cartridge's picture
and sound)

    widescreen         auto (the default: 16:9 on a display wider than 3:2, else 4:3), 0,
                       16:9 (the game plays exactly as in 4:3, the view is wider),
                       16:9-gameplay (enemies and objects act across the wide view)
    high_fps           auto (the default: the display's rate when it is over 60 Hz, else off), 0,
                       120, 144, 165, 240 or any 61-1000: frames in between the game's 60,
                       each 1/60 s split evenly (120 and 144: 2 pictures, 165: 3, 240: 4)
    unlimited_sprites  1 = no sprite flicker
    music_voices       1 = sound effects no longer cut the music (0 = the cartridge's sound)
    fm_ladder          0 = without the YM2612's "ladder effect" distortion
    fm_filter          1 = a cleaner output low-pass than the console's
    weapon_level       0-6: the weapon level every player starts with (changes the game)
    lives              0 = the cartridge's 2; 1-99 the lives every player starts with; inf = a
                       life is never spent (changes the game)
    start_stage        0 = the start; a stage (2, 3, 4) or a section (1-street ... 4-freeze)
    scaling            how the window enlarges the picture: sharp_bilinear (the default: every
                       pixel the same size, a one-pixel blend where two meet), integer (whole
                       multiples, a border), nearest (sharp, some pixels a little wider)
    shader_preset      a RetroArch shader preset (.slangp) for the picture; off by default and
                       none included: libretro's slang-shaders has them (github.com/libretro)

CONTROLS

Keyboard: arrows, Z / X / C for A / B / C, Enter for Start; or a game controller (face buttons by
position). Everything can be changed in the launcher's Controls tab, for both players.
F9 toggles the high frame rate, F10 steps widescreen through 0, 16:9 and 16:9-gameplay, F4 steps
the scaling, F8 turns the shader preset off and on, F11 toggles fullscreen, Esc quits.
F5 quick save, F7 quick load, F6 the next of 4 slots (kept until the game quits). Hold Backspace or
a controller's left trigger to rewind, up to a minute, the sound played backwards. settings.ini
[rewind]: seconds = 60 (0 = no rewind), sound = reversed or silent.

IF THE GAME STOPS

It saves a folder in crash-reports/ beside the program: report.txt says what happened and
inputs.input holds every button press of the session, so it can be replayed. Please attach the
folder to an issue on GitHub.

WINDOWS SAYS THE PROGRAM IS UNRECOGNISED

The program is not signed. SmartScreen asks first ("More info", then "Run anyway"), and antivirus
programs sometimes flag a new unsigned program by guess. The source it is built from is public.

LICENSES

The port's own code is MIT; the engine it is built on (segagenesisrecomp) is PolyForm
Noncommercial, so this package is for personal, non-commercial use. Every part's license is in
LICENSES/, and NOTICE.md there says what the project is and is not.

Linux: needs glibc 2.38 or newer and SDL2 (Debian/Ubuntu: sudo apt install libsdl2-2.0-0).
