So I'm trying to make a code for Super Mario Galaxy that saves/loads Mario's position, and it works fine on emulator, but when I try it on Wii it just crashes. The line that causes it is this: 4C000000 80001804, but it seems that any code I use that starts with 4C crashes on Wii. Does anyone know why this is?
Announcement
Collapse
No announcement yet.
Gecko Code Crashes on Wii
Collapse
X
-
I'm still pretty new to hacking Wii games xD Would you happen to know a way to make that not happen? Or am I gonna have to look for a workaround?well that is in the middle of the game ID used by the debugger for geckoLast edited by MutantsAbyss; 08-04-2017, 02:40:38 PM.
Comment
-
safe memory to write to is between 0x80008000 – 0x81300000
any below 0x80008000 is dangerous as its Wii OS goes there
your code 0x80001804 is below 0x80008000 that why crash
As for Dolphin emulator has no OS installed so nothing there
better to use 48 or 4A instead of 4CLast edited by lee4; 08-04-2017, 02:59:13 PM.lee4 Does Not Accept Codes Requests !
When lee4 asks a question it does not mean lee4 will look at your game
*How to create and use SegaCD codes >click here<*
Comment
-
Thank you, but correct me if I'm wrong, doesn't 48 and 4A write a value to the po? I want the value that's stored in the po to be written into memory.Originally posted by lee4 View Postsafe memory to write to is between 0x80008000 – 0x81300000
any below 0x80008000 is dangerous as its Wii OS goes there
your code 0x80001804 is below 0x80008000 that why crash
As for Dolphin emulator has no OS installed so nothing there
better to use 48 or 4A instead of 4C
(Also, I tried 4C000000 800097E0 and it still crashed.)
Comment
-
can you post your code ?
to see if your code have any invaild or misteps commands
so we can help you fix your codelee4 Does Not Accept Codes Requests !
When lee4 asks a question it does not mean lee4 will look at your game
*How to create and use SegaCD codes >click here<*
Comment
-
Ok, here it is (once again, I'm pretty new to this, so it's pretty messy
)
2061D340 00004200
48000000 806B7B40
58010000 0000261C
4C000000 80001804
48000000 806B7B40
58010000 00002620
4C000000 80001808
48000000 806B7B40
58010000 00002624
4C000000 8000180C
2061D341 00004100
48000000 806B7B40
5A010000 0000261C
40000000 80001804
54010000 00000000
48000000 806B7B40
5A010000 00002620
40000000 80001808
54010000 00000000
48000000 806B7B40
5A010000 00002624
40000000 8000180C
54010000 00000000
E0000000 80008000
Comment
-
your code should be like this
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 0000261C
4C000000 80008804
E0000000 80008000
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 00002620
4C000000 80008808
E0000000 80008000
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 00002624
4C000000 8000880C
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 0000261C
40000000 80008804
54010000 00000000
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 00002620
40000000 80008808
54010000 00000000
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 00002624
40000000 8000880C
54010000 00000000
E0000000 80008000
XXXXXXXX = 80008180 (MEM1) or 90009300 (MEM2)Last edited by lee4; 08-04-2017, 04:23:48 PM.lee4 Does Not Accept Codes Requests !
When lee4 asks a question it does not mean lee4 will look at your game
*How to create and use SegaCD codes >click here<*
Comment
-
Thank you for all of your helpOriginally posted by lee4 View Postyour code should be like this
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 0000261C
4C000000 80008804
E0000000 80008000
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 00002620
4C000000 80008808
E0000000 80008000
2061D340 00004200
48000000 806B7B40
DE000000 XXXXXXXX
58010000 00002624
4C000000 8000880C
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 0000261C
40000000 80008804
54010000 00000000
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 00002620
40000000 80008808
54010000 00000000
E0000000 80008000
2061D341 00004100
48000000 806B7B40
DE000000 XXXXXXXX
5A010000 00002624
40000000 8000880C
54010000 00000000
E0000000 80008000
XXXXXXXX = 80008180 (MEM1) or 90009300 (MEM2)
But it still is crashing. I tried writing the po to an address in MEM2 and it didn't crash, so would it make sense that it can only write to values in MEM2?
Comment
-
So I have an update. I looked at Dan Salvato's Super Mario Sunshine save/load code, and used that format to try to create my code. And the same thing happens, and now I'm absolutely clueless xD
Mine
82200000 806B7B40
86000000 0000261C
2061D340 00000600
8A000C01 00000000
E2000001 00000000
2061D341 00000500
8A000C10 00000000
E2000001 00000000
Dan Salvato's
2440e10c 80000000
82200000 8040e10c
80000001 8056dd00
e2000001 00000000
28404454 00000001
8a000c01 00000000
e2000001 00000000
28404455 00000002
8a000c10 00000000
e2000001 00000000Last edited by MutantsAbyss; 08-04-2017, 10:57:21 PM.
Comment
-
So YET another update, I got the code to not crash on console
Howeever, it still doesn't work properly. I think that it correctly stores the values of Mario's position into memory, but it doesn't load them. i.e., I believe that the trouble part of the code comes after the line 80000001 8040E10C. Anyways, here's the full code:
82200000 806B7B40
86000000 0000261C
80000001 8040E10C
2061D340 00000600
8A000C01 00000000
2061D341 00000500
8A000C10 00000000
Comment
Comment