Dolphin, the GameCube and Wii emulator - Forums
Action Replay help please! - Printable Version

+- Dolphin, the GameCube and Wii emulator - Forums (https://forums.dolphin-emu.org)
+-- Forum: Dolphin Emulator Discussion and Support (https://forums.dolphin-emu.org/Forum-dolphin-emulator-discussion-and-support)
+--- Forum: Support (https://forums.dolphin-emu.org/Forum-support)
+--- Thread: Action Replay help please! (/Thread-action-replay-help-please)

Pages: 1 2


Action Replay help please! - Samari45 - 03-01-2010

Does action replay work on Dolphin? Because I can't seem to get it to work.
I'm playing Paper Mario: The Thousand Year Door and every time I enter
the master code it changes it to this:
7FFFFFFF 0000FF01
The real master code is this:
C402F268 0000FF00
It does not do this to any other code. Anybody got a solution?


RE: Action Replay help please! - James333 - 03-01-2010

Dolphin does not need the mastercode to work


RE: Action Replay help please! - Samari45 - 03-01-2010

Thanks I did not know that. I'm still pretty new to this


RE: Action Replay help please! - James333 - 03-01-2010

(03-01-2010, 09:11 AM)Samari45 Wrote: Thanks I did not know that. I'm still pretty new to this
Anyway It tells you that the mastercodes doesn't work Tongue


RE: Action Replay help please! - Samari45 - 03-01-2010

Is there anyway to stop it from changing codes from
xxxx-yyyy-zzzz format to
xxxxxxxx-yyyyyyyy format? Because every time i enter a code it does it automatically. Then it says Zero3 code is not supported.


RE: Action Replay help please! - James333 - 03-01-2010

dolphin only works with xxxxxxxx - yyyyyyyy format , If you give it other format dolphin will change it automatically


RE: Action Replay help please! - omegadox - 03-01-2010

There is a chance the code will fail, since the AR is prolly still buggy Tongue
The Gamecube AR format is: XXXXXXXX YYYYYYYY
X = Address with command code
Y = Value
but Zero codes are special cases Tongue
00000000 YYYYYYYY = Zero Code


RE: Action Replay help please! - James333 - 03-01-2010

0x00000000 in the memmap is used for what , the game id ?


RE: Action Replay help please! - omegadox - 03-01-2010

I don't know, why check the source file Memmap.cpp Tongue


RE: Action Replay help please! - James333 - 03-01-2010

(03-01-2010, 11:52 AM)omegadox Wrote: I don't know, why check the source file Memmap.cpp Tongue
Or /Source/Core/Core/Src/Boot/Boot_BS2Emu.cpp line 235

Code:
DVDInterface::DVDRead(0x00000000, 0x00000000, 10); // Game Code
        Memory::Write_U32(0x5d1c9ea3, 0x00000018);              // Magic word it is a wii disc
        Memory::Write_U32(0x0D15EA5E, 0x00000020);              // Another magic word
        Memory::Write_U32(0x00000001, 0x00000024);              // Unknown
        Memory::Write_U32(0x01800000, 0x00000028);              // MEM1 size 24MB
        Memory::Write_U32(0x00000023, 0x0000002c);              // Production Board Model
        Memory::Write_U32(0x00000000, 0x00000030);              // Init
        Memory::Write_U32(0x817FEC60, 0x00000034);              // Init
        // 38, 3C should get start, size of FST through apploader
        Memory::Write_U32(0x38a00040, 0x00000060);              // Exception init
        Memory::Write_U32(0x8008f7b8, 0x000000e4);              // Thread Init
        Memory::Write_U32(0x01800000, 0x000000f0);              // "Simulated memory size" (debug mode?)
        Memory::Write_U32(0x8179b500, 0x000000f4);              // __start
        Memory::Write_U32(0x0e7be2c0, 0x000000f8);              // Bus speed
        Memory::Write_U32(0x2B73A840, 0x000000fc);              // CPU speed
        Memory::Write_U16(0x0000,     0x000030e6);              // Console type
        Memory::Write_U32(0x00000000, 0x000030c0);              // EXI
        Memory::Write_U32(0x00000000, 0x000030c4);              // EXI
        Memory::Write_U32(0x00000000, 0x000030dc);              // Time
        Memory::Write_U32(0x00000000, 0x000030d8);              // Time
        Memory::Write_U32(0x00000000, 0x000030f0);              // Apploader
        Memory::Write_U32(0x01800000, 0x00003100);              // BAT
        Memory::Write_U32(0x01800000, 0x00003104);              // BAT
        Memory::Write_U32(0x00000000, 0x0000310c);              // Init
        Memory::Write_U32(0x8179d500, 0x00003110);              // Init
        Memory::Write_U32(0x04000000, 0x00003118);              // Unknown
        Memory::Write_U32(0x04000000, 0x0000311c);              // BAT
        Memory::Write_U32(0x93400000, 0x00003120);              // BAT
        Memory::Write_U32(0x90000800, 0x00003124);              // Init - MEM2 low
        Memory::Write_U32(0x93ae0000, 0x00003128);              // Init - MEM2 high
        Memory::Write_U32(0x93ae0000, 0x00003130);              // IOS MEM2 low
        Memory::Write_U32(0x93b00000, 0x00003134);              // IOS MEM2 high
        Memory::Write_U32(0x00000011, 0x00003138);              // Console type
        // 40 is copied from 88 after running apploader
        Memory::Write_U32(0x00062507, 0x00003144);              // IOS date in USA format
        Memory::Write_U16(0x0113,     0x0000315e);              // Apploader
        Memory::Write_U32(0x0000FF16, 0x00003158);              // DDR ram vendor code
        Memory::Write_U32(0x00000000, 0x00003160);              // Init semaphore (sysmenu waits for this to clear)

        Memory::Write_U8(0x80, 0x0000315c);                             // OSInit
        Memory::Write_U16(0x0000, 0x000030e0);                  // PADInit
        Memory::Write_U32(0x80000000, 0x00003184);              // GameID Address

or http://wiibrew.org/wiki/Memory_Map