Welcome to Data Crystal's new home! Data Crystal is now part of the TCRF family (sort of).
The wiki has recently moved; please report any issues in Discord. Pardon the dust.

LEGO Star Wars: The Video Game (PlayStation 2)/RAM map

From Data Crystal
Jump to navigation Jump to search

Chip tiny.png The following article is a RAM map for LEGO Star Wars: The Video Game (PlayStation 2).

This RAM map covers the data stored in the game code, starting from the .data section onwards.


0x0033cff4: total allocated memory

0x00341f20: boolean flag that is set when normal map is initialized (meaning tbd)

0x0034291c: boolean flag that is set when the IRX modules are loaded

0x00342fe8: boolean flag that is set to 1 when reverb is successfully initialized

0x00343010: boolean flag that toggles surround sound

0x00343014: boolean flag that is set when sound services are enabled

0x00343050: pointer to something called a request table that has to do with sound?

0x00343054: size of the table pointed to by 0x00343050

0x0034439c: holds an int that corresponds to the sound command currently active. When it is ffffffff, that means the previous command has been ended with SOUND_EndCommand.

0x00347cd4: boolean flag that enables/disables the player to fly

0x00347ce8: boolean flag that toggles the FPS display

0x003617b0: character ID for player 1

0x003617b4: character ID for player 2

0x00361850: the view camera mode. 0 = off, 1 = controller 1, 2 = controller 2

0x00361890: is a boolean flag that toggles the debug menu stored as a word/4 bytes.

0x003698fc: boolean flag that enables/disables music.

0x0036ea10: the code entered in at the diner via the code menu. Six bytes long.

0x0052b0c0: boolean flag for controller vibration

0x005495f0: the number of unlocked characters

0x00549f1c: stores the overall stud total as a four byte integer.

0x0054cafc: the index of whatever mini ship is in focus.

0x0057fb94: the position/index of the current menu item highlighted at Dexter's Diner. 0 = hints, 1 = characters, 2 = extras, 3 = code

0x0057fca8: the current/active position when entering a code in Dexter's Diner