Skip to content

ESP Ra.De. Recomp v0.1.0

Choose a tag to compare

@CapsLock4284 CapsLock4284 released this 04 Dec 19:15
· 5 commits to main since this release

Added

  • The project: the ROM set reader (all three versions), the translator's profile and its runner.
  • The translation: DoDonPachi Recomp's adaptations of the translator carried over (tools/call_tables.py) with ESP
    Ra.De.'s own; the whole program translates (python tools/decompile.py writes src/).
  • Headless test tools (tests/build.sh): boot (the program from the reset, pictures every 100 frames) and
    sprite_sheet (the sprites' graphics without the program).
  • The game in a window (ports/sdl2, CMakeLists.txt): DoDonPachi Recomp's port with ESP Ra.De.'s memory
    (game_memory.h): the window and its video settings, the sound, the controls (A shot, B laser, C guard barrier),
    the EEPROM, save states, fast forward, free play, the high scores kept, replays, MAME's cheat files, the main and
    options menus. Not yet: training, achievements, statistics, the hitbox, playtest.
  • The side panels (SETTINGS > GRAPHICS > SIDE PANELS: CLASSIC or GADGETS, as DoDonPachi Recomp's), made for ESP
    Ra.De.: ESPER (the character, the shot's and the sub weapon's power and the power-ups toward the next level, the
    barrier's energy), CUBES (the counter against its mark, and whether it is counting or going into the barrier),
    MULTIPLIER (x2 ... x16, its time, the bubbles that set it) and BOARD (the frame rate, the slowdown, the bullets);
    SCORE (the next high score, the next extra life, the all clear bonus as it stands), the SCORE GRAPH, the STAGES
    against their bests (esprade.stages), LAST SCORED (with its multiplier) and INPUT. Save states keep the panels'
    measures. What they read was found in the program and checked against the HUD (ports/sdl2/game_memory.h).
  • Hands-off testing (for the project; as DoDonPachi Recomp's): tests/soak.sh builds the test tools with
    AddressSanitizer and UBSan and runs the options menu (each entry changing its own setting only), the side panels
    through a game (tests/panels_shot: classic and gadgets, pictures kept), the slowdown
    against its last run, and the game against MAME's 68000 frame by frame (one player kept from harm, one losing
    lives and continuing, two players), a PASS or FAIL line for each.
  • Save states with names (as DoDonPachi Recomp's, its issue #7): 100 slots. OPTIONS > STATE SLOT (A) lists
    them, each with a name made from the game (its stage and character), left and right jumping 15 slots, and for
    each SAVE HERE, LOAD, RENAME (typed with the keys, or letter by letter with the gamepad) and DELETE; F5 / F8 and
    F6 / F7 as before. Kept until the game closes.
  • The last direction pressed wins: left and right held together (or up and down), the one pressed last moves
    you, and the other again once it is let go, as a keyboard player expects (it used to stop the ship, as the
    arcade's wiring does). On by default; CONTROLS > OPPOSITE DIRS (LAST WINS or BOTH), or last_direction_wins in
    esprade.ini.
  • CRT CURVE: SETTINGS > GRAPHICS > CRT CURVE sets the CRT look's curve on its own: FLAT keeps the CRT's lines,
    phosphor stripes and glow on a flat screen; or 10% to 100%; AS CRT (the default) is the curve of the CRT level
    chosen, as before.
  • The menus' entries fit their pages: a page with more entries than fit puts them a little closer together, so
    none runs into the hints at the foot, and a label too long for its value is cut short rather than running into
    it.
  • BACKGROUND DIM: SETTINGS > GRAPHICS > BACKGROUND DIM darkens the stages' backgrounds, OFF or 10% to 70%, so
    the bullets stand out more; the ships, bullets, items and the score stay as they are. Also background_dim in
    the ini. The picture only: the game, replays and the slowdown are the same.
  • Autofire, as MAME's: an AUTOFIRE button (V, or Y on a gamepad) that presses button A for a number of frames,
    then lets it go for a number, over and over while held (CONTROLS: AUTOFIRE ON, AUTOFIRE OFF, 1-8 frames each; 1
    and 1 by default).
  • The check against MAME's 68000: tools/cref (cref_timed, built by tools/cref/build.sh) and
    tests/slowdown_check with tests/slowdown_compare.py, as DoDonPachi Recomp's; probes for finding a difference
    (IRQLOG, WRITELOG, PROBELOG, RAMLOG, SHOTS: pictures every N VBLANKs); INVINCIBLE=1 in both for the long runs.
  • Release packages (for the project): tools/make_release.ps1 and tools/make_release.sh make
    ESPRaDe-<version>-win64.zip and -linux-x64.tar.gz from a Release build, as DoDonPachi Recomp's (an allow list
    of files, checked for no ROM, game data, saves or settings), with the player's README.txt for ESP Ra.De.
  • The side panels on by default (CLASSIC), as in DoDonPachi Recomp.

Changed

  • CRT as a percentage: SETTINGS > GRAPHICS > CRT is OFF or 10% to 100% in steps of 10 (it was OFF, LIGHT
    or FULL), and crt in esprade.ini takes any number from 0 to 100 for a look between the steps. An ini
    that still says light or full reads as 60% or 100%, the same look as before.

Fixed

  • The SOUND page's EFFECTS example read past the end of its list of sounds (found by the soak's AddressSanitizer
    as the page's MUSIC, EFFECTS and VOICES came back).
  • The music, effects and voices volumes (SETTINGS > SOUND): ESP Ra.De.'s sounds told apart (the music by their
    place in the samples, the voices by ear by the owner), so each has its own volume, as in DoDonPachi Recomp.
  • DIFFICULTY (GAME OPTIONS): the test mode's GAME DIFFICULTY (easy, normal, hard, very hard) set from the menu,
    in the EEPROM as the test mode keeps it; it takes effect after a reset (F3) or a restart.
  • FREE PLAY works (GAME OPTIONS, on by default): it did nothing before, as ESP Ra.De.'s credits had not been
    found. Start with no credit now drops a coin in and presses Start for you, as in DoDonPachi Recomp (the SDK's
    boards/esprade.c).
  • A drawing tablet no longer moves the menus by itself (DoDonPachi Recomp issue #6: a Wacom Bamboo Pad on Linux,
    seen as a joystick): devices named as a tablet, pen or touchpad (Wacom, Huion, XP-Pen and the like) are left alone,
    and on any joystick without a known layout an axis resting at one end isn't read as held.
  • Found by the check against MAME's 68000: a table call's "returns for its caller too" flag kept one function too far
    (045E5C's last 48 cycles lost every frame), the third "pea (d16,PC)" call (0033CE), the last cases of five jump
    tables (012B5C, 006C74, 04A65A, 04A078/04A13E, 04EEAC: sprites left undrawn), a boss's words pushed in a loop
    (03B7D8: the program stopped there). 300,000 VBLANKs (the first loop and most of the second) now the same as MAME's
    68000 at every frame, slowdown included.