OBD:ONSK: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (still investigating...)
m (ARGB possibility)
Line 105: Line 105:
| BGCOLOR="#FF00FF" | FF FF FF FF
| BGCOLOR="#FF00FF" | FF FF FF FF
| unknown
| unknown
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always the same; either -1 or opaque white (ARGB)
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| BGCOLOR="#FFC8C8" | 00 00 80 3F

Revision as of 16:47, 27 April 2007

ONI BINARY DATA
ONSA << Other file types >> ONTA
ONSK : Oni Sky Class
switch to XML:ONSK page
Overview @ Oni Stuff
OBD.png

onsk_all.gif


Hex Translation Meaning
01 C3 03 00 963 00963-sunset.ONSK
01 00 00 06 3 level 3
01 0D 25 00 9485 skybox top: 09485-sunset_top.TXMP
01 0E 25 00 9486 skybox left: 09486-sunset_left.TXMP
01 0F 25 00 9487 skybox right: 09487-sunset_right.TXMP
01 0C 25 00 9484 skybox front: 09484-sunset_front.TXMP
01 0B 25 00 9483 skybox back: 09483-sunset_back.TXMP
00 00 00 00 0 skybox bottom: TXMP link, never used
01 10 25 00 9488 planet 1? sunset_sun.TXMP in level2 and level3, not used otherwise
00 00 00 00 0 planet 2? TXMP link, never used
00 00 00 00 0 planet 3? TXMP link, never used
00 00 00 00 0 planet 4? TXMP link, never used
00 00 00 00 0 planet 5? TXMP link, never used
00 00 00 00 0 planet 6? TXMP link, never used
00 00 00 00 0 planet 7? TXMP link, never used
00 00 00 00 0 planet 8? TXMP link, never used
00 00 00 00 0 some other TXMP, never used
01 11 25 00 9489 flare 1? always lensflare02.TXMP
00 00 00 00 0 flare 2? TXMP link, never used
00 00 00 00 0 flare 3? TXMP link, never used
00 00 00 00 0 flare 4? TXMP link, never used
00 00 00 00 0 flare 5? TXMP link, never used
01 00 00 00 0 unknown, 1 if sun is present, 0 otherwise
FF FF FF FF unknown unknown, always the same; either -1 or opaque white (ARGB)
00 00 80 3F 1.000000 unknown, 1 if sun is present, DEAD otherwise
AD DE dead not used
00 00 80 3F 1.000000 unknown, 1 if sun is present, DEAD otherwise
AD DE dead not used
00 00 00 00 0.000000 unknown, 0 if sun is present, DEAD otherwise
AD DE dead not used
00 00 00 00 0.000000 unknown, 0 if sun is present, DEAD otherwise
AD DE dead not used
00 00 80 40 4.000000 unknown, always te same
00 00 80 3F 1.000000 unknown, always te same
00 00 00 00 0.000000 unknown, always te same
45 00 00 00 69 unknown, always te same
01 00 00 00 1 unknown, always te same
AD DE dead not used
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)
Sun fields
Those are present whenever the sun TXMP is linked to at 0x20
  • int at 0x58: 1 if there's a sun, 0 otherwise (maybe a flag)
  • float at 0x60: 1 if there's a sun, missing otherwise
  • float at 0x80: 1 if there's a sun, missing otherwise
  • float at 0xA0: 0 if there's a sun, missing otherwise
  • float at 0xC0: 0 if there's a sun, missing otherwise
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 fields (see above) and the skybox textures.


ONI BINARY DATA
ONSA << Other file types >> ONTA
ONSK : Oni Sky Class
[[OBD:File types/{{{family}}}|{{{family}}} file]]