Files
..
Fork 1f9ea7d: the mesh and texture packs on the fork's generic pieces (native_mesh_pack.h, native_mesh_draw.h, native_texture_pack.h, tools/native_pack; PS2Recomp docs/native_packs.md), TMB keeping only what is TMB's. The fork now has the pack containers (PS2XMSH1, PS2XTEX1), their writers and loaders, the object store and loaded-image binding (size and CRC32), the draws, the view's order (opaque in traversal order, the alpha ordering table farthest bucket first, newest first), the GS state followed into each batch's material, the clip-volume / w > 0 cut, the live toggles and the PS2 texture decoders, for SC3 and the other ports. TMB keeps the NGP and .TEX / .RTX parsing (tools/tmb_mesh_pack.py and tools/tmb_texture_pack.py write through the fork's writers), the file binding hooks, pktAddVu1ObjAsm and the setup programs' meaning and shading, pktLinkAlphaObjAsm / hierCheckVifComplete / hier2pFlushDma, the GS context blocks' reading, texInfo and the texture key scheme, the skid marks' object (an in-memory MeshObject) and the checks against the stream (an observer on the fork's submitter). TMB's object in the generic pack: 40 bytes of attributes (flags, sphere, ntex, texture numbers, pool object), sections AUX (morph deltas), SRCS (pool sources), PRMS (environment-map parameters), SKIN; the context blocks are the file's register blocks. Against the main build's runner and packs: the new packs read back equal to the old field by field (54 files, 93,800 objects, 0 differing; texture records byte-equal); TMB_NATIVE_VIF=1 TMB_NATIVE_MESHES_CHECK=1 Junkyard 1P 1.86 M objects and 4P 0.92 M: 0 out of order, 0 materials differing, 0 VU 0-21 differing, 0 vertex and 0 strip count differences (main the same zeros); [tmb:mesh] in the default mode over 8 runs each: every object at the hook drawn, the same zero categories, the menus' counts equal; menu captures within 0-270 pixels of each other outside the fps counter (in a match the random spawn makes every two runs differ, same build or not). README rows; docs/RECOMP_NOTES.md
2026-11-01 18:01:23 +01:00