How to make a code that modifies a life bar in a VC game

Started by elmoreas, January 06, 2010, 02:07:39 PM

Previous topic - Next topic

elmoreas

I am trying to no avail, modify the life bar in Operation Wolf (NES USA). There is no direct value to hunt for so I have tried searching for 100 converted to hex while life is full, and then taking a few hits and searching for less than 100 and greater than what I estimate a safe amount below the actual amount of health to be and I do end up with one address each time but when I poke it, nothing happens. I have tried this in both ranges. Is there a way to do this with an unknow value search and if so, how? Also if there is not, what am I doing wrong? I would really like to get this code to work so I can learn how to write my first code and then move on to making infinite mags, grenades, and lives, which have set values so I can search for them directly. I wanted to do the hard one first so I could learn from it and therefore make the others easier to do. Thanks in advance to those to help.

Sincerely,
Elmoreas
"I am new but I am learning"
"I help others not to help myself but just to help others"
"I may need help now but I may be able to help you in the future so rember the Golden Rule"

Panda On Smack

Search for unknown 8 bit values and you will initially get all addresses. Take a hit and search for less than, repeat this until you hopefully find it

GMO

this shouldn't be a problem.  Find a common code like an ammo code (98% of VC codes are close to together) Switch to the Memory View and just watch the values. Count how many hits it takes for you to die. Since your life will be decreasing look for a decreasing value. This will be time consuming but you will get a result, I usually do.

----
thomas83lin seemed to have found the code
http://wiird.l0nk.org/forum/index.php/topic,5024.0.html
And from the looks of it, it was actually very codes to the ammo code.
If you make a habit of watching the Memory View of games you'll see results come faster and faster
http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E

Thomas83Lin

yea the health in that game moved up instead of down when you took ahit, but i noticed it right away when i found the ammo

Romaap

I think you mean the Memory Viewer instead of the dissasembler ;)

GMO

Yeah Memory Viewer, Why I wrote dissembler.. cause I'm sitting in front of IDA feeling my life being sucked out of me

Quote from: thomas83lin on February 02, 2010, 11:58:28 PM
yea the health in that game moved up instead of down when you took a hit, but i noticed it right away when i found the ammo
What was the value you hit when you die? I'll definitely find it useful
http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E

Thomas83Lin

#6
Quote from: GMO on February 03, 2010, 05:59:55 AM
Yeah Memory Viewer, Why I wrote dissembler.. cause I'm sitting in front of IDA feeling my life being sucked out of me

Quote from: thomas83lin on February 02, 2010, 11:58:28 PM
yea the health in that game moved up instead of down when you took a hit, but i noticed it right away when i found the ammo
What was the value you hit when you die? I'll definitely find it useful
Sorry don't remember, I think i wrote the code before my character could even get a chance to die.lol Might have been Somewhere between 0C-0F i think but i dunno exactly

elmoreas

#7
Regardless I thank you for the codes, I gave karma and a thank you to your code post. I am still learning and was tired of being stuck on the same code for 3 weeks. I know that makes me sound like an idiot when you did it in 5 seconds but keep in mind this is my VERY first code, EVER. So I am lucky I got as far as I did. In fact I spent most of the 3 weeks reading how to make the code once I found the address cause I have no experience with that, and I am still 100% sure I do not know how to make a code once I get it working with poke. So I may still need some guidance on whatever game I choose to do next. Maybe someone could reccomend an easy game to start with that has been hacked that has the addresses released so I can go back and forth and see the relationships and learn that way. Then once I get the finding of the addresses down and adjusting them to make codes, then comes the fun part of writing the codes in hex. Which I with all it components which even with the "book of info" I printed off still confuses me, but I am getting there. Anyways don't give up on me and please keep helping me, once I learn something, I am not bragging just telling the truth, I usually get very good at it over a few months to a year. I will turn around and help noobs too once I get the hang of it so, by helping me you are helping the community now and in the future. Thank you so much for the codes and for those that choose to help guide me in my next endevour thank you for your assistance, in advance it is greatly appreciated. Talk to you all later.

Sincerely,
Elmoreas
"I am new but I am learning"
"I help others not to help myself but just to help others"
"I may need help now but I may be able to help you in the future so rember the Golden Rule"

GMO

Your not an idiot. Codes come easy to me because I have a simplistic approach to codes, and my theories of them are usually correct. Don't worry I'll make some guides/FAQs on them.  Basically I have an approach when it comes to hacking WiiWare, VC, Wii, and GCN games.

Trust me there are games i spent weeks even months on like the VC games for Streets of Rage. It took me 2 weeks just to find one code for it because I didnt have any type of approach to it.  I had to think my normal approach isnt working do I need to work with an offset but i'll get into that later.

FDOE [NES] Operation Wolf
Judging by the game and the single screen shot I see on GameFAQs
You need Ammo and Health.

[Inf Ammo] by thomas83lin
 04390870 09090909

Based on what I see there are different types of ammo, the code is an actual combination of all 4
80390870 09 Ammo Box 1
80390871 09 Ammo Box 2
80390872 09 Ammo Box 3
80390873 09 Ammo Box 4

Do you have Lives in the game? How is it displayed? Does it show a number on a screen when you die?

Where does it show you how many people you rescued, if I remember the max is around 5.

Do you have windows? If yes, start a new game pause the game via Gecko OS. Switch to memory view and go to address 80390870 and make a screen shot of the Memory Viewer.

I also see 3 boxes on the right side of the screen. What do those represent? Enemies/Helicopters/Armored Cars
How does the level end? Like if you kill all the enemies does it each or do you reach a certain check point?
Why do I ask? Theory. Let us say Mission 1 requires you to kill 55 Soldiers, why kill 55 when you can mod that number to 1, so you can have a code [Kill 1 Solider to Finish Level] It would probably require a Button Activator, but it would be a sweet code.

How am I going to do this? What will be my approach?
First I need to know a little about the game since health was something different than I thought.
Does it start off telling you how many Soldiers you need to kill or does it start from Zero and the count goes up for each one you kill?

--------

Did some reach on the game about those boxes on the screen
Box 1 - Magazines
Box 2 - Ammo
Box 3 - Grenades
Box 4 - Prisoners Rescued
Box 5 - Enemies Units
Box 6 - Enemy Helicopters / Gunboats
Box 7 - Enemy Armored Cars

For Box 4 you want to always have that at 5 or higher for the Prison Camp and Airport missions

http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E

elmoreas

#9
Thank you so much, not only does that make me feel better but it is VERY HELPFUL. In fact I printed it off and added it to my USB Gecko Reading Material Book, that I read a bit of every night before bed. So far it is about 270ish pages long. Right now I am learning how to convert dec to hex and back again. Even though I have not read it all I am still trying to test theories and try ideas as I learn with Wiird (on vista) on some simple games. So far no luck, but I have learned more from my failures than I would from not trying at all so at least I  have that. Thank you again for the help. I look forward to any more info or guides you post. Please let me know if you post anything as I would very much like to read them and print them off for refrence later. Talk to you all later.

Sincerely,
Elmoreas
"I am new but I am learning"
"I help others not to help myself but just to help others"
"I may need help now but I may be able to help you in the future so rember the Golden Rule"

GMO

http://gamemasterzer0.blogspot.com
For Codes, Guides, & Support Codemasters-Project
USB Gecko Facebook Page - My Wii's 4.1 U | 4.0 E