Codes
WiiRd forum
August 07, 2022, 06:36:56 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome on the new server

Update 4.3 - do NOT update!
Gecko 1.9.3.1
Should I get a USB Gecko, I wanna hack?
How do I use my USB Gecko
Where can I get WiiRd?
 
   Home   CODE DATABASE GAMEHACKING Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Please terminate codes changing the base or pointer address!  (Read 5966 times)
Link
that dev there
Moderator
Hero Member
*****

Karma: 76
Posts: 1257

I hate everyone in this community. Except for you!


WWW
« on: August 20, 2008, 03:51:59 PM »

Unfortunately what I saw many hackers also created codes incompatible with each other. Several hackers expect the base and pointer address to be 80000000 (which is the way WiiRd normally behaves) - then some other code changes these addresses (which is perfectly fine) but they do not change it back to 8000000. I would HIGHLY recommend anyone who changes the base address or works with pointers to reset your codes:

Add E0000000 80008000 to the end of your code - if you hack a game alone and you do not want to use terminators.. no problem for me, just MAKE sure all other codes set the base address or pointer address correctly and never expect them to be 80000000.

If people add them to their lists they might malfunction!

Okay, I'll get you an example.. user X makes a code list for Smash Brothers NTSC. Now he looks up neat codes on the code section.. and what does he find?

Unlock all Characters [eric]
42000000 90000000
0417B640 FFFFFFFF
0417B644 FFFFFFFF

Awesome code, let's add it to the list!

And what do we also have:

Infinite Coin Launcher Coins [James0x57]
04103D14 38602710

Woohoo!

Okay, and if you make the code list in that order the game might go BANG. Why? The code handler will receive the following list:
1. 42000000 90000000
2. 0417B640 FFFFFFFF
3. 0417B644 FFFFFFFF
4. 04103D14 38602710

So what will it do:
1. Set ba to 90000000
2. Set ba+17B640=9017B640 to FFFFFFFF
3. Set ba+17B644=9017B644 to FFFFFFFF
4. Set ba+103D14=90103D14 to 38602710

Oops.. that shouldn't happen.. if the order is different.. the result is different..

1. 04103D14 38602710
2. 42000000 90000000
3. 0417B640 FFFFFFFF
4. 0417B644 FFFFFFFF

So what will it do:
1. Set ba+103D14=80103D14 to 38602710 (if ba isn't set it is assumed 80000000 by default)
2. Set ba to 90000000
3. Set ba+17B640=9017B640 to FFFFFFFF
4. Set ba+17B644=9017B644 to FFFFFFFF

Now this is correct.. so to avoid these issues.. either all codes using standard data would have to start with 42000000 80000000 respectively 4A000000 80000000 or even a terminator E0000000 80008000. Is this a nice solution?

I do not think so: Please. if you change pointers in your codes.. please reset them.. so in that case I'd ask eric to add E0000000 80008000 to the end of the unlocker codes! This is no offense, there are many codes like that, I just picked eric's now! If you add the termination line:

1. 42000000 90000000
2. 0417B640 FFFFFFFF
3. 0417B644 FFFFFFFF
4. E0000000 80008000
5. 04103D14 38602710

So what will it do:
1. Set ba to 90000000
2. Set ba+17B640=9017B640 to FFFFFFFF
3. Set ba+17B644=9017B644 to FFFFFFFF
4. Set ba and po to 80000000
5. Set ba+103D14=80103D14 to 38602710

Great.. the codes are both working and their order is not important. I can imagine that this is a reason for crashes people are experiencing!

Thank you!
Logged

Panda On Smack
Hacker
Hero Member
*****

Karma: 39
Posts: 606


« Reply #1 on: August 20, 2008, 05:10:56 PM »

Should i update mine here?

http://www.usbgecko.com/forums/showthread.php?t=538
Logged
brkirch
Hacker
Sr. Member
*****

Karma: 53
Posts: 395


« Reply #2 on: August 20, 2008, 05:50:44 PM »

Quote from: Panda On Smack;6172

You didn't change the base address or pointer address so the codes don't need a termination line.  If you don't have any lines in your code that start with 40,41,42,43,46,48,49,4A,4B,4E,50,51,52,53,58,59,5A or 5B then a termination line is not needed.
Logged

eric
Hacker
Newbie
*****

Karma: 10
Posts: 6


« Reply #3 on: August 26, 2008, 11:41:22 AM »

Sorry Link, my bad. I attempted to edit the codes on the database but am having login troubles at the moment. I don't have much time these days due to work constraints so I've asked James to edit the codes when possible.

Good to see the scene is still cruizin. Wink
Logged
Link
that dev there
Moderator
Hero Member
*****

Karma: 76
Posts: 1257

I hate everyone in this community. Except for you!


WWW
« Reply #4 on: August 26, 2008, 12:33:38 PM »

as mentioned.. no offense or so, I just used your codes as examples.. there are many other codes there in the wild ^^
Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!