Resident Evil 4 [RB4E08]

Started by tgrokz, May 12, 2009, 12:46:00 AM

Previous topic - Next topic

Andmo25

Sweet your the man. I'll test it later to day (school) and see how it goes

tsuas

Anybody ever figure out if it is possible to make the badguys in Mercenaries spawn more frequently? The only bad thing about Mercenaries was that there'd be stretches where there'd be no badguys at all to kill. With a time freeze code and an unlimited number of bad guys to kill would certainly make for some serious fun. I'd really like to no how long I could last.

Also to dcx2:

The code I gave you was the wrong one. That one only makes the player invincible, not Ashley. I can no longer find that code, but looking on the internet, there seems to be a separate code for Ashley. Found it on arcentral.net, but I haven't tried it yet though.

Ashley is Invincible (Disable Hit Detection (Y.S.)
8GNT-2XNM-VZRMK
XTDR-8J28-GPE11

dcx2

I'll look into it, tsuas.  I sortof had a code that made Ashley invincible...except if she got hit with an explosion.  Then she'd just lay on the ground and the camera would be off-axis.  To fix it, you had to pull out the sniper rifle and shoot her; this would make her stumble and the camera would fix itself when you were out of sniper mode.

---

@Andmo25, you should keep the 127 item code on when you use the "dirty" code I gave you.  Otherwise it will use the "normal" max (i.e. 1 egg, 1 first aid spray).

I'll try to do some more hacking tonight and tomorrow.

Andmo25

Summery in red.

I see what you mean by "dirty"

It works great with every thing except mixed herbs and treasure or I haven't found a way for it to work. For people that don't know about what dcx2 meant by I hope to have a code that will make an item maxed out when you pick it up heres what that means. When you get one item it seems to bring it to its standard max (handgun ammo is 50) but once you get a second one it makes the first one go to 127 while the new one is its max (in this case handgun ammo 50 again.) I can't tell if it works with first aid spray as I can't equip it but I got two, both with this code, used them and both disappeared. It doesn't display the eggs but trust me they're there. I'm sure you knew this but just incase you didn't. I haven't seen it conflict with any other codes. Great code can't wait for it to be polished a little.

Have you seen how long it takes to talk to the merchant yet?

Quick question why can't you have more than 127 items in one slot.

Sorry about the long post.

dcx2

lol, yeah, it's dirtier than I thought.

The problem with maxing out each time you pick up an item is that you'll quickly run out of inventory space by accidentally picking up items.

What I am working toward is a button activated code.  Go into your inventory, highlight the item you want to max out, and maybe press the 1 key to max that item out.  This way, you can continue to collect items without overflowing the inventory, and you can on-demand create a bunch of items where you had only one before.

The reason I chose 127 is because I wasn't sure whether the item count was a signed or unsigned 8-bit value.  I chose 127 to be safe.  I suppose I could try larger values...

And no, I have no idea how long it takes to talk to the merchant...but if he's affected by speed-down, I can imagine.  (now that I think about it, Ashley might be affected, too...)  But I will make the speed-down code button activated too.  Can you think of a good combination?  c+z+a to toggle?

Andmo25

C+Z+A sounds good. Yesterday when playing with the 1/8th speed code I noticed that Ashley was effected (her movements) but she was always right behind me like usual when I went to another room she was back to normal. Besides that I have never seen that happen before and I've played with that code for a while.

Andmo25

I'll test to see what happens after getting 127 for you if you want. I don't know much about making codes except there written in hex I'm sure I could make the limit higher.

Andmo25

Ok while I tested it and I was able to get to 999 max after that it displays 0 (same result with the infinite ammo code.

dcx2

Hm.  I suppose since that one dude had a save with 844 First Aid Sprays, that means that we're at least a signed 16-bit int.  Interesting.

I'll modify the "max item" code to be 999.  But I seriously thought it was using lbz/stb...weird.  Maybe I'm thinking of the ammo in a gun.

Andmo25

#69
While I was able to get all guns tested to 999 (mine thrower, punisher, hand cannon, rifle, TMP, etc.) so did another guy on the web http://wiisave.com/index.php?dlid=3243 (yes I browse that website often)

So I was playing with the code a little more and got 2998 Black Bass Large, 3997 Black Bass, 1 Golden Chicken Egg, 1998 Brown Chicken Eggs, 1998 Chicken Eggs, 998 Red Herbs, 999 Yellow Herbs, 999 Green Herbs, 2997 Incendiary Grenades, 1998 Flash Grenades, and 3996 Hand Grenades. I see what you mean by crowded.

Edit: Forgot to mention I'm only on chapter 1-3.

dcx2

Nice codes Sharkbyte...could you perhaps explain how they work?  The first two, anyway...pretty sure I understand the size modifier.  :)

dcx2

Most invincibility codes are exactly like that one.  As far back as the NES, and as recent as Super Mario Galaxy 2, there are invincibility timers after getting hit.

One trick I use to find them is to pause, then use Gecko.NET's Slow checkbox to set the FPS to about 2-5 so I can get close to getting hit without taking forever, and then uncheck Slow so it goes back to paused.  Step through with the Next Frame button.  After you're into the invincibility frames, you can do an unknown search, then next frame, then diff-by-1 search, next frame, diff-by-1...the timer should be obvious after three or four cycles.

Also, it helps to figure out how long the invincibility window is before-hand.  You can use that to put some upper bounds on the results, so that your first unknown search is actually a less-than.  So, if you're invincible for like two seconds, then search for less than (60 frames/sec * 6 seconds; give yourself some breathing room) = 360...you should probably also include a search condition that's not equal to 0, to cut out a bunch of results.

As far as the walk through walls code...I'll have to follow a breakpoint and see how that works.  I know what you mean by which search results are junk...like certain values, certain memory ranges, etc.

Andmo25

@Sharkbyte does it allow you to go up stairs? If not wouldn't we need this code ported:

The Sky and the Ground ( Up = Execution, Down = Returns, Left = To Ground, Right = To Sky) [ZiT]
2832FB1A FFF70008
82200000 80CCF098
86000000 00200000
84200000 80CCF098
E0000000 80008000
2832FB1A FFFB0004
82200000 80CCF098
86000000 FFE00000
84200000 80CCF098
E0000000 80008000
2832FB1A FFFE0001
00CCF098 000000BD
E0000000 80008000
2832FB1A FFFD0002
00CCF098 0000003D
E0000000 80008000
04081ED8 60000000
0415A06C 60000000
04CCF2CC 00000000

Andmo25

Hey the code does allow you walk up stairs.

Andmo25

yeah sorry about that but still great codes.