Repository navigation
reModel v0.14.0: more link games, Zero Gunner, texture pack authoring
-
--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:
--sceneand the pack watch (uplift item 8, first two parts).
remodel-play --game G --scene NAMEstarts from a scene made byremodel scene make(its state, loaded as a save slot is). The player now watches
the texture pack folder: atex_,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 andvf2(the old image shows until the new one has
decoded); a changedpack.txtor 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 selfliton atex_orart_
stem inpack.txtskips the game's lighting for that image in the
software renderer and the GPU (the pack-side form of the look's
emissive;selflitis 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 --jsonadds
overlay,miss_shareandmiss_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 IDis the same answer
with no pictures.IDis a name, a 16-digit key or a slug; no ROM, no GPU,
0.3 to 1.0 s on Top Skater,vf2and Daytona.variants.png,tiled.png,
brief.txtand 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 aterrorrefuses unless--override "REASON",
which is logged) andproject rejectuseREMODEL_ACTORand the
project'sapprovers.remodel pack buildwrites the pack to ship, and
the manifest gainsversion,author,licence,ai,program,
dependsandconflicts;pack-lintknowslook.txt. Packs stack:
scene render --pack TOP --pack BELOWdraws the layers (the highest pack
that has an asset wins) andremodel pack resolvesays 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 newlink_packsetting (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-testruns the player with a synthetic
pack on every view, on one and on none and checks the combined state hash
equalslink-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 withpoke=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 andcoverageare
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.txtthat replay to the crawler's state hashes; onvf2
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>.pngis drawn for every colouring
(everytex_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 artworkslists artworks with their
colourings and ramps;studio bake(make studio-bake) writes the other
colourings of anart_image astex_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-madetex_
images. Theknownandselectedgates resolveart_files and rows by
surface, andscene renderreports 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 2Cdynamcopclones, which draw no 3D
yet, and the two Daytona hacks) are in the manifest with a newplays: false
flag: not listed in the launcher or the web build,--game IDstill 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) andoverrev/overrevb(Over Rev), two to
four machines inlink-run, the split-screen player and over the network, and network
play and free play formotoraidandwaverunr. LINK MAX (sgt24hbyte0x19,
overrevbyte0x36) 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 writes0x1A14002(overrev) no longer makes the
hub warn: node 0 is the master then. Free play settings found formotoraid,
waverunrandoverrev.make link-net-test,link-free-play-testand
link-record-testcover the new games. -
Linked play for three more games: Virtual-On (
von, withvonj) links two
machines in a one-against-one match, Sega Touring Car Championship (stcc,
withstccaandstccb) up to seven machines in one race, and Ski Super G
(skisuprg) up to four on one slope, inlink-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, whichremodel-linknetnow carries:
blocks up to 1,792 bytes, datagrams up to 2,000). STCC'sSEGASTCb
record's checksum was found by running the game and trying the known
algorithms (CCITT, start0xFFFF, complemented, over bytes0x10-0x7F;
confirmed against five records the game wrote), and its clones have their
own records. Ski Super G's board check reads0x1A14000back (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 newLinkBoard::Latchanswers it
(docs/hw/link-board.mdsections 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-runand 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),indy500tothe parent's, andindy500dan S32A record of
44 bytes with the role at 0x28 and the cabinet ID at 0x29.dayton93stays
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-testand
link-record-testtake 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,alphaandstaleare errors (exit 1),
alpha.soft,seam,changedandnoisewarn, and every result states its
number, its limit and a fix.remodel pack check(make pack-gates) adds
lint,budget,known,selectedand per-scenecoverageand writes
reports/DATE-VERSION/withgates.tsv,report.mdandreport.json
(--jsongives the shared answer); limits are named constants taken from a
calibration on the Top Skater showcase, overridden in the project's
gates.txtwith a reason.studio approverecords each approved file's
hash forstale;studio status --strictexits 1 while a selected row is not
approved;studio seamstates its limits;remodel pack-flickerexits 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".