Alien vs Predator (need help converting some cheats for FB)

This FORUM is for posting requests and cheats for Arcade Emulators other than M.A.M.E.
Post Reply
cheats4funonly
Posts: 4
Joined: Sat Aug 15, 2009 7:59 pm

Alien vs Predator (need help converting some cheats for FB)

Post by cheats4funonly »

I need some help to convert these newer cheats added to MAME but haven't been converted for use with FinalBurn Alpha and other FinalBurn Emulators.

Here's the details: (this was the format used before the cheats in MAME changed to using XML)

; [ Alien vs. Predator (Euro 940520) ]
:avsp:81000000:FF83DA:000000FF:00FF0061:Infinite Weapon on Pickup PL1
:avsp:62000000:000000:00000000:00000000:Select Weapon PL1:Switch weapons during the IDLE STANCE to avoid crashing the game and use it when you are holding a Weapon. Use it with the 'Infinite Weapon on Pickup' and don't throw any Hand Grenades to minimise losing your Weapon.
:avsp:81010000:FF83DA:00000000:00FF0002:Combi-Stick:Predator Warrior's standard weapon
:avsp:81010000:FF83DA:00000001:00FF0002:Naginata:Predator Hunter's standard weapon
:avsp:81010000:FF83DA:00000002:00FF0002:Katana:Lieutenant Linn Kurosawa's standard weapon (Japanese longsword)
:avsp:81010000:FF83DA:00000003:00FF0002:Pulse Gun
:avsp:81010000:FF83DA:00000004:00FF0002:Knife
:avsp:81010000:FF83DA:00000005:00FF0002:Pipe
:avsp:81010000:FF83DA:00000006:00FF0002:Hand Grenade
:avsp:81010000:FF83DA:00000007:00FF0002:Flamer
:avsp:81010000:FF83DA:00000008:00FF0002:Grenade Launcher
:avsp:81010000:FF83DA:00000009:00FF0002:Metal Mace
:avsp:81010000:FF83DA:0000000C:00FF0002:Disc (Maybe buggy)
:avsp:62000000:000000:00000000:00000000:Select Rapid Fire - Punch PL1:Turn it OFF on the name entry screen
:avsp:00010000:FF846E:00000000:00000020:Normal
:avsp:00010000:FF846E:00000000:00000020:Fast
:avsp:00018000:FF83AC:00000000:FFFFFFFF:Fast (2/2)
:avsp:00010000:FF846E:00000000:00000020:Unlimited
:avsp:00018000:FF83AC:00000000:FFFFFFFF:Unlimited (2/3)
:avsp:00018000:FF8401:00000000:FFFFFFFF:Unlimited (3/3)
:avsp:00000000:FF846E:00000000:00000010:Rapid Fire - Weapon PL1:Turn it OFF on the name entry screen
:avsp:60000000:000000:00000000:00000000:

