roomhilt.blogg.se

Super mario sunshine game file
Super mario sunshine game file











#Super mario sunshine game file code#

This generates code for the MIPS code specified in the InBuffer. The emulator passes InBuffer_size=0x8C00048 and OutBuffer_size=0x2900008. Type3: The emulator passes the 0x8-bytes from InBuffer+0 as the input Struct32, however the plugin doesn't use the Struct32.Generates the code for returning from CodeMemory, which is used by the rest of the generated code. Type2: Struct32 and InBuffer are unused.After the generated code finishes setup, it jumps to x0. Generates the entry code which can be called for running the rest of the code in the CodeMemory. Type1: Struct32 and InBuffer are unused.The u32 for the input Struct32 size is ignored by the plugin. Type4 is only used when executing an emu_pc_addr which was not previously compiled, with a matching emu_pc_addr. Then type3 is used with data loaded from the "PRECMP" file (the passed array data will be empty if the PRECMP file is not available). The u64 for GenerateCode is the type: 1-4 are valid. This does initialization, and copies the input struct to workmem+0x0. Read64/Write64 are implemented the same as *16 above, except this is for 64bit.įirst, Control is used with a 0圎B0-byte struct for the InBuffer, and cmd in_u64=0.0 is returned for Read when the address is unrecognized. Read32/Write32 implements RAM access and all supported non-RAM IO/memory access.Read16WithDestLog/Write16WithDestLog will additionally call the logging func if the address is in the IO region (high byte is 0x04). Read16/Write16 only implements access for RAM.

super mario sunshine game file super mario sunshine game file

Read8/Write8 only implements access for RAM and SP_DMEM/SP_IMEM.The launcher launches each game by using ExecuteProgram with ProgramIndex=, except this calls an additional logging func when accessing RAM. Each game launched from here has a different ProgramIndex, therefore each ProgramId differs: 0x1 (010049900F546001) SuperMario64, 0x2 (010049900F546002) SuperMarioSunshine, 0x3 (010049900F546003) SuperMarioGalaxy. The initial menu is the Stardust launcher, which has the base ProgramId 010049900F546000. This page documents the Super Mario 3D All-Stars (SM3DAS) game.











Super mario sunshine game file