OBD:ONSK: Difference between revisions

1,131 bytes added ,  27 April 2007
m
still investigating...
No edit summary
m (still investigating...)
Line 1: Line 1:
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> ONSK File
{{OBD_File_Header|align=center|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class|family=Level}}
 
----
 
<CENTER>[[OBD:ONSA|<==]] <FONT SIZE=5>ONSK File</FONT> [[OBD:ONTA|==>]]<BR>
<FONT SIZE=2>Oni Sky Class - Level File</FONT></CENTER>
 


http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/onsk_all.gif
http://www6.fh-eberswalde.de/user/dkriesch/onistuff/images/onsk_all.gif
Line 25: Line 21:
| BGCOLOR="#00FF00" | 01 0D 25 00
| BGCOLOR="#00FF00" | 01 0D 25 00
| 9485
| 9485
| ALIGN=LEFT | link to 09485-sunset_top.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox top: 09485-sunset_top.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 0E 25 00
| BGCOLOR="#00FF00" | 01 0E 25 00
| 9486
| 9486
| ALIGN=LEFT | link to 09486-sunset_left.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox left: 09486-sunset_left.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 0F 25 00
| BGCOLOR="#00FF00" | 01 0F 25 00
| 9487
| 9487
| ALIGN=LEFT | link to 09487-sunset_right.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox right: 09487-sunset_right.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 0C 25 00
| BGCOLOR="#00FF00" | 01 0C 25 00
| 9484
| 9484
| ALIGN=LEFT | link to 09484-sunset_front.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox front: 09484-sunset_front.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 0B 25 00
| BGCOLOR="#00FF00" | 01 0B 25 00
| 9483
| 9483
| ALIGN=LEFT | link to 09483-sunset_back.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox back: 09483-sunset_back.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | skybox bottom: [[OBD:TXMP|TXMP]] link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 10 25 00
| BGCOLOR="#00FF00" | 01 10 25 00
| 9488
| 9488
| ALIGN=LEFT | link to 09488-sunset_sun.[[OBD:TXMP|TXMP]] (image exists, but not used in the game)
| ALIGN=LEFT | planet 1? sunset_sun.[[OBD:TXMP|TXMP]] in level2 and level3, not used otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 2? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 3? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 4? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 5? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 6? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 7? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 8? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | some other TXMP, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 11 25 00
| BGCOLOR="#00FF00" | 01 11 25 00
| 9489
| 9489
| ALIGN=LEFT | link to 09489-lensflare02.[[OBD:TXMP|TXMP]] (zero byte file, but not used too)
| ALIGN=LEFT | flare 1? always lensflare02.[[OBD:TXMP|TXMP]]
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | flare 2? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | flare 3? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | flare 4? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 00 00 00 00
| BGCOLOR="#00FF00" | 00 00 00 00
| 0
| 0
| ALIGN=LEFT | not used
| ALIGN=LEFT | flare 5? TXMP link, never used
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FFFF" | 01 00 00 00
| BGCOLOR="#00FFFF" | 01 00 00 00
| 0
| 0
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, 1 if sun is present, 0 otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF00FF" | FF FF FF FF
| BGCOLOR="#FF00FF" | FF FF FF FF
Line 113: Line 109:
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, 1 if sun is present, DEAD otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | AD DE
| BGCOLOR="#FFFFC8" | AD DE
Line 121: Line 117:
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, 1 if sun is present, DEAD otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | AD DE
| BGCOLOR="#C8FFFF" | AD DE
Line 129: Line 125:
| BGCOLOR="#FFC8FF" | 00 00 00 00
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, 0 if sun is present, DEAD otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | AD DE
| BGCOLOR="#FFC800" | AD DE
Line 137: Line 133:
| BGCOLOR="#C800C8" | 00 00 00 00
| BGCOLOR="#C800C8" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, 0 if sun is present, DEAD otherwise
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | AD DE
| BGCOLOR="#C87C64" | AD DE
Line 145: Line 141:
| BGCOLOR="#B0C3D4" | 00 00 80 40
| BGCOLOR="#B0C3D4" | 00 00 80 40
| 4.000000
| 4.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always te same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#E7CEA5" | 00 00 80 3F
| BGCOLOR="#E7CEA5" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always te same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFDDDD" | 00 00 00 00
| BGCOLOR="#FFDDDD" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always te same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#64AAAA" | 45 00 00 00
| BGCOLOR="#64AAAA" | 45 00 00 00
| 69
| 69
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always te same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#EBEBEB" | 01 00 00 00
| BGCOLOR="#EBEBEB" | 01 00 00 00
| 1
| 1
| ALIGN=LEFT | unknown
| ALIGN=LEFT | unknown, always te same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | AD DE
| BGCOLOR="#8C8CCC" | AD DE
Line 167: Line 163:
| ALIGN=LEFT | not used
| ALIGN=LEFT | 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.


 
----
<HR>
{{OBD_File_Footer|type=ONSK|prev=ONSA|next=ONTA|name=Oni Sky Class}}
<CENTER>[[OBD:ONSA|<==]] <B>ONSK File</B> [[OBD:ONTA|==>]]</CENTER>
<HR>
 
 
[[Main Page]] >> [[OBD:Oni Binary Data|Oni Binary Data]] >> [[OBD:File types|File Types]] >> ONSK File