15 Commits
Author SHA1 Message Date
Thomas MartinandClaude Opus 5.5 44e53f9833 Build on BozoEngine's releases instead of the submodule
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]>
2026-12-01 00:08:56 +01:00
Thomas Martin 098ecf5340 Migrate Dark Cloud to BozoEngine's native runtime 2026-11-06 02:49:24 +01:00
Thomas MartinandClaude Opus 5.5 f7df83e14c Texture alpha as the GS has it (was doubled: the torches' glows were squares); live toggles; test runs never take the focus or the pad
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 17:07:35 +01:00
Thomas MartinandClaude Opus 5.5 0cd7cf69d0 DC: sound on the native mixer (libsd taken over, no SPU2), EzMIDI's timer fixed in the fork: the title's music plays
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-01 11:35:16 +01:00
Thomas MartinandClaude Opus 5.5 64281be620 DC: no GS path left, shadow pass marks then darkens once, window stutter fix (fork)
- 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]>
2026-10-31 23:57:48 +01:00
Thomas MartinandClaude Opus 5.5 14fd968ce1 DC without the GS: native 2D, no packet path, and the 3D fixes (culling, vertex colours, fog, texture binding, depth, guard band)
- 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]>
2026-10-31 21:53:13 +01:00
Thomas MartinandClaude Opus 5.5 e14753610c Window at 4:3 (960x720): the 4:3 picture filled it, no side bands
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 10:58:30 +01:00
Thomas MartinandClaude Opus 5.5 88d9a9f409 Boot tests save the settings they got (env.txt)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 07:12:15 +01:00
Thomas MartinandClaude Opus 5.5 1521f15d2e Boot tests ignore the PC's gamepads (PS2X_PAD_NO_HOST=1): a plugged-in pad kept the scripted presses out
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 06:23:11 +01:00
Thomas MartinandClaude Opus 5.5 c757780366 Native frame loop (WaitVSync on the PC clock, 60 fps); New game reaches the Dark Shrine
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 05:30:14 +01:00
Thomas MartinandClaude Opus 5.5 85e1e41bfa Sound: libsdr client kept native (native list), SDRDRV gets its RPCs; EzMIDI voice transfers complete (boot 5)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 04:13:52 +01:00
Thomas MartinandClaude Opus 5.5 3d258e3cd3 Unattended boot test with frame captures; IOP dump boot saves frames too
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 01:55:24 +01:00
Thomas MartinandClaude Opus 5.5 e53091c108 Recompiler config from ps2_analyzer on the symbol table map; SDRDRV's sceSdRemote* left to game code; TMP fallback
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 01:34:42 +01:00
Thomas MartinandClaude Opus 5.5 67427f9831 IOP modules: dump at boot, then recompile with the fork's iop_recomp.py
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 01:08:00 +01:00
Thomas MartinandClaude Opus 5.5 c4ad567c6a Dark Cloud (SCUS-97111) recompilation: scripts, CMake, function maps from the ELF symbol table, overlay modules
Layout from JC2_Recomp; PS2Recomp submodule on dc/native (native/renderer 2d6ecba).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-30 01:04:41 +01:00