- The retail file loader and its replacement on PC:
chronicletwo:ps2/src/dataread.cpp,chronicletwo:port/src/dataread.cpp,chronicletwo:port/src/dataread_pack.cpp,chronicletwo:port/src/dataread_port.hpp. - The texture side channel that hides converted textures from the game:
chronicletwo:port/src/texture_source.cpp, and Kazarov'stexture_catalog(kazarov:src/cpp/platform/texture_catalog.cpp) anddatapacks(chronicletwo:port/src/platform/datapacks.cpp). - Where the data root comes from (per-game identity), and the first-run gate.
- The extraction pipeline:
dc2data(chronicletwo:tools/dc2data/main.cpp) and Kazarov's Rust publisher (kazarov:src/rust/core.rs,archive.rs,textures.rs,publish.rs), plusdata_version.json. - The map, scene, script, sound and model loaders that sit on top of the file loader:
chronicletwo:ps2/src/sceneload.cpp,mapjump.cpp,mapselect.cpp,map.cpp,mapload.cpp,mdslist.cpp, andchronicletwo:port/src/ezbgm.cpp,movie.cpp. - The extracted PAL tree: top-level directories, file counts, sizes and what each holds.
chronicletwo:docs/DATA_LAYOUT.mdandchronicletwo:docs/SOUND_DAT.md. DATA_LAYOUT is about the decompilation's native-data and objdiff layout, not runtime loading; it is noted but not relied on. SOUND_DAT covers SOUND.DAT/SOUND.HD3 and is used below.
Basis: read-only review of the ixion branch of the ChronicleTwo checkout (HEAD 40ec9083). Its tools/kazarov submodule is at the pin 3dc38ce. The Kazarov main checkout (9310c53) has byte-identical src/rust and data_version.json at that pin. Chronicle's Kazarov pin (a0a5ff8) predates the Rust publisher. Nothing was built or run. File and directory counts come from walking the extracted PAL tree on disk, not from dc2data check. Inference is labelled.
- Retail loads one index at boot.
InitCDFilefindsDATA.DATon the disc, readsDATA.HD4into a 0x50000-byte buffer, and records count = first u32 / 12 (chronicletwo:ps2/src/dataread.cpp:499-558,chronicletwo:ps2/include/dataread.hpp:67-75,DATA_HEADER= name offset, size, sector). - Retail's default device is the disc (
chronicletwo:ps2/src/dataread.cpp:34). Prefixeshost:/host0:,cdrom:,net:andpsf0:are recognised; any otherdev:prefix is stripped and the default device applies (chronicletwo:ps2/src/dataread.cpp:561-637). - The PC port replaces the
DATA.HD4index with a recursive walk of the data root. The walk runs on the first lookup if it has not already run, and keys each file by its lower-cased relative path (chronicletwo:port/src/dataread.cpp:144-152,289-334; header commentchronicletwo:port/src/dataread_port.hpp:4-11). - The walk skips root-level
manifest.txt,manifest.json,movie/,sound/,port_data/, dot entries and*.dc2tmp(chronicletwo:port/src/dataread.cpp:38,77-88). Movies and sounds are read by their own code paths instead. - Index keys are built by
IndexKey(chronicletwo:port/src/dataread.cpp:90-137): backslash becomes slash, a trailing;<digits>is dropped, slash runs collapse, bytes >= 0x80 and%are percent-encoded as in dc2data'sDiskName, and the rest is folded to lower case. Any text before the first colon is stripped, socdrom0:\...andhost:...lose their prefix there. - Converted textures never reach the game as IMG/TIM2 bytes.
ResolveFilereturns a 16-byte opaque handleKZTX:assetwhen the key is a texture-catalog source (chronicletwo:port/src/dataread.cpp:205-222). The source name is attached to the buffer's address (chronicletwo:port/src/texture_source.cpp:14-18; lookup by address at:24-45) and texture entry points look it up to find the catalog entry (chronicletwo:port/src/mg_texture.cpp:1066-1100). - PACK members are read by basename, ASCII-case-insensitively, by name or index (
chronicletwo:port/src/dataread_pack.cpp:71-105). A converted member gets a stable 16-byte handle from a static map keyed by source name. A non-converted member points into the pack buffer. - Replacement assets ("datapacks") overlay the index only for files the index already holds. They come from
datapacks/datapacks.jsonbesideport_data/(chronicletwo:port/src/platform/datapacks.cpp:237-290,Resolveat291;chronicletwo:docs/PC.md:105-160). - The data root for DC2 is chosen in this order:
--data,--run-dirplus/data,DC2_DATA, then the per-user data directory. DC2 setscoherent_default_root, so it never probes a./databeside the working directory (chronicletwo:port/src/identity.cpp:9-10;kazarov:src/cpp/platform/paths.cpp,PathsDataRoot). DC1 does not set that flag, so it does probe locally. - The first-run gate
FirstRunRequireDatachecks for a current extraction (data.jsonschema 1 withdata_versionequal toKAZAROV_DATA_VERSION, plusdata/manifest.jsonandport_data/manifest.json). If the data is missing it opens Kazarov's setup window, or in headless mode prints thedc2data extractcommand and exits with status 3 (chronicletwo:port/src/platform/firstrun.cpp:22-67). data_version.jsonis{"schema_version":1,"data_version":3}. The CMake build and the Rust publisher both read it (kazarov:data_version.json;chronicletwo:port/CMakeLists.txt:26-33;kazarov:src/rust/core.rs,data_version()).dc2datais a thin C++ front end over Kazarov's Rust core through a cxx bridge. It has five commands:extract,list,sound,check,current(chronicletwo:tools/dc2data/main.cpp:30-37,62-80).- Extraction stages a copy under the output root, verifies, and publishes with rollback (
kazarov:src/rust/publish.rs,publish()andverify()). The staged tree isdata/(non-texture payloads, sound, movies) plusport_data/(PNG overlays,catalog.json,manifest.json), withdata.jsonas the version marker (kazarov:src/rust/core.rs,extract_with_progress). - SOUND.HD3 is parsed with first-match semantics. The one duplicated name (
8640040.wav) keeps only its first record, and the second is recorded as "shadowed" (kazarov:src/rust/archive.rs,parse_sound_indexat324;chronicletwo:docs/SOUND_DAT.mdsections 2 and 6). - The sound driver
ezBgmopens plain names fromPathsDataRoot()/sound/<lower-case name>(chronicletwo:port/src/ezbgm.cpp:115-127). Names with a device prefix go throughDataReadFind, which does not searchsound/(chronicletwo:port/src/ezbgm.cpp:129-135). - Movies are read from
PathsDataRoot()/movie/<name>with the;1suffix removed and lower-casing (chronicletwo:port/src/movie.cpp:111-134).movie/is outside the index. - A map is named by its entry in a per-language table,
map/map<LanguageCode>.cfg, loaded byLoadMapName(chronicletwo:ps2/src/mapselect.cpp:277-295). The map number is the table index (SearchMapNo,chronicletwo:ps2/src/mapselect.cpp:385-401). The current map number is saved as a signed 16-bit field (chronicletwo:ps2/include/savedata.hpp:225-227). - A map's directory is derived from its name:
map/<c1>/<c1-3>/<c4-6>/<name>(GetMapPath,chronicletwo:ps2/src/mapselect.cpp:306-321). - Per map,
LoadMapDatareads.map,.cfg,.mpk,.sky(falling back tomap/def.skyordefb.sky),.ipkand.efp, each padded to 64 bytes in one load buffer (chronicletwo:ps2/src/sceneload.cpp:25-178, sky fallback at112-122). - Add-on maps come from
map/cmn/<dir>(GetLoadMapInfo,chronicletwo:ps2/src/mapjump.cpp:251-322). For chapters 6 and 7, the add-ontrn/trainis replaced bytrn2/s36(chronicletwo:ps2/src/mapjump.cpp:305-306). - Map scripts are tried as
<name>_<LanguageCode>.stbfirst, then<name>.stb(LoadScript,chronicletwo:ps2/src/mapjump.cpp:388-435). mapload.cppperforms no file I/O. ItsCMap::LoadMapFileandCMap::LoadCfgFileinterpret script text thatsceneload.cpphas already read (chronicletwo:ps2/src/mapload.cpp:2183,2538; called fromchronicletwo:ps2/src/map.cpp:1849-1861).- Model lists (
CMdsListSet) are keyed by name and refuse a second load under the same name (chronicletwo:ps2/src/mdslist.cpp:288-368). A PCP list collects every.mdsand.chrmember of a pack and readsinfo.cfg(chronicletwo:ps2/src/mdslist.cpp:748-790). - The language enum is
LANG_JAPANESE=0throughLANG_KOREAN=7(chronicletwo:ps2/include/mainloop.hpp:53-62). The port starts in English when the jump option is set and in French otherwise (chronicletwo:port/src/mainloop.cpp:99). - Message-window folders are chosen by language:
meswin/jpn,meswin/eu/{fra,ger,ita,spn},meswin/usa(chronicletwo:ps2/src/gaiji.cpp:10-35). The PAL extraction has nomeswin/jpndirectory (measured). - Kazarov's pinned revisions differ. DC2 pins 3dc38ce, which has
src/rust/,data_version.json(version 3) and acxxbridge. Chronicle pins a0a5ff8, which hasbin/kz-extractand apython/tree and nodata_version.jsonorsrc/rust/(git ls-treeon both commits).
- Names are data-root-relative paths such as
map/a/a01/a01ia.map. ACurrentDir__2string is prepended unless a device prefix is present (GetFullPath,chronicletwo:ps2/src/dataread.cpp:639-673;SetCurrentDir/ChangeDirat181/198). LoadFile2has three modes: read whole, size only, and open for background read (chronicletwo:ps2/include/dataread.hpp:32-36). Disc reads (CDRead,chronicletwo:ps2/src/dataread.cpp:853-876) retry untilsceCdGetErroris clear.- A background-read queue of 32 slots and a 16-entry file cache keyed by name sit on top (
BG_READ_MAX,FILE_CACHE_MAX,chronicletwo:ps2/include/dataread.hpp:55-60;LoadFileCacheBGatchronicletwo:ps2/src/dataread.cpp:963). - A missing file in
LoadFileis fatal (File open errorthenExit__2(0),chronicletwo:ps2/src/dataread.cpp:675-682). The port keeps this (chronicletwo:port/src/dataread.cpp:499-505).
ResolveFile(chronicletwo:port/src/dataread.cpp:205-246) tries, in order: (1) a texture-catalog source, returning the handle; (2) forhost:names only, the save tree, so a file written byWriteFileshadows the extract; (3) the index.size_onlystats the file instead of reading it.- The read path is synchronous.
LoadFileBGcopies the file at once and leaves the slot pending, so callers that pollReadBGSyncstill see retail's issued and done states (chronicletwo:port/src/dataread.cpp:401-443;ReadBGat464-476). Each slot needs two calls. LoadFile2withLOAD_FILE_OPENis effectively unreachable on the port: the only caller is retail'sLoadFileBG, which the port replaces (inference from grep of callers).ReadWholezeroes the tail of the last 2048-byte sector so results do not depend on the caller's buffer (chronicletwo:port/src/dataread.cpp:163-181).- The file cache keys on the same
CacheKey, which isIndexKeywith ahost:marker (chronicletwo:port/src/dataread.cpp:139-142). It holds 16 entries.
- The catalog is one global object.
texture_catalog::Loadclears and replaces the previous contents (kazarov:src/cpp/platform/texture_catalog.cpp:29-30; storage at:14).DataReadIndexloadsport_data/catalog.jsonfrom the sibling of the data root and then callsdatapacks::Load(chronicletwo:port/src/dataread.cpp:336-346). - Texture identity is by buffer address.
TextureSourceRegisterkeeps a hash map of buffer pointer to source name and size;TextureSourceLookupalso resolves an address inside a registered range tosource#offset:N(chronicletwo:port/src/texture_source.cpp:9-45). DataReadIndexclears the texture-source registry on every call (chronicletwo:port/src/dataread.cpp:337).- Datapacks:
datapacks::Loadreadsdatapacks/datapacks.json(schema 1,load_orderof folder names), indexes each folder case-insensitively, and rejects traversal and case-only duplicates (chronicletwo:port/src/platform/datapacks.cpp:237-290).Resolvereturns the highest-priority pack file (:291).BuildIndexapplies it to every indexed file (chronicletwo:port/src/dataread.cpp:324).
ezbgmopens: plain names go todata/sound/<name>; device-prefixed names go to the index (chronicletwo:port/src/ezbgm.cpp:115-135). Sound names are%07d.wavand friends (chronicletwo:docs/SOUND_DAT.mdsection 3).data/sound/also holds two whole copies,sound.datandsound.hd3, kept until playback is confirmed (SOUND_DAT section 6). These are about 0.97 GB of duplicate audio.- Movies are MPEG-2 PSS files. A missing or non-MPEG-2 file logs and the caller's busy-wait ends (
chronicletwo:docs/PC.md:949).
- Input is either a disc image (ISO 9660 mount,
kazarov:src/rust/archive.rs,open_imageat142-192) or a folder holdingDATA.DAT,DATA.HD4,SOUND.DAT,SOUND.HD3andMOVIE/(open_directoryat213). plan_archive(kazarov:src/rust/archive.rs:397-460) builds the raw file plan: each game record (first path wins), each movie asmovie/<name>,sound/sound.dat,sound/sound.hd3, and each first-match sound assound/<folded name>. Any duplicate or unsafe output path is an error.textures::convert_tree_with_progress(kazarov:src/rust/textures.rs:1070) turns each texture-bearing file into PNG overlays and a catalog. Payloads are not written underdata/.audit_payloadrejects any surviving TIM2 or IMG bytes (textures.rs:538-560). Files over 128 MiB are accepted only forsound/sound.datandmovie/*.pss(large_known_non_texture,textures.rs:561).verifychecks manifest digests, the set of files in both trees, the marker, and the audit (kazarov:src/rust/publish.rs,verify()).currentcompares source size and mtime metadata with the marker (kazarov:src/rust/core.rs,current()), so moving or touching the disc forces re-extraction.- Output tree markers:
data.jsonholdsschema_version,data_version,source_sha256andsource_state. The state includes the source path, which is why it is not reproduced here.
CScene::LoadMapcallsLoadMapData(immediate or deferred), thenLoadMapFromMemoryin steps (chronicletwo:ps2/src/sceneload.cpp:284-316,467-516).CMap::CreateMapruns the add-on map script first, then the main map script (chronicletwo:ps2/src/map.cpp:1849-1861).- Model packs (
.mpk) and texture packs (.ipk) are handed toCMap::LoadData(chronicletwo:ps2/src/sceneload.cpp:371,377). - Characters load from packs by name with
GetPackFileExt(pack, "cfg", ...)when the name is null (chronicletwo:ps2/src/sceneload.cpp:209).
Counts from the extracted tree on disk. Sizes are bytes as reported by du -sb.
Top level of data/ (17 directories and 28 files, including manifest.json):
| Entry | Files | Bytes | What it holds (basis) |
|---|---|---|---|
chara/ |
90 | 37.3 M | Party and player character models, .chr. CharaSetup loads chara/%s (charasetup.cpp:163, 237); the fishing model chara/c01_fishing.chr is read from fishing.cpp:1036. |
dbg/ |
42 | 19.5 K | Debug capture and game config .cfg (dbg/game%d.cfg, dbg/%s referenced by debug code). |
dungeon/ |
1,162 | 213.9 M | Dungeon content: act_script/ (.stb), articles/ (.chr, .img), cfg_file/, chara/, eff_script/, effect/, monster/, msg/ (.mes, .txt), robo/, sphida/, sys_script/. Minimap images are read as dungeon/minimap/%s.img (dng_event.cpp:2213). |
effect/ |
17 | 0.86 M | Effect models and scripts (.chr, .efp, .eep, .em, .eff). |
etc/ |
19 | 0.23 M | Editor and utility assets: .mds, .mes, gsys.pak (editmode.cpp:641), hdd_head.hed. |
event/ |
2,061 | 417.8 M | Event assets: motion sets such as event/basic_evmot/, boss and battle text .txt, .stb scripts, and train/ (33 files, including NPC models read as event/train/t%s.chr, npccfg.cpp:181). |
item/ |
168 | 4.5 M | Item models (.chr), for example item/d_box.chr. |
mainchr/ |
177 | 28.2 M | Main-character models ac000.chr and so on, plus c01.stb and c02.stb (charasetup.cpp:219, 289). |
map/ |
1,828 | 598.9 M | World and dungeon maps. 168 map sets (directories holding a .map file, measured; the earlier figure of 210 did not reproduce) laid out map/<letter>/<area>/<name>/, each with .map, .mpk, .ipk, .efp/.cfg/.sky/.stb. map/cmn/ holds add-on maps (bs, g00, trn, trn2). map/map0.cfg to map6.cfg are the per-language name tables; map.lst lists maps for the selection screen; def.sky and defb.sky are default skies. |
menu/ |
788 | 185.8 M | Menu assets: .pac packs, .chr, .cfg, .txt, lists (inv*.lst, neta*.lst), shop lists, numbered subfolders 0-5, and aqua, cfg5-cfg7, chara4, dngmap, eff, mhenge, monster, npc. |
meswin/ |
41 | 1.07 M | Message-window text and fonts by region: eu/{fra,ger,ita,spn}, usa, kor, try. No jpn. |
movie/ |
9 | 661.6 M | MPEG-2 PSS movies (e54001.pss and others, end1/end2, l5logo, open1, rush). Not in the index. |
sg/ |
75 | 14.1 M | Sub-game assets: fish/ (fishing .chr, .cfg, .pak, .mes), gyo/ (sg/gyo read by code), pb/ (sg/pb, pbuggy), and sig/ (not traced). |
snd2/ |
843 | 128.3 M | The game's own sound banks, .snd, in bgm/, bs/, chara/, env/, event/, fg/, mon/, ob/, sp/, system/, plus sy_000.snd, rev.bin and map_index.txt (read at chronicletwo:port/src/mainloop.cpp:~180). |
sound/ |
3,102 | 1,936.0 M | 3,100 .wav streams (%07d.wav, first match wins), plus whole copies sound.dat and sound.hd3. Not in the index. |
title/ |
10 | 0.09 M | Title and boot UI: title%d.img, lang_select.img, hdd*.img, hddchk*.mes, icons. |
wep_t/ |
163 | 6.0 M | Weapon models .chr, with _item variants (wep_t/%s.chr, %s_item.chr). |
| (root files) | 28 | — | geo0.cfg-geo6.cfg (georama, geo%d.cfg in code), npc0.cfg-npc6.cfg, npc.cfg, npc_place.cfg to npc_place4.cfg, place.cfg, gyop.cfg and uofp.cfg (both read at menuaqua.cpp:7169), gyorace.cfg, edit.cfg, mv.cfg (the movie table, movieviewlp.cpp:212), mv.bak, test.stb, manifest.json. |
Whole tree: data/ has 10,623 files (4.24 GB). Of those, 7,511 are indexed by the port (everything except root manifest.json, movie/ and sound/). port_data/ has 20,870 files (776 MB): 15,623 PNGs, 5,245 catalog sources in catalog.json (unverified), a manifest.json, and per-directory mirrors of chara/, dungeon/, effect/, etc/, event/, img/, item/, mainchr/, map/, menu/, meswin/, sg/, title/ and wep_t/. port_data/ has no dbg/, movie/, snd2/, or sound/. port_data/img/ holds numbered subfolders 0-6 with root-level texture bundles (allitem.img, esystem*.img, font*.img, loading.img and others); the grouping rule was not traced.
- Second data root. The data root is process-global (
PathsDataRoot,kazarov:src/cpp/platform/paths.cpp) and the index, catalog and datapacks are all process-global too. The narrowest seam that can serve a second root isInitCDFileandDataReadIndex(chronicletwo:port/src/dataread.cpp:336-362). Direct callers ofPathsDataRootthat also need the second root areezbgm.cpp:121,movie.cpp:134andmain.cpp:272.platform/firstrundoes not callPathsDataRoot; it receives the root as an argument frommain.cpp:272. - Game-scoped name prefix before
IndexKey.IndexKeystrips everything before a colon (dataread.cpp:90-137). A prefix such asc2:on a game path would therefore be silently removed, so an Ixion prefix must be intercepted before the key is built, inResolveFile,LoadFile2,LoadFileBG,LoadFileCacheBG,SearchFileCacheandCacheKey(dataread.cpp:139). - Texture catalog namespacing.
EnterTextureandEnterIMGFile(chronicletwo:port/src/mg_texture.cpp:1066-1100) calltexture_catalog::Find(source_name). Ixion can keep a second catalog, or prefix source names atResolveFileso the lookup lands in the right catalog.texture_catalog::Loadmust not run for the second game after the first, because it clears (kazarov:src/cpp/platform/texture_catalog.cpp:29-30). - Datapacks per game.
datapacks::Loadtakes a singleport_dataroot and readsdatapacks/beside it (chronicletwo:port/src/platform/datapacks.cpp:237-246). A second game needs its own pack list or a namespacedResolve. - Map registry.
LoadMapNameandSearchMapNofill and search one table (chronicletwo:ps2/src/mapselect.cpp:277,385), and the number is what saves store (savedata.hpp:225). Ixion can either keep DC2's numbers and append DC1 entries after them, or give each game a numeric range and map at save time. Either way the DC2 numbers must stay stable for existing saves. - Map directory routing.
GetMapPath(mapselect.cpp:306) andGetLoadMapInfo(mapjump.cpp:251) buildmap/...paths. Routing a map to the other game's root can be done here, or inLoadMapData(sceneload.cpp:25) where each path is finally formed. - Train add-on remap. The
trn/traintotrn2/s36substitution for chapters 6 and 7 (mapjump.cpp:305-306) is a chapter-keyed data swap in the add-on loader. It is the one place the DC2 train interior is chosen by data, so it is the natural hook for Ixion's train travel. The train's NPC models are read fromevent/train/(npccfg.cpp:181). - Per-map script language.
LoadScripttries<name>_<LanguageCode>.stbfirst (mapjump.cpp:388-435). A cross-game map can use the same rule for its localised scripts. - Language unification.
LanguageCodeis set once (port/src/mainloop.cpp:99) and selectsmeswin/folders, gaiji, font tables and the map name table. Ixion needs one value for both games. - Model-list names.
CMdsListSet::LoadPCPFilerefuses a duplicate name (mdslist.cpp:338-347). Model-pack names from the two games must therefore be prefixed, or the second load silently fails. - Background queue and cache. The queue has 32 slots and the cache 16 entries, keyed by name (
dataread.hpp:55-60). Two games streaming at once share both, so Ixion may need a per-game budget.
- Process-global state. Data root, index, catalog, datapacks, texture-source registry, current directory, background slots and file cache are all globals (
dataread.cpp:44-62,texture_source.cpp:9,texture_catalog.cpp:14,datapacks.cppglobals). Loading DC1 and DC2 together needs a per-game object or a careful reset discipline. CallingDataReadIndexfor the second root wipes the first root's texture-source map (dataread.cpp:337). - Prefix stripping. Any game-level prefix collides with
IndexKey's colon stripping, as above. - Name collisions. Exact relative-path overlap between the DC2 and DC1 extractions is small: seven files (
meswin/system_1.mestosystem_6.mes, andtest.stb), measured on the two trees. The collision risk is in the shared directory names (chara/,meswin/,sound/,map/), because the game code uses those names unqualified. Full overlap was not measured against the DC1 index format. - Two Kazarov pins. DC2 pins a Rust publisher with
data_version3. Chronicle pins an older Python extractor with nodata_version.json.chronicletwo:docs/PC.md:985requires both games to build green on any shared Kazarov commit before either pins it. A merged project must choose one commit and re-verify both extractions, or keep two Kazarov checkouts. - Data-root defaults differ. DC2 never probes a local
data/(identity.cpp:9-10), DC1 does. A merged launcher must not let one game's default find the other's data. - Disk footprint. The DC2 extraction is about 5.0 GB (data plus port_data).
sound.datduplicates the audio (about 0.97 GB) until playback is confirmed (SOUND_DAT section 6). Movies are about 0.66 GB. - Shadowed sound.
8640040.wavappears twice; only the first copy is reachable, which is retail behaviour (SOUND_DAT section 3). - Missing Japanese messages.
LANG_JAPANESEloadsmeswin/jpn/gaiji.img, which the PAL extraction lacks (gaiji.cpp:15-18). PortLoadFilethen exits. The port starts in English or French, so this is reachable only through debug paths (inference). - Missing file is fatal.
LoadFileexits on a missing file (dataread.cpp:499-505). A merged data set with one gap aborts the game at the load that needs it. - Re-extraction.
currentcompares source path, size and mtime (core.rs,current()). A copied or touched disc forces a full re-extract, which takes long and writes about 5 GB. - Disc prerequisites. Each game needs its own disc image or extracted folder.
extractrequires a folder holdingDATA.HD4,DATA.DAT,SOUND.HD3,SOUND.DATandMOVIE(archive.rs,open_directoryat213).
- Does the DC2
DATA.HD4record count reconcile?chronicletwo:docs/PC.md:368says the PALDATA.DATholds 8,751 files. The extraction has 7,511 indexed files plus texture payloads that are converted and not written underdata/. The gap is inferred but not verified againstdc2data list. - The contents of
sg/sig/,dbg/,port_data/img/0-6grouping andevent/train/steam/were inferred from names and code references, not traced. - Whether
map/map0.cfgtomap6.cfgindex byLanguageCodeas-is for every language (the PAL disc has seven tables;LANG_CHINESEandLANG_KOREANare enum values only). - Whether any DC2 path reads a
host:file that a DC1 path also writes, since the save tree is searched first forhost:names (dataread.cpp:205-222). - How the port's
CacheKeyinteracts with datapack-overridden files (cache is keyed by name, not by the pack source) (inference).