CFrameVu1::DrawVu1 skips a model whose projected bounding box lies wholly
more than 320 px from the screen centre, the 4:3 half width. In 16:9 the
frame reaches 426.67 px each side, so models in the extra strips vanished
until they crossed into the 4:3 area.
Its two loads of 320.0 (0x129ab4, 0x129ae4) become guarded native sites
returning the drawn frame's half width: 426.67 in widescreen, 320 in 4:3
(the same constant as before, so 4:3 is unchanged).
Checked headless from a Wise Owl Forest save state while turning the camera:
the old and new bounds give identical centres in all 39 frames, and the
differences lie only in the side strips, where plants and rocks now show.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
With anti-aliasing the shadow work target's shared depth is resolved from one sample point off each
pixel's centre; on sloping ground that lies nearer than the mark's centre depth and every mark failed
the depth test, so the character shadows vanished (4x). Under anti-aliasing the marks now take
Material::depthOffset (slope 1, units 1); without it nothing changes.
BozoEngine: local branch dc/msaa-decal-offset (8ee365b), not pushed yet.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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]>
MGMoveFrameBuffImage (the menu's capture of both fields) marked its place 448
rows and nothing reset it; the town's water refracts that same place, which
its frame copies refill each frame at 224 rows. After the first menu, the
water sampled them at half height and showed the cliffs above it. The
stretch copy now marks its place 224 rows and the plain copy the source's.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
MGGetFBuffTex / MGGetFBuffBackTex hooks build the frame TEX0 words themselves
(640 wide, PSMCT32, FBP 0x46 / 0 by DBuffID: the values the record held),
and MGInit's loads of draw 0 TEST / ZBUF are native sites giving the same
values. MGInit's sceGsSetDefDBuff call is retired, so sceGsSetDefDrawEnv no
longer runs. GS library calls left: sceGsSyncV and sceGsResetGraph.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
CCloth::Initialize keeps two distinct buffer addresses (Alloc, then Alloc64)
and its per-frame DrawVu1 is native and reads the simulation grid, never the
size or either buffer. textureAllocationQwords and its formula are gone.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
CreateVisual builds at the allocator cursor, reserves the returned extent and
aligns to 64 bytes, so every build keeps a distinct aligned data address (the
retained-MDT key). DC_PROBE_EXTENTS found nothing writing into live buffers.
modelAllocationQwords and its VIF packet formula are removed; cloth keeps its
formula until its per-frame draw is audited.
Builder fixture: 1,064 cases, original VIF size vs native one qword. 126/126
suites. Seven routes: same ends, identical cards, attract demo frame-exact;
a dungeon floor walk-in renders normally.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Opt-in diagnosis for the extent migration: model/remake/shadow buffers are
filled with a pattern at build and checked every 60 frames; a change is
classified live when the building visual still owns the buffer, with the
new bytes printed. Seven routes: no write into a live buffer; the attract
demo's 8 live-looking cases are model data loaded at its scene switches.
Normal play is unchanged (the probe is off by default).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
drawModel looked a record up once per primitive, and every lookup hashes the
record's whole picture to see live texel and palette writes. No game code
runs between one native draw's primitives, so each record is now looked up
once per draw and reused; lookups across draws still check every time.
DC_NATIVE_STATS=1 reports record-texture lookups and hashed bytes per frame.
At the run's Matataki save spot: 480 lookups / 4.71 MiB hashed per frame
before, 208 / 2.00 after. 125/125 suites; scripted routes unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Engine main answers sceGsSyncVCallback natively and runs the callback only
where a game frame ends (Dispatcher::frameCompleted). DC's loading installs
VSyncCallBack_Load and spins in wait_now_loading_vsync on the flag only that
vblank callback sets, without ending a frame, so the boot stopped at frame 76.
DC now registers its compiled sceGsSyncVCallback (0x113DE8) in the port
registry: AddIntcHandler(2) + EnableIntc(2), fired by the kernel's field clock
as on the previous pin. No engine change.
The CD-cancel test asserts main's sceCdBreak contract: an active read ends at
the current native time, an idle drive's error is left unchanged.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Georama's stayframe), no duplicate rows between the milestone and layer tables, "How it works" without the removed
VIF1 observer (3D from the MDT, 2D from the game's routines, the offline texture store), the screenshots marked as
the old GS renderer's still to replace, the layout with runtime/app, docs/branding and the unlisted tools and
scripts. dc_native.cpp: the VU1 gate's comment without the observer.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
MakeFukidashi tiles "fuki256" over the balloon picture under DATE; the native hook drew only the grey shape. The clear
now writes the near depth, the shape the far one, and the parchment is depth-tested onto the shape.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
ReloadTexture sends level 0 as a w x h rectangle (LoadImage), so rows are packed at the record's width in main memory,
not TBW x 64 apart. Every texture narrower than its buffer lost rows; the message windows' 16 x 16 triangle showed as
a flat sliver on the last line.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The disc has 14 different 256 x 128 sheets with Toan's palette, alike in their first rows; the converter kept one
and the 4096-byte hash could not tell them apart, so the face's expression copy read the wrong sheet. Store v3: CRC-32
of all texels in GS order (offline forward Conv8to32, gs_layout.twiddled8); the adapter matches the record's.
DC_PROBE_COPIES logs copies, TexAnime keyframes, slot switches and action-sequence texture-anime queues.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The disc has 20+ "c01d01an" sheets with one palette; matching by name, palette and texel count gave the 256 x 128
sheet the 128 x 256 one, whose empty right half was copied over the jaw. Store v2 keys pictures by a hash of their
first 4096 GS-order texel bytes (offline forward Conv8to32). The heat haze patch gets its own window-resolution
target. Toggles nocopies / opaquemodels; copy dumps as PAM.
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]>