Skip to content

reModel v0.14.0: more link games, Zero Gunner, texture pack authoring

Choose a tag to compare

@github-actions github-actions released this 23 Nov 19:16
· 84 commits to main since this release
  • --record-tour: a shifter's virtual buttons (neutral, gear up, gear
    down: no port bits) are no longer written as held for the whole run,
    and a gear whose bits hold another's (Daytona's gear 1 holds gear 3's
    bit) is written as itself alone. Tours replayed the same before; the
    lines are now what was played.

  • Player: --scene and the pack watch (uplift item 8, first two parts).
    remodel-play --game G --scene NAME starts from a scene made by remodel scene make (its state, loaded as a save slot is). The player now watches
    the texture pack folder: a tex_, art_, tile_ or material-map PNG that
    is written, replaced or deleted swaps in alone, about 0.15 s after the write
    on Top Skater and vf2 (the old image shows until the new one has
    decoded); a changed pack.txt or region file opens the pack again. Draw
    only; game state hashes are unchanged. Not built: the pack page.

  • Draw rules and overlays (uplift item 10, first part): a pack can say an
    image is drawn as painted. material STEM selflit on a tex_ or art_
    stem in pack.txt skips the game's lighting for that image in the
    software renderer and the GPU (the pack-side form of the look's
    emissive; selflit is now a shown feature). --overlay miss (scene render, look-render, gpu-check, snapshots) draws every textured
    polygon with no pack image flat magenta; scene render --json adds
    overlay, miss_share and miss_pixels. Draw only; off is the same
    picture bit for bit. Not built: filter, colour, @category, the
    other overlays, asset set draw=.

  • Context bundles (uplift item 7): remodel asset bundle ID (make asset-bundle) writes an agent's whole briefing for one asset to
    cache/bundles/ID/ in a project: bundle.json (identity and artwork with
    its colourings and colour ramps, size, wrap, cut-out, where it shows in the
    texture map's frames, status, provenance, gates and the output rule), the
    original, a mask of the texels that ever show and two crops of it in
    context with everything else dimmed. asset show ID is the same answer
    with no pictures. ID is a name, a 16-digit key or a slug; no ROM, no GPU,
    0.3 to 1.0 s on Top Skater, vf2 and Daytona. variants.png, tiled.png,
    brief.txt and scenes with boxes in game pixels are not built.

  • Projects (uplift item 6): a studio workspace is a project that survives
    hand-over. remodel project init (make project-init) brings a workspace
    up to the manifest, or imports one (--from-studio DIR: private binaries,
    runs and scratch are left out, the absolute capture path is dropped, the
    ROM-derived originals and texture map only with --with-cache), writing
    assets.tsv (status derived from the files: todo, drafted, checked,
    approved, stale when an approved image was edited, rejected), log.tsv,
    provenance/ and .gitignore. project status, project approve (the
    asset gates again; a gate at error refuses unless --override "REASON",
    which is logged) and project reject use REMODEL_ACTOR and the
    project's approvers. remodel pack build writes the pack to ship, and
    the manifest gains version, author, licence, ai, program,
    depends and conflicts; pack-lint knows look.txt. Packs stack:
    scene render --pack TOP --pack BELOW draws the layers (the highest pack
    that has an asset wins) and remodel pack resolve says who won what, and
    the stack's memory against the native and browser budgets. Draw-only.

  • Texture packs in link play (split screen): each view's renderer loads the
    pack, and a new link_pack setting (the Advanced page's Pack in link
    play
    , --link-pack all|none|N,N..) chooses which views draw it, so one
    view can be the game as it was drawn and another the pack, live, side by
    side. Draw-only: make link-pack-test runs the player with a synthetic
    pack on every view, on one and on none and checks the combined state hash
    equals link-run's each time, and that the picture shows the pack only in
    the views asked for. Over a network each host already drew its own pack.

  • Content coverage, the rest of it (uplift item 22). remodel-play --record-tour FILE (make tour-record) writes what you play as a tour line, exact, so it
    replays to the same state. remodel ram search | show | pokes (make ram-search, ram-pokes) finds a work-RAM variable by running a tour and
    comparing RAM at frames; a tour holds a value with poke=ADDR:VALUE[:w]@from-to
    or a name from the game's table (crates/romset/src/games/pokes/; Top Skater's
    course clock is the first), and such a tour, its states and coverage are
    marked as cheat runs. Nothing pokes unless a tour says so. remodel crawl
    (make crawl, crawl-verify) explores menus from a point in a tour and keeps
    the tries that read polygon or texture ROM no tour had, as branch tours in
    out/GAME/crawl/crawl.txt that replay to the crawler's state hashes; on vf2
    200 tries found 17 branches and 0.8 points more of the polygon ROM. Tours now
    apply frame 0's inputs, as the player does. No state hash changes.

  • Artwork identity in texture packs: a pack can replace an artwork, not one
    colouring of it. art_<surface>_<w>x<h>.png is drawn for every colouring
    (every tex_ key) of those texels that has no image of its own, in the
    software and GPU renderers and the player (uses/needs artworks; the
    browser does not read them yet). The catalogue and texture maps record each
    key's 16-colour ramp (ramp= in an entry's detail, from the next
    observation on). remodel studio artworks lists artworks with their
    colourings and ramps; studio bake (make studio-bake) writes the other
    colourings of an art_ image as tex_ images through the ramps (baked,
    measured by how far the image lies from the ramp it was painted over), or
    leaves them to be drawn as it is (fixed); a rebuild keeps hand-made tex_
    images. The known and selected gates resolve art_ files and rows by
    surface, and scene render reports the share of textured polygon area
    drawn from pack images. Draw-only: no emulation state or hash changes.

  • Three more ROM variants, the 2A clones of 2B titles: Zero Gunner on the Model 2A
    board (zeroguna, zerogunaj) and Pilot Kids on it (pltkidsa). They failed
    on a generated manifest (a black 3D layer in play; a stall after the title)
    because the MB86234 core did not know a repeat whose count is in a register
    (3C04 8034, bit 15 set), which the TGP programs' bulk-load functions use: the
    chip waited inside the repeat and every later call went unanswered. With the
    count taken from the register they play from a blank EEPROM (benched in
    make bench-variants, with idle loops); no other game's hash changed. The
    other five class C clones (the 2B and 2C dynamcop clones, which draw no 3D
    yet, and the two Daytona hacks) are in the manifest with a new plays: false
    flag: not listed in the launcher or the web build, --game ID still takes
    them (docs/variants.md, "Class C").

  • Steering smoothing: a One Euro filter on pad sticks that steer, so a shaky
    stick no longer twitches the car. The Controls page's Steering block has a
    Smoothing row (Off, Light, Medium, Strong; Light by default; steer_smooth,
    per game or for all games); keys, scripted input and aiming sticks are
    untouched. The levels were chosen on a synthetic stick (docs/play.md,
    "Steering smoothing"). remodel-play --stick-log FILE (make stick-log)
    logs what a pad's sticks read, raw, tuned and smoothed, a line a frame, and
    prints how noisy each is at rest, to measure a real pad.

  • Link play for sgt24h (Super GT 24h) and overrev / overrevb (Over Rev), two to
    four machines in link-run, the split-screen player and over the network, and network
    play and free play for motoraid and waverunr. LINK MAX (sgt24h byte 0x19,
    overrev byte 0x36) must equal the number of machines, so a game's record can now
    depend on the session's node count (LinkPlay::node_bytes). sgt24h's record has a
    byte-sum checksum and a second copy with its marker zeroed, and its FREE PLAY is a
    byte of the backup SRAM, so a settings image can now carry the SRAM after the EEPROM's
    128 bytes. A game whose master never writes 0x1A14002 (overrev) no longer makes the
    hub warn: node 0 is the master then. Free play settings found for motoraid,
    waverunr and overrev. make link-net-test, link-free-play-test and
    link-record-test cover the new games.

  • Linked play for three more games: Virtual-On (von, with vonj) links two
    machines in a one-against-one match, Sega Touring Car Championship (stcc,
    with stcca and stccb) up to seven machines in one race, and Ski Super G
    (skisuprg) up to four on one slope, in link-run, the split-screen
    player and over the network, with free play from each game's own coin
    setting. Virtual-On keeps its link setting in the backup SRAM (a third
    settings store: its record has a table-driven CRC-16 read from the game's
    code, and its blocks are 1,792 bytes, which remodel-linknet now carries:
    blocks up to 1,792 bytes, datagrams up to 2,000). STCC's SEGASTCb
    record's checksum was found by running the game and trying the known
    algorithms (CCITT, start 0xFFFF, complemented, over bytes 0x10-0x7F;
    confirmed against five records the game wrote), and its clones have their
    own records. Ski Super G's board check reads 0x1A14000 back (write 1,
    read bit 0 set; write 0, read it clear): an idle board fails it, which was the
    survey's "NETWORK BOARD IS NOT EXIST !"; the new LinkBoard::Latch answers it
    (docs/hw/link-board.md sections 15 to 17, docs/hw/eeprom-records.md).

  • Link play and free play for four more variants: daytonas (Saturn Ads) and
    daytonase (Special Edition) up to 8 machines, indy500d (Deluxe, Rev A) and
    indy500to (older Twin) up to 4, in split screen, link-run and over the
    network. Each one's link role, cabinet number and FREE PLAY setting were found
    from its own test menu, and the record romset writes is what the game writes
    (make link-record-test): the Daytona sets keep the parent's layout with
    their own version and defaults (byte 0x7C is the record's save counter, not a
    free-play byte), indy500to the parent's, and indy500d an S32A record of
    44 bytes with the role at 0x28 and the cabinet ID at 0x29. dayton93 stays
    without link play: its program has no link code (no LINK ID in its menu, no
    access to the link board). make link-net-test, link-free-play-test and
    link-record-test take the variants' ids.

  • Quality gates for texture packs (uplift item 4): remodel asset check
    (make asset-check) runs the asset gates on a studio project's images,
    without a ROM or a GPU: file, alpha and stale are errors (exit 1),
    alpha.soft, seam, changed and noise warn, and every result states its
    number, its limit and a fix. remodel pack check (make pack-gates) adds
    lint, budget, known, selected and per-scene coverage and writes
    reports/DATE-VERSION/ with gates.tsv, report.md and report.json
    (--json gives the shared answer); limits are named constants taken from a
    calibration on the Top Skater showcase, overridden in the project's
    gates.txt with a reason. studio approve records each approved file's
    hash for stale; studio status --strict exits 1 while a selected row is not
    approved; studio seam states its limits; remodel pack-flicker exits 1 when
    the pixels involved in replacement/original changes per 100 frames pass
    --limit (default 5,000, a first guess). The whole showcase's 6,286 files
    take 2.2 s. See docs/uplift-studio.md, "Gates".