OBD:ONSK: Difference between revisions

From OniGalore
Jump to navigation Jump to search
m (scaling: percent)
m (planets)
Line 11: Line 11:
| WIDTH=70% | <B>Meaning</B>
| WIDTH=70% | <B>Meaning</B>
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FF0000" | 01 C3 03 00
| BGCOLOR="#FF0000" | 01 '''C3 03''' 00
| 963
| 963
| ALIGN=LEFT | 00963-sunset.ONSK
| ALIGN=LEFT | 00963-sunset.ONSK
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFF00" | 01 00 00 06
| BGCOLOR="#FFFF00" | 01 00 00 '''06'''
| 3
| 3
| ALIGN=LEFT | level 3
| ALIGN=LEFT | level 3
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#00FF00" | 01 0D 25 00
| BGCOLOR="#00FF00" | 01 '''0D 25''' 00
| 9485
| 9485
| ALIGN=LEFT | skybox top: 09485-sunset_top.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox top: link to 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 | skybox left: 09486-sunset_left.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox left: link to 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 | skybox right: 09487-sunset_right.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox right: link to 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 | skybox front: 09484-sunset_front.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox front: link to 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 | skybox back: 09483-sunset_back.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | skybox back: link to 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
Line 43: Line 43:
| ALIGN=LEFT | skybox bottom: [[OBD:TXMP|TXMP]] link, never 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 | planet 1? sunset_sun.[[OBD:TXMP|TXMP]] in level2 and level3, not used elsewhere
| ALIGN=LEFT | planet 1; link to sunset_sun.[[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 | planet 2? TXMP link, never 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 | planet 3? TXMP link, never 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 | planet 4? TXMP link, never 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 | planet 5? TXMP link, never 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 | planet 6? TXMP link, never 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 | planet 7? TXMP link, never 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 | planet 8? TXMP link, never 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 | some other TXMP, never used
| ALIGN=LEFT | sun flare 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 | flare 1? always lensflare02.[[OBD:TXMP|TXMP]]
| ALIGN=LEFT | star 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 | flare 2? TXMP link, never used
| ALIGN=LEFT | star 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 | flare 3? TXMP link, never used
| ALIGN=LEFT | star 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 | flare 4? TXMP link, never used
| ALIGN=LEFT | star 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 | flare 5? TXMP link, never used
| ALIGN=LEFT | star 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 | non-zero enables display of sun
| ALIGN=LEFT | number of planets
|- 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 109: Line 109:
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| BGCOLOR="#FFC8C8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | U-scaling of sun in percent
| ALIGN=LEFT | planet 1: U-scaling in percent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFFFC8" | AD DE
| BGCOLOR="#FFFFC8" | AD DE
| dead
| not used
| ALIGN=LEFT | not used
| ALIGN=LEFT | planets 2-8: U-scaling in percent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| BGCOLOR="#C8FFC8" | 00 00 80 3F
| 1.000000
| 1.000000
| ALIGN=LEFT | V-scaling of sun in percent
| ALIGN=LEFT | planet 1: V-scaling in percent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C8FFFF" | AD DE
| BGCOLOR="#C8FFFF" | AD DE
| dead
| not used
| ALIGN=LEFT | not used
| ALIGN=LEFT | planets 2-8: V-scaling in percent
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC8FF" | 00 00 00 00
| BGCOLOR="#FFC8FF" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | elevation of sun, in radians
| ALIGN=LEFT | planet 1: elevation in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#FFC800" | AD DE
| BGCOLOR="#FFC800" | AD DE
| dead
| not used
| ALIGN=LEFT | not used
| ALIGN=LEFT | planets 2-8: elevation in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C800C8" | 00 00 00 00
| BGCOLOR="#C800C8" | 00 00 00 00
| 0.000000
| 0.000000
| ALIGN=LEFT | azimuth of sun, in radians
| ALIGN=LEFT | planet 1: azimuth in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#C87C64" | AD DE
| BGCOLOR="#C87C64" | AD DE
| dead
| not used
| ALIGN=LEFT | not used
| ALIGN=LEFT | planet 2-8: azimuth in radians
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#B0C3D4" | 00 00 80 40
| BGCOLOR="#B0C3D4" | 00 00 80 40
| 4.000000
| 4.000000
| ALIGN=LEFT | unknown, always te same
| ALIGN=LEFT | unknown, always the 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, always te same
| ALIGN=LEFT | unknown, always the 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
| ALIGN=LEFT | unknown, always te same
| ALIGN=LEFT | unknown, always the same; number of ?
|- 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, always te same
| ALIGN=LEFT | unknown, always the same; number of ?
|- 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, always te same
| ALIGN=LEFT | unknown, always the same
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
|- ALIGN=CENTER VALIGN=TOP BGCOLOR="#FFEEDD"
| BGCOLOR="#8C8CCC" | AD DE
| BGCOLOR="#8C8CCC" | AD DE
| dead
| dead
| ALIGN=LEFT | not used
| ALIGN=LEFT | not used, always the same
|}
|}
;TXMP links
;TXMP links
Line 173: Line 173:
:*the sun texture is rotated 90° counter-clockwise
:*the sun texture is rotated 90° counter-clockwise
:*the sun isn't occluded by anything at all :(
:*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
;Original ONSK
*afternoon (level 1)
*afternoon (level 1)

Revision as of 19:37, 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: link to sunset_top.TXMP
01 0E 25 00 9486 skybox left: link to sunset_left.TXMP
01 0F 25 00 9487 skybox right: link to sunset_right.TXMP
01 0C 25 00 9484 skybox front: link to sunset_front.TXMP
01 0B 25 00 9483 skybox back: link to sunset_back.TXMP
00 00 00 00 0 skybox bottom: TXMP link, never used
01 10 25 00 9488 planet 1; link to sunset_sun.TXMP
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 sun flare TXMP, never used
01 11 25 00 9489 star 1; always lensflare02.TXMP
00 00 00 00 0 star 2; TXMP link, never used
00 00 00 00 0 star 3; TXMP link, never used
00 00 00 00 0 star 4; TXMP link, never used
00 00 00 00 0 star 5; TXMP link, never used
01 00 00 00 0 number of planets
FF FF FF FF unknown unknown, always the same; either -1 or opaque white (ARGB)
00 00 80 3F 1.000000 planet 1: U-scaling in percent
AD DE not used planets 2-8: U-scaling in percent
00 00 80 3F 1.000000 planet 1: V-scaling in percent
AD DE not used planets 2-8: V-scaling in percent
00 00 00 00 0.000000 planet 1: elevation in radians
AD DE not used planets 2-8: elevation in radians
00 00 00 00 0.000000 planet 1: azimuth in radians
AD DE not used planet 2-8: azimuth in radians
00 00 80 40 4.000000 unknown, always the same
00 00 80 3F 1.000000 unknown, always the same
00 00 00 00 0 unknown, always the same; number of ?
45 00 00 00 69 unknown, always the same; number of ?
01 00 00 00 1 unknown, always the same
AD DE dead not used, always the same
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]]