WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: Baka_Kyuubi84 on June 08, 2009, 04:55:00 AM

Title: Help Looking on How to find the value for bars? Health/Bankai
Post by: Baka_Kyuubi84 on June 08, 2009, 04:55:00 AM
Ok the game is Bleach: Shattered Blade (NA) - RBLE8P

I need help in trying to look for the health/bankai/spiritual pressure bars. I was working on the bankai bar. In this game you have to shake the nunchuck to build up the bankai bar. I have done greater than/less than/equal searches in the 80 range. I have it narrowed down to three addresses which stays the same every time I reboot so I know it is not pointer. But every time I try and alter the values nothing happens. When I poke it the value changes in memory viewer, but the bar does not change. I have tried setting a breakpoint but I don't really understand asm all that well. By putting a nop on the addresses near the given address by the breakpoint, the bar will do one of two things, either fill all the way up with "blue"(the color for the bar in game) or fill way past with red. But even though the "bar" changes the value of the bar still remains the same. So I think all I am doing is just changing the amount on screen and not the actual amount. If anyone can help me on this it would be greatly appreciated.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Romaap on June 08, 2009, 08:59:28 AM
It could be that the game writes the value back to the original before it reads it, so if you make a RAM write code it might work.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Baka_Kyuubi84 on June 08, 2009, 10:22:15 AM
Actually when I redid the search in the 90 range I was able to find it, but I wasn't sure on how to write the code. So I just put it together with setting the base address to the 92000000 range then putting my code. I also used button activators so it would not always be on.

It looks like this game has addresses all over the place. It is kinda frustrating because I just got my usb gecko this past friday and I don't really know how to hack Wii yet.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Panda On Smack on June 08, 2009, 10:29:34 AM
Takes time, you'll suss it
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: groudyogre on June 09, 2009, 11:33:38 AM
I'm having the same problem with Guilty Gear's Health bar. The values I find aren't the actual health, just a place holder for the graphic. I can't find the health value anywhere!
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Panda On Smack on June 09, 2009, 01:06:03 PM
The health bar is shrinking but the value could be based on damage taken so you could search for a value that increases

It might be the health bar graphic is in 90 and actual health is in 80. If you can breakpoint the address you might be able to look above and below for other assembler code
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Radical Hacker on July 10, 2009, 07:53:16 PM
when i search for health in transformers: the game for the wii in the 90 range it locks-up. why does that happen?
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Romaap on July 11, 2009, 01:44:21 AM
You need the newest WiiRD, because the last block arn't accessible anymore in the newer Gecko builts.
The newest WiiRD "fixes" this by simply not searching in that area.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: wiifan4life on July 12, 2009, 03:43:52 PM
so this would be the same for any game that as a health bar?
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Panda On Smack on July 12, 2009, 11:41:55 PM
All games are different in how the store/read/write data so you just have to be patient and try lots of approaches
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: wiifan4life on July 14, 2009, 07:12:40 PM
hey i think i know how the bar stuff work. if you have a health bar when it full isn't it like at 100% or something like that so can't you find like the number witch is 100 and if you do find it but as alot of 100s just start a 2 player mode or training mode and get hit by player 2 and see if one of the 100 goes down and then that maybe the number for the health. but like i said it's just a thought.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Romaap on July 14, 2009, 07:17:14 PM
A bar is most likely a Floating point value so it wouldn't be 100.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Panda On Smack on July 15, 2009, 09:49:19 AM
Every game is different, there is no standard
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: hetoan2 on July 15, 2009, 03:00:58 PM
In most cases from what i've seen, unlabeled health bars with no labels generally are Floating Point values for what the maximum value actually is. In the Conduit, the value is 43340000 which is 180 in decimal which is what the value actually is. When dealing with numbers the game usually just uses that. I don't ever think I've seen a bar that uses a non FP, unless the bar has a min/max thing going, like in Pokemon games.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Zetta_X on July 15, 2009, 07:16:14 PM
Yay to floating point  :mad:
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: wiifan4life on July 15, 2009, 07:50:04 PM
i know this is off topic but would a walk through walls code be a floating point too? just asking if i wanted to make one
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: hetoan2 on July 15, 2009, 07:57:28 PM
just do unknown value searches, theres a high chance that it wont go negative so you should be fine.
Title: Re: Help Looking on How to find the value for bars? Health/Bankai
Post by: Baris10 on July 15, 2009, 08:42:07 PM
Changed value when you're touching the wall?