From 4cb6c94693c8bb3cc06e2bca498a1b9165fd541d Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 3 Apr 2022 07:42:03 +0100 Subject: [PATCH] CI/Docs: Update validation and document --- .../workflows/scripts/validation/lint-gamedb/lint-gamedb.py | 2 ++ pcsx2/Docs/GameIndex.md | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/scripts/validation/lint-gamedb/lint-gamedb.py b/.github/workflows/scripts/validation/lint-gamedb/lint-gamedb.py index 5292c4feed..7aa0810361 100644 --- a/.github/workflows/scripts/validation/lint-gamedb/lint-gamedb.py +++ b/.github/workflows/scripts/validation/lint-gamedb/lint-gamedb.py @@ -58,6 +58,7 @@ allowed_gs_hw_fixes = [ "halfPixelOffset", "roundSprite", "texturePreloading", + "interlace", ] gs_hw_fix_ranges = { "mipmap": (0, 2), @@ -66,6 +67,7 @@ gs_hw_fix_ranges = { "skipDrawEnd": (0, 100000), "halfPixelOffset": (0, 3), "roundSprite": (0, 2), + "interlace": (0, 7), } allowed_speed_hacks = ["mvuFlagSpeedHack", "InstantVU1SpeedHack", "MTVUSpeedHack"] # Patches are allowed to have a 'default' key or a crc-32 key, followed by diff --git a/pcsx2/Docs/GameIndex.md b/pcsx2/Docs/GameIndex.md index aeb72acec9..e8acc6dc55 100644 --- a/pcsx2/Docs/GameIndex.md +++ b/pcsx2/Docs/GameIndex.md @@ -40,6 +40,10 @@ SERIAL-12345: # !required! Serial number for the game, this is how games are loo - IbitHack - VUSyncHack - VUOverflowHack + # 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, # but at the time of writing speedhacks are effectively booleans (0/1) speedHacks: @@ -139,6 +143,7 @@ The clamp modes are also numerically based. * 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`) +* interlace [Value between `0` to `7`] {Off, WeaveTFF, WeaveBFF, BobTFF, BobBFF, BlendTFF, BlendBFF, Automatic} Default: Automatic (No value, looks up GameDB) ### GS Hardware Renderer Fixes