Skip to content

Instantly share code, notes, and snippets.

@PartyPlanner64
Created November 13, 2018 00:45
Show Gist options
  • Save PartyPlanner64/93952bc7e1e403fda023d17ecb74bd2a to your computer and use it in GitHub Desktop.
Save PartyPlanner64/93952bc7e1e403fda023d17ecb74bd2a to your computer and use it in GitHub Desktop.
marioparty.u.singleoverlay.yaml
# ROM splitter configuration file
name: "Mario Party (U)"
# checksums from ROM header offsets 0x10 and 0x14
# used for auto configuration detection
checksum1: 0x2829657E
checksum2: 0xA0621877
# base filename used for outputs (please, no spaces)
basename: "marioparty0x36.u"
# ranges to split the ROM into
# types:
# asm - MIPS assembly block. Symbol names are in 'labels' list below
# bin - raw binary, usually data
# header - ROM header block
# m64 - M64 music sequence bank
# ptr - RAM address or ROM offset pointer
#
# textures types:
# rgba - 32/16 bit RGBA (5-5-5-1/8-8-8-8)
# ia - 16/8/4/1-bit greyscale
# skybox - grid of 32x32 16-bit RGBA
ranges:
# start, end, type, label
- [0x00000000, 0x00000040, "header", "header"]
- [0x00000040, 0x00001000, "bin", "boot"]
- [0x00001000, 0x000B2360, "asm", "main", 0x80000400]
- [0x000B2360, 0x000C2874, "bin", "bin_B2360"] # Some initial stuff
- [0x000C2874, 0x000C3B04, "bin", "bin_C2874"] # Overlay info
- [0x000C3B04, 0x000C93E0, "bin", "bin_C3B04"]
- [0x000C93E0, 0x000CDA50, "bin", "bin_C93E0"]
# just overlay 0x36
- [0xCDA50, 0x2418A0, "bin", "overlays0to54"]
- [0x2418A0, 0x244B50, "asm", "overlay54_main", 0x800F65E0]
- [0x244B50, 0x2455C0, "bin", "overlay54_rodata"]
# overlay54 bss: 0x800FA300 - 0x800FA380
- [0x2455C0, 0x31BFE0, "bin", "overlays55toend"]
# end overlays
# Data before the fs?
- [0x0031BFE0, 0x0031C7E0, "bin", "bin_31BFE0"]
# Main filesystem
- [0x0031C7E0, 0x00FCB860, "bin", "bin_mainfs"]
# Strings table
- [0x00FCB860, 0x00FE2310, "bin", "bin_strings"]
# HVQ filesystem
- [0x00FE2310, 0x015396A0, "bin", "bin_hvq"]
# Audio
- [0x015396A0, 0x01CED490, "bin", "bin_audio"]
# ROM padding
- [0x01CED490, 0x02000000, "bin", "bin_rompad"]
# Labels for functions or data memory addresses
# All label addresses are RAM addresses
# Order does not matter
# A select few taken from
# https://github.com/PartyPlanner64/symbols/blob/master/MarioParty1U.sym
labels:
- [0x800145B0, "ReadMainFS"]
- [0x8001745C, "DMA"]
- [0x80017528, "LoadFormFile"]
- [0x8001758C, "GetRandomByte"]
- [0x800175C0, "LoadOverlay"]
- [0x800177F4, "ReadImgPackand"]
- [0x8001B290, "ParseObjType10"]
- [0x8001C2E8, "FindFormEntry"]
- [0x8001D934, "Convert3DTo2D"]
- [0x8001E00C, "ImgPackrelated"]
- [0x80023C14, "LoadFormBinary"]
- [0x8003B680, "MakePermHeap"]
- [0x8003B6A4, "MallocPerm"]
- [0x8003B6C8, "FreePerm"]
- [0x8003B750, "MakeTempHeap"]
- [0x8003B774, "MallocTemp"]
- [0x8003B798, "FreeTemp"]
- [0x8003C14C, "DirectionPrompt"]
- [0x8004A394, "HVQDecode"]
- [0x8004BDFC, "BoardDefInit"]
- [0x8004C1EC, "GetSpaceData"]
- [0x8004C204, "GetAbsSpaceIndexFromChainSpaceIndex"]
- [0x8004C230, "GetChainLength"]
- [0x8004C24C, "GetChainSpaceIndexFromAbsSpaceIndex"]
- [0x8004C48C, "SetSpaceType"]
- [0x8004C900, "EventTableHydrate"]
- [0x8004C968, "ExecuteEventForSpace"]
- [0x8004CB2C, "SetCurrentSpaceIndex"]
- [0x8004CB34, "GetCurrentSpaceIndex"]
- [0x8004CF44, "SetPlayerBlue"]
- [0x8004CF4C, "SetPlayerRed"]
- [0x8004CF54, "SetPlayerGreen"]
- [0x8004D008, "GetTurnsElapsed"]
- [0x8004D7D8, "SetPlayerOntoChain"]
- [0x8004D844, "SetNextChainAndSpace"]
- [0x8004D930, "CreateTextWindow"]
- [0x8004D9D8, "ShowTextWindow"]
- [0x8004DAD0, "HideTextWindow"]
- [0x8004DE64, "WaitForTextConfirmation"]
- [0x80052A80, "GetCurrentPlayerIndex"]
- [0x80052A8C, "GetPlayerStruct"]
- [0x80052ACC, "PlayerIsCurrent"]
- [0x80052B20, "PlayerIsCPU"]
- [0x80052B48, "AdjustPlayerCoins"]
- [0x80052BB8, "PlayerHasCoins"]
- [0x80056A08, "SetupDKBoard"]
- [0x80058750, "ExecBoardScene"]
- [0x80059798, "IsBoardFeatureDisabled"]
- [0x800597DC, "SetBoardFeatureEnabled"]
- [0x8005982C, "SetBoardFeatureDisabled"]
- [0x80059880, "MakeHeap"]
- [0x800598A0, "Malloc"]
- [0x8005992C, "Free"]
- [0x80059B00, "Ensure16"]
- [0x8005B75C, "StringLen"]
- [0x8005B7E8, "LoadString"]
- [0x8005B838, "FreeString"]
- [0x8005DC28, "InitProcess"]
- [0x8005DD90, "EndProcess"]
- [0x800602AC, "PlaySound"]
- [0x80062088, "ReadFromRom"]
- [0x800622BC, "DrawDebugText"]
- [0x80063550, "SleepProcess"]
- [0x800635B4, "SleepVProcess"]
- [0x8006D7D8, "LoadStringIntoWindow"]
- [0x8006E070, "SetTextCharsPerFrame"]
- [0x8007F54C, "HVQDecodeInner"]
- [0x8008C040, "bcopy"]
- [0x8008C360, "bzero"]
- [0x8008C400, "strchr"]
- [0x8008C45C, "memcpy"]
- [0x8008C438, "strlen"]
- [0x8008C490, "sprintf"]
- [0x8008C520, "rmonPrintf"]
- [0x8008C534, "osSyncPrintf"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment