Skip to content

Cheat Format

JacKc029735 edited this page Aug 22, 2020 · 3 revisions

Cheat Format

Cheat Format

Below is a short description of the FB Neo cheat file format. Cheat files must be placed in the cheats support file folder, and named according to the short name/name of the zip file containing the ROMs, with the extension being either .INI (e.g. 1941.zip becomes 1941.ini). FBA will present a warning and some additional info whenever it encounters an error in a cheat file, and will stop processing the file at that point.

Cheat File Format
// Text Comment
include "filename" Include another cheat file
cheat "cheatname" { New cheat called "cheatname" (the curly bracket is optional)
      type n Specify cheat type (optional, defaults to 0)
type 0 = apply each frame, save original value and remain active
type 1 = one-shot, fire and forget;
type 2 = one-shot, save original value and remain active
      default n Set default option to n (0 <= n <= 95)
      0 "name" Text displayed in the cheat dialog when the cheat is disabled
      n "name", o, p, q Add option n (1 <= n <= 95), called "name"
Store byte value q at address p in the address space of CPU o
You can specify upto 32 o/p/q groups per option, all must be on the same line
} Required if you used a curly bracket above, considered an error otherwise
Clone this wiki locally