19 Commits
Author SHA1 Message Date
Thomas MartinandClaude Opus 5.5 767b3e9557 Options -> Language in the game
A Language entry in the game's own Options (between Travel and Quit
Game): English, Francais, Deutsch, Italiano, the one in use and the one
saved for the next start marked. Cross writes game.ini (as the launcher
does); the running game keeps its language until it starts again, since
part of its text is loaded once at boot. Without the game window
(headless) the page only says it needs it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 13:58:16 +01:00
Thomas MartinandClaude Opus 5.5 95903df0c9 Add a game language setting: French, German, Italian
The USA disc also carries the European release's translations of the
text (message files <name>_<n>.mes) and menus (commenu/a_fre, a_ger,
a_ita), and the program still picks them by LanguageCode (0x2A1E88,
1 on the USA disc). The port sets it before the first frame from
--language en|fr|de|it or <user folder>/game.ini, which the launcher's
Settings -> Game language and RecompLauncher's Language write.

Spanish is not offered: the USA disc lacks 42 of its 90 story text
files.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 13:32:55 +01:00
Thomas MartinandClaude Opus 5.5 07ac1d561f Write the game's log and crash reports
dc_main.cpp now calls bozo::app::startLogging() and installCrashHandler()
after setIdentity, as TMB's window does. Neither ran before, so
<user folder>/logs (DC Launcher's "Open game logs", RecompLauncher's Logs
in recompdata) and crashes/ stayed empty. Found by Amplitude's session.

Checked: a hidden, muted 300-frame run with its own PS2X_USER_DIR writes
logs/DC_Recomp.log (83 lines: the header and all 82 lines it printed), and
the pipe still gets all 82; the port's suites pass (139/139).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-12-01 01:25:30 +01:00
Thomas MartinandClaude Opus 5.5 ba2f632589 Widescreen with the HUD at the edges, and Travel: warps, georama, story chapters
Widescreen (the Video tab, the in-game Graphics page, video.ini, PS2X_WIDESCREEN; hidden runs read only the
environment): the native frame is 853.33 GS pixels wide about the game's centre. The game's projection is
unchanged (Hor+); MGClipVertex is native and culls against the frame's width. The game's 2D stays centred; a
draw over the whole frame (fades, fills, frame copies) spans the wider one, a fill touching an edge reaches it
(the dungeon fade's tiles), and the field HUD's side pieces move to the edges (the town clock, the dungeon's
status, floor and gauge, the minimap as one piece). Frame copies take each side on its own, so the game's
half-size work copies round-trip.

Travel (Options -> Travel, F2 -> Travel, --cheat-script): warps to the 52 town and area maps and to any floor
of the seven dungeons through the game's own fades and loads (MapJump, the town exit, the interior loop's map
jump, the dungeon's exit task and floor build, the entrance menu's preset), next to the floor's monsters,
every georama part (the Atla tables through AtraPartsGet/AtraChipGet), the whole world map and a story chapter
select. A dungeon's story floors need its chapter's allies; ahead of the story the warp says so.

The in-game Graphics page also sets widescreen, anti-aliasing and texture smoothing. BozoEngine moves to
master c27ce41 (the widescreen setting and picture shape).