:avsp:81000000:FF84DA:000000FF:00FF0061:Infinite Weapon on Pickup PL2
:avsp:62000000:000000:00000000:00000000:Select Weapon PL2:Switch weapons during the IDLE STANCE to avoid crashing the game and use it when you are holding a Weapon. Use it with the 'Infinite Weapon on Pickup' and don't throw any Hand Grenades to minimise losing your Weapon.
:avsp:81010000:FF84DA:00000000:00FF0002:Combi-Stick:Predator Warrior's standard weapon
:avsp:81010000:FF84DA:00000001:00FF0002:Naginata:Predator Hunter's standard weapon
:avsp:81010000:FF84DA:00000002:00FF0002:Katana:Lieutenant Linn Kurosawa's standard weapon (Japanese longsword)
:avsp:81010000:FF84DA:00000003:00FF0002:Pulse Gun
:avsp:81010000:FF84DA:00000004:00FF0002:Knife
:avsp:81010000:FF84DA:00000005:00FF0002:Pipe
:avsp:81010000:FF84DA:00000006:00FF0002:Hand Grenade
:avsp:81010000:FF84DA:00000007:00FF0002:Flamer
:avsp:81010000:FF84DA:00000008:00FF0002:Grenade Launcher
:avsp:81010000:FF84DA:00000009:00FF0002:Metal Mace
:avsp:81010000:FF84DA:0000000C:00FF0002:Disc (Maybe buggy)
:avsp:62000000:000000:00000000:00000000:Select Rapid Fire - Punch PL2:Turn it OFF on the name entry screen
:avsp:00010000:FF856E:00000000:00000020:Normal
:avsp:00010000:FF856E:00000000:00000020:Fast
:avsp:00018000:FF84AC:00000000:FFFFFFFF:Fast (2/2)
:avsp:00010000:FF856E:00000000:00000020:Unlimited
:avsp:00018000:FF84AC:00000000:FFFFFFFF:Unlimited (2/3)
:avsp:00018000:FF8501:00000000:FFFFFFFF:Unlimited (3/3)
:avsp:00000000:FF856E:00000000:00000010:Rapid Fire - Weapon PL2:Turn it OFF on the name entry screen
:avsp:60000000:000000:00000000:00000000:

:avsp:81000000:FF85DA:000000FF:00FF0061:Infinite Weapon on Pickup PL3
:avsp:62000000:000000:00000000:00000000:Select Weapon PL3:Switch weapons during the IDLE STANCE to avoid crashing the game and use it when you are holding a Weapon. Use it with the 'Infinite Weapon on Pickup' and don't throw any Hand Grenades to minimise losing your Weapon.
:avsp:81010000:FF85DA:00000000:00FF0002:Combi-Stick:Predator Warrior's standard weapon
:avsp:81010000:FF85DA:00000001:00FF0002:Naginata:Predator Hunter's standard weapon
:avsp:81010000:FF85DA:00000002:00FF0002:Katana:Lieutenant Linn Kurosawa's standard weapon (Japanese longsword)
:avsp:81010000:FF85DA:00000003:00FF0002:Pulse Gun
:avsp:81010000:FF85DA:00000004:00FF0002:Knife
:avsp:81010000:FF85DA:00000005:00FF0002:Pipe
:avsp:81010000:FF85DA:00000006:00FF0002:Hand Grenade
:avsp:81010000:FF85DA:00000007:00FF0002:Flamer
:avsp:81010000:FF85DA:00000008:00FF0002:Grenade Launcher
:avsp:81010000:FF85DA:00000009:00FF0002:Metal Mace
:avsp:81010000:FF85DA:0000000C:00FF0002:Disc (Maybe buggy)
:avsp:62000000:000000:00000000:00000000:Select Rapid Fire - Punch PL3:Turn it OFF on the name entry screen
:avsp:00010000:FF866E:00000000:00000020:Normal
:avsp:00010000:FF866E:00000000:00000020:Fast
:avsp:00018000:FF85AC:00000000:FFFFFFFF:Fast (2/2)
:avsp:00010000:FF866E:00000000:00000020:Unlimited
:avsp:00018000:FF85AC:00000000:FFFFFFFF:Unlimited (2/3)
:avsp:00018000:FF8601:00000000:FFFFFFFF:Unlimited (3/3)
:avsp:00000000:FF866E:00000000:00000010:Rapid Fire - Weapon PL3:Turn it OFF on the name entry screen
:avsp:60000000:000000:00000000:00000000:

All other cheats I'm pretty sure are already available and working. I'll post the current cheat details used in the FinalBurn Alpha emulators for comparison so maybe anyone can help me figure it out.
Last edited by cheats4funonly on Sun Aug 16, 2009 1:51 am, edited 1 time in total.
cheats4funonly
Posts: 4
Joined: Sat Aug 15, 2009 7:59 pm

Re: Alien vs Predator (need help converting some cheats for FB)

Post by cheats4funonly »

