3D rendering: Difference between revisions
Marius851000 (talk | contribs) m →Memory: minor spelling |
Marius851000 (talk | contribs) More info on the table. |
||
| Line 23: | Line 23: | ||
The game store its 3D data in WTE files. It contain the texture and the palette, but not where the file will be stored in the RAM, which is specified in the game’s code. Here is table of the (known) allocation the game make. It is probably exhaustive. | The game store its 3D data in WTE files. It contain the texture and the palette, but not where the file will be stored in the RAM, which is specified in the game’s code. Here is table of the (known) allocation the game make. It is probably exhaustive. | ||
ProcessWTE is the function used to load them. | ProcessWTE is the function used to load them (on EU). | ||
{| class="wikitable" | {| class="wikitable" | ||
|+ | |+ | ||
| Line 91: | Line 91: | ||
|c_wipe.wte or w_wipe2.wte | |c_wipe.wte or w_wipe2.wte | ||
| | | | ||
| | |horizontal bar of differing colors, presumably for wiping the screen | ||
|0x0206afb0 | |0x0206afb0 | ||
| | | | ||
| Line 100: | Line 100: | ||
|w_heart.wte | |w_heart.wte | ||
| | | | ||
| | |multiple hearts sumbol, filled and shaded | ||
|0x0206b000 | |0x0206b000 | ||
| | | | ||
| Line 109: | Line 109: | ||
|circle.wte | |circle.wte | ||
| | | | ||
| | |hearth symbol, not filled | ||
|0x0206b050 | |0x0206b050 | ||
| | | | ||
| Line 118: | Line 118: | ||
|s13p01t1.wte | |s13p01t1.wte | ||
|overworld | |overworld | ||
| | |boss wipe graphic | ||
|overlay_11::02316d4c | |overlay_11::02316d4c | ||
|0x8000 | |0x8000 | ||
| | |0x8000 | ||
| | | | ||
| | | | ||
| Line 127: | Line 127: | ||
|d04p31t1.wte | |d04p31t1.wte | ||
|overworld | |overworld | ||
| | |waterfall cave diamond wave | ||
|overlay_11::02314b9c | |overlay_11::02314b9c | ||
|0x0 | |0x0 | ||
| Line 136: | Line 136: | ||
|v15p03t1.wte | |v15p03t1.wte | ||
|overworld | |overworld | ||
| | |Some crystal cave crystals | ||
|overlay_11::02314d20 | |overlay_11::02314d20 | ||
|0x0 | |0x0 | ||
| | |0x8000 | ||
| | | | ||
| | | | ||
| Line 145: | Line 145: | ||
|p03p01t1.wte | |p03p01t1.wte | ||
|overworld | |overworld | ||
| | |fog/mist texture | ||
|overlay_11::02314eec | |overlay_11::02314eec | ||
overlay_11::022f33d8 | |||
|0x0 | |0x0 | ||
| | |0x6000 | ||
| | | | ||
| | | | ||
| Line 154: | Line 155: | ||
|frameX.wte (where X is from 0 to 4) | |frameX.wte (where X is from 0 to 4) | ||
|both | |both | ||
| | |dialog box frame | ||
|0x020274e4 | |0x020274e4 | ||
|0x1F000 | |0x1F000 | ||
| Line 163: | Line 164: | ||
|t01p01t1.wte | |t01p01t1.wte | ||
|overworld | |overworld | ||
| | |some clouds | ||
|overlay_11::022f3368 | |overlay_11::022f3368 (loading weather 1) | ||
|0x0 | |0x0 | ||
| | |0x4000 | ||
| | | | ||
| | | | ||
| Line 172: | Line 173: | ||
|t01p01t2.wte | |t01p01t2.wte | ||
|overworld | |overworld | ||
| | |some clouds | ||
|overlay_11::022f3394 | |overlay_11::022f3394 (loading weather 1) | ||
|0x4000 | |||
|0x4000 | |0x4000 | ||
| | | | ||
| | | | ||
| Line 190: | Line 182: | ||
|d73p41t1.wte | |d73p41t1.wte | ||
|overworld | |overworld | ||
| | |another kind of mist/fog (top of Shaymin mountain?) | ||
|overlay_11::022f341c | |overlay_11::022f341c (loading weather 3) | ||
|0x0 | |0x0 | ||
| | |0x6000 | ||
| | | | ||
| | | | ||
|} | |} | ||
From those allocations, it seems that VRAM from 0x11000 to 0x1EFFF (included) are free to be used both in overworld and dungeon. (todo: check palette more precisely) | |||