WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: jensbethge on August 26, 2009, 05:41:28 PM

Title: Wiird Currency
Post by: jensbethge on August 26, 2009, 05:41:28 PM
hello

i have a code for Spiderwicks.

The Code is 93122094 and 93122306 , how can I convert it?

I know 80xxxxxx = 04xxxxxx
and
81xxxxxx is 05xxxxxx

but what is 93xxxxxx ?
thanks for help
jens
Title: Re: Wiird Currency
Post by: matt123337 on August 26, 2009, 06:09:14 PM
Quote from: jensbethge on August 26, 2009, 05:41:28 PM
hello

i have a code for Spiderwicks.

The Code is 93122094 and 93122306 , how can I convert it?

I know 80xxxxxx = 04xxxxxx
and
81xxxxxx is 05xxxxxx

but what is 93xxxxxx ?
thanks for help
jens
try this:

42000000 93000000 //sets ba to 93000000
04122094 yyyyyyyy //32bit ram write
04122306 yyyyyyyy //32-bit ram write
E000000 80008000 //resets ba to 80000000 and resets po to 80000000

yyyyyyyy=money value

tell me if it works.
Title: Re: Wiird Currency
Post by: jensbethge on August 26, 2009, 08:19:37 PM
sorry, it works not  :'(

well, my first POKE Codes:

1000 x Goblin teeth = 9312209A 000003E8
                              93122306 000003E8

Munition slingshot   = 9312215F 000003E8

only POKE Codes not GCT Codes

Thanks for Help
Title: Re: Wiird Currency
Post by: brkirch on August 26, 2009, 08:46:00 PM
Quote from: matt123337 on August 26, 2009, 06:09:14 PMtry this:

42000000 93000000 //sets ba to 93000000
04122094 yyyyyyyy //32bit ram write
04122306 yyyyyyyy //32-bit ram write
E000000 80008000 //resets ba to 80000000 and resets po to 80000000

yyyyyyyy=money value

tell me if it works.
That is almost correct, but the base address is 26-bit aligned so if you are going to change the base address then your code should be this:
42000000 92000000 // sets ba to 92000000
05122094 yyyyyyyy // 32-bit ram write
05122306 yyyyyyyy // 32-bit ram write
E000000 80008000 // resets ba to 80000000 and resets po to 80000000

Or it might just be easier to change the pointer address:
4A000000 93000000 // sets po to 93000000
14122094 yyyyyyyy // 32-bit ram write
14122306 yyyyyyyy // 32-bit ram write
E000000 80008000 // resets ba to 80000000 and resets po to 80000000
Title: Re: Wiird Currency
Post by: Panda On Smack on August 26, 2009, 09:06:56 PM
Hey brkirch

You been hiding?
Title: Re: Wiird Currency
Post by: matt123337 on August 26, 2009, 09:13:02 PM
Quote from: brkirch on August 26, 2009, 08:46:00 PM
Quote from: matt123337 on August 26, 2009, 06:09:14 PMtry this:

42000000 93000000 //sets ba to 93000000
04122094 yyyyyyyy //32bit ram write
04122306 yyyyyyyy //32-bit ram write
E000000 80008000 //resets ba to 80000000 and resets po to 80000000

yyyyyyyy=money value

tell me if it works.
That is almost correct, but the base address is 26-bit aligned so if you are going to change the base address then your code should be this:
42000000 92000000 // sets ba to 92000000
05122094 yyyyyyyy // 32-bit ram write
05122306 yyyyyyyy // 32-bit ram write
E000000 80008000 // resets ba to 80000000 and resets po to 80000000

Or it might just be easier to change the pointer address:
4A000000 93000000 // sets po to 93000000
14122094 yyyyyyyy // 32-bit ram write
14122306 yyyyyyyy // 32-bit ram  write
E000000 80008000 // resets ba to 80000000 and resets po to 80000000
ah right just noticed before I read your post... I had to do that at the library so it was off the top of my head... sorry about that jensbethge my mistake
Title: Re: Wiird Currency
Post by: jensbethge on August 27, 2009, 02:02:24 PM
it works.  :D
thanks