OBD:ONSK: Difference between revisions
Jump to navigation
Jump to search
m (lunch break) |
m (design (note: image needs an update)) |
||
Line 8: | Line 8: | ||
{{OBD_Table_Header}} | {{OBD_Table_Header}} | ||
|- ALIGN=CENTER VALIGN=TOP | |- ALIGN=CENTER VALIGN=TOP | ||
{{OBDtr| 0x00 | res_id |FF0000| 01 C3 03 00 | 963 | {{OBDtr| 0x00 | res_id |FF0000| 01 C3 03 00 | 963 | 00963-sunset.ONSK }} | ||
{{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | {{OBDtr| 0x04 | lev_id |FFFF00| 01 00 00 06 | 3 | level 3 }} | ||
{{OBDtr| 0x08 | link32 |00FF00| 01 0D 25 00 | 9485 | skybox top | {{OBDtr| 0x08 | link32 |00FF00| 01 0D 25 00 | 9485 | skybox top; link to sunset_top.[[OBD:TXMP|TXMP]] }} | ||
{{OBDtr| 0x0C | link32 |00FF00| 01 0E 25 00 | 9486 | skybox left | {{OBDtr| 0x0C | link32 |00FF00| 01 0E 25 00 | 9486 | skybox left; link to 09486-sunset_left.[[OBD:TXMP|TXMP]]; link always used }} | ||
{{OBDtr| 0x10 | link32 |00FF00| 01 0F 25 00 | 9487 | skybox left | {{OBDtr| 0x10 | link32 |00FF00| 01 0F 25 00 | 9487 | skybox left; link to 09487-sunset_right.[[OBD:TXMP|TXMP]]; link always used }} | ||
{{OBDtr| 0x14 | link32 |00FF00| 01 0C 25 00 | 9484 | skybox front | {{OBDtr| 0x14 | link32 |00FF00| 01 0C 25 00 | 9484 | skybox front; link to 09484-sunset_front.[[OBD:TXMP|TXMP]]; link always used }} | ||
{{OBDtr| 0x18 | link32 |00FF00| 01 0B 25 00 | 9483 | skybox back | {{OBDtr| 0x18 | link32 |00FF00| 01 0B 25 00 | 9483 | skybox back; link to 09483-sunset_back.[[OBD:TXMP|TXMP]]; link always used }} | ||
{{OBDtr| 0x1C | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x1C | link32 |00FF00| 00 00 00 00 | 0 | unused; always the same }} | ||
{{OBDtr| 0x20 | link32 |00FF00| 01 10 25 00 | 9488 | link to 09488-sunset_sun.TXMP (image exists, but not used in the game); only level 2 and 3 use this link }} | {{OBDtr| 0x20 | link32 |00FF00| 01 10 25 00 | 9488 | planet 1; link to 09488-sunset_sun.[[OBD:TXMP|TXMP]] (image exists, but not used in the game); only level 2 and 3 use this link }} | ||
{{OBDtr| 0x24 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x24 | link32 |00FF00| 00 00 00 00 | 0 | planet 2; unused; always the same }} | ||
{{OBDtr| 0x28 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x28 | link32 |00FF00| 00 00 00 00 | 0 | planet 3; unused; always the same }} | ||
{{OBDtr| 0x2C | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x2C | link32 |00FF00| 00 00 00 00 | 0 | planet 4; unused; always the same }} | ||
{{OBDtr| 0x30 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x30 | link32 |00FF00| 00 00 00 00 | 0 | planet 5; unused; always the same }} | ||
{{OBDtr| 0x34 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x34 | link32 |00FF00| 00 00 00 00 | 0 | planet 6; unused; always the same }} | ||
{{OBDtr| 0x38 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x38 | link32 |00FF00| 00 00 00 00 | 0 | planet 7; unused; always the same }} | ||
{{OBDtr| 0x3C | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x3C | link32 |00FF00| 00 00 00 00 | 0 | planet 8; unused; always the same }} | ||
{{OBDtr| 0x40 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x40 | link32 |00FF00| 00 00 00 00 | 0 | sun flare; unused; always the same }} | ||
{{OBDtr| 0x44 | link32 |00FF00| 01 11 25 00 | 9489 | link to 09489-lensflare02.TXMP; link always used; (zero byte file, image not used too) }} | {{OBDtr| 0x44 | link32 |00FF00| 01 11 25 00 | 9489 | star 1; link to 09489-lensflare02.[[OBD:TXMP|TXMP]]; link always used; (zero byte file, image not used too) }} | ||
{{OBDtr| 0x48 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x48 | link32 |00FF00| 00 00 00 00 | 0 | star 2; unused; always the same }} | ||
{{OBDtr| 0x4C | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x4C | link32 |00FF00| 00 00 00 00 | 0 | star 3; unused; always the same }} | ||
{{OBDtr| 0x50 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x50 | link32 |00FF00| 00 00 00 00 | 0 | star 4; unused; always the same }} | ||
{{OBDtr| 0x54 | link32 |00FF00| 00 00 00 00 | 0 | {{OBDtr| 0x54 | link32 |00FF00| 00 00 00 00 | 0 | star 5; unused; always the same }} | ||
{{OBDtr| 0x58 | int32 |00FFFF| 01 00 00 00 | 1 | {{OBDtr| 0x58 | int32 |00FFFF| 01 00 00 00 | 1 | number of used planets }} | ||
{{OBDtr| 0x5C | | {{OBDtr| 0x5C | unknown |FF00FF| FF FF FF FF | unknown | unknown, always the same; either -1 or opaque white (ARGB) }} | ||
{{OBDtr| 0x60 | float32 |FFC8C8| 00 00 80 3F | 1.000000| planet 1; U-scaling in percent }} | |||
{{OBDtr| 0x64 | char[28] |FFC8C8| AD DE | dead | planets 2-8; U-scaling in percent }} | |||
{{OBDtr| | {{OBDtr| 0x80 | float32 |FFFFC8| 00 00 80 3F | 1.000000| planet 1; V-scaling in percent }} | ||
{{OBDtr| | {{OBDtr| 0x84 | char[28] |FFFFC8| AD DE | dead | planets 2-8; V-scaling in percent }} | ||
{{ | {{OBDtr| 0xA0 | float32 |C8FFC8| 00 00 00 00 | 0.000000| planet 1; elevation in radians }} | ||
{{OBDtr| | {{OBDtr| 0xA4 | char[28] |C8FFC8| AD DE | dead | planets 2-8; elevation in radians }} | ||
{{OBDtr| 0xC0 | float32 |C8FFFF| 00 00 00 00 | 0.000000| planet 1; azimuth in radians }} | |||
{{OBDtr| 0xC4 | char[28] |C8FFFF| AD DE | dead | planets 2-8; azimuth in radians }} | |||
{{OBDtr| 0xE0 | float32 |FFC8FF| 00 00 80 40 | 4.000000| unknown, always the same }} | |||
{{OBDtr| 0xE4 | float32 |FFC800| 00 00 80 3F | 1.000000| unknown, always the same }} | |||
{{OBDtr| 0xE8 | float32 |C800C8| 00 00 00 00 | 0.000000| unknown, always the same }} | |||
{{OBDtr| 0xEC | int32 |C87C64| 45 00 00 00 | 69 | unknown, always the same }} | |||
{{OBDtr| 0xF0 | int32 |B0C3D4| 01 00 00 00 | 1 | unknown, always the same }} | |||
{{OBDtr| 0xF4 | char[12] |E7CEA5| AD DE | dead | unused }} | |||
|} | |} | ||
;TXMP links | ;TXMP links | ||
:According to the swapcode table, the 20 links are in fact 4 groups: | :According to the swapcode table, the 20 links are in fact 4 groups: | ||
Line 219: | Line 69: | ||
*crapsky (level 19) | *crapsky (level 19) | ||
*night (all the other levels except level 13, which has no ONSK) | *night (all the other levels except level 13, which has no ONSK) | ||
All ONSK are identical apart from the sun stuff (see above) and the skybox textures. | All ONSK are identical apart from the sun stuff (see above) and the skybox textures. | ||
{{OBD_File_Footer|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class}} | {{OBD_File_Footer|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class}} |
Revision as of 13:22, 4 September 2007
|
Offset | Type | Raw Hex | Value | Description |
---|---|---|---|---|
0x00 | res_id | 01 C3 03 00 | 963 | 00963-sunset.ONSK |
0x04 | lev_id | 01 00 00 06 | 3 | level 3 |
0x08 | link32 | 01 0D 25 00 | 9485 | skybox top; link to sunset_top.TXMP |
0x0C | link32 | 01 0E 25 00 | 9486 | skybox left; link to 09486-sunset_left.TXMP; link always used |
0x10 | link32 | 01 0F 25 00 | 9487 | skybox left; link to 09487-sunset_right.TXMP; link always used |
0x14 | link32 | 01 0C 25 00 | 9484 | skybox front; link to 09484-sunset_front.TXMP; link always used |
0x18 | link32 | 01 0B 25 00 | 9483 | skybox back; link to 09483-sunset_back.TXMP; link always used |
0x1C | link32 | 00 00 00 00 | 0 | unused; always the same |
0x20 | link32 | 01 10 25 00 | 9488 | planet 1; link to 09488-sunset_sun.TXMP (image exists, but not used in the game); only level 2 and 3 use this link |
0x24 | link32 | 00 00 00 00 | 0 | planet 2; unused; always the same |
0x28 | link32 | 00 00 00 00 | 0 | planet 3; unused; always the same |
0x2C | link32 | 00 00 00 00 | 0 | planet 4; unused; always the same |
0x30 | link32 | 00 00 00 00 | 0 | planet 5; unused; always the same |
0x34 | link32 | 00 00 00 00 | 0 | planet 6; unused; always the same |
0x38 | link32 | 00 00 00 00 | 0 | planet 7; unused; always the same |
0x3C | link32 | 00 00 00 00 | 0 | planet 8; unused; always the same |
0x40 | link32 | 00 00 00 00 | 0 | sun flare; unused; always the same |
0x44 | link32 | 01 11 25 00 | 9489 | star 1; link to 09489-lensflare02.TXMP; link always used; (zero byte file, image not used too) |
0x48 | link32 | 00 00 00 00 | 0 | star 2; unused; always the same |
0x4C | link32 | 00 00 00 00 | 0 | star 3; unused; always the same |
0x50 | link32 | 00 00 00 00 | 0 | star 4; unused; always the same |
0x54 | link32 | 00 00 00 00 | 0 | star 5; unused; always the same |
0x58 | int32 | 01 00 00 00 | 1 | number of used planets |
0x5C | unknown | FF FF FF FF | unknown | unknown, always the same; either -1 or opaque white (ARGB) |
0x60 | float32 | 00 00 80 3F | 1.000000 | planet 1; U-scaling in percent |
0x64 | char[28] | AD DE | dead | planets 2-8; U-scaling in percent |
0x80 | float32 | 00 00 80 3F | 1.000000 | planet 1; V-scaling in percent |
0x84 | char[28] | AD DE | dead | planets 2-8; V-scaling in percent |
0xA0 | float32 | 00 00 00 00 | 0.000000 | planet 1; elevation in radians |
0xA4 | char[28] | AD DE | dead | planets 2-8; elevation in radians |
0xC0 | float32 | 00 00 00 00 | 0.000000 | planet 1; azimuth in radians |
0xC4 | char[28] | AD DE | dead | planets 2-8; azimuth in radians |
0xE0 | float32 | 00 00 80 40 | 4.000000 | unknown, always the same |
0xE4 | float32 | 00 00 80 3F | 1.000000 | unknown, always the same |
0xE8 | float32 | 00 00 00 00 | 0.000000 | unknown, always the same |
0xEC | int32 | 45 00 00 00 | 69 | unknown, always the same |
0xF0 | int32 | 01 00 00 00 | 1 | unknown, always the same |
0xF4 | char[12] | AD DE | dead | unused |
- TXMP links
- According to the swapcode table, the 20 links are in fact 4 groups:
- 6 (skybox, bottom one is never used)
- 8 (only first one is ever used (sun))
- 1 (never used)
- 5 (first one always lensflare02, other 4 never used)
- Issues with the sun
- After upscaling and positioning the sun, two bugs remain:
- the sun texture is rotated 90° counter-clockwise
- the sun isn't occluded by anything at all :(
- Planets
- Multiple planets work, but the occlusion issue is still there.
- Stars
- Stars are not placed the way plantes are.
- They are probably generated at random...
- Original ONSK
- afternoon (level 1)
- sunset (level 2 and 3)
- crapsky (level 19)
- night (all the other levels except level 13, which has no ONSK)
All ONSK are identical apart from the sun stuff (see above) and the skybox textures.
ONI BINARY DATA |
---|
ONSA << Other file types >> ONTA |
ONSK : Oni Sky Class |
[[OBD:File types/{{{family}}}|{{{family}}} file]] |