Memory map: Difference between revisions

12,626 bytes removed ,  3 years ago
no edit summary
No edit summary
No edit summary
 
(7 intermediate revisions by 3 users not shown)
Line 1:
This page has a list of known, documented special values in BFBB's game memory. Currently this list is specific to the GameCube US version. Some values might not be accurately listed (for instance, the type could be a char and not an int, or signed instead of unsigned) so if this is the case, please edit this page and fix it if you have an account.
A list of noteworthy memory locations in the GameCube NTSC edition, in a format that can be imported into [https://github.com/aldelaro5/Dolphin-memory-engine Dolphin-memory-engine]:
 
See [https://battlepedia.org/File:DME_memory_map_for_BFBB.json File:DME memory map for BFBB.json] for a list of noteworthy memory locations in the GameCube NTSC edition, in a format that can be imported into [https://github.com/aldelaro5/Dolphin-memory-engine Dolphin-memory-engine].
<pre style="height:20em;overflow-y:scroll;">
{
"watchList": [
{
"groupEntries": [
{
"address": "803C2060",
"baseIndex": 0,
"label": "Bikini Bottom",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2064",
"baseIndex": 0,
"label": "Jellyfish Fields",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2068",
"baseIndex": 0,
"label": "Downtown",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C206C",
"baseIndex": 0,
"label": "Goo Lagoon",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2070",
"baseIndex": 0,
"label": "Poseidome",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2074",
"baseIndex": 0,
"label": "Rock Bottom",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2078",
"baseIndex": 0,
"label": "Mermalair",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C207C",
"baseIndex": 0,
"label": "Sand Mountain",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2080",
"baseIndex": 0,
"label": "Industrial Park",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2084",
"baseIndex": 0,
"label": "Kelp Forest",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2088",
"baseIndex": 0,
"label": "Graveyard",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C208C",
"baseIndex": 0,
"label": "Dream",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2090",
"baseIndex": 0,
"label": "Chum Bucket",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2094",
"baseIndex": 0,
"label": "Patrick",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2098",
"baseIndex": 0,
"label": "Mr. Krabs",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "menu: socks collected"
},
{
"groupEntries": [
{
"address": "803C209C",
"baseIndex": 0,
"label": "Bikini Bottom",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20A0",
"baseIndex": 0,
"label": "Jellyfish Fields",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20A4",
"baseIndex": 0,
"label": "Downtown",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20A8",
"baseIndex": 0,
"label": "Goo Lagoon",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20AC",
"baseIndex": 0,
"label": "Poseidome",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20B0",
"baseIndex": 0,
"label": "Rock Bottom",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20B4",
"baseIndex": 0,
"label": "Mermalair",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20B8",
"baseIndex": 0,
"label": "Sand Mountain",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20BC",
"baseIndex": 0,
"label": "Industrial Park",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20C0",
"baseIndex": 0,
"label": "Kelp Forest",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20C4",
"baseIndex": 0,
"label": "Graveyard",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20C8",
"baseIndex": 0,
"label": "Dream",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20CC",
"baseIndex": 0,
"label": "Chum Bucket",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20D0",
"baseIndex": 0,
"label": "Patrick",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C20D4",
"baseIndex": 0,
"label": "Mr. Krabs",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "menu: socks total"
},
{
"groupEntries": [
{
"address": "802C8B00",
"baseIndex": 0,
"label": "X",
"typeIndex": 3,
"unsigned": false
},
{
"address": "802C8B04",
"baseIndex": 0,
"label": "Y",
"typeIndex": 3,
"unsigned": false
},
{
"address": "802C8B08",
"baseIndex": 0,
"label": "Z",
"typeIndex": 3,
"unsigned": false
}
],
"groupName": "position"
},
{
"groupEntries": [
{
"address": "803CB4A4",
"baseIndex": 0,
"label": "X",
"pointerOffsets": [
"0"
],
"typeIndex": 3,
"unsigned": false
},
{
"address": "803CB4A4",
"baseIndex": 0,
"label": "Y",
"pointerOffsets": [
"4"
],
"typeIndex": 3,
"unsigned": false
},
{
"address": "803CB4A4",
"baseIndex": 0,
"label": "Z",
"pointerOffsets": [
"8"
],
"typeIndex": 3,
"unsigned": false
}
],
"groupName": "momentum"
},
{
"groupEntries": [
{
"address": "803C2058",
"baseIndex": 0,
"label": "shiny objects",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C205C",
"baseIndex": 0,
"label": "spatulas",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2118",
"baseIndex": 0,
"label": "level item",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C211C",
"baseIndex": 0,
"label": "socks",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "collectables"
},
{
"groupEntries": [
{
"address": "803C0F15",
"baseIndex": 0,
"label": "have bubble bowl?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803C0F16",
"baseIndex": 0,
"label": "have cruise bubble?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803C1F40",
"baseIndex": 0,
"label": "bubble bowl speed",
"typeIndex": 3,
"unsigned": false
},
{
"address": "803C2010",
"baseIndex": 0,
"label": "can double jump?",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2020",
"baseIndex": 0,
"label": "can jump?",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2030",
"baseIndex": 0,
"label": "jumping?",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2034",
"baseIndex": 0,
"label": "double jumping?",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2038",
"baseIndex": 0,
"label": "bubble wand out?",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "moves"
},
{
"address": "802DEE8B",
"baseIndex": 0,
"label": "on ground?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803C0C31",
"baseIndex": 0,
"label": "autosave on?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803C1C0B",
"baseIndex": 0,
"label": "cur underwear",
"typeIndex": 0,
"unsigned": true
},
{
"address": "803C1C90",
"baseIndex": 0,
"label": "max underwear",
"typeIndex": 2,
"unsigned": true
},
{
"address": "803CAA40",
"baseIndex": 0,
"label": "L control?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803CB984",
"baseIndex": 0,
"label": "saving game?",
"typeIndex": 0,
"unsigned": false
},
{
"address": "803CB69F",
"baseIndex": 0,
"label": "kill on touch",
"typeIndex": 0,
"unsigned": false
},
{
"groupEntries": [
{
"address": "803C204C",
"baseIndex": 0,
"label": "zero gravity",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2054",
"baseIndex": 0,
"label": "flying",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "cheats"
},
{
"address": "803C2050",
"baseIndex": 0,
"label": "turning",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2048",
"baseIndex": 0,
"label": "full land animation",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803CB663",
"baseIndex": 0,
"label": "character switch",
"typeIndex": 0,
"unsigned": true
},
{
"address": "80297E48",
"baseIndex": 0,
"label": "hans/OOB",
"typeIndex": 2,
"unsigned": false
},
{
"groupEntries": [
{
"address": "80292622",
"baseIndex": 0,
"label": "L-stick",
"typeIndex": 1,
"unsigned": false
},
{
"address": "80292624",
"baseIndex": 0,
"label": "C-stick",
"typeIndex": 1,
"unsigned": false
},
{
"address": "8029261E",
"baseIndex": 0,
"label": "buttons",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "controller input"
},
{
"groupEntries": [
{
"address": "803C203C",
"baseIndex": 0,
"label": "bubble bounce",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C201C",
"baseIndex": 0,
"label": "unknown",
"typeIndex": 2,
"unsigned": false
},
{
"address": "803C2040",
"baseIndex": 0,
"label": "bubble bash",
"typeIndex": 2,
"unsigned": false
}
],
"groupName": "particles"
}
]
}
</pre>
 
==Player==
[[Category:Modding]]
{|
! Address !! Offset !! Type !! Description
|-
|<code>80297E48</code> || || int || Hans' state
|-
|<code>802C8B00</code> || || float || position (X)
|-
|<code>802C8B04</code> || || float || position (Y)
|-
|<code>802C8B08</code> || || float || position (Z)
|-
|<code>802DEE8B</code> || || char || is player on ground?
|-
|<code>803C0C31</code> || || char || is autosave on?
|-
|<code>803C0F15</code> || || char || can SpongeBob use bubble bowl?
|-
|<code>803C0F16</code> || || char || can SpongeBob use cruise bubble?
|-
|<code>803C1C0B</code> || || unsigned char || current number of underwear
|-
|<code>803C1C90</code> || || unsigned int || max underwear player currently has
|-
|<code>803C1F40</code> || || float || bubble bowl speed
|-
|<code>803C2010</code> || || int || can player double-jump?
|-
|<code>803C2020</code> || || int || can player jump?
|-
|<code>803C2030</code> || || int || is player jumping?
|-
|<code>803C2034</code> || || int || is player double-jumping?
|-
|<code>803C2038</code> || || int || is the bubble wand out?
|-
|<code>803CAA40</code> || || char || is L-control active?
|-
|<code>803CB4A4</code> || 0 || float || momentum (X)
|-
|<code>803CB4A4</code> || 4 || float || momentum (Y)
|-
|<code>803CB4A4</code> || 8 || float || momentum (Z)
|-
|<code>803CB69F</code> || || char || kill aura (e.g. on slide)?
|-
|<code>803CB984</code> || || char || currently saving game?
|}
 
==Collectables==
{|
! Address !! Type !! Description
|-
|<code>803C2058</code> || int || shiny objects
|-
|<code>803C205C</code> || int || spatulas
|-
|<code>803C2118</code> || int || level-specific item (bottom left on HUD)
|-
|<code>803C211C</code> || int || socks
|}
 
===Socks collected===
{|
! Address !! Type !! Description
|-
|<code>803C2060</code> || int || Bikini Bottom
|-
|<code>803C2064</code> || int || Jellyfish Fields
|-
|<code>803C2068</code> || int || Downtown
|-
|<code>803C206C</code> || int || Goo Lagoon
|-
|<code>803C2070</code> || int || Poseidome
|-
|<code>803C2074</code> || int || Rock Bottom
|-
|<code>803C2078</code> || int || Mermalair
|-
|<code>803C207C</code> || int || Sand Mountain
|-
|<code>803C2080</code> || int || Industrial Park
|-
|<code>803C2084</code> || int || Kelp Forest
|-
|<code>803C2088</code> || int || Graveyard
|-
|<code>803C208C</code> || int || Dream
|-
|<code>803C2090</code> || int || Chum Bucket
|-
|<code>803C2094</code> || int || Patrick
|-
|<code>803C2098</code> || int || Mr. Krabs
|}
 
===Socks total===
{|
! Address !! Type !! Description
|-
|<code>803C209C</code> || int || Bikini Bottom
|-
|<code>803C20A0</code> || int || Jellyfish Fields
|-
|<code>803C20A4</code> || int || Downtown
|-
|<code>803C20A8</code> || int || Goo Lagoon
|-
|<code>803C20AC</code> || int || Poseidome
|-
|<code>803C20B0</code> || int || Rock Bottom
|-
|<code>803C20B4</code> || int || Mermalair
|-
|<code>803C20B8</code> || int || Sand Mountain
|-
|<code>803C20BC</code> || int || Industrial Park
|-
|<code>803C20C0</code> || int || Kelp Forest
|-
|<code>803C20C4</code> || int || Graveyard
|-
|<code>803C20C8</code> || int || Dream
|-
|<code>803C20CC</code> || int || Chum Bucket
|-
|<code>803C20D0</code> || int || Patrick
|-
|<code>803C20D4</code> || int || Mr. Krabs
|}