Difference between revisions of "OoT: Scene Table"

From z64 wiki
Jump to: navigation, search
m ("Scene configuration" thingy needs improvement/correction...)
Line 4: Line 4:
 
== Format ==
 
== Format ==
 
<code>xxxxxxxx yyyyyyyy aaaaaaaa bbbbbbbb qqrrsstt</code> (repeats for each entry, 109 entries total)<br>
 
<code>xxxxxxxx yyyyyyyy aaaaaaaa bbbbbbbb qqrrsstt</code> (repeats for each entry, 109 entries total)<br>
'''x''' = Start offset of scene<br>
+
'''x''' = Start offset of scene file<br>
'''y''' = End offset of scene<br>
+
'''y''' = End offset of scene file<br>
 
'''a''' = Start offset of texture displayed when area is loaded ('''"Title card"''')<br>
 
'''a''' = Start offset of texture displayed when area is loaded ('''"Title card"''')<br>
 
'''b''' = End offset of texture displayed when area is loaded<br>
 
'''b''' = End offset of texture displayed when area is loaded<br>
'''q''' = Nothing?<br>
+
'''q''' = Unknown (is either 0x01 or 0x02 for some dungeons, otherwise 0x00)<br>
'''r''' = Camera effects (unlisted values have no apparent effect)<br>
+
'''r''' = "Scene configuration", responsible for initializing and filling RAM segments; used ex. for camera effects, dynamic textures<br>
 
0x15 = screen pulses a la Jabu-Jabu's Belly<br>
 
0x15 = screen pulses a la Jabu-Jabu's Belly<br>
 
0x33 = screen shakes a la Ganon's Castle (collapsing)<br>
 
0x33 = screen shakes a la Ganon's Castle (collapsing)<br>
Line 15: Line 15:
 
0x35 - 0x37 = crashes<br>
 
0x35 - 0x37 = crashes<br>
 
0x3D+ = crashes<br>
 
0x3D+ = crashes<br>
'''s''' = Nothing?<br>
+
'''s''' = Unknown (is unique value between 0x02 and 0x0A for some dungeons)<br>
'''t''' = Nothing?<br>
+
'''t''' = Nothing? (always 0x00)<br>
  
 
== See Also ==
 
== See Also ==

Revision as of 20:30, 16 June 2013

The scene table starts at the address 0xBA0BB0 in the full ROM.
Please note that Majora's Mask follows a different format

Format

xxxxxxxx yyyyyyyy aaaaaaaa bbbbbbbb qqrrsstt (repeats for each entry, 109 entries total)
x = Start offset of scene file
y = End offset of scene file
a = Start offset of texture displayed when area is loaded ("Title card")
b = End offset of texture displayed when area is loaded
q = Unknown (is either 0x01 or 0x02 for some dungeons, otherwise 0x00)
r = "Scene configuration", responsible for initializing and filling RAM segments; used ex. for camera effects, dynamic textures
0x15 = screen pulses a la Jabu-Jabu's Belly
0x33 = screen shakes a la Ganon's Castle (collapsing)
0x34 = same as 0x33
0x35 - 0x37 = crashes
0x3D+ = crashes
s = Unknown (is unique value between 0x02 and 0x0A for some dungeons)
t = Nothing? (always 0x00)

See Also

Zelda 64 Scene Listings: Debug ROM