Ok here's the original cheat file for use in FinalBurn Alpha or similar FinalBurn emulators, should make things easier, at least I hope so :

cheat "Region"
default 0
0 "Disabled"
1 "Japan", 0, 0xFF81C9, 0x00
2 "USA", 0, 0xFF81C9, 0x02
3 "Hispanic", 0, 0xFF81C9, 0x04
4 "Asia", 0, 0xFF81C9, 0x06
5 "Euro", 0, 0xFF81C9, 0x08

cheat "Language"
default 0
0 "Disabled"
1 "Japanese", 0, 0xFF81CB, 0x00
2 "English", 0, 0xFF81CB, 0x02
3 "Spanish", 0, 0xFF81CB, 0x04
4 "German", 0, 0xFF81CB, 0x06
5 "French", 0, 0xFF81CB, 0x08
6 "Italian", 0, 0xFF81CB, 0x0A
7 "No Text", 0, 0xFF81CB, 0x0C

cheat "Infinite Time"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8225, 0x59

cheat "Infinite Time Decrease"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8221, 0x3C

cheat "Boss - One Hit Kill"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF1EA7, 0x00, 0, 0xFFA401, 0x00, 0, 0xFFA403, 0x00, 0, 0xFF1E79, 0x00, 0, 0xFF9501, 0x00, 0, 0xFF9503, 0x00

cheat "P1 Inf Health"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF83C1, 0x65

cheat "P1 Inf Lives"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8471, 0x02

cheat "P1 Inf Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF840B, 0x00, 0, 0xFF840C, 0x40

cheat "P1 Ultimate Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF842F, 0x58, 0, 0xFF842E, 0x02

cheat "P1 Inf Super"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8431, 0xE4

cheat "P1 Invincible"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF83CC, 0x01, 0, 0xFF83F0, 0x10, 0, 0xFF8421, 0x00, 0, 0xFF842B, 0x00

cheat "P1 Action Speed Up"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF838B, 0x01

cheat "P1 Linn's SP Quick Increase"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8437, 0x50

cheat "P1 Char Select"
default 0
0 "Disabled"
1 "Predator Warrior", 0, 0xFF8452, 0x00
2 "Major D. Schaefer", 0, 0xFF8452, 0x01
3 "Predator Hunter", 0, 0xFF8452, 0x02
4 "Lt. Linn Kurosawa", 0, 0xFF8452, 0x03

cheat "P1 Attack Mode"
default 0
0 "Disabled"
1 "Endless Grab Attack", 0, 0xFF8401, 0x00
2 "2nd Attack", 0, 0xFF8401, 0x01
3 "3rd Attack", 0, 0xFF8401, 0x02
4 "4th Attack/Schaefer's Final Blow", 0, 0xFF8401, 0x03
5 "Linn's Final Blow", 0, 0xFF8401, 0x04
6 "Predator's Final Blow 1", 0, 0xFF8401, 0x03, 0, 0xFF83DB, 0x00
7 "Predator's Final Blow 2", 0, 0xFF8401, 0x03, 0, 0xFF83DB, 0x80

cheat "P2 Inf Health"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF84C1, 0x65

cheat "P2 Inf Lives"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8571, 0x02

cheat "P2 Inf Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF850B, 0x00, 0, 0xFF850C, 0x40

cheat "P2 Ultimate Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF852F, 0x58, 0, 0xFF852E, 0x02

cheat "P2 Inf Super"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8531, 0xE4

cheat "P2 Invincible"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF84CC, 0x01, 0, 0xFF84F0, 0x10, 0, 0xFF8521, 0x00, 0, 0xFF852B, 0x00

cheat "P2 Action Speed Up"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF848B, 0x01

cheat "P2 Linn's SP Quick Increase"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8537, 0x50

cheat "P2 Char Select"
default 0
0 "Disabled"
1 "Predator Warrior", 0, 0xFF8552, 0x00
2 "Major D. Schaefer", 0, 0xFF8552, 0x01
3 "Predator Hunter", 0, 0xFF8552, 0x02
4 "Lt. Linn Kurosawa", 0, 0xFF8552, 0x03

