4c733a68c8 3D: back faces culled behind the camera too; M_19_03's view no longer covered (#18)
On M_19_03 (the seafront) the camera at (120.5, -4.5, 10) sits inside one
of the level's untextured boxes (prim 0x6792b0 at (120, 0, -30), 100 x 10 x
90). The IMD programs cull back faces in the object's space (L_2250 /
L_1250), so the PS2 draws nothing of it from inside. The port compared
screen areas and kept every triangle with a corner behind the camera, so
the box's inside faces covered everything below the horizon, the player
too.

The cull (and the outline pass's back-face pick) now takes the determinant
of the corners' (x, y, w): the screen area times the three w, whose sign
holds behind the camera. Triangles wholly in front of the camera are judged
as before.

Compared with PCSX2 from the same start: tools/pcsx2/warp_opening.pnach
makes New Game load 19:3:0, and SBC_WARP_OPENING does the same in the port.
Still different there: the platform top's tint and a paved surface past its
edge (docs/RECOMP_NOTES.md).

Diagnostics: SBC_3D_PICK=<kick>:<x>:<y> (meshes over a pixel, with w),
SBC_TRACE_OBJECTS now prints the camera and the matrices, SBC_TRACE_VERTS,
SBC_TRACE_TEXTURE_FAILS, FRAME in the untextured trace. README screenshot.

Co-authored-by: Thomas Martin <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
2026-12-01 01:14:26 +01:00

Steambot Chronicles, native PC port by The Bozos

Steambot_Chronicles_Recomp

A native PC port of Steambot Chronicles (NTSC-U, SLUS-21344), made by statically recompiling the game's PlayStation 2 code to C++. Windows first; Linux later.
Built on BozoEngine, The Bozos' own toolchain: the game's EE code recompiled to C++, every library and kernel call it makes answered by native code. No PS2 hardware model at any level: no GS, VU, VIF/GIF, DMA, IOP or SPU2.

Platform Compiler Based on Status Goal

Important

No game files are included: no ELF, IRX modules, archives, audio streams, or code generated from them. You need your own copy of the North American release, PS2 ID SLUS-21344. The port is built against that disc's executable:

File SHA-1
SLUS_213.44 f9cc145772481c9232d5970682d822367969be4b

Status

Milestone
Disc layout, executable sections and code overlays mapped ✅
Whole program recompiled by bozo-recomp (12,134 functions + 55 code overlays) ✅
Library symbol map for the executable (207 of the engine's 277 names) ✅
Port build (sbc-headless, steambot) linked against BozoEngine ✅
IOP sound modules statically compiled (Sony modsound, CDVDSTM, Irem's IREMSND, its CD streaming) ✅
Boot: kernel, SIF, CD, IOP modules, the render scheduler answered natively ✅
2D drawn natively: the game's sprite calls and its TIM2 textures, no GIF packets read ✅
Title screen and main menu ✅
Movies (native libmpeg, its callbacks on the caller's thread) ✅
Text (the game's font system), drawn natively ✅
The menus' copy of the screen (sceGsExecStoreImage), answered from the presented picture ✅
The 3D: the IMD models (rigid, prelit, skinned) drawn natively from the model data, lighting 🔧
First map and its gameplay (the beach after the shipwreck) 🔧
Gameplay ⏳
Cheats tab (F2): infinite HP, fuel, boost, money, never hungry, one-hit kills, position bookmarks, map warp ✅
Save states, memory-card saves ⏳
Linux build ⏳

Screenshots

The title screen: the town in a brass frame over a brick wall, PUSH START BUTTON, the Steambot Chronicles logo and Irem's copyright The main menu: START, CONTINUE, TUTORIAL and two locked entries over the town's slideshow
2026-11-29: the title screen and the main menu, every sprite drawn from the game's own sprite calls and TIM2 data.

The title's attract movie: Nefroburg Bakery at dusk, the harmonica minigame's notes, Bravo!
The title's attract movie, decoded by BozoEngine's native libmpeg.

The beach after the shipwreck: Vanilla and Connie in the opening cutscene, subtitle: Sea...gull... Beach? Gameplay on the beach: Vanilla on the sand, the wrecked steamship, the sea and the rocks in the lavender haze
The first map in 3D: the game's own IMD models (rigid, prelit and skinned) drawn natively from its model data, no VU program run.

Vanilla and Connie on the beach, their faces and arms toon-shaded through the game's skin ramp, the Trotmobile in brown-grey on the left Vanilla on the beach facing the wrecked steamship: the wreck's boards, a pipe and posts in the water drawn in their own colours
2026-11-30: the beach as the PS2 shows it: the skin toon-shaded as the game's VU programs do it, untextured colours as the GS draws them (the Trotmobile), back faces culled (the wreck's boards and pipe), the hair's alpha test from the game's own TEST register.

Vanilla's Trotmobile in Neuhafen's arena, the HP, fuel and boost gauges and both arms on the HUD Vanilla on foot on a rooftop terrace beside a parked Trotmobile
The Cheats tab's map warp (F2): Neuhafen's arena and a rooftop, reached from the beach through the game's own map change. The indoor arena under its steel roof: the ring girl holds up a BATTLE 1 sign, rocks and a ramp on the sand The arena's PAUSE menu, Return to Title Screen and Resume, over a still, darkened copy of the arena
2026-11-30: the indoor arena (M_03_02), which used to stop the port. The game copies the screen for its menus with sceGsExecStoreImage; the port now answers that with the picture it presents, and the pause menu is drawn over that copy. The Trotmobile from behind on a flat grey platform at the seafront, the lighthouse and moored ships ahead
2026-12-01: the seafront (M_19_03). The camera sits inside one of the level's boxes, and the port drew that box's inside faces over the whole view; it now culls them as the PS2's VU program does, including triangles that reach behind the camera.

Building

You need your own disc image. On Windows, from an MSYS2 UCRT64 shell with GCC, CMake and Ninja:

git clone https://github.com/TheBozos/Steambot_Chronicles_Recomp.git
cd Steambot_Chronicles_Recomp
scripts/extract_iso.sh "/path/to/your/disc.iso"   # the disc's files into game/ (checks the executable's SHA-1)
scripts/build_runtime.sh                           # fetches the pinned BozoEngine, builds sbc-headless and steambot
scripts/run.sh --frames 600                        # the headless runner

The port builds on a BozoEngine release, pinned by version and SHA-256 in cmake/bozo_engine.json: configuring downloads it once, checks the hash and unpacks it into BozoEngine/ (not committed; cmake -P cmake/bozo_engine_fetch.cmake does it alone). Moving to a newer engine means a newer release in that file. To build on a local BozoEngine checkout instead (engine work not released yet), pass -DBOZO_ENGINE_DIR=<checkout> or set BOZO_ENGINE_DIR for the scripts.

See docs/RECOMP_NOTES.md for how the port is made and what each stage found.

Credits

Made by The Bozos (boubou666, Arzaroth) on BozoEngine. Steambot Chronicles belongs to its publisher and developer; this project contains none of their files.

License

MIT, for the files in this repository (see LICENSE). The game is not included.

S
Description
Native PC port of Steambot Chronicles (PS2, SLUS-21344), statically recompiled on BozoEngine: no PS2 emulation, built from your own disc (no game data)
Readme MIT
11 MiB
0 Stars 1 Watchers 0 Forks
Languages
C++ 73.7%
Python 20.1%
CMake 4.3%
Shell 1.9%