diff --git a/Cheat-Format.md b/Cheat-Format.md new file mode 100644 index 0000000..79f81e5 --- /dev/null +++ b/Cheat-Format.md @@ -0,0 +1,52 @@ + +#Cheat Format + + + + + + + + + + +
FB Alpha
+ +

Cheat Format

+ +

Below is a short description of the FB Alpha 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
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
// TextComment
include "filename"Include another cheat file
cheat "cheatname" {New cheat called "cheatname" (the curly bracket is optional)
      type nSpecify 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 nSet default option to n (0 <= n <= 95)
      0 "name"Text displayed in the cheat dialog when the cheat is disabled
      n "name", o, p, qAdd 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
+ +
+ +