Page 1 of 1

[macro] Resident Evil 5 - Abandoned Cave farming

Posted: Sun Jul 17, 2011 10:43 pm
by tarrant_01
I've got it all working and set up. It's currently running and farming the two gems from the beginning of the abandoned cave level. The keyboard and mouse recorders in Ubuntu were too damn confusing so I just hard coded it all and bound everything to a key. Here's my macro code:

Code: Select all

MACRO F12
#Macro for farming the jewel pieces in the abandoned cave in RE5. It's best to have an infinite #ammo machine gun for this because it's coded to rely on the recoil of the weapon to hit the #ceiling gem, so ammo is wasted.
#Do a chapter select and pick the abandoned cave level. Start it make sure a machine gun is equipped then quit and say yes to all of the prompts. Then you can use this macro.
#Key bindings used are
#Start: 2
#Lstick up: e
#Lstick right: f
#Rstick up: HOME
#Directional pad assigned to standard keys...up, down, left, right ... only down and left are used
#L1: q
#R1: y
#Square: j
#Cross: m
#Circle: k

#---start copy here--

KEY m
DELAY 3000
KEY m
DELAY 3000
KEY m
DELAY 3000
KEY m
DELAY 3300
KEY k
KEY k
DELAY 1000
KEY m
DELAY 1000

KEY m
DELAY 10000
#End of beginning menu selections - game loads
#move left to aim at ceiling
KEYDOWN PAGEUP
DELAY 1055
KEYUP PAGEUP
#move up to aim
KEYDOWN HOME
DELAY 410
KEYUP HOME
#aim and fire
KEYDOWN q
KEYDOWN y
#firing time
DELAY 4000
KEYUP q
KEYUP y

#run
KEYDOWN m
KEYDOWN e
DELAY 1450

KEYUP e
DELAY 100

#pick up gem
KEY j
DELAY 2000

#turn right
KEYDOWN f
DELAY 700
KEYUP f
#run forward now to beetle
KEYDOWN e
DELAY 4000
#turn 1
KEYDOWN f
DELAY 700
KEYUP f
DELAY 3500
#turn 2
KEYDOWN f
DELAY 1000
KEYUP f
#turn 3
DELAY 2600

KEYDOWN f
DELAY 900
KEYUP f
#stop running
KEYUP m
KEYUP e
DELAY 300

KEY j
DELAY 1000

#exit game
#start
KEY 2
DELAY 1000

#go to quit
KEY UP
DELAY 1000
#X

KEY m
KEY m
DELAY 1000
KEY LEFT
DELAY 1000

KEY m
KEY m
DELAY 1000
KEY m
KEY m
#Game saves
DELAY 8000
KEY m

KEY m
#Main Menu loads
DELAY 10000

#--end copy here--

Just copy and paste the code section as many times as you want it to harvest the level. Times are a bit longer than they should be because the menu's aren't always immediately responsive. I wanted to have a bit of cushion. I'll post a video tonight of it running.

I do realize now though that the time it took me to do all of this, I could have probably earned all the money I needed myself, but where's the fun in that?

Edit: tweaked the code a bit, it gets hung up in the inventory screen sometimes. For some reason rarely a button press doesnt get acknowledged by the game. Also adjusted the route a bit.