need help shortening or a different way.

Started by The D3mon, November 01, 2011, 02:59:44 PM

Previous topic - Next topic

The D3mon

I would like to make this shorter. or a better way as in putting on/of on it. This way works but is ugly without the ability to turn it on or off game freezes when exiting level.

288E49D8 00000200
48000000 80B24E50
DE000000 80008180
58010000 0000024C
14000004 41A00000
04BDF8E4 3611D4C3
CC000000 C0000001
48000000 80B24E50
DE000000 80008180
58010000 0000024C
14000004 41A00000
04BDF8E4 3611D4C3
E0000000 80008000

Bully@Wiiplaza

48000000 80B24E50
DE000000 80008180
58010000 0000024C
288E49D8 00000200
14000004 41A00000
04BDF8E4 3611D4C3

CC000000 00000000
14000004 41A00000
04BDF8E4 3611D4C3

E0000000 80008000
it´s the frickin´ same value twice!
What did you think while creating this code?
Also, your CC switch was weird...
My Wii hacking site...
http://bullywiihacks.com/

My youtube account with a lot of hacking videos...
http://www.youtube.com/user/BullyWiiPlaza

~Bully

The D3mon

wasn't really thinking bully lol never really worked with pointers and usually use simple asm thought i'd try pointers. Making on/of with asm is easier to switch on and off.  Thanks now I see how it works annd looks alot nicer.

dcx2

The last digit of the CC code will change whether it defaults to on or off.

You should also DE again after 5801.  Any time you do a "po = [xyz]" type code, you should follow up with DE.  I'm going to assume this second pointer is also a MEM1 pointer.

What's with the 04 write?  You don't even touch the ba.  Is it patching assembly?  I'm going to assume it's a data write; if it's an assembly patch then "turning it off" is different.

I think I understand what you mean by "turn off".  You want to stop writing to those addresses.  Therefore, building on Bully's example

48000000 80B24E50
DE000000 80008180
58010000 0000024C
DE000000 80008180
288E49D8 00000200
CC000000 00000000
14000004 41A00000
04BDF8E4 3611D4C3
E0000000 80008000

If the switch is off, then the 14 and 04 write won't happen ("turned off").  If the switch is on, then they happen.

The D3mon

not on my computer with what I have goin on. It is a switch to turn inf health on and off . It freezes game when exiting level and starts loading next. I don't remember where the 04 came from but when I get a chance I will edit and post original pointer in pointer search results. That 04 might be the reason for the freeze.

dcx2

It probably freezes because you didn't use a DE check on the po after loading it with the 5801 code.

The D3mon

that is part of it the 04 code don't know where it came from it was a bad copy and bad I did. LOL But I have a better understanding of pointers now.