Character table (setup/charaset/charaset.dat)

One record per character model (47: the playable cast, story enemies, town characters, bosses). The loader (0x14017d300) unpacks every record into a 160-byte run-time entry (table at 0x1404c01e0, indexed by the character object’s u16 at +0x12c70); all character code reads that entry. It accepts two record sizes, (pool_offset − 0x10) / count = 0x40 (an older layout without the last six words) or 0x4C (ours). The layout below was shared with us in another remake project’s notes (see “Sources” at the end of this section) and checked here against our file and the PC executable: every field’s unpack is read in the loader, and the readers named in the last column are in PDUWP.exe.

Header (0x10): u32 file size, u32 count, u32 string pool offset (= 0x10 + count × record size), u32 0. String offsets in a record are relative to the pool.

Record (0x4C). “Units” are game units (0.1 m); angles become the engine’s angle unit (32768 per turn) by × 91.0222 at load.

off type field run-time entry use (PDUWP.exe)
0x00 u32[3] string offsets: model folder, name, display name +0x00 pointers the first builds the model path (skilldata.py reads it as the model id)
0x0C s16 body height, tenths of a unit +0x18 f32 character setup 0x14024e448..: copied to the character (the h of “Floor test” and “Wall pass”)
0x0E s16 body width, tenths +0x1C f32 character + 0x12EA4 (the wall pass’s sphere size, the body push)
0x10 s16 body radius, tenths +0x20 f32 character + 0x12E9C
0x12 s16 body centre height, tenths +0x24 f32 character + 0x12E98
0x14 s16 a scale in hundredths (100 in every record) +0x28 f32 no reader found
0x16 s16 cast blend +0x2C f32 0x14025a692: passed to the animation player with a cast profile’s slots (the blend length of cast animations; 0 for the playable cast, 5 for the large enemies)
0x18 s16[6] lying flags, one per landing slot 50..55 +0x30 i32[6] 0x1402599fb, 0x140257d0b: see “Lying pose” below
0x24 s16[6] lying turns in degrees, one per landing slot +0x48 i32[6] (angle units) 0x140259a55: stored with the landing (a turn of the body for the lying pose)
0x30 s16 turn rate, degrees per tick +0x60 i32 (angle units) 0x14025b46f, 0x14025ba63, 0x14025c0d4, 0x14025bd71, 0x14024f948: see “Turn step”
0x32 s16 footstep sound flag +0x64 0x140230882 (and two more in the footstep sound code)
0x34 s16 impact sound flag +0x68 0x14026d11e: see “Shot end” (the 6 / 7 hit cue)
0x36 s16 evade skill record (a jump or a dash record) +0x6C 0x140251acd (“The evade”)
0x38 s16 1 for the playable cast and a few others +0x74 no reader found
0x3A s16 colour variant count +0x78 0x14024c487, 0x140250fe1 (model file pick)
0x3C u32 voice bank name offset (outside the pool when the character has none) +0x80 pointer “Sound banks”
0x40 s16[6] lengths of six extra motions, frames +0x88 i32[6] 0x1402527c8

Values (kinds, not a data dump). The eleven playable models share width 10 units, radius 5, centre height 9, turn rate 20°, and differ only in height (18–20 units), evade record and the first two extra-motion lengths. The large story enemies are wider (radius 6–7.5, centre 12), turn at 10 or 12° per tick, have cast blend 5 and all-zero lying flags.

Turn step. Each tick the facing angle (character + 0x12E68) moves toward its target (the stick direction relative to the camera, + 0x12E5C) by at most the turn rate: the signed difference is wrapped to ±half a turn; when its size is at most the rate the facing is set to the target, else the rate is added or subtracted. The same step serves the free run (0x14025b270), the locked turn onto the camera (0x14025ba27) and the turn toward a point (0x14025c0a9, 0x14025bd62, target at +0x88 of the request). At 20° per tick a full about-face takes 9 ticks (0.3 s).

Body size. The character setup copies height, width, radius and centre height from the entry (a character index past the table gets the engine default). These are the “four floats per character” of the floor test and the wall pass: h = body height, the three-sphere capsule uses the width.

