Game Index
Game Index
Both the serial numbers for the games, and the CRC patches are at the
moment not case-sensitive and will be looked up with their lowercase
representations. However, stylistically, uppercase is preferred and may be
enforced and migrated to in the future.
For example:
However, YAML is case-sensitive and will allow multiple serials that only differ
on casing. To prevent mistakes, this will also throw a validation error where the
first entry will be the one that wins.
Compatibility
0 = Nearest
1 = Negative Infinity
2 = Positive Infinity
3 = Chop (Zero)
The is the common default
Clamping Modes
eeClampMode
vuClampMode
0 = Disables clamping completely
1 = Clamp Normally (only clamp results)
2 = Clamp Extra (clamp results as well as operands)
3 = Clamp Extra+Preserve Sign
GS Hardware Fixes
[ ] = GameDB values { } = GUI options ( ) = Default values
beforeDraw {OI with suffix } {None unless specific game GSC} Default:
Automatic (No value, looks up GameDB) with valid variable name (ex.
OI_BurnoutGames)
afterDraw {OO with suffix } {None unless specific game GSC} Default:
Automatic (No value, looks up GameDB) with valid variable name
conservativeFramebuffer [0 or 1] {Off or On} Default: On (1)
texturePreloading [0 or 1 or 2] {None, Partial or Full Hash Cache}
Default: None (0) // Tab 2 Rendering (8th dropdown)
deinterlace [Value between 0 to 9] {Automatic, Off, WeaveTFF,
WeaveBFF, BobTFF, BobBFF, BlendTFF, BlendBFF, AdaptiveTFF,
AdaptiveBFF} Default: Automatic (No value, looks up GameDB) // Tab 1
Display (4th dropdown)
FpuMulHack
SoftwareRendererFMVHack
SkipMPEGHack
GoemonTlbHack
EETimingHack
InstantDMAHack
OPHFlagHack
GIFFIFOHack
DMABusyHack
Simulates VIF1 FIFO read ahead, affecting games like Test Drive
Unlimited, Transformers.
FullVU0SyncHack
IbitHack
VuAddSubHack
VUOverflowHack
VUSyncHack
XGKickHack
BlitInternalFPSHack
SpeedHacks
mvuFlagSpeedHack
Accepted Values - 0 / 1
Katamari Damacy has a peculiar speed bug when this speed
hack is enabled (and it is by default)
This works fine for the vast majority of games, but fails in some cases, which
this override is for. Examples include multi-disc games, where later games
often reuse the serial of the previous disc(s), and games that allow transfer
of savedata between different games, such as importing data from a prequel
. This can unlock certain content ranging from cosmetic features (gear/
visual costume) to mechanics (early unlock of weapons). These are not
needed with file memcards as they don't hide the serials or outside date
from the game itself nor it's save memcard.
Patches
The patch that corresponds to the running game's CRC will take precedence
over the default. Multiple patches using the same CRC cannot be defined
and this will throw a validation error.
Patches should be defined as multi-line string blocks, where each line would
correspond with a line in a conventional *.pnach file
For more information on how to write a patch , see the following forum
post
We provide a JSON Schema for the GameDB's format. You can use this to validate the
file, and assist in writing it properly.
VSCode Integration
If you use VSCode and you want it to properly lint the GameIndex.yaml file you should:
"yaml.schemas": {
"https://raw.githubusercontent.com/PCSX2/pcsx2/master/pcsx2/Docs/gamedb-
schema.json": "**/GameIndex.yaml",
},