cheat "P2 Attack Mode"
default 0
0 "Disabled"
1 "Endless Grab Attack", 0, 0xFF8501, 0x00
2 "2nd Attack", 0, 0xFF8501, 0x01
3 "3rd Attack", 0, 0xFF8501, 0x02
4 "4th Attack/Schaefer's Final Blow", 0, 0xFF8501, 0x03
5 "Linn's Final Blow", 0, 0xFF8501, 0x04
6 "Predator's Final Blow 1", 0, 0xFF8501, 0x03, 0, 0xFF84DB, 0x00
7 "Predator's Final Blow 2", 0, 0xFF8501, 0x03, 0, 0xFF84DB, 0x80

cheat "P3 Inf Health"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF85C1, 0x65

cheat "P3 Inf Lives"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8671, 0x02

cheat "P3 Inf Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF860B, 0x00, 0, 0xFF860C, 0x40

cheat "P3 Ultimate Shot"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF862F, 0x58, 0, 0xFF862E, 0x02

cheat "P3 Inf Super"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8631, 0xE4

cheat "P3 Invincible"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF85CC, 0x01, 0, 0xFF85F0, 0x10, 0, 0xFF8621, 0x00, 0, 0xFF862B, 0x00

cheat "P3 Action Speed Up"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF858B, 0x01

cheat "P3 Linn's SP Quick Increase"
default 0
0 "Disabled"
1 "Enabled", 0, 0xFF8637, 0x50

cheat "P3 Char Select"
default 0
0 "Disabled"
1 "Predator Warrior", 0, 0xFF8652, 0x00
2 "Major D. Schaefer", 0, 0xFF8652, 0x01
3 "Predator Hunter", 0, 0xFF8652, 0x02
4 "Lt. Linn Kurosawa", 0, 0xFF8652, 0x03

cheat "P3 Attack Mode"
default 0
0 "Disabled"
1 "Endless Grab Attack", 0, 0xFF8601, 0x00
2 "2nd Attack", 0, 0xFF8601, 0x01
3 "3rd Attack", 0, 0xFF8601, 0x02
4 "4th Attack/Schaefer's Final Blow", 0, 0xFF8601, 0x03
5 "Linn's Final Blow", 0, 0xFF8601, 0x04
6 "Predator's Final Blow 1", 0, 0xFF8601, 0x03, 0, 0xFF85DB, 0x00
7 "Predator's Final Blow 2", 0, 0xFF8601, 0x03, 0, 0xFF85DB, 0x80

cheat "Stage"
default 0
0 "Disabled"
1 "Round 1", 0, 0xFF81E9, 0x02
2 "Round 1 Boss", 0, 0xFF81E9, 0x04
3 "Round 2", 0, 0xFF81E9, 0x06
4 "Round 2 Boss", 0, 0xFF81E9, 0x08
5 "Round 3", 0, 0xFF81E9, 0x0A
6 "Round 4", 0, 0xFF81E9, 0x0C
7 "Round 4a", 0, 0xFF81E9, 0x0E
8 "Round 5", 0, 0xFF81E9, 0x10
9 "Round 6", 0, 0xFF81E9, 0x12
10 "Round 6a", 0, 0xFF81E9, 0x14
11 "Round 6b", 0, 0xFF81E9, 0x16
12 "Round 6c", 0, 0xFF81E9, 0x18
13 "Round 6 Boss", 0, 0xFF81E9, 0x1A
14 "Round 7", 0, 0xFF81E9, 0x1C
15 "Round 7a", 0, 0xFF81E9, 0x1E
16 "Round 7b", 0, 0xFF81E9, 0x20
17 "Round 7c", 0, 0xFF81E9, 0x22
18 "Last Round", 0, 0xFF81E9, 0x24
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Alien vs Predator (need help converting some cheats for FB)

