- The demo painted a stripe, not the hair.
tools/demo/textures/paint.pyput a diagonal magenta band onkosmos00_hair_col, so the front-page renders showed KOS-MOS with blue hair and pink stripes. It now turns the whole hair pink: the hair picture, its shine (kosmos00_hair_spe) and the blue hair drawn on her three face pictures (kosmos00_face,kosmos01_face,kosmos03_face), skin, lips and eyes untouched. The demo was run again on a copy of USA Disc 1: 18 changed entries (8 edited, 3 ride-along, 7 swept) in 5 files, every check passes, and the front-page and tour pictures are new renders of the re-extracted model. Still not booted in PCSX2. recolor'sbluemode left a blue-grey outline where a face's painted hair fades into skin. It now also takes that cool soft edge (blue no more than 30 under red and not green) and gives it some saturation, so thekosmos-hairpreset changes about 600 colours per file instead of 570. The preview picture in the tour is new.- TOUR lists the demo step by step, with the lines to expect and the Blender command for the pictures.
- The Windows zip unpacks into one folder with a
START HERE.txt(which program to open, the "Windows protected your PC" warning, extract first). xeno-cli.exedouble-clicked from Explorer shows its help and waits for Enter instead of flashing shut, and points to the window program.- Fixes found by the first release build: UTF-8 output on any Windows console
code page, the disc image closed after
texture-import, the bundle's self-tests.
- FUN-FACTS.md: sixty-odd things the discs give away, from the staff folders and a quest you cannot fail to the KORG driver's symbols, the unused hard-disk installer, the build order of the demo, the Japanese and the USA releases, and a table of the numbers.
- The window groups its cards by goal (Start here, look at one thing, change pictures, change text, fonts, new alphabets, developer tools); each card says what it needs and makes, and where its output went. New screenshot.
The README is rebuilt as a front page for the whole kit: a feature table with every command and its page, and sections with pictures for models, animation, changing textures, translating, text coverage, audio, movies, fonts and menus, and the window. "Still open" is brought up to date, and there is a docs index and a credits section. The tour gets sections for animation, texture import, executable strings, another alphabet and text coverage, a screenshot of the window, and a list of the demo scripts in place of its "Also in the kit" list.
- New pictures in
docs/images/front/(about 1 MB), all from the kit's own output: KOS-MOS and Shion playing clip 1 of their field motion files (a 12-frame GIF rendered in Blender from the.glbfiles); KOS-MOS and the title menu sheet from the retail disc and from the texture demo's modded copy, re-extracted; the 144 glyph cellslang-scandrew for the LANGTEST disc and four of itslang-previewlines; and the window (gui.py, with example disc paths in place of local ones). The in-game captures are the LANGTEST ones already indocs/images/. - Render scripts for the new pictures:
docs/gallery/render_motion_preview.pyanddocs/gallery/render_bind_pose.py, besiderender_gallery.py. - Fixed: the gallery caption said the figures stand in the bind pose because the motion files are not decoded; they are decoded, and the gallery simply shows the bind pose. The tour still said battle strings may not get longer; on the USA discs they grow within the file's sectors.
- Checked again on the release branch before writing the page: the
LANGTEST build is byte-identical to the booted image and its verifier
passes; the motion demo, the Khronos validator, Blender's import check and
a full
browse --kinds models(944 written, 142 with motion, the knownmobj241facing flag) pass; the texture demo's checks pass and--verify-roundtripis byte-exact on both USA discs;text-coverage --verifypasses on both discs, and an edit of one string of every kind round-trips on a copy of Disc 1 (15 changed sectors, all in the edited files and the tables of contents). None of it was booted again. - Noticed, not changed: in
text-coverage --verify, ifexe-exportitself fails, the executable no-change check is skipped without a problem being recorded (it did not fail in these runs). - After review: the coverage table's notes for the UI sheets and the
title menu words said there is no PNG-to-XTX import; they now say that
texture-importwrites the title sheet and the sheets whose palette is solved (checked on disc copies, not seen in the game). The rows keep the statusexport only, now defined as "no text tool writes it back", and the README says so. The README's voice samples are real-time event lines, not movie lines; its dialogue count is 8,318 lines of five kinds, not 8,318 spoken lines; it says which LANGTEST captures are of the first build. The tour's movie section gives the real sizes (only the.sfdcutscenes are 512×448) and counts (140 MP4 and 657 WAV), its folder table counts only what the kit writes (944.glb, 67,271 PNG), and its font section shows whatfont-extractwrites. The game-over jingle sample (a whole track) and an unreferenced crop of the Georgian menu capture are gone.
The language suite, text coverage, motion and texture import are merged on
one branch, with the front page (gallery, tour, audio samples, Blender's
first look). cli.py self-test and gui.py --self-test pass.
- Fixed in the merge:
glyphs.pyimportedtextpack._sjis_hint, which text coverage replaced with a stricter reading hint; the glyphs and langpack self-tests stopped with an ImportError. The retail reserve keeps its own copy of the old rule, so the room for new glyphs is the same. repack.patch_copytakes bothfs_replacements(executable strings) andcheck(texture import's verification of the finished copy), which runs after the plain files are written.- Scripts in
tools/(CODEBASE.md):tools/langtest/langtest.shbuilds the LANGTEST disc and checks it;tools/demo/motion.shandtools/demo/texture-import.shrun the two demos. Each takes the disc images and output folders as arguments. All three were run on the merged branch: the LANGTEST image is byte-identical to the booted rebuild (sha256 5a309d13...) and every check passes (ALPHABETS.md); the motion demo's read-back, the Khronos validator (no errors, warnings or infos) and Blender 5.4's import check pass; the texture demo's checks pass on a disc copy (10 changed entries, 8,833 unrelated objects byte-identical, an unedited full tree writes nothing). None of this was booted again.
- Reading hints stay on one line. Seven
exe-exporthints for Japanese developer strings in SLUS_208.92 / SLUS_211.33 (the ladder label at 0x006899D0,メモカテストat 0x00688B58 and five more) carried the string's raw control bytes: a carriage return or a vertical tab. An editor, or a script that reads the file in text mode, ends the comment line there, and the rest of the hint becomes a line of its own, whichexe-importreads as the string's new text and refuses. The hints of both exports now write every control character as a⟦XX⟧escape. Found by exporting both USA discs, editing one string of every kind, importing onto copies and exporting again; the walk-through itself is not part of the kit.
- Memory-card slot number (USA). Twelve
MainMenu.txdprompts carry the placeholder£°(A3 B0) thatFUN_00238038overwrites with the slot's digit. The export notes it above each block;text-importrefuses an edit that drops it or hides it from the game's walk (an accented letter right before it). - Skill Tutorial commands. 199 of the 255
Tutorial.txdentries are commandsFUN_00215f10runs (%p,%tNN,*, ...) or entries it skips. They are marked, andtext-importrefuses a change to them or a page of text turned into one. - USA quest characters. The quest reader converts every pair from
Shift-JIS to EUC-JP (
FUN_0022ec18->FUN_0023ebb8, ported). The three files the USA loaders read now show what the game draws (―,Ω; other pairs as escapes, so the retailCaf⟦82⟧⟦A0⟧), and typed USA symbols are accepted through the inverse conversion instead of every non-ASCII character being refused. A Latin-1 letter is still refused, with the reason. Not yet looked at in the running game. - Battle banners. The 416 names (1,363 calls) scripts pass to
bat.namePutare marked in the bank files and listed bydialogueas(banner);text-importnotes copies edited unalike and banners wider than any retail one, and refuses one whose width walk would run past its end.text-coveragecounts them, andsamp.fontPut's digit strings. - Japanese leftovers get a
#sjis:or#euc:reading line in bank and menu exports (the 20 EUC test lines andMainMenu0318/0399 had none), and Latin-1 lines no longer get a false Shift-JIS hint. - Executable: the field-debug label
ハシゴ(0x006899D0) is listed byexe-export(a control code and three kana now count as text in the print grammar; on the retail executables that adds this run only). - Docs and app: commands named on this branch only (no
lang-scan), the app self-test checks that every command a card names exists; twelve more texture entries with words inTEX_WORDS; the language folder and the Subtitles switch share one byte (MODDING.md, "Languages").
- Battle strings grow (USA). The string fields of the battle database
were read from OV01's getters (
FUN_00a9b338,FUN_00a9b750...FUN_00a9bba8): sections 0, 1, 6-14 and 18. A longer string is written where it is, the rest of its section moves down, exactly those fields are moved, the later sections and the header follow, and the result is read back field by field (smallfiles.batdat_rebuild). The file keeps to its sectors (220 spare bytes on the USA disc). Section 17 and the Japanese file stay in place. An unedited tree still imports as no change. - Subtitles for a movie without any (
s020310and four others):text-importrefuses such a file and says why (the movie player keeps the cues in the video decoder's block, which has no room when there were none).s020310's re-dubbed USA voice track is noted in DIALOGUE.md. text-coverage: rows for the party-menu labels, the battle pop-ups and glyph effect inside effect files, the ANIMA logo, the quest-board pictures, and checked negatives (no text: door pictures, disc-change picture, boot images,matumototextures, UMN banners); the map texture survey (OCR, at least 109 files with words, 12_usentries) and the movies with drawn words.--tex-wordslists the texture entries with words;--verifyalso checks that they are on the disc and tries the battle growth writer on the disc's own file.- App: cards for
dialogue,font-extract,font-rebuild,nativesandrecolor; thetext-importcard lists everything it writes. The app self-test checks that every command has its card text. - Executable strings: why none grows, and the one debug string left out on purpose (MODDING.md).
The alphabets (lang-scan, lang-encode, lang-preview), the executable
strings (exe-export, exe-import) and the LANGTEST fixes merged on the
langsuite branch; cli.py self-test and gui.py --self-test pass, and
the five commands have GUI cards.
- Fixed: with both merged,
lang-scanrefused an executable tree: the typed-character check took untouched developer and data strings thatexe-exportlists (£,§,Ä,Ø, a no-break space, read from EUC-JP fullwidth letters and pointers) for typed text. An executable string without the new script is now compared with the disc's own and left out while it still holds its retail bytes (lang-scanalways,lang-encodewith--iso). Self-test. lang-encode --isoon an executable tree runsexe-import's checks as its dry run (it rantext-import's, which need the text manifest).- The LANGTEST disc was built again from a fresh retail export with kit commands only. Its strings, fonts and untouched text were checked on the image, and it is byte-identical to the rebuild booted earlier the same day. This build was not booted again (ALPHABETS.md).
A copy of Disc 1 with Arabic, Hindi, Georgian and Amharic in the first minutes of a New Game, built with kit commands only and booted in PCSX2 2.9.175. The worked example, captures and the build commands are in ALPHABETS.md.
- Seen in game: Hindi movie subtitles (
s010100) and cfe cutscene lines (sc8001), centred; Arabic in the field box (sc10100004-0006), joined, right to left, not re-wrapped (on the first build one ligature, AD85 in الشيء, was wider than its cell and cut off; the rebuild draws it whole); Amharic as the save screen's title (MainMenu.txd0512) and inSaving...(an executable string). Lone bytes 0x80-0xFF in the movie and cfe lines (font0) and the field window (font1), D9-E0 in the menu and executable strings, A4 pairs from A4A6 up and AD cells draw. - Failed: the field menu's party names (
MainMenu.txd0000, 0003, 0012) draw blank. A scratch build put the same Georgian codes in a field-window line (drawn) and Hindi on codes the movie draws in a name (blank), so the name boxes are at fault, not the codes. Why is not known. - Not reached: the battle HUD (
batdat.us). Not tested: which face each surface uses,--tight. - Measured: the field window wraps lines wider than 412 to 446 px and its
space is 5 px (
$xx1,4, also read from the code). Use--width-kind bank=410 --space-px 5for right-to-left field text. - Fixed:
lang-encodecounts a<○>button tag as wide as its symbol (the window draws no brackets);exe-importaccepts a tree that holds only the executables it changes. Self-tests for both. - Fixed after review:
lang-scandraws a glyph wider than its cell narrower instead of cutting it off, and refuses one that would lose ink above or below the cell (the Hindi scan now needs--px 17.5);lang-encodewrites&NNand<○>verbatim inside right-to-left lines (&12came out as21&);exe-import --retailresets an executable the tree leaves out to retail, so a second round equals a fresh import. Each with a self-test. The disc was rebuilt with these and booted again.
text-coverage(coverage.py): every place the game shows text and what the kit does with it, counted from the disc; text drawn into pictures and movies is listed apart.--verifychecks that every unedited tree imports as no change on each disc given (it does on both USA discs).- Executable strings, control codes: strings are read with the print
function's grammar (
FUN_00197bb8; parameter counts agree with the table at 0x0063EA40), so the save prompts (0B 0E 01 01 00 00 00 ...), the skip line,Start game?and the memory-card prompt are listed whole. Codes and their parameters are escapes in the tree; an edit that ends inside a code, puts a zero byte where a character belongs, uses a code the loop never passes or leaves a$codeopen is refused. Aluion another path of the same function is followed to aligned string starts. The HDD installer's EUC-JP prompts are listed. Blocks drawn only by the debug print are marked# debug (FUN_00195760 only), and blocks whose codes draw ASCII with the 8x8 system font say so. The tree format is 2; export again. - Quest text: each text must fit its field of the loader's record (read
from
FUN_0022ee08,FUN_0022f000,FUN_00232160); a file an editor saved with LF line ends gets its CR LF back, a mixed one is refused. - Memory-card title (
icontitle,carddata.bin.title.txt): edited in place; the characters the save writerFUN_0019dc10stamps (slot and time) stay where they are. USA only. - Merged from
lang-exetext:exe-export/exe-importthemselves.
Translations into scripts the USA font never had, ported from the Episode I
kit (glyphs.py, langpack.py, each says so at the top) with the
addressing rewritten for Episode II. ALPHABETS.md.
- The room, computed from the executable's reading of high bytes: 122 single-byte codes, 59 A4 pairs (both proportional) and 65 AD pairs (fixed width), after reserving every cell the visible retail text uses (on the USA discs only the lone byte FC). No kanji overflow as in Episode I.
- Both faces. font1 is the face loaded at init (dialogue, menus, battle); font0 is swapped in for movies and cfe cutscenes. Read from the code; the old docstring "font0 is the dialogue face" was Episode I's. Every glyph goes into both files, which stay identical in sheet 0.
- The encoder works on the text-export tree, measures with the port of the game's width function on the rebuilt font, re-emits colour and size codes on right-to-left lines, handles several scripts in one project and checks every byte limit (battle strings, executable strings, subtitles); on any problem it writes nothing.
- fontTools and uharfbuzz are required (requirements.txt), installed by the launchers, checked by build.py and bundled by the app.
- Checked on disc copies (Arabic and Hindi on Disc 1, the fonts and chain 0 on Disc 2), then in PCSX2 on the LANGTEST disc (next entry).
exetext.py, borrowed from the Episode I kit'sovltext.py: every string the code of the boot executable,OV01.OVLandOV02.OVLpoints at (pointer words,luipairs,$gpaddresses), as a block tree with each string's slot (### @0x0068b678 max 15 bytesforSaving...). Written back in place only, the rest of the slot zero-filled, nothing moved.exe-importmust be the last step: afterwards the executable is not the retail one andtext-import,font-extractandlang-scanrefuse the image.--retailstarts again from the retail executables for a second round.- The boot executable carries the title overlay's bytes as a third segment
(equal to
OV02.OVL); strings there are listed in both trees and must be edited alike. repack.patch_copytakesfs_replacements(plain ISO files, same size). Not yet seen in the running game. MODDING.md.- After review: an address formed from another path's
luinow ends the slot of the string before it (cdrom0:\41 to 15,pfs1:/Your Saves35 to 23); stores through a register holding a string's address are named, and an edit must keep those bytes (Path No. 01 ...gets its number in +9..+10); an inlined copy of known size capsmaxat the retail length;%conversions must stay as exported (an added%sor%nis refused).
A clip is paired with a model by name, and some same-named files hold clips
for more than one skeleton (motion\gno010.xap slots 3-4 have 30 run-A
blocks, the skeleton 55). The 189 stem-paired clips whose block counts differ
from the skeleton's are now flagged instead of passing as plain animations:
the counts follow the animation name (motion/gno010#03 [counts A30/55]) and
sit in its extras, model prints each one, models.csv lists them in the
motion column and counts them in a new motion_counts_differ column, and
model --matched-only leaves them out. The count alone does not decide the
question (jr00's own clips all differ in the chain run), so none is dropped
by default. MOTION.md.
The motion files are decoded: all 4,340 clips in the 549 .xap files and
motion\face_all.fap, layout read from the executable (the pose builder
FUN_0028f1e0, the face path FUN_00290518, the key evaluator
FUN_002935e8). xap.py rebuilds the engine's pose, including its
parent-scale compensation and the face path's quirks, and writes each clip as
a glTF animation keyed straight from the file's translation, rotation and
scale, so nothing is decomposed. model adds every same-named .xap
(--motion PATH[#slots] for others, --face for the face clips); browse
does the same for every model and adds a motion column to models.csv.
Every transform is now a bone in Blender. Read back the glTF way, the
animated skeletons match the engine formula to 5e-7; the Khronos validator
reports nothing; Blender 5.4 imports each clip as an action of the right
length. Not reproduced: the simulated hair and cloth, the visibility lists
(which hide nothing on this disc) and the game's real-time rate.
MOTION.md, BLENDER.md.
Paint over PNGs in a copy of the browse folder, or over the images of a
model in Blender, and texture-import writes the ones that changed into a
copy of the disc. A PNG equal to the disc is ignored (colours under alpha 0
count as equal), so a sparse tree works. Every other copy of the same pixels
on the disc gets the edit (KOS-MOS's hair is the same picture in four files
under two names), shared palettes keep the other textures' colours, re-listed
entries ride along, smaller mip levels are rebuilt, and the title menu words
can be edited (--grow when the sheet no longer fits). Writes go through
repack.patch_copy and are decoded again from the new image.
--verify-roundtrip re-encodes all 3,104 texture pages and 73 UI sheets of
Disc 1 byte-identically. New modules pngread.py, texenc.py,
teximport.py; .glb images are now named after their PNG files; dump
handles objects relocated by --grow. Not yet seen in the running game.
MODDING.md, FORMATS.md
(strip headers, mip chains, the alpha inverse).
Four outside models reviewed the text work; every point and what was done is
in docs/panel/2026-11-10-translation/RESOLUTION.md. In short:
- Writers never patch their input (also not through a link) and publish a
complete, verified image or nothing (
repack.patch_copy). Unknown builds are read-only; text needs the exact known executable. - The tree is unambiguous (
⟦23⟧for a leading#), block keys are checked (order, duplicates, missing), embedded NULs and edits that would hide a string from the next export are refused, and a manifest ties the tree to its disc (--rebaseoverrides). textcodec.py: text is read per build. USAéis the Latin-1 byte 0xE9; typed characters are checked against the disc's fonts.- Subtitles: bounds measured on the disc's own retail files (line bytes, line width by a port of the game's width function, lines per cue), on top of the 64-byte rule. Bounds, not proven limits.
font-rebuildrefuses to apply nothing, and says what it applied.
browse now writes every .pxy model as a .glb (--kinds models, on by
default): mesh, UVs, textures inside the file, vertex colours, skin weights
and an armature from the .xhr skeleton. All 944 models of Disc 1 are
written in about a minute; 943 pass every numeric check (unit normals,
weights summing to one, indices in range, vertices inside their bounds, the
triangle count the file itself records). model exports one straight from
the disc. The layout was read from the game's VU1 microcode, not guessed from
the data. Motion is not decoded. BLENDER.md,
MODELS.md.
- Four more kinds of text, each exact both ways on every disc (an unedited export imports as no change; see MODDING.md for the table and the limits).
moviesub.pypacks subtitle cues the way the game does and enforces the 64-byte rule. Reading the packer also showed that the recorded explanation of that rule does not match the code; the true limit is open (MODDING.md, "Subtitle limit").smallfiles.batdat_replace: battle strings, in place.
- The two
.sblloaders were read: both load script and bank into one buffer of fixed size (scenes 0x20000 bytes at 0x3C6DC0, maps 0x12000). A bank may be relocated when it outgrows its slot, but never past its script's buffer;text-importenforces that. Not yet seen in the running game. See MODDING.md. minidisc.pybuilds a small disc image in code, sotextpacknow has an end-to-end self-test.
- Episode II addressing in
font.py(Addressing,xs2_cell), read from the executables: code to cell, the extra-kanji list, how USA single bytes (ASCII through a table, Latin-1 at cell = byte + 0x80) reach cells, and that the metric pair is indexed by cell in both regions (384 pairs USA, 256 Japan with 192 used). The tables come from the disc's executable by virtual address. See FORMATS.md, Fonts. - Episode I's addressing is fenced (
font.Episode1); the old module-level names raise. font-extract/font-rebuild: sheets as PNG, metrics as CSV, and the byte-to-cell table. An unedited round trip is byte-identical on every disc.
region.py: the build is read from the boot executable. USA Disc 1 SLUS_208.92 and Disc 2 SLUS_211.33 (serials read from SYSTEM.CNF; one executable on both), Japan SLPS_253.68 / .69, the demo SLPS_253.53. Script text, movie subtitles, fonts and the battle database are found by the region's layout. Executable addresses go through the ELF program headers (va_to_offset).- Japanese text.
text-exporton a Japanese disc writes the scripts' inline strings: 17,225 in 592 scripts, including 172 that only a pointer table reaches (sb.Script.pointer_slots).text-importwrites them back in place (same length or shorter). - Codec. The kit's text codec is
euc_jis_2004(sbl.CODEC), chosen by measurement: the two codecs never disagree on a code both define; 73 Japanese strings (JIS row 13: ①, Ⅰ) fail undereuc_jpand none undereuc_jis_2004; USA output is unchanged byte for byte. - Mixed discs.
list,dump,nativesanddialoguewarn when the images are different builds; the GUI's disc picker keeps one region.
- Chains in a directory.
chains.chain_filesfinds a chain's bigfiles at the root or in one directory, so the Episode II demo on Xenosaga Freaks (EXP\XENOSAGA.00-.02) lists, dumps and patches like a retail disc (3,612 entries; 2,655 files byte-identical to retail). - The older script form. The demo's scripts keep their text inline:
pushtextis an offset into the globals (EUC-JP), not an.sblline.sb.pychecks, lists and extracts both forms; all 135 demo scripts and all 465 retail scripts pass. A zero source-name word is accepted. natives: every native the scripts call, with argument-type signatures from the pushed (value, type) pairs;--outadds per-script listings and the demo's inline strings. See SCRIPTS.md.
spu2synth.py, a new renderer for the 31 KORG songs: the driver's rules read fromKORGIVAG.IRX(hold keys, choke groups, the two SPU2 cores, 24 voices per core and the steal order, the driver's pitch, volume and pan tables, bend and LFO, the 2 ms tick) on a model of the SPU2 (ADPCM, Gaussian interpolation, exact ADSR, 16-bit clamps) with the SPU2's own reverb network and libsd's presets from the disc'sLIBSD.IRX, ECHO/DELAY rewritten from each song's delay and feedback as libsd does.browse --kinds musicrenders with it. See MUSIC.md.- The crash that cut off: drum and groove-slice keys hold (layer byte +12): the driver ignores their note-off, so a 0.5 s cymbal under a 0.125 s note rings to its end. The SoundFont render released it at the note-off.
- The missing reverb: the old ECHO waited 403 ms per repeat; libsd's rule gives 537.7 ms for 001 Milchia, and a game rip agrees (538 ms). The reverb types now use the SPU2's network instead of fluidsynth's.
- Checked against five tracks of a game rip: closer on every measure taken (spectral error, tonal balance within 0.3 dB rms, stereo within 0.5 dB, held-hit envelopes, the effect type each song names fits best of the nine). Numbers in MUSIC.md.
prj.py: byte +13 is the SPU2 core, not an on/off flag (any layer with a sample sounds); +11 is the choke group, +12 hold. SoundFont decay and release times are now scaled to the SF2 definition (time to −100 dB, about 2.4× the old values), hold layers play out, choke groups become the exclusive class.songfx.pynow only reads the songs' effect settings (libsd's ECHO/DELAY timing and feedback formula included); its fluidsynth render is gone.- numpy is required (
requirements.txt), since most people will use the app bundles, which carry it. The launchers install it into.venv/on first run when the Python they find lacks it;build.pyrefuses to build without it;cli.py self-testnow fails, instead of skipping, a module that cannot be imported (so a bundle missing numpy fails its build). fluidsynth is no longer used; the GUI's status panel shows numpy in its place. dumpalways copies the two IOP modules the music render reads (KORGIVAG.IRX,LIBSD.IRX), so music no longer needs--code, andbrowsestops with a clear message if they are missing. Run on its own,python spu2synth.py SONG.mid ...finds them there and warns instead of rendering without the reverb.
- Embedded texture pages: 2,167 txy blocks inside 697 effect files
(
.esd,.esp, the title backdrop.bin) decoded intotextures_png/_embedded/, deduplicated by image sha1 against the standalone pass and each other: 3,547 entries, 1,333 new images, provenance inembedded_textures.csv. Standalone pages moved totextures_png/(the Episode I kit's name). recolor: hue-shift named texture entries in every copy, found by structure (entry names, palette tiles) rather than bytes. Presetkosmos-hair: 12 entries in 4 files.--xtxcolourises a true-colour sheet (the title menu).- Movies:
browse --movie-audio ac3|bothkeeps the AC3 5.1 track (48 movies; 2 are AC3 stereo) bit-exact, also as a raw.ac3. patch --grow/--relocateand a TOC report that lists relocated objects.- Checked in PCSX2: pink title menu; a relocated subtitle file (same size,
and grown past its slot) read from past the end of the original image. Found
the subtitle limit described in MODDING.md: lengthening the displayed text
of
s010100.txtby 52 characters broke the first movie.
Started the same day the discs were first looked at, on the USA Disc 1 and Disc 2 images.
- Disc and TOC. The table of contents is Episode I's with front-coded
names; parsed and rebuilt byte-identically on all three TOCs (9,030
entries). The same parser reads Episode III's catalogs (15,225 entries,
all agreeing with Lybac's tables).
dump+verify: 9,030 objects plus the code files, 0 problems, ARX objects recompressed byte-identically. - Textures.
.txypages decode with Episode III's swizzles plus a new rule: each entry's word +0x30 names its bank. Skyboxes (23 faces in one file) and two-pass field maps come out right; overlaying all banks, as the Episode III kit does, garbled 71 of 78 bank-0 entries on one map. 65,938 PNGs from 941 files in under a minute on 8 cores. - UI sheets. Episode I's XTX decoder copied unchanged; true-colour sheets (title menu words, frame masks) drawn as such. Two multi-palette menu sheets remain.
- Text.
.sblbanks rebuild byte-identically (465/465) and round-trip through editable UTF-8;text-export/text-importpatch a copy of the disc (a same-size edit changed exactly 2 bytes of the image; a longer line updated the TOC size). - Scripts. The
.sbVM found in OV01 (46 opcodes, native registry) and disassembled: all 465 scripts structurally clean, 2.6 M instructions, dialogue lines shown inline. - Sound and music. KORG
.vsfbanks to WAV (3,733 samples, decode health checked),.prjprojects parsed (1,074/1,074) and turned into SoundFonts; all 31 songs rendered through fluidsynth. - Movies.
.sfd,.ipu,.adxthrough ffmpeg.
- Portraits and item cards fixed. 18 of the 69 quest-board portraits,
item cards and button icons decoded grey or garbled: Episode I's palette
ranking picked a wrong tile. These sheets park their palette in the
canvas's top-right corner;
xtx.pynow recognises that layout and uses that tile alone (palette sourcecorner), 69/69 correct. The three*_alpha.xtxframe masks are decoded as masks and applied to the pictures in their directory, as the game draws them: rounded corners, no dark strip (palettecorner+maskinxtx.csv). - Wired in: the new modules' self-tests (
sniff,songfx,smallfiles,toolfind,gui) run undercli.py self-test;browsefinds a bundled ffmpeg/fluidsynth first;--kinds small; music renders follow each song's effect settings. - Still open: 11 multi-palette menu sheets (FORMATS.md, UI sheets).