Resident Evil 4 [RB4E08]

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

Previous topic - Next topic

windfall

Quote from: Sharkbyte on December 24, 2010, 04:53:44 PM
I don't know why you want to add button activators. The Activation is in dcx2's assembly.
A button activator for a C2 codetype would make it so it is activated the whole game, unless you change it and add some more lines or a CC codetype to turn it off.
I kind of like speed running games, already did one for RE4, went for a little over 2 hours. I was bored so thought of using hacks (walk through walls + speed) to finish the game under a hour. When using run 2x faster Ashley stays behind, making me have to wait for her, which kind of sucks. There are some glitches that won't work when I reload my saved game, so I have to go single segment. I think that pretty much explains it, I wanted a way to control when to run 2x faster and when to walk through walls.

Quote from: dcx2 on December 24, 2010, 05:25:45 PMThis does not use the Ditman glitch (that's where you switch guns from Stryker after starting aiming?).
Thats how you activate ditman, then when you hold Z you will do things 2x faster (shooting, running...), so I assumed that code was to activate ditman.

Quote from: dcx2 on December 24, 2010, 05:25:45 PMChanging the 718C2000 to 718C2800 should make it so you need Z and A to run 2x.
Managed to change the 2000 without the game crashing this time, even when Its 2800 "Z" is the activator.

Thanks for the explanation guys

dcx2

Oops, my bad.  I didn't think through all the way.  I think this is the code you want.  I should see if there's an equivalent way to speed up Ashley, too.  Or remove the requirement for her to be near you before going through the door.

Leon runs 2x faster (Z and A) [dcx2]
C211CF3C 00000006
3D808032 618CFF1A
A18C0000 718C2800
2C0C2800 4082000C
3D804000 48000008
3D803F80 919F0298
80030044 00000000


I didn't even consider this at the time, but andi. lets you press other buttons while activating.  However, it will work if you press ANY button listed; you probably also run when you press A.

cmpwi is usually used to enforce multiple buttons.  But cmpwi will fail if you press more than just buttons specified.

In this case, we need both...we want to require both Z and A, but we want the player to be able to press other things and keep running while Z and A are pressed.  Notice also that the branch has now changed direction, from beq to bne, because the comparison changed from the andi. to cmpwi

lis r12,0x8032         # r12 = controller pointer
ori r12,r12,0xFF1A
lhz r12,0(r12)
andi. r12,r12,0x2800
cmpwi r12,0x2800      # z = 0x2000
bne- NORMAL_SPEED   # if no z, don't change speed
lis r12,0x4000
b WRITE_SPEED
NORMAL_SPEED:
lis r12,0x3F80
WRITE_SPEED:
stw r12,664(r31)
lwz r0,68(r3)

windfall

#122
Worked perfectly, thanks  ;D
Quote from: dcx2 on December 24, 2010, 07:10:45 PMOops, my bad.  I didn't think through all the way.  I think this is the code you want.  I should see if there's an equivalent way to speed up Ashley, too.
Actually, that code seems to speed up actually too, but for some reason the distance gap between Ashley and Leon also increases. If you run then turn back while holding Z you will notice Ashley running faster.

Quote from: dcx2 on December 24, 2010, 07:10:45 PMOr remove the requirement for her to be near you before going through the door.
Now, that would be awesome.

EDIT: For removing the requirement, thats actually one of the glitches that I found out, doesn't work everywhere. You know that disc 2 part where there is a locked room with Ashley inside? If you walk through the walls and enter that room, you will skip to the next chapter, if you don't reload your save Ashley will still be asking for leon's help and you will be able to go to the next room without the requirement. If you reload your save Ashley will be stuck and I don't think you will be able to continue your game.
That glitch let you skip the process of having to get the key to open the door and having to get ashley to the next room, which can be a little annoying as there are enemies on the way.

Th3Cluless0ne

Can someone port the "Activate Bullet Time" code from the GCN version, and if anyone got this glitch when fighting Salazar I will know I'm not alone on this, after shooting the eye, the clam-like shell is supposed to open, but it doesn't open. :confused:

windfall

You know you gotta hit the tentacle things right?

Th3Cluless0ne

Tried that :mad:, probably a conflict of codes.

patz

Anyone has an infinite health code for Ada in Separate Way game?

Andmo25

I think the infinite health code for leon should work for Ada also.

Monolith82

i been playing with the player mod in story, i play as ada. just wondering if there's any change costume codes anywhere?
thanks

Deathwolf

dcx2 you should make "THAT" funny modifier lol. I think u know what I mean xD I've done one for PAL but I forgot the pointers.... Value for it is 3F800000.
lolz

Frezzere

#130
Chicken Are All GanadoDog [YCAT21]
057F38B0 077CFE78
057F38B4 001CE7A0

Chicken Are All Arms dealer [YCAT21]
057F38B0 06B4B8B0
057F38B4 000B6380

These both are ntsc-J and work in the ntsc-U the second code makes chickens into the merchant but he only sells Attache case XL
is there a code to make the merchant sell everything?

*EDIT*8/31/11

Krauser Can Always Use Slash Attack [Yamishira]
0462731C 38000000
*Mercs Only*

The above code is pal also works on Us version and in story mode when used with the play mod code

This other code makes your primary weapon turn into something else

Handgun - Chicago Typewriter [YCAT21]
047542CC 00000034
047542D4 633603E7
047542D8 06020001

Weapon mod Plus+B+Z Wimote+Nunchuck [YCAT21]
2832FF1A 00002410
047542CC 000000XX
047542D4 633603E7
047542D8 06020001
E0000000 80008000

Both codes above are the same I added a button activator for it and changed the name if that's ok
I couldn't find any list of values so i checked every Value from 00 to FF
The code changes a handgun into your desired item while in mercs will change
everyones starting weapon like hunks tmp into something else.
Here are the values

XX values
0 Magnum ammo 1
1 Grenade
2 Incendiary grenade
3 Matilda
4 Handgun ammo 1
5 First aid spray
6 Green herb
7 Rifle ammo 1
8 Chicken egg
9 Brown chicken egg
A Gold chicken egg
C Plaga sample
E Flash grenade
10 Ada's Bowgun(can only be used when shes wearing a red dress)
11 Bowgun Bolts for use with ada's bowgun
12 Green herb x2
13 Green herb x3
14 Mixed herbs G+R
15 Mixed herbs G+R+Y
16 Mixed herbs G+Y
17 Rocket Launcher(Special)
18 Shotgun Shells 1
19 Red herb
1A Handcannon ammo
1C Yellow herb
20 Tmp Ammo
21 Punisher (shoots through 5 enemies)
22 Punisher w/Silencer
23 Handgun
25 Red9
27 Blacktail
29 Broken Butterfly
2A Killer7
2C Shotgun
2D Striker
2E Rifle (may not show up activate code while in wepons menu and equip the weapon with 999 ammo)
2F Rifle Semi-Auto
30 TMP
34 Chicago Typewriter
35 Rocket Launcher
36 Mine Thrower
37 Handcannon
38 Combat Knife(Freezes for anyone but leon and cant really be used)
3E Custom TMP
3F Silencer (Handgun)
40 Punisher(shoot through 2 enemies)
41 P.R.L 412
42 Stock (Red9)
43 Stock (TMP)
44 Scope (Rifle)
45 Scope (Semi-auto rifle)
46 Mine-Darts
47 Ada's Shotgun
52 Krauser's Bow
53 Ada's Chicago Typewriter (Can only be used correctly while she is wearing story mode dress)
6A Chicago Typewriter Ammo
6D Infinite Launcher
72 Arrows(for Krauser's Bow)
94 Riot Gun
95 Black Bass
97 Black Bass (L)(sometimes doesn't show up use when in the menu it replaces the handgun)
A8 Mixed Herbs (R+Y)
AA Scope (mine Thrower)
C5 Infraed scope(Freezes for anyone but leon)

If i didn't mention any values it means that has nothing or nothing but still changes your ammo to 999

Credit to Codyk and wiiztec because i got the button activator from their player mod code i just changed the activators

It seems you cannot use krauser's bow because i can't add the bow and arrows at the same time the same goes for ada and her bowgun if someone could edit the code to spawn it in the case or the case where you discard an item then everything should be fine

Edit*9/5/11
To use krasuer's  bow in story mode first use the code to have the bow then equip it then equip any other weapon because krasuer only has values to use his bow anything else will make him do a T-Shaped Stance but his bow will still work like normal the any other weapon
can be anything but i recommend using something infinite like maxed handcannon infinite launcher or Chicago typewriter also works
for ada if you want to use her bowgun in mercenaries.

Frezzere

#131
I went through the nothing values and found out they were key Items these go straight to your key item slot when the code is
activated this can be used to skip bothersome parts to use more than one at a time use multiple button activators

XX Key Item values
B aaa(some kind of pill maybe the ones luis gave leon)
D Krauser's Knife(not usable)
F Salazar Familiy insignia(Key Item)
1B Hourglass w/Gold decor(Key Item Ada Mode)
1D Stone Tablet(Key Item)
1E Lion Ornament (Key Item)
1F Goat ornament (Key Item)
24 Handgun W/Silencer (used by wesker in mercs)
26 Red9 W/Stock
28 Blacktail W/silencer (but is really a P.R.L 412 thats alittle werid)
2B Killer7 w/Silencer(Unusable)
31 Activation key blue (Key Item)
32 Tmp W/Stock
33 Activation key Red (Key Item)
39 Serpent Ornament (Key Item)
3A MoonStone (Right half) (Key Item)
3B Insignia Key (Key Item)
3C Round Insignia (Key Item)
3D False Eye (Key Item)
48 Capture Luis sera(File)
49 Target Practice(File)
4A Luis' Memo(File)
4B Castellan Memo(File)
4C Female Intruder(File)
4D Butler's Memo(File)
4E Sample Retrieved(File)
4F Ritual Preparation(File)
50 Luis memo 2(File)
51 Rifle (semi-Auto) W/Infraed Scope
54 Treasure map Castle
55 Treasure map (Island)
56 Velvet Blue
57 Spinel
58 Pearl Pendant
59 Brass Pocket Watch
5A Elegant Headdress
5B Antique Pipe
5C Gold bangle W/Pearls
5D Amber Ring
5E Beerstein
5F Green Catseye (Leons Mode)
60 Red Catseye
61 Yellow Catseye
62 Beerstein W/(G)
63 Beerstein W/(R)
64 Beerstein W/(Y)
65 Beerstein W/(G,R)
66 Beerstein W/(G,Y)
67 Beerstein W/(R,Y)
68 Beerstein W/(G,R,Y)
69 Moonstone (Left half)
6B Rifle+Scope
6C Rifle (semi-Auto) W/Scope
6E King's Grail (Key Item)
6F Queen's Grail (Key Item)
70 Staff of Royalty
71 Gold Bars (Money)
73 Bonus Time (For use in mercs but doesnt work)
74 Emergency Lock Card Key (Key Item)
75 Bonus Points
76 Green Catseye(Ada mode)
77 Ruby
78 Treasure Box (S)
79 Treasure Box (L)
7A Blue Moonstone (Key Item)
7B Key to the Mine (Key Item)
7C Attache Case S
7D Attache Case M
7E Attache Case L
7F Attache Case XL
80 Golden Sword (Key Item)
81 Iron Key (Key Item)
82 Stone of Sacrifice (Key Item)
83 Storage Room Card Key (Key Item)
84 Freezer Card Key (Key Item)
85 Piece of the Holy Beast,Panther (Key Item)
86 Piece of the Holy Beast,Serpent (Key Item)
87 Piece of the Holy Beast,Eagle (Key Item)
88 Jet-ski Key (Key Item)
89 Dirty Pearl Pendant
8A Dirty Brass Pocket Watch
8B Old Key (Key Item)
8C Camp Key (Key Item)
8D Dynamite (Key Item)
8E Lift Activation Key (Key Item)
8F Gold Bangle
90 Elegant Perfume Bottle
91 Mirror W/Pearls & Rubies
92 Waste Disposal Card Key (Key Item)
93 Elegant Chessboard
96 Hourglass W/Gold Decor(Key Item) (Leon mode)
98 Illuminados Pendant
99 Rifle W/Infraed Scope
9A Crown
9B Crown Jewel
9C Royal Insignia
9D Crown With Jewels
9E Crown With an insignia
9F Salazar Family Crown
A0 Rifle Ammo (InFrared)
A1 Emerald
A2 Bottle Caps
A3 Gallery Key(Key Item)
A4 Emblem (Right half)
A5 Emblem (Left half)
A6 Hexagonal Emblem (Key Item)
A7 Castle Gate Key (Key Item)
A9 Treasure Map Village
AB Mine Thrower+Scope
AC Playing Manual 1(File)
AD Info on Ashley(File)
AE Playing Manual 2(File)
AF Alert Order(File)
B0 About the blue Medallions(File)
B1 Cheifs Note(File)
B2 Closure of the church(File)
B3 Anonymous Letter(File)
B4 Playing Manual 3(File)
B5 Sera and the 3rd Party(File)
B6 Two Routes(File)
B7 Village's Last Defence(File)
B8 Butterfly Lamp
B9 Green Eye
BA Red Eye
BB Blue Eye
BC Butterfly Lamp W/(G)
BD Butterfly Lamp W/(R)
BE Butterfly Lamp W/(B)
BF Butterfly Lamp W/(G,R)
C0 Butterfly Lamp W/(G,B)
C1 Butterfly Lamp W/(R,B)
C2 Butterfly Lamp W/(R,G,B)
C3 Prison Key (Key Item)
C4 Platinum Sword (Key Item)
C6 Elegant Mask
C7 Green Gem
C8 Red Gem
C9 Purple Gem
CA Elegant Mask W/(G)
CB Elegant Mask W/(R)
CC Elegant Mask W/(P)
CD Elegant Mask W/(G,R)
CE Elegant Mask W/(G,P)
CF Elegant Mask W/(R,P)
D0 Elegant Mask W/(R,G,P)
D1 Gold Lynx
D2 Green Stone of Judgement
D3 Red Stone of Faith
D4 Blue Stone of Treason
D5 Gold Lynx W/(G)
D6 Gold Lynx W/(R)
D7 Gold Lynx W/(B)
D8 Gold Lynx W/(G,R)
D9 Gold Lynx W/(G,B)
DA Gold Lynx W/(R,B)
DB Gold Lynx W/(G,R,B)
DC Leon W/Rocket Launcher(Bottle cap)
DD Leon W/Shotgun(Bottle cap)
DE Leon W/Handgun(Bottle cap)
DF Ashley Graham(Bottle cap)
E0 Luis Sera(Bottle cap)
E1 Don Jose(Bottle cap)
E2 Don Deiego(Bottle cap)
E3 Don Esteban(Bottle cap)
E4 Don Manuel(Bottle cap)
E5 Dr. Salvador(Bottle cap)
E6 Merchant(Bottle cap)
E7 Zealot W/Scythe(Bottle cap)
E8 Zealot W/ Shield(Bottle cap)
E9 Zealot W/ Bowgun(Bottle cap)
EA Leader Zealot(Bottle cap)
EB Soldier W/ Dynamite(Bottle cap)
EC Soldier W/ Stun-Rod(Bottle cap)
ED Soldier W/ Hammer(Bottle cap)
EE Isabel(Bottle cap)
EF Maria(Bottle cap)
F0 Ada Wong(Bottle cap)
F1 Bella Sisters(Bottle cap)
F2 Don Pedro(Bottle cap)
F3 J.J.(Bottle cap)
F4 Letter from Ada(Bottle cap)
F5 Luis' Memo 3 (File)
F6 Paper Airplane(File)
F7 Our Plane(File)
F8 Luis' memo 4(File)
F9 Krauser's Note(File)
FA Luis' Memo 5(File)
FB Our Mission(File)
FC aaa (Pretty much nothing)
FD aaa (Pretty much nothing)
FE Tactical Vest
FF aaa (Pretty much nothing)

Remember this code replaces your starting weapon usually a handgun
Do not examine the Bottle caps in your Attache Case these go straight to your key item slot after a screen change like activating
the code then going into the key item slot bottle caps go straight into the bottle cap key item you get from the merchant
The combined guns like red9 W/stock will vanish when you leave the menu
Credit to YCAT21 for making this awesome code.

disraelie


lee4

Quote from: Monolith82 on March 04, 2011, 02:29:52 PM
just wondering if there's any change costume codes anywhere?
thanks
Quote from: disraelie on September 16, 2011, 07:12:04 AM
request "change clothes code "
Here a quick ported from PS2 version.

Leon/Ada Clothing [Ported from PS2 ver. by lee4]
00337F39 0000000?
Leon Clothing Digits
0 = Bomber Jacket
1 = No Jacket (too bad it got stolen)
2 = No Jacket
3 = RPD uniform
4 = Mafia outfit
Ada Clothing Digits
0 = Red Mini Skirt (Gun holster ruins the looks of the dress)
1 = Infiltrate outfit
2 = Red Mini Skirt
3 = Chinese Red Dress (long red dress)
4 = Red Mini Skirt

Ashley Clothing [Ported from PS2 ver. by lee4]
00337F3B 0000000?
Ashley Clothing Digits
0 = Hooded sweater top, green mini skirt (looks like dirty panties)
1 = Pop sensation
2 = Knight Armor Suit (bullet proof plus anti carry away)
3 = Hooded sweater top, green mini skirt
4 = Hooded sweater top, green mini skirt

disraelie

lee4 ~ thank you very much
it works