This is a sub-page of Mighty Milky Way.
There are a lot of debug scripts leftover, which appear at the beginning of the code. These scripts are all related to the game's development and testing, and include error messages, diagnostic checks, and other leftover developer tools that were not stripped from the final build. The data below is organised by offset location, which are taken from the US version of the game.
At offset 0x8B6D0
Game.cpp
GfxRegs::IsBlanked(kEngineA) && GfxRegs::IsBlanked(kEngineB)
dataPub:/
GameData.h
GameData.h
Singleton.h
Singleton.h
Singleton.h
mmwSaveData.bin
s_singleton != 0
s_singleton == 0
s_singleton != 0
mode < kModes_Total
mode < kModes_Total
dataPub:/mmwSaveData.bin
GameData.cpp
GameData.cpp, 392 (world < kNumWorlds): Invalid world setting. It is %d, should be < %d.
GameData.cpp, 394 (level < kNumLevelsPerWorld): Invalid level setting. It is %d, should be < %d.
GameData.cpp, 402 (flowIndex >= Game::MARKER_LEVEL_SPACE_1 || flowIndex == Game::MARKER_CREDITS): Invalid Game Flow Index. It is %i, should be >= %i.
GameData.cpp, 403 (flowIndex <= Game::MARKER_LEVEL_PSYCHO_1): Invalid Game Flow Index. It is %i, should be <= %i
At offset 0x8C454
GameFlow.cpp
GameFlow.cpp, 299 (0): ERROR: The game has tried to go to an invalid game-state %u.
!LIST_EMPTY(&s_gameflowstack, GameFlowStack)
flowIndex < MARKER_COUNT
invalid change type!
!"invalid change type!"
Errortext.loctext
/Sound.sdat
At offset 0x8C670
Debug Menu
DebugScreen
Mode: Normal
Version: USA
Build: Release
Mighty Milky Way
Mode: Time Attack
Debug.dsfont
DebugScreen.cpp
Thu 02/24/11 13:53:25 PST
Revision: 204349
At offset 0x8CA38
MainEnvBase.cpp, 519 (0): Trying to load an invalid layer.
At offset 0x8CAA4
MainEnvBase.cpp, 702 (0): Not a valid shader
At offset 0x8D1C0
Level_MainMenu.cpp, 800 (heapHandle != NNS_FND_HEAP_INVALID_HANDLE): Shit!
At offset 0x8E998
Luna.cpp, 3165 (m_numOrbs != 0): Trying to kill an orb when there is already 0 orbs.
At offset 0x8EFBC
MoonEntity.cpp, 253 (0): Invalid planet size: %d
At offset 0x90BB0
<deleteop>
<Not Given>
<Not Given>
freeMem:%uk usedMem:%uk lrgstFree:%uk numFreeBlks:%d numAllocs:%d
<deleteop>
MemoryManager.cpp
Out of memory trying to allocate %d bytes in module %s, line %d
Attempt to free NULL pointer in %s, line %d
Attempt to free invalid pointer (%p) in %s, line %d
Attempt to set description on NULL pointer
Attempt to set description on invalid pointer
7d Used
Head of memory list is invalid
Last good link: %d bytes at %p from module %s, line %d
Head of free list is invalid
Last good free list link: %d bytes at %p from module %s, line %d
Memory list and free list look ok, but all nodes in memory list add up to %d bytes (should be %d bytes)
List walk reveals no bad links, and memory list size checks out... go figure
Sleep.cpp
g_sleepDisabledCount > 0
ColorBarProfiler.cpp
(dlptr - g_staticDL) == ARRAY_SIZE(g_staticDL)
!g_bProfiling
g_bProfiling
g_stackSize == 0
Input.cpp
s_resetDisabled > 0
s_resetDisabled < 0xFF
ProcessInput
EndRecording
g_recordBufferSize < ARRAY_SIZE(g_recordBuffer)
InputRecorder.cpp
AsyncGe_CheckOverflow
(g_maincl - g_mainCL[g_currentMainCLBuffer]) < kMainCLSize
AsyncGe.cpp
HwPalette.cpp
colorIndex0 < colorIndex1
colorIndex0 <= 255
colorIndex1 <= 255
Set2DBlendAlpha
Set2DBlendAlpha
Set2DBlendBrightness
Illegal affine bg setup for GX_BGMODE_%c on Engine%c
Using logical oam table, %u buckets of %u pixels
OamTables.cpp
softPriority < kNumSoftPriorities
g_workBufferIndex != g_renderBufferIndex
minBucket < kNumBuckets
maxBucket < kNumBuckets
BgVram.cpp
False
g_usedCharSlots[engineAB] == 0
g_usedScreenSlots[engineAB] == 0
Unknown EngineA objvram configuration
Unknown EngineB objvram configuration
Leaked ObjVram on kEngine%c
Out of objvram on Engine%c (objvram size = %uk)
ObjVram.cpp
(baseName + numNames) <= g_maxNames[engineAB]
Unknown texvram configuration
Unknown texpalvram configuration
Out of texvram (texvram size = %uk)
Bad TexVram::FreeTexels()
TexVram.cpp
(baseBlock + numBlocks) < g_maxTexBlocks
Out of texpalvram (texpalvram size = %uk)
(baseBlock + numBlocks) < g_maxPalBlocks
ObjSurface32.cpp
VBlankDma.cpp
g_texTransferQueueSize < ARRAY_SIZE(g_texTransferQueue)
g_texPalTransferQueueSize < ARRAY_SIZE(g_texPalTransferQueue)
VBlank transfer buffer
At offset 0x91648
PreloadBank.cpp
Unicode.cpp, 68 (*rep): Invalid text mutation.
Unicode.cpp
index < kLookAheadQueueSize
Unicode.cpp, 106 (*rep): Invalid text mutation.
Unicode.cpp, 156 (*rep): Invalid text mutation.
At offset 0x91850
ObjFont.cpp
(character.glyphWidth <= 64) && (character.glyphHeight <= 64)
ObjText.cpp
TextureFont.cpp
TextureText.cpp
unsigned(dlptr - m_pDL) == m_dlSize
SoundMusic.cpp
FenixBinRes.cpp
g_filenames != NULL
SpBgTileset.cpp
tile refcounts
logical to physical tile map
free physical tiles array
tiles to load
tiles to unload
Tileset %s is out of visible tiles (%u)
m_numTilesToUnload <= m_maxVisibleTiles
IsDynamicallyLoading()
At offset 0x91A80
Cannot display affine layer with 4-bit tileset "%s" - must be 8-bit
Bg%u cannot be used in affine mode. Only bg2 and bg3
SpBgLayer.cpp, 122 (m_pTileset->IsStaticallyLoaded()): kScreenResident may not be used with dynamic tilesets
Layer "%s" has illegal submap dimensions (%d x %d) for affine screen-resident. Must be 1x1, 2x2, or 4x4
Layer "%s" has illegal submap dimensions (%d x %d) for text screen-resident. Must be 1x1, 1x2, 2x1, or 2x2
SpBgLayer.cpp
Physical screen
Logical screen
At offset 0x91CA4
SpGeTileset.cpp
matrix refcounts
matrix vram addrs
matrix 256 color flags
matrices to load
matrices to unload
m_numMatricesToLoad <= m_tilesetRef->matrixCount
m_numMatricesToUnload <= m_tilesetRef->matrixCount
At offset 0x91DC0
SpGeLayer.cpp
screen buffer
display list
(dlptr - m_pDL) == m_dlMaxSize
m_dlSize < m_dlMaxSize
SpObjAnim.cpp
frameIndex < pAnim->frameCount
At offset 0x91ED0
SpGeAnim.cpp
frameIndex < anim.frameCount
(dlptr - m_pDL) == m_dlSize
SpScenePalettes.cpp
SpColorPalette.cpp
SpTexConversion.cpp
attempting to build Sp::CollisionLayer from "%s" without a defined typeset
FileManager.cpp, 86 (0): Could not open file %s, RE: %d
FileManager.cpp
FileManager.cpp, 152 (bSuccess): Cannot load File "%s"
FileManager.cpp, 185 (bSuccess): Cannot find File "%s"
FileManager.cpp, 205 (bSuccess): Cannot load File "%s"
FileManager: Unloading "%s"
g_pAsyncMF == NULL
FileManager.cpp, 341 (bSuccess): Cannot find File "%s"
<null>
PurgePreload "%s"
PurgeAllPreload "%s"
<String id not found>
<Localization not found>
No translation.