Checked headless: 139/139 suites; the 4:3 routes keep identical cards; tours of every town map and every
dungeon floor (208) in widescreen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-28 16:00:18 +01:00
Thomas MartinandClaude Opus 5.5 a51e17510a BozoEngine master e15775a: hidden test runs, one fast forward
- BozoEngine 6cf6faf -> e15775a (master, with the ps2f/VU0 smallest-normal fix #131).
- dc --hidden: the window is never shown and no sound device opens; --capture-frame reads the
  game's offscreen picture. --mute alone runs without a sound device.
- Fast forward is the engine's: its FastForward binding (` or the touchpad, Controls tab) at the
  Video tab's speed. DC no longer reads those keys, so the two never stack (3x x 3x before).
  "Fast-forward always on" stays, at the Video tab's speed; DC's own speed row and slider go.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-24 01:14:35 +01:00
Thomas MartinandClaude Opus 5.5 dfc80d2af0 Save states: DC's section, command-line options and window slots
BozoEngine saves the runtime; DC's "dc" section (runtime/dc_state.cpp) adds
what that does not hold: the compiled sound modules' IOP host, the MDT copies
(the only model left once the game reuses a static piece's MDT memory) and
their bindings, pinned and patched pictures, GS place ownership, water
objects, frame identities, the haze seeds, the fishing strip and the native
Options pages. Images are written once in a table. On load the caches of the
old guest memory are dropped (decoded textures, render places, CLUT
overrides, shadow queues, the partial frame) and so are the cheats' mirrors
and queued edits. Unsaveable mid debug-font composition.

--save-state FILE --save-state-at N, --load-state FILE [--load-state-at N],
--dump-ram FILE; F5 / F7 / F6 slots and F2's Save states tab in the window.
Engine pinned to c853ec0 (BozoEngine #101) until the save-state commit is on
master.

Checked: headless Matataki (saved 6500) and dungeon (5000) states loaded in a
new process and mid-run give EE RAM identical to the uninterrupted runs;
windowed save + load gives identical captures at seven frames and identical
RAM. 135/135 suites, CI build 66/66, seven routes unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-18 20:42:32 +01:00
Thomas MartinandClaude Opus 5.5 1b1c3d8a9a libsdr's transport native; DC_CALL_STATS prints library calls by function
The engine's new FreeStats::libraryByName (BozoEngine #79, pinned at its
head fba0920) is printed with DC_CALL_STATS=1. It showed sceSifCallRpc still
called by libsdr's sceSdRemote (set_spu, CSound::SetReverb). sceSdRemoteInit,
sceSdTransToIOP and sceSdRemote's six library calls are guarded nops; the
native site is each delay slot, whose instruction the handler does first,
then the binding, RPC or transfer straight to the compiled module.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 15:56:38 +01:00
Thomas MartinandClaude Opus 5.5 35fcc4cdae Cache maintenance answered by DC: no EE kernel calls after boot
FlushCache, iFlushCache and iSyncDCache (the game's only live kernel calls:
MGEndFrame every frame, uploads, both vblank callbacks) are DC port
overrides returning 0; callers keep their calls and checkpoints, so EE time
is unchanged. The end-of-run report prints the host's kernel / library /
override call totals: kernel calls on a 9,000-frame route fall from 19,907
to 5 (boot). Documents the survey: the running game uses no threads,
semaphores or alarms.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 14:43:40 +01:00
Thomas MartinandClaude Opus 5.5 549c5753b7 Native controller: CGamePad reads the PC pad directly, libpad retired
read_pad (0x12A900) and Step (0x12B140) are native: each port's PAD_STATUS
comes from the engine's PadInput exactly as the original left it after its
libpad handshake (buttons as scePadRead's halfword arrived, sticks, ready
phase, DualShock 2 IDs, motor alignment), and Step's motor levels go to
player 1's rumble. Guarded patches retire CGamePad::Init's scePadInit and
scePadPortOpen calls; its sceGsSyncV waits stay (boot timeline).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 13:40:48 +01:00
Thomas MartinandClaude Opus 5.5 7f1f6c802b Graphics page in the game's Options; the game reads video.ini
The native Options root gains Graphics (Game Options, Graphics, Cheats, Quit
Game): display mode, resolution, render scale and frame rate from the
controller, applied at once and saved to video.ini through the engine's new
video::shared()/post(). The windowed build now turns on the engine's video
settings, so the launcher's display settings and the F2 Video tab apply
(the game ignored them); --fullscreen still opens borderless. Headless runs
show the page as unavailable.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 12:33:27 +01:00
Thomas MartinandClaude Opus 5.5 7d374fc209 Cheats: level-up, map reveal, fishing, item spawner, fast-forward, combat, key finder
- Level up equipped weapon: ABS filled to the compiled GetWeaponMaxExp; the
  weapon menu levels it up as usual (default weapons, Serpent Sword, level 99
  refused).
- Reveal floor map: FlushCheckMask/checkMask fill the explored grid of the two
  DUN map objects where floor exists.
- Fish always bite: rand_check's Leave rolls get probability 0 (rand() still
  drawn); a hooked fish's timer is held.
- Item spawner: the game's CheckItemGet/CheckWeaponRot/GetItem on a copy of the
  hook context; names from the resident system messages; event/key/story items
  excluded.
- Fast-forward 150-400% (hold ` or the gamepad touchpad/Share, or lock on):
  frame cap raised, sound muted while fast.
- Damage multiplier / one-hit kills: native instruction site 0x1DC3F4 in
  CMonstorUnit::CheckDmg. No damage taken: CheckHitUser answers no hit to
  BtCheckDamageProc.
- Key finder: a native gold rectangle on the key holder at the map's
  transform, after DrawMapSymbol.

28 rows on the in-game Cheats page (the first 16 unchanged) and the F2 tab.
dc_native_cheat_extras tests every hook against recording stubs; 126/126
suites. DC_PROBE_CHEATS=1 logs applied level-ups and spawns.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-09 01:35:05 +01:00
Thomas Martin 719421a151 Report texture preparation progress and document the player workflow 2026-11-08 18:32:05 +01:00
Thomas Martin 094f497568 Add TMB-style launcher and offline v0.1.0 distribution 2026-11-08 18:23:52 +01:00
Thomas Martin bbf0f5de3a Add in-game cheats and qualify native rendering fixes
Add controller-operated Cheats and confirmed Quit Game pages within the original Options lifecycle. Extend shared cheats with combo stamina, equipped ATK, ABS multiplier, Gilda, consumable quantities, movement speed, lighting freeze and safe inventory resizing.

Preserve texture ownership across menu loads, correct model sampling and sky colours, restore water refraction, close sprite seams, adjust choice cursors and reduce model hashing cost. Cover native CD cancellation for companion-menu loading and pin the published BozoEngine fixes.

Refresh the README, cheat reference and rendering follow-up with current gameplay coverage, controls, saves, build steps and remaining limits. Validation: 86/86 suites, seven GPU checks, bounded native captures, graceful in-game quit and positive player feedback. No game assets, saves or generated code included.
2026-11-08 17:11:31 +01:00
Thomas Martin 7098b34028 Add optional health durability and thirst cheats to F2 settings 2026-11-08 00:21:41 +01:00
Thomas Martin 1fe20dc128 Close scaled sprite seams in minimap and dialog rectangles 2026-11-07 22:55:26 +01:00
Thomas Martin e08217bb4a Retire packet reservations and handles; audit indirect dispatch 2026-11-07 16:39:50 +01:00
Thomas Martin e52af031ae Retire unused console graphics builders and device reads 2026-11-06 14:32:19 +01:00
Thomas Martin 098ecf5340 Migrate Dark Cloud to BozoEngine's native runtime 2026-11-06 02:49:24 +01:00