OBD:CRSA

From OniGalore
Revision as of 00:12, 17 February 2006 by Geyser (talk | contribs)
Jump to navigation Jump to search

Main Page >> Oni Binary Data >> File Types >> CRSA File


<== CRSA File ==>
Corpse Array - Level File


crsa_a.gif

Array header

Corpse

What's in a corpse?

  • A space for notes (160 bytes) : often the name of the file the corpse was taken when packing the array.
  • A link to the ONCC (model that should be used for the corpse) : that's 4 bytes as usual.
  • Then, 19 bones, each of them defined by absolute orientation and position (unlike in a TRAM, where orientations are relative)
    Every bone is (3x3 + 3)x4 = 48 bytes, so that's 19x48 = 912 bytes.
  • Finally, an axis-aligned bounding box (2x3x4 = 24 bytes)

The total size of a corpse is thus :

What's in a bone?
The absolute orientation is defined in a "heavy" way via an orthonormal trihedron :
three 3D vectors x, y and z, each of length 1, at right angles with each other, and ordered "directly"
(like Oni's world axes : if x points left and y points up then z points to front, not back).
Each one of those vectors is stored as 3 floats (3x4 bytes), first x, then y, then z (so 3x3x4 = 36 bytes in total).
The absolute position R is stored as 3 floats right after the orientation trihedron. That's another 12 bytes, so 48 bytes in total.
Reminder : the 2nd coordinate of R aka y is the height of the bone (of its parent node)
Example
first corpse of 00565-.CRSA in level3_Final.dat.
Offsets are measured from the start of the corpse chunk.
Notes and ONCC link
Offset Raw hex/string Value Meaning
0x00 _lvl_3_Intro_TCL_A_corpse.dat probably the name of the source file
0xA0 01 36 02 00 566 Link to 00566-TCTF_lite_1.ONCC
Bone orientation and position
Offset Bone Raw hex Value/Meaning
0xA4 Pelvis x = (, , )
y = (, , )
z = (, , )
R = (, , )
Lt Thigh x = (, , )
y = (, , )
z = (, , )
R = (, , )
Lt Calf x = (, , )
y = (, , )
z = (, , )
R = (, , )
Lt Foot x = (, , )
y = (, , )
z = (, , )
R = (, , )
Rt Thigh x = (, , )
y = (, , )
z = (, , )
R = (, , )
Rt Calf x = (, , )
y = (, , )
z = (, , )
R = (, , )
Rt Foot x = (, , )
y = (, , )
z = (, , )
R = (, , )
Mid x = (, , )
y = (, , )
z = (, , )
R = (, , )
Chest x = (, , )
y = (, , )
z = (, , )
R = (, , )
Neck x = (, , )
y = (, , )
z = (, , )
R = (, , )
Head x = (, , )
y = (, , )
z = (, , )
R = (, , )

Last

Hex Translation Meaning
01 35 02 00 565 00565-.CRSA
01 00 00 06 3 level 3
AD DE dead not used
11 00 00 00 17 17 packages available
11 00 00 00 17 17 packeges used (one package is edged in black)
14 00 00 00 20 20 packages possible
Below follows the first package.
_lvl_3_Intro... space for notes
01 36 02 00 566 link to 00566-TCTF_lite_1.<A HREF="oni_oncc.htm">ONCC</A>
C1 74 66 3F 0.900219 x-position of the first point of the equilateral triangle
00 78 3E 3D 0.046501 y-position (height) of the first point of the equilateral triangle
45 AB DD 3E 0.432947 z-position of the first point of the equilateral triangle
A6 8B 7D 3D 0.061901 x-position of the second point of the equilateral triangle
19 73 7F BF -0.997850 y-position (height) of the second point of the equilateral triangle
EE 67 B0 BC -0.021534 z-position of the second point of the equilateral triangle
03 AE DC 3E 0.431015 x-position of the third point of the equilateral triangle
82 2C 3D 3D 0.0461850 y-position (height) of the third point of the equilateral triangle
8D B2 66 BF -0.901162 z-position of the third point of the equilateral triangle
C5 FA E7 41 28.997446 x-position of the pelvis
2E 2B CB C1 -25.396084 y-position (height) of the pelvis
58 B4 45 C1 -12.356529 z-position of the pelvis
88 E7 5A BF -0.855095 x-position of the first point of the equilateral triangle
98 D3 3E BE -0.186354 y-position (height) of the first point of the equilateral triangle
8F B7 F7 BE -0.483822 z-position of the first point of the equilateral triangle
6C DC A2 3E 0.318088 x-position of the second point of the equilateral triangle
D5 EB 6C BF -0.925474 y-position (height) of the second point of the equilateral triangle
1B A7 52 BE -0.205716 z-position of the second point of the equilateral triangle
A7 A0 D1 BE -0.409429 x-position of the third point of the equilateral triangle
22 DC A8 BE -0.329804 y-position (height) of the third point of the equilateral triangle
E0 C3 59 3F 0.850645 z-position of the third point of the equilateral triangle
85 A4 EB 41 29.455332 x-position of the left thigh
B3 C6 CA C1 -25.347021 y-position (height) of the left thigh
A3 05 55 C1 -13.313876 z-position of the left thigh
D0 8D 69 BF -0.91232 x-position of the first point of the equilateral triangle
38 30 1E 3E 0.154481 y-position (height) of the first point of the equilateral triangle
15 29 C2 BE -0.37922 z-position of the first point of the equilateral triangle
EE BF CF BB -0.006340 x-position of the second point of the equilateral triangle
43 6B 6E BF -0.931324 y-position (height) of the second point of the equilateral triangle
0B 70 BA BE -0.364136 z-position of the second point of the equilateral triangle
9D A0 D1 BE -0.409429 x-position of the third point of the equilateral triangle
20 DC A8 BE -0.329804 y-position (height) of the third point of the equilateral triangle
E3 C3 59 3F 0.850645 z-position of the third point of the equilateral triangle
73 19 CE 41 25.762426 x-position of the left calf
F2 36 D1 C1 -26.151829 y-position (height) of the left calf
2C 74 76 C1 -15.403362 z-position of the left calf
63 4A 58 BF -0.844885 x-position of the first point of the equilateral triangle
4B EB EE 3E 0.466639 y-position (height) of the first point of the equilateral triangle
22 EC 85 BE -0.261567 z-position of the first point of the equilateral triangle
03 A8 BA BE -0.364563 x-position of the second point of the equilateral triangle
F5 2E 5C BF -0.860092 y-position (height) of the second point of the equilateral triangle
04 B4 B6 BE -0.356842 z-position of the second point of the equilateral triangle
22 71 C8 BE -0.391488 x-position of the third point of the equilateral triangle
7E 14 53 BE -0.206133 y-position (height) of the third point of the equilateral triangle
8A 94 65 3F 0.896798 z-position of the third point of the equilateral triangle
FC 2B B1 41 22.146477 x-position of the left foot
FF 50 CC C1 -25.539549 y-position (height) of the left foot
48 40 87 C1 -16.906387 z-position of the left foot
71 E4 7B BF -0.983954 x-position of the first point of the equilateral triangle
42 96 36 BE -0.178308 y-position (height) of the first point of the equilateral triangle
AE 35 CF BB -0.006324 z-position of the first point of the equilateral triangle
7A 5E CD 3D 0.100278 x-position of the second point of the equilateral triangle
CF FC 14 BF -0.581983 y-position (height) of the second point of the equilateral triangle
37 97 4E 3F 0.806995 z-position of the second point of the equilateral triangle
7F 1D 17 BE -0.147573 x-position of the third point of the equilateral triangle
0E 1D 4B 3F 0.793412 y-position (height) of the third point of the equilateral triangle
9F 2C 17 3F 0.590525 z-position of the third point of the equilateral triangle
05 51 E4 41 28.53956 x-position of the right thigh
A9 8F CB C1 -25.445147 y-position (height) of the right thigh
0D 63 36 C1 -11.399182 z-position of the right thigh
6E E2 60 BF -0.878455 x-position of the first point of the equilateral triangle
8B 43 2D 3E 0.169203 y-position (height) of the first point of the equilateral triangle
53 CB E4 BE -0.446864 z-position of the first point of the equilateral triangle
B7 AF E8 BE -0.454466 x-position of the second point of the equilateral triangle
88 AE 15 BF -0.584694 y-position (height) of the second point of the equilateral triangle
A8 08 2C 3F 0.672007 z-position of the second point of the equilateral triangle
68 1D 17 BE -0.147573 x-position of the third point of the equilateral triangle
0F 1D 4B 3F 0.793412 y-position (height) of the third point of the equilateral triangle
9F 2C 17 3F 0.590525 z-position of the third point of the equilateral triangle
3A 52 C2 41 24.29015 x-position of the right calf
BD B8 D1 C1 -26.215204 y-position (height) of the right calf
E9 D2 36 C1 -11.426492 z-position of the right calf
77 2A 40 BF -0.750648 x-position of the first point of the equilateral triangle
5C 82 6A 3E 0.229013 y-position (height) of the first point of the equilateral triangle
72 A7 1E BF -0.619743 z-position of the first point of the equilateral triangle
11 C7 1C BF -0.612413 x-position of the second point of the equilateral triangle
2C DB 17 BF -0.593188 y-position (height) of the second point of the equilateral triangle
1D C7 05 3F 0.522569 z-position of the second point of the equilateral triangle
42 E6 7D BE -0.247949 x-position of the third point of the equilateral triangle
EE 94 45 3F 0.771804 y-position (height) of the third point of the equilateral triangle
04 E5 15 3F 0.585526 z-position of the third point of the equilateral triangle
A6 77 A6 41 20.808422 x-position of the right foot
4A 5B CC C1 -25.544575 y-position (height) of the right foot
75 29 53 C1 -13.197621 z-position of the right foot
69 E1 56 3F 0.839377 x-position of the first point of the equilateral triangle
8F 77 B2 3D 0.087142 y-position (height) of the first point of the equilateral triangle
4F 59 09 3F 0.536519 z-position of the first point of the equilateral triangle
8C 8C 4A 3E 0.197802 x-position of the second point of the equilateral triangle
4C E6 77 BF -0.968358 y-position (height) of the second point of the equilateral triangle
20 D4 1B BE -0.152176 z-position of the second point of the equilateral triangle
A8 9B 01 3F 0.506281 x-position of the third point of the equilateral triangle
69 78 6F 3E 0.233858 y-position (height) of the third point of the equilateral triangle
6C 7E 54 BF -0.830054 z-position of the third point of the equilateral triangle
8B 19 F4 41 30.512472 x-position of the mid
1B 53 CB C1 -25.415579 y-position (height) of the mid
68 20 3A C1 -11.632912 z-position of the mid
0B D7 5B 3F 0.858750 x-position of the first point of the equilateral triangle
21 67 9B 3D 0.075880 y-position (height) of the first point of the equilateral triangle
0D BA 01 3F 0.506745 z-position of the first point of the equilateral triangle
29 5C 1C 3E 0.152695 x-position of the second point of the equilateral triangle
40 60 7B BF -0.981937 y-position (height) of the second point of the equilateral triangle
6C D1 E4 BD -0.111728 z-position of the second point of the equilateral triangle
2A 6D FA 3E 0.489114 x-position of the third point of the equilateral triangle
C2 7B 31 3E 0.173324 y-position (height) of the third point of the equilateral triangle
D4 D5 5A BF -0.854825 z-position of the third point of the equilateral triangle
1E 9F FD 41 31.702694 x-position of the chest
54 52 CA C1 -25.290199 y-position (height) of the chest
2F F2 2D C1 -10.871627 z-position of the chest
61 D8 48 3F 0.784552 x-position of the first point of the equilateral triangle
A2 06 04 BF -0.515726 y-position (height) of the first point of the equilateral triangle
FD 40 B0 3E 0.344246 z-position of the first point of the equilateral triangle
F2 2E C3 BE -0.381218 x-position of the second point of the equilateral triangle
52 CB 56 BF -0.839040 y-position (height) of the second point of the equilateral triangle
CE BF C6 BE -0.388182 z-position of the second point of the equilateral triangle
5B 62 FA 3E 0.489032 x-position of the third point of the equilateral triangle
D9 79 31 3E 0.173316 y-position (height) of the third point of the equilateral triangle
04 D9 5A BF -0.854874 z-position of the third point of the equilateral triangle
44 DF 06 42 33.718033 x-position of the neck
38 E4 C8 C1 -25.111435 y-position (height) of the neck
78 EA 1A C1 -9.682243 z-position of the neck
D1 EF 43 3F 0.765378 x-position of the first point of the equilateral triangle
FE 93 07 BE -0.132400 y-position (height) of the first point of the equilateral triangle
8A 3B 21 3F 0.629815 z-position of the first point of the equilateral triangle
6F D0 C6 BE -0.388309 x-position of the second point of the equilateral triangle
48 1B 60 BF -0.875416 y-position (height) of the second point of the equilateral triangle
32 62 93 3E 0.287859 z-position of the second point of the equilateral triangle
87 63 03 3F 0.513237 x-position of the third point of the equilateral triangle
32 05 EE BE -0.464883 y-position (height) of the third point of the equilateral triangle
12 B0 38 BF -0.721437 z-position of the third point of the equilateral triangle
E9 B9 09 42 34.431553 x-position of the head
CC A4 CC C1 -25.580467 y-position (height) of the head
1A E8 15 C1 -9.369165 z-position of the head
0C 2B 7E 3E 0.248211 x-position of the first point of the equilateral triangle
E8 5D 1E BE -0.154655 y-position (height) of the first point of the equilateral triangle
D2 CE 74 BF -0.956281 z-position of the first point of the equilateral triangle
41 10 AA 3B 0.005190 x-position of the second point of the equilateral triangle
64 C4 7C 3F 0.987372 y-position (height) of the second point of the equilateral triangle
DF 22 22 BE -0.158336 z-position of the second point of the equilateral triangle
35 FC 77 3F 0.968692 x-position of the third point of the equilateral triangle
D6 A5 0C 3D 0.034338 y-position (height) of the third point of the equilateral triangle
CA C7 7B 3E 0.245879 z-position of the third point of the equilateral triangle
3C A1 06 42 33.657455 x-position of the left shoulder
E3 CE C6 C1 -24.851019 y-position (height) of the left shoulder
D4 A9 23 C1 -10.228962 z-position of the left shoulder
F4 0A 68 BE -0.226604 x-position of the first point of the equilateral triangle
1E E5 B6 BE -0.357217 y-position (height) of the first point of the equilateral triangle
3D F7 67 BF -0.906116 z-position of the first point of the equilateral triangle
C3 0D 73 BF -0.949429 x-position of the second point of the equilateral triangle
31 9E 01 BE -0.126580 y-position (height) of the second point of the equilateral triangle
DD 1D 93 3E 0.287337 z-position of the second point of the equilateral triangle
D0 8D 5E BE -0.217338 x-position of the third point of the equilateral triangle
53 E7 6C 3F 0.925405 y-position (height) of the third point of the equilateral triangle
B1 F5 9E BE -0.310468 z-position of the third point of the equilateral triangle
32 47 08 42 34.069527 x-position of the left bicep
B8 DC C8 C1 -25.107773 y-position (height) of the left bicep
92 10 3D C1 -11.816545 z-position of the left bicep
38 99 04 3F 0.517963 x-position of the first point of the equilateral triangle
B8 19 24 BE -0.160254 y-position (height) of the first point of the equilateral triangle
1F 1B 57 BF -0.840258 z-position of the first point of the equilateral triangle
0E CC 53 BF -0.827332 x-position of the second point of the equilateral triangle
25 D6 AF BE -0.343431 y-position (height) of the second point of the equilateral triangle
FD 94 E3 BE -0.444496 z-position of the second point of the equilateral triangle
CB 8D 5E BE -0.217338 x-position of the third point of the equilateral triangle
55 E7 6C 3F 0.925405 y-position (height) of the third point of the equilateral triangle
A6 F5 9E BE -0.310468 z-position of the third point of the equilateral triangle
98 C3 05 42 33.441010 x-position of the left wrist
D9 C9 D0 C1 -26.098558 y-position (height) of the left wrist
C0 46 65 C1 -14.329773 z-position of the left wrist
74 DA 0C 3F 0.550208 x-position of the first point of the equilateral triangle
D8 91 6E BD -0.058245 y-position (height) of the first point of the equilateral triangle
10 3F 55 BF -0.832994 z-position of the first point of the equilateral triangle
4D 49 72 3C 0.014788 x-position of the second point of the equilateral triangle
97 29 7F BF -0.996728 y-position (height) of the second point of the equilateral triangle
6F BC A2 3D 0.079461 z-position of the second point of the equilateral triangle
C9 BB 55 BF -0.834897 x-position of the third point of the equilateral triangle
99 88 65 BD -0.056038 y-position (height) of the third point of the equilateral triangle
08 2C 0C BF -0.547547 z-position of the third point of the equilateral triangle
2E FD 0A 42 34.747246 x-position of the left hand
87 05 D4 C1 -26.502699 y-position (height) of the left hand
22 97 83 C1 -16.448795 z-position of the left hand
5D 45 44 BF -0.766683 x-position of the first point of the equilateral triangle
51 47 52 BE -0.205350 y-position (height) of the first point of the equilateral triangle
7E B9 1B 3F 0.608299 z-position of the first point of the equilateral triangle
2C D8 25 BE -0.161957 x-position of the second point of the equilateral triangle
3D 8B 7A 3F 0.978687 y-position (height) of the second point of the equilateral triangle
21 4A 01 3E 0.126259 z-position of the second point of the equilateral triangle
07 0B 1F BF -0.621262 x-position of the third point of the equilateral triangle
D0 22 E1 BA -0.001718 y-position (height) of the third point of the equilateral triangle
15 9A 48 BF -0.783601 z-position of the third point of the equilateral triangle
9B BD 04 42 33.185162 x-position of the right shoulder
B2 25 C8 C1 -25.018406 y-position (height) of the right shoulder
22 74 16 C1 -9.403353 z-position of the right shoulder
11 46 56 BF -0.837007 x-position of the first point of the equilateral triangle
23 3D CC BE -0.398904 y-position (height) of the first point of the equilateral triangle
65 C6 BF 3E 0.374561 z-position of the first point of the equilateral triangle
DF 08 03 3F 0.511854 x-position of the second point of the equilateral triangle
1F 54 A8 BE -0.328767 y-position (height) of the second point of the equilateral triangle
32 2E 4B 3F 0.793674 z-position of the second point of the equilateral triangle
71 19 46 BE -0.193456 x-position of the third point of the equilateral triangle
CF 24 5B 3F 0.856030 y-position (height) of the third point of the equilateral triangle
C0 6E F5 3E 0.479361 z-position of the third point of the equilateral triangle
7A 4C FF 41 31.912342 x-position of the right bicep
E4 DF CA C1 -25.359322 y-position (height) of the right bicep
AD 4B 06 C1 -8.393476 z-position of the right bicep
A3 6E 72 BF -0.947001 x-position of the first point of the equilateral triangle
E9 3D 10 BD -0.035215 y-position (height) of the first point of the equilateral triangle
BC 7A A3 BE -0.319296 z-position of the first point of the equilateral triangle
E6 4C 83 BE -0.256446 x-position of the second point of the equilateral triangle
83 06 04 BF -0.515724 y-position (height) of the second point of the equilateral triangle
FA 45 51 3F 0.817474 z-position of the second point of the equilateral triangle
5D 19 46 BE -0.193456 x-position of the third point of the equilateral triangle
D1 24 5B 3F 0.856031 y-position (height) of the third point of the equilateral triangle
BC 6E F5 3E 0.479360 z-position of the third point of the equilateral triangle
F5 B9 EC 41 29.590799 x-position of the right wrist
D1 B9 D3 C1 -26.465731 y-position (height) of the right wrist
C3 58 EB C0 -7.354585 z-position of the right wrist
48 38 54 BF -0.828984 x-position of the first point of the equilateral triangle
81 8A A2 BC -0.019841 y-position (height) of the first point of the equilateral triangle
6F 15 0F BF -0.558921 z-position of the first point of the equilateral triangle
AC 11 67 BE -0.225653 x-position of the second point of the equilateral triangle
B5 20 6D 3F 0.926280 y-position (height) of the second point of the equilateral triangle
FE 85 9A 3E 0.301804 z-position of the second point of the equilateral triangle
AE 00 03 3F 0.511729 x-position of the third point of the equilateral triangle
09 AC C0 3E 0.376313 y-position (height) of the third point of the equilateral triangle
A1 B8 45 BF -0.772348 z-position of the third point of the equilateral triangle
E5 9E D9 41 27.202585 x-position of the right hand
B2 6F D4 C1 -26.554539 y-position (height) of the right hand
93 8E 02 C1 -8.159808 z-position of the right hand
D4 22 8C 41 17.517006 x-position of the first point of a line
95 50 E9 C1 -29.164347 y-position of the first point of a line
BC 31 9C C1 -19.524284 z-position of the first point of a line
75 E6 14 42 37.225056 x-position of the second point of a line
2E 20 B1 C1 -22.140713 y-position of the second point of a line
07 B1 D3 C0 -6.615360 z-position of the second point of a line



<== CRSA File ==>


Main Page >> Oni Binary Data >> File Types >> CRSA File