




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Describe the content in deptDescribe the content in deptDescribe the content in deptDescribe the content in deptDescribe the content in dept
Typology: Cheat Sheet
1 / 8
This page cannot be seen from the preview
Don't miss anything!





The following is an annotated and comprehensive example of everything that can be defined for a single Game entry. SERIAL-12345 : # !required! Serial number for the game, this is how games are looked up. Cas name : "A Sample Game" # !required! region : "NTSC-U" # !required! compat : 0 roundModes : eeRoundMode : 0 vuRoundMode : 3 clampModes : eeClampMode : 0 vuClampMode : 3 _# If a GameFix is included in the list, it will be enabled.
gameFixes :
- VuAddSubHack - FpuMulHack - FpuNegDivHack - XGKickHack - EETimingHack - SkipMPEGHack - OPHFlagHack - DMABusyHack - VIFFIFOHack - VIF1StallHack - GIFFIFOHack - GoemonTlbHack - IbitHack - FullVU0SyncHack - VUSyncHack - VUOverflowHack - SoftwareRendererFMVHack # The value of the GS Fixes is assumed to be an integer gsHWFixes : mipmap : 1 preloadFrameData : 1 _# The value of the speedhacks is assumed to be an integer,
speedHacks : mvuFlagSpeedHack : 0 InstantVU1SpeedHack : 0
memcardFilters :
- "SERIAL-123" - "SERIAL-456" # You can define multiple patches, but they are identified by the CRC. patches : default : # Default CRC! content : |- # !required! This allows for multi-line strings in YAML, this type preserv comment=Sample Patch patch=1,EE,00000002,word, crc123 : # Specific CRC Patch! content : |- comment=Another Sample patch=1,EE,00000001,word, Note that quoting strings in YAML is optional, but certain charac- ters are reserved like ‘*’ and require the string to be quoted. Be aware / use a YAML linter to avoid confusion.
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.
Everything else can be safely assumed to be case sensitive!
compat can be set to the following values:
GS Hardware General Fixes
GS Hardware Renderer Fixes
GS Hardware Upscaling Fixes
These values are case-sensitive, so take care. If you incorrectly specify a Game- Fix, you will get a validation error on startup. Any invalid game-fixes will be dropped from the game’s list of fixes.
Game Fixes Options
By default, the FolderMemoryCard filters save games based on the game’s serial, which means that only saves whose folder names contain the game’s serial are loaded.
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 its save memcard. ** Values should be specified as a list of strings, example shown above.
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. CRCs are case-insensitive, however uppercase is preferred stylisti- cally! 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": "**/ } ,