Body numbers per character (docs 11-12, doc-body; H: the unpack and the copy read in the code, the numbers read from our file with a struct dump; charaset.dat and charaset_en.dat hold the same numbers, the loader takes the first when the language global 0x1403df644 is 2, else the second). The loader divides the four body words by 10.0 (0x1402f7f7c), so the run-time floats are game units (0.1 m). The character setup (0x14024e3c0.., copy at 0x14024e448–0x14024e4d8) stores, for a character index below the record count (0x1404c0174): entry +0x18 → C + 0x12EA0 (height h), +0x1C → C + 0x12EA4 (width w), +0x20 → C + 0x12E9C (radius), +0x24 → C + 0x12E98 (centre height), plus the two ratios h / w → C + 0x12EA8 and w / h → C + 0x12EAC; an index past the table gets 0 for all four (the function’s zero register). Values in game units (× 0.1 = metres):

index model height h width w radius centre height capsule r = w/2 capsule d = h/2 − w/2 turn °/tick
0, 2, 4, 7, 8 pc00a, pc02a, pc04a, pc07a, pc08a 18 10 5 9 5 4 20
1, 6, 10 pc01a, pc06a, pc10a 19 10 5 9 5 4.5 20
3, 5, 9 pc03a, pc05a, pc09a 20 10 5 9 5 5 20
11–14, 20, 23 enm08a–enm11a, enm05a, enm12a 20 10 5 9 5 5 20
15 enm00a 18 10 7.5 12 5 4 20
16, 17 enm01a, enm02a 20 10 7.5 12 5 5 20
18 enm03a 20 10 6 12 5 5 10
19 enm04a 28.5 10 7.5 12 5 9.25 10
21 enm06a 24 10 7.5 12 5 7 12
22 enm07a 26 10 7.5 12 5 8 12
24 enm13a 21 10 6 12 5 5.5 20
25 enm14a 22 12 7.5 12 6 5 10
26 enm15a 27 10 7.5 12 5 8.5 10
27 evpc00a 18 10 5 9 5 4 20
28, 31 npc00a, npc03a 12 10 5 9 5 1 20
29, 32–35 npc01a, npc04a–npc07a 18 10 5 9 5 4 20
30 npc02a 19 10 5 9 5 4.5 20
36, 37 npc08a, npc09a 20 10 5 9 5 5 20
38, 39 npc10a, npc11a 16 10 5 9 5 3 20
40 npc12a 17 10 5 9 5 3.5 20
41, 44–46 npc13a (four records) 14 10 5 9 5 2 20
42, 43 boss03, boss03b 20 10 5 12 5 5 10

So in versus (the eleven playable models 0–10, and whichever of them the CPU battle gives the CPU) the body is always 1.0 m wide with a 0.9 m centre height; only the height differs: 1.8 m (indexes 0, 2, 4, 7, 8), 1.9 m (1, 6, 10), 2.0 m (3, 5, 9). The height feeds the capsule’s d, the floor pick’s window (feet + h / 2 + 9 u), the body push’s vertical test and the probe radius; the centre height (0.9 m for every playable model) is the point the long move guard, the CPU shot-threat test and the shot hit test measure from. The “radius” column (+0x12E9C) is not the collision capsule’s radius (that is w / 2); its readers are a lead.

Lying pose. A thrown body’s landing slot is 52 / 51 / 50 (back falls) or 55 / 54 / 53 (the others) by drop height (“Reaction states”). The lying loop that follows is picked by the record’s flag for that landing slot (index slot − 50), not by the fall’s side alone:

So a set flag means “this landing turns the body over”. The landing helper (0x1402599c0) also stores the slot’s turn (degrees, +0x24 of the record) with the landing. For the playable cast the flags are set for the two harder landings of each side and clear for the lightest, with a half-turn on slot 53; the large enemies have no flags (always 60 after a back fall, 62 after the others).

Sources. Field layout and the Xbox readers: file-format notes by Tinkerer_Red (https://linktr.ee/Tinkerer_Red), who is working on their own Phantom Dust remake and shared them privately with this project (11-09); the same notes are the lead for the other additions marked “shared notes” in this file. Everything stated here as decoded was re-read in our own files and PDUWP.exe.