Post by Pugsy »

The avsp cheats you posted are either relative address or bit cheats. Unless the FB cheat format has changed considerably I'm afraid you can forget about easily converting them as FB has no relative address cheat mechanism (which in fairness few emulators have) or any simple bit masking facility.

Sorry.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
cheats4funonly
Posts: 4
Joined: Sat Aug 15, 2009 7:59 pm

Re: Alien vs Predator (need help converting some cheats for FB)

Post by cheats4funonly »

Here's a quick comparison:

MAME 0.126 Cheat.dat (I got this from here : http://cheat.retrogames.com/downloads.htm

Cheat File for MAME 0.126 (Release Date: 31th March 2009), I used wordpad to copy and paste this.

Select Region:

:avsp:62000000:000000:00000000:00000000
:avsp:00010000:FF81C9:00000000:FFFFFFFF:Japan
:avsp:00010000:FF81C9:00000002:FFFFFFFF:USA
:avsp:00010000:FF81C9:00000004:FFFFFFFF:Hispanic
:avsp:00010000:FF81C9:00000006:FFFFFFFF:Asia
:avsp:00010000:FF81C9:00000008:FFFFFFFF:Euro

Now the cheats used in the older FinalBurn cheat file avsp.ini:

cheat "Region"
default 0
0 "Disabled"
1 "Japan", 0, 0xFF81C9, 0x00
2 "USA", 0, 0xFF81C9, 0x02
3 "Hispanic", 0, 0xFF81C9, 0x04
4 "Asia", 0, 0xFF81C9, 0x06
5 "Euro", 0, 0xFF81C9, 0x08

So could the 'Infinite Weapon on Pickup PL1' cheat be:
0, 0xFF83DA, 0xFF ?? converted from 81000000:FF83DA:000000FF:00FF0061
User avatar
Pugsy
Posts: 3638
Joined: Fri Aug 17, 2001 12:59 am
Location: North Wales, UK.
Has thanked: 1 time
Been thanked: 12 times
Contact:

Re: Alien vs Predator (need help converting some cheats for FB)

Post by Pugsy »

cheats4funonly wrote:So could the 'Infinite Weapon on Pickup PL1' cheat be:
0, 0xFF83DA, 0xFF ?? converted from 81000000:FF83DA:000000FF:00FF0061

Why don't you believe me?

What that cheat does it get the 16bits held at FF83DA and adds it to FF0061 to create a new address which it then pokes with FF

So for eg.
If the address FF83DA contains 0x1001 it adds this to 0xFF0061 to get FF1062
It then pokes FF1062 with 0xFF
The problem is that the contents of FF83DA are dynamic (it changes a LOT) so the address that needs to pokes varies from level to level and from game to game - that's what's called a Relative Address cheat and FB does NOT support them.

There are many versions of FBA that support the raw MAME cheat.dat file with NO conversion at all (just copy the cheat.dat to the support\cheats folder) but these relative address cheats are simply hardwired to Disabled or just ignored BECAUSE FB/FBA DOES NOT SUPPORT THEM.
Pugsy

Servicing your cheating needs since 1985 8)

Grab the latest cheat collection:
MAME 0.259 XML cheat collection (6 OCTOBER 2023) from http://www.mamecheat.co.uk or direct from:-
https://mega.nz/file/q4dHGZ6K#i-EUiqIjH ... KMz7hnbTfw (ZIP Archive 3.76MB)
cheats4funonly
Posts: 4
Joined: Sat Aug 15, 2009 7:59 pm

Re: Alien vs Predator (need help converting some cheats for FB)

Post by cheats4funonly »

OK, you're probably right. I just tested the MAME 0.126 cheat.dat in FB Alpha 0.2.97.06 and the cheats for weapon select, endless ammo from picking up weapons etc. were Disabled, and the selections cannot be made and not compatible.
Post Reply