cmake/bozo_engine.json pins BozoEngine 0.5.0 (the release of c27ce41, the
commit the submodule pinned) and the SHA-256 of its archive, hashed here.
cmake/bozo_engine_fetch.cmake (TMB_Recomp's, as in TMB_Recomp#121)
downloads it into BozoEngine/ once (TLS, hash checked), stamps
BozoEngine/.release, and refuses an unstamped BozoEngine/ (an old
submodule checkout). CMakeLists.txt, launcher/ and
tests/native_lifetime/ include it unless BOZO_ENGINE_DIR /
LAUNCHER_BOZO_DIR name another tree; the pin reconfigures the build.
dc_build fetches it in a git checkout; make_release puts the fetched tree
(with its stamp) in source\BozoEngine and records engine_version; scripts/
and CI fetch it; the pin test replaces the submodule test. The submodule,
.gitmodules and .git/modules/BozoEngine are gone; /BozoEngine/ is ignored.
Proved: a clean clone (no BozoEngine/) built with dc_build, and main's
submodule build, ran 3000 frames headless with the same pad script:
ref_compare identical on every field (ram, scratchpad, calls, draws,
sound, threads, eeCycle).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- DC turns the GS off itself whatever PS2X_GS_RENDERER says; the native drawing is always on (no DC_NATIVE3D);
run.sh forces no GS; boot_test.sh and iop_recomp.sh capture the native frame (the IOP dump ran the old GS renderer).
- Shadow pass: the triangles mark a work target cleared to black and the pass's end lays it over the frame once
(Cd x (1 - As)), as the game does; drawn straight over the frame, overlaps darkened again and showed the model's insides.
- PS2Recomp: the window shows each game frame once (the stutter every few seconds).
- README status and notes for the no-GS port.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- PS2X_GS_RENDERER=none by default (scripts/run.sh), the old path only as a comparison switch; the game's VIF1 and GIF
transfers are not read at all (ps2x::setPacketPathOff). The native renderer draws the frame in the game's call order.
- 2D taken over from the routines' own arguments and the game's records: MGClearScreen / MGClearZBuffer / MGFillBox, the
set2DSprite family, the message windows' glyphs and text colour, sprite tables, the effects' 3D sprites (DrawFire's
additive blend), DrawLine, texture animation (MGMoveImage / MoveImageTest applied to decoded textures), the message
balloons (an offscreen target), depth of field (a copy of the frame).
- 3D: back faces culled as the model program does (RenderInfo + 0x310 bit 2), vertex colour streams and fog, textures
bound when the game builds the model, Z as XYZF2 gives it (z / w, not 16 x), the program's guard band (runaway cloth
vertices dropped), the shadow pass's own work kept off the frame.
- Texture store: IMG and IM2 archives; IM2 pictures are already in GS memory order on the disc (EnterTexture skips its
swizzle for them) and are resolved offline (tools/gs_layout.py); a palette the game changed falls back to the record's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>