WiiRd Community
July 30, 2010, 05:18:07 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: 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 Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Help With "Bar" Health Code [resolved]  (Read 297 times)
J
Newbie
*

Karma: 0
Posts: 4


View Profile
« on: March 08, 2010, 04:41:27 am »

So I'm new to the USB Gecko and I want to create an "infinite" health code for a game. So far, when searching in 32bit, I am left with these addresses (for one game level) :

80BA790C  C2891EB8 *
80BA792C  428A3D70
80BA7940  C2891EB8 *
80BA7B2C  C2891EB8
80BA7B4C  428A3D70 *
80BA7B60  C2891EB8

* - it seems that these addresses are for the display of the health bar. (i may be wrong about the specific addresses for the bar display). health bar is green. when health is lost, the green bar is decreased with each hit and you see a red bar behind it. if no further health is lost, the red bar decreases and displays the same amount as the green one and red will no longer be visible until further damage is taken. (i hope you get the picture lol)
- and it seems one address is for the size of the health bars. i played around with said address and the bar became longer.


Its been about 11 hours over the course of 2 days. I can't find the address for the health. Its not in MEM2 because I searched there and found nothing. I suspect that its all 3 of the other addresses. I feel like a failure. Sad So. This is where "help" comes in. (i hope) xD
« Last Edit: March 09, 2010, 07:26:00 pm by J » Logged
GMO
Independent Prick
Hacker
Full Member
*****

Karma: 29
Posts: 159

Mauau


View Profile WWW
« Reply #1 on: March 08, 2010, 05:45:23 am »

This might be able to steer you into the right direction
http://www.mediafire.com/?myzy2hjzmmf (Work-In Progress; Adding more examples to it)

This will give you the basic concept to help with your search

Using this I was able to make Health codes for
  • Art of Fighting
  • Art of Fighting 2
    • Fatal Fury
    • Fatal Fury 2
      • Fatal Fury Special
      • Street Fighter Alpha 2
        • Clay Fighter
        • Eternal Champions
          • Doc Louis's Punch-Out!!
          • Legend of Zelda 64
            • Legend of Zelda 64 Master Quest (Inject)
            • King of Fighters '94
              • King of Monsters
              • Wonder Boy
                • Altered Beast
                • Teenage Mutant Ninja Turtles

« Last Edit: March 08, 2010, 05:53:12 am by GMO » Logged

Not all USB Gecko Codes are compatible with Code Manger
For Un-Biases Codes, Guides, & Support Codemasters-Project
J
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #2 on: March 08, 2010, 06:28:59 am »

your tutorial looks great and whatnot but the thing with the game that i wanna create the code for is that the game doesn't use the same address for health in every level. i know pointers will be involved in the code i wanna create but i just don't know what to do with the 6 addresses that i posted in 1st post. i don't know how to make progress from that. Undecided
Logged
wiiztec
Lazy hacking machine
Hacker
Hero Member
*****

Karma: 19
Posts: 500

TimmyKitty7124
View Profile WWW
« Reply #3 on: March 08, 2010, 06:35:52 am »

Maybe you should search in mem2 again this time under the assumption that health is not health but rather damage taken, like you search greater than when the health goes down

also you might want to use ASM instead of pointers often you can just nop the asm instruction that writes to the address and have an easier time making a shorter code
« Last Edit: March 08, 2010, 06:38:09 am by wiiztec » Logged

If there's any code at all that you want to be button activated, or even able to toggle on & off, and I have the game, just PM me and I'll make it happen
GMO
Independent Prick
Hacker
Full Member
*****

Karma: 29
Posts: 159

Mauau


View Profile WWW
« Reply #4 on: March 08, 2010, 03:27:27 pm »

What game are you trying to make a health code for?
Logged

Not all USB Gecko Codes are compatible with Code Manger
For Un-Biases Codes, Guides, & Support Codemasters-Project
dcx2
Computer Engineer
Moderator
Hero Member
*****

Karma: 57
Posts: 942


View Profile WWW
« Reply #5 on: March 08, 2010, 04:11:01 pm »

J - use poking to make sure that you're setting the real health value.  I would shoot for the green bar first.  Take a lot of damage, til you have like 1/4 of your health left.  Poke the health value back to full.  Now take 3/4 damage again.  If you die, then you weren't touching the real health.

Once you know you have the right health address, set a write breakpoint on it and find the instruction that's writing the new health value in.  Change the stw or stfs or sth or whatever to a nop.
Logged

J
Newbie
*

Karma: 0
Posts: 4


View Profile
« Reply #6 on: March 09, 2010, 07:24:23 pm »

thank you wiiztec and dcx2 for your suggestions.
problem solved :]
just needed to search MEM2 again.

anyways, thanks to those of you who tried to help. this is a great forum. i'm still new and learning with the USB Gecko but i hope i eventually learn what i need to do to create the codes.

thanks again! Azn
Logged
schooluser
Newbie
*

Karma: 1
Posts: 20


View Profile
« Reply #7 on: March 10, 2010, 05:12:54 am »

I think the information in this thread should be stickied because it just explained more to me about health bars in text that I can go back and read over again while I'm doing it, and now it seems like something I can do pretty easily. Kudos to everyone for helping with this one!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!