Intro camera paths (stNNcam.alr)
Exported with
pdconv <stNNcam.alr> <dir> --cameras,
which writes cameras.json (raw
values). The Godot replay is in
PdData.intro_transform
(main.gd --intro=<shot>,<frame>).
Chunks:
0x11header,0x15(empty texture table), then one shot per0xA+0x7pair, separated by empty0x0chunks. st01 has 4 shots, st02 and st06 have 8, the others 9.0xA(48 B):- position (3 × f32, game units);
- Euler rotation (3 × f32, radians);
- one f32 between about 1.25 and 1.47: the horizontal FOV in radians (checked by framing);
- padding.
The base transform equals the last key, so it serves as the fallback when a shot has no keys.
0x7: the animation0x5header (length in frames, translation/rotation key counts), then 16-byte keysframe, x, y, z: translation keys first, then rotation keys.Rotation convention (verified against the Lost Palace intro):
- Euler order Z, Y, X: column
Rz·Ry·Rx, i.e. D3D row-vectorRx·Ry·Rz. That is Godot’sEULER_ORDER_ZYX. - After mirroring Z into right-handed space, negate the X and Y angles.
- YXZ and ZXY roll the horizon on some shots.
- Euler order Z, Y, X: column
Look-at shots: in some shots the second key set is a look-at target position (values far beyond 2π, st03 shot 1), not angles.
Which shots the original plays: the pre-mission screen cycles a subset (st03 under xemu shows shots 6, 7?, 3 and 5; Highway showed only shot 0). Our replays of 6, 3 and 5 line up with the footage, and the escalator is on the same side, which confirms the Z mirror and the handedness.
Frame rate: shot lengths are 89–629 frames, rate unknown. Don’t time it from xemu, which runs this game below full speed.
Variants reuse the base stage’s shots: st03 and st23 show identical intros.
What the matched angle shows: the original’s st03 tree shot has a bridge in front of the tree, a sunken level below it, banners and posts. Our base mesh (model 0) lacks them, so they are most likely
.dat-placed props (PS00, models 8+).