Version: 1.2

Anchors:
  BLUS30443_FpsUnlock: &BLUS30443_FpsUnlock
  # Set 60 FPS with no frameskip
  # by Gibbed
    - [ be16, 0x00025ed8, 0x981f ]
  # delta time
  # by Whatcookie
    - [ be32, 0x0001b964, 0x496ac2cd ] # jump to code cave
  # get mftb
    - [ be32, 0x016c7c30, 0x7eac42e6 ] # mftb r21              // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x016c7c34, 0x3ec00185 ] # lis r22,0x0185        // load high bits of address
    - [ be32, 0x016c7c38, 0x3ad62608 ] # addi r22,r22,0x2608   // load low bits of address
    - [ be32, 0x016c7c3c, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x016c7c40, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x016c7c44, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x016c7c48, 0xfa760018 ] # std r19,0x18(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x016c7c4c, 0xcbd60018 ] # lfd f30,0x18(r22)     // load mftb delta into FPR
    - [ be32, 0x016c7c50, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x016c7c54, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x016c7c58, 0x3e40016c ] # r18,0x16c             // load high bits constants pointer
    - [ be32, 0x016c7c5c, 0x3a527c30 ] # addi r18,r18,0x7c30   // load low bits of constants pointer
    - [ be32, 0x016c7c60, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x016c7c64, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x016c7c68, 0xeffee824 ] # fdivs f31,f30,f29     // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x016c7c6c, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x016c7c70, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x016c7c74, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x016c7c78, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x016c7c7c, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x016c7c80, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x016c7c84, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x016c7c88, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

  BLES00932_FpsUnlock: &BLES00932_FpsUnlock
  # Set 60 FPS with no frameskip
  # by Gibbed
    - [ be16, 0x00026ac0, 0x981f ]
  # delta time
  # by Whatcookie
    - [ be32, 0x0001c534, 0x496ada1d ] # jump to code cave
  # get mftb
    - [ be32, 0x016c9f50, 0x7eac42e6 ] # mftb r21              // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x016c9f54, 0x3ec00185 ] # lis r22,0x0185        // load high bits of address
    - [ be32, 0x016c9f58, 0x3ad62608 ] # addi r22,r22,0x2608   // load low bits of address
    - [ be32, 0x016c9f5c, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x016c9f60, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x016c9f64, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x016c9f68, 0xfa760018 ] # std r19,0x18(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x016c9f6c, 0xcbd60018 ] # lfd f30,0x18(r22)     // load mftb delta into FPR
    - [ be32, 0x016c9f70, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x016c9f74, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x016c9f78, 0x3e40016c ] # r18,0x16c             // load high bits constants pointer
    - [ be32, 0x016c9f7c, 0x62529f50 ] # ori r18,r18,0x9f50    // load low bits of constants pointer
    - [ be32, 0x016c9f80, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x016c9f84, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x016c9f88, 0xeffee824 ] # fdivs f31,f30,f29     // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x016c9f8c, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x016c9f90, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x016c9f94, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x016c9f98, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x016c9f9c, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x016c9fa0, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x016c9fa4, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x016c9fa8, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

  BCAS20071_FpsUnlock: &BCAS20071_FpsUnlock
  # Set 60 FPS with no frameskip
  # by Gibbed, KokutouKiritsugu port to BCAS20071
    - [ be16, 0x00024148, 0x981f ]
  # delta time
  # by Whatcookie
    - [ be32, 0x00019794, 0x496af37d ] # jump to code cave
  # get mftb
    - [ be32, 0x016c8b10, 0x7eac42e6 ] # mftb r21              // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x016c8b14, 0x3ec00185 ] # lis r22,0x0185        // load high bits of address
    - [ be32, 0x016c8b18, 0x3ad62608 ] # addi r22,r22,0x2608   // load low bits of address
    - [ be32, 0x016c8b1c, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x016c8b20, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x016c8b24, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x016c8b28, 0xfa760018 ] # std r19,0x18(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x016c8b2c, 0xcbd60018 ] # lfd f30,0x18(r22)     // load mftb delta into FPR
    - [ be32, 0x016c8b30, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x016c8b34, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x016c8b38, 0x3e40016c ] # r18,0x16c             // load high bits constants pointer
    - [ be32, 0x016c8b3c, 0x62528b10 ] # ori r18,r18,0x8b10    // load low bits of constants pointer
    - [ be32, 0x016c8b40, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x016c8b44, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x016c8b48, 0xeffee824 ] # fdivs f31,f30,f29     // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x016c8b4c, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x016c8b50, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x016c8b54, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x016c8b58, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x016c8b5c, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x016c8b60, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x016c8b64, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x016c8b68, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

  BCJS30022_FpsUnlock: &BCJS30022_FpsUnlock
  # Set 60 FPS with no frameskip
  # by Gibbed, Hasster's port to BCJS30022
    - [ be16, 0x000240d0, 0x981f ]
  # delta time
  # by Whatcookie
    - [ be32, 0x00019794, 0x496af30d ] # jump to code cave
  # get mftb
    - [ be32, 0x016c8aa0, 0x7eac42e6 ] # mftb r21              // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x016c8aa4, 0x3ec00185 ] # lis r22,0x0185        // load high bits of address
    - [ be32, 0x016c8aa8, 0x3ad62608 ] # addi r22,r22,0x2608   // load low bits of address
    - [ be32, 0x016c8aac, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x016c8ab0, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x016c8ab4, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x016c8ab8, 0xfa760018 ] # std r19,0x18(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x016c8abc, 0xcbd60018 ] # lfd f30,0x18(r22)     // load mftb delta into FPR
    - [ be32, 0x016c8ac0, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x016c8ac4, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x016c8ac8, 0x3e40016c ] # r18,0x16c             // load high bits constants pointer
    - [ be32, 0x016c8acc, 0x62528aa0 ] # ori r18,r18,0x8b10    // load low bits of constants pointer
    - [ be32, 0x016c8ad0, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x016c8ad4, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x016c8ad8, 0xeffee824 ] # fdivs f31,f30,f29     // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x016c8adc, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x016c8ae0, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x016c8ae4, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x016c8ae8, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x016c8aec, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x016c8af0, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x016c8af4, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x016c8af8, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

  DeS_FPS_Notes: &DeS_FPS_Notes
    "Patch version 2.0 and above is not compatible with the settings used for the previous patch. Clocks scale and Vblank rate must be set to the defaults. Vblank rate can be modified to increase the framelimit beyond 60 FPS. However, it's not recommended as users may encounter physics issues."

  DeS_DDE_Notes: &DeS_DDE_Notes
    "Can disable Write Color Buffers for 20% faster performance. Please note this patch gives a slightly darker tone to the game."

  DeS_AR_Notes: &DeS_AR_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. UI elements will be stretched."

  DeS_AR_Configurable_Values: &DeS_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

  BLUS30443_FreeCam: &BLUS30443_FreeCam
  # Thanks to Meow for original DS1 code
    - [ be32, 0x0014422c, 0x480db26d ] # branch to hork's cave
    - [ be32, 0x0021f498, 0xf821ff61 ]
    - [ be32, 0x0021f49c, 0x7c0802a6 ]
    - [ be32, 0x0021f4a0, 0xf80100b0 ]
    - [ be32, 0x0021f4a4, 0x38600000 ]
    - [ be32, 0x0021f4a8, 0x4bfa5639 ] # PadMan::GetPadDeviceForIdx
    - [ be32, 0x0021f4ac, 0x60000000 ]
    - [ be32, 0x0021f4b0, 0x813e203c ]
    - [ be32, 0x0021f4b4, 0x38000000 ]
    - [ be32, 0x0021f4b8, 0x91210090 ]
    - [ be32, 0x0021f4bc, 0x90610094 ]
    - [ be32, 0x0021f4c0, 0x90010098 ]
    - [ be32, 0x0021f4c4, 0x81630004 ]
    - [ be32, 0x0021f4c8, 0xa06b0120 ]
    - [ be32, 0x0021f4cc, 0x7863bfe2 ]
    - [ be32, 0x0021f4d0, 0x60000000 ]
    - [ be32, 0x0021f4d4, 0x5463063e ]
    - [ be32, 0x0021f4d8, 0x2f830000 ]
    - [ be32, 0x0021f4dc, 0x419e0034 ]
    - [ be32, 0x0021f4e0, 0xa00b011e ]
    - [ be32, 0x0021f4e4, 0x2f80000a ]
    - [ be32, 0x0021f4e8, 0x409e0028 ]
    - [ be32, 0x0021f4ec, 0x813f0034 ]
    - [ be32, 0x0021f4f0, 0x800901fc ]
    - [ be32, 0x0021f4f4, 0x38600001 ]
    - [ be32, 0x0021f4f8, 0x7c001a14 ]
    - [ be32, 0x0021f4fc, 0x900901fc ]
    - [ be32, 0x0021f500, 0x2f800004 ]
    - [ be32, 0x0021f504, 0x409e000c ]
    - [ be32, 0x0021f508, 0x38000000 ]
    - [ be32, 0x0021f50c, 0x900901fc ]
    - [ be32, 0x0021f510, 0x813f0034 ]
    - [ be32, 0x0021f514, 0x800901fc ]
    - [ be32, 0x0021f518, 0x2f800001 ]
    - [ be32, 0x0021f51c, 0x419e005c ]
    - [ be32, 0x0021f520, 0x2f800002 ]
    - [ be32, 0x0021f524, 0x419e007c ]
    - [ be32, 0x0021f528, 0x2f800003 ]
    - [ be32, 0x0021f52c, 0x419e0080 ]
    - [ be32, 0x0021f530, 0x80690204 ]
    - [ be32, 0x0021f534, 0x80890008 ]
    - [ be32, 0x0021f538, 0x38630010 ]
    - [ be32, 0x0021f53c, 0x38840010 ]
    - [ be32, 0x0021f540, 0x38a00010 ]
    - [ be32, 0x0021f544, 0x38c00020 ]
    - [ be32, 0x0021f548, 0x38e00030 ]
    - [ be32, 0x0021f54c, 0x7c2020ce ]
    - [ be32, 0x0021f550, 0x7c2019ce ]
    - [ be32, 0x0021f554, 0x7c2428ce ]
    - [ be32, 0x0021f558, 0x7c2329ce ]
    - [ be32, 0x0021f55c, 0x7c2430ce ]
    - [ be32, 0x0021f560, 0x7c2331ce ]
    - [ be32, 0x0021f564, 0x7c2438ce ]
    - [ be32, 0x0021f568, 0x7c2339ce ]
    - [ be32, 0x0021f56c, 0x9b7f0058 ]
    - [ be32, 0x0021f570, 0x9b7f0059 ]
    - [ be32, 0x0021f574, 0x480000a0 ]
    - [ be32, 0x0021f578, 0xa06b0122 ]
    - [ be32, 0x0021f57c, 0x7863e7e2 ]
    - [ be32, 0x0021f580, 0x5463063e ]
    - [ be32, 0x0021f584, 0x2f830000 ]
    - [ be32, 0x0021f588, 0x419e0008 ]
    - [ be32, 0x0021f58c, 0x48000014 ]
    - [ be32, 0x0021f590, 0x38000001 ]
    - [ be32, 0x0021f594, 0x981f0058 ]
    - [ be32, 0x0021f598, 0x981f0059 ]
    - [ be32, 0x0021f59c, 0x48000058 ]
    - [ be32, 0x0021f5a0, 0x9b7f0058 ]
    - [ be32, 0x0021f5a4, 0x9b7f0059 ]
    - [ be32, 0x0021f5a8, 0x4800004c ]
    - [ be32, 0x0021f5ac, 0x8069000c ]
    - [ be32, 0x0021f5b0, 0x80890204 ]
    - [ be32, 0x0021f5b4, 0x38630010 ]
    - [ be32, 0x0021f5b8, 0x38840010 ]
    - [ be32, 0x0021f5bc, 0x38a00010 ]
    - [ be32, 0x0021f5c0, 0x38c00020 ]
    - [ be32, 0x0021f5c4, 0x38e00030 ]
    - [ be32, 0x0021f5c8, 0x7c2020ce ]
    - [ be32, 0x0021f5cc, 0x7c2019ce ]
    - [ be32, 0x0021f5d0, 0x7c2428ce ]
    - [ be32, 0x0021f5d4, 0x7c2329ce ]
    - [ be32, 0x0021f5d8, 0x7c2430ce ]
    - [ be32, 0x0021f5dc, 0x7c2331ce ]
    - [ be32, 0x0021f5e0, 0x7c2438ce ]
    - [ be32, 0x0021f5e4, 0x7c2339ce ]
    - [ be32, 0x0021f5e8, 0x9b7f0058 ]
    - [ be32, 0x0021f5ec, 0x9b7f0059 ]
    - [ be32, 0x0021f5f0, 0x48000024 ]
    - [ be32, 0x0021f5f4, 0x38000001 ]
    - [ be32, 0x0021f5f8, 0x901f0044 ]
    - [ be32, 0x0021f5fc, 0x38c00000 ]
    - [ be32, 0x0021f600, 0x38a00000 ]
    - [ be32, 0x0021f604, 0x80810094 ]
    - [ be32, 0x0021f608, 0x80690204 ]
    - [ be32, 0x0021f60c, 0x4bf0bced ] # DbgCamControls
    - [ be32, 0x0021f610, 0x60000000 ]
    - [ be32, 0x0021f614, 0x80610094 ]
    - [ be32, 0x0021f618, 0xe80100b0 ]
    - [ be32, 0x0021f61c, 0x7c0803a6 ]
    - [ be32, 0x0021f620, 0x382100a0 ]
    - [ be32, 0x0021f624, 0x4e800020 ]

  BLES00932_FreeCam: &BLES00932_FreeCam
    - [ be32, 0x001451f4, 0x480db12d ] # branch to hork's cave
    - [ be32, 0x00220320, 0xf821ff61 ]
    - [ be32, 0x00220324, 0x7c0802a6 ]
    - [ be32, 0x00220328, 0xf80100b0 ]
    - [ be32, 0x0022032c, 0x38600000 ]
    - [ be32, 0x00220330, 0x4bfa5639 ] # PadMan::GetPadDeviceForIdx
    - [ be32, 0x00220334, 0x60000000 ]
    - [ be32, 0x00220338, 0x813e203c ]
    - [ be32, 0x0022033c, 0x38000000 ]
    - [ be32, 0x00220340, 0x91210090 ]
    - [ be32, 0x00220344, 0x90610094 ]
    - [ be32, 0x00220348, 0x90010098 ]
    - [ be32, 0x0022034c, 0x81630004 ]
    - [ be32, 0x00220350, 0xa06b0120 ]
    - [ be32, 0x00220354, 0x7863bfe2 ]
    - [ be32, 0x00220358, 0x60000000 ]
    - [ be32, 0x0022035c, 0x5463063e ]
    - [ be32, 0x00220360, 0x2f830000 ]
    - [ be32, 0x00220364, 0x419e0034 ]
    - [ be32, 0x00220368, 0xa00b011e ]
    - [ be32, 0x0022036c, 0x2f80000a ]
    - [ be32, 0x00220370, 0x409e0028 ]
    - [ be32, 0x00220374, 0x813f0034 ]
    - [ be32, 0x00220378, 0x800901fc ]
    - [ be32, 0x0022037c, 0x38600001 ]
    - [ be32, 0x00220380, 0x7c001a14 ]
    - [ be32, 0x00220384, 0x900901fc ]
    - [ be32, 0x00220388, 0x2f800004 ]
    - [ be32, 0x0022038c, 0x409e000c ]
    - [ be32, 0x00220390, 0x38000000 ]
    - [ be32, 0x00220394, 0x900901fc ]
    - [ be32, 0x00220398, 0x813f0034 ]
    - [ be32, 0x0022039c, 0x800901fc ]
    - [ be32, 0x002203a0, 0x2f800001 ]
    - [ be32, 0x002203a4, 0x419e005c ]
    - [ be32, 0x002203a8, 0x2f800002 ]
    - [ be32, 0x002203ac, 0x419e007c ]
    - [ be32, 0x002203b0, 0x2f800003 ]
    - [ be32, 0x002203b4, 0x419e0080 ]
    - [ be32, 0x002203b8, 0x80690204 ]
    - [ be32, 0x002203bc, 0x80890008 ]
    - [ be32, 0x002203c0, 0x38630010 ]
    - [ be32, 0x002203c4, 0x38840010 ]
    - [ be32, 0x002203c8, 0x38a00010 ]
    - [ be32, 0x002203cc, 0x38c00020 ]
    - [ be32, 0x002203d0, 0x38e00030 ]
    - [ be32, 0x002203d4, 0x7c2020ce ]
    - [ be32, 0x002203d8, 0x7c2019ce ]
    - [ be32, 0x002203dc, 0x7c2428ce ]
    - [ be32, 0x002203e0, 0x7c2329ce ]
    - [ be32, 0x002203e4, 0x7c2430ce ]
    - [ be32, 0x002203e8, 0x7c2331ce ]
    - [ be32, 0x002203ec, 0x7c2438ce ]
    - [ be32, 0x002203f0, 0x7c2339ce ]
    - [ be32, 0x002203f4, 0x9b7f0058 ]
    - [ be32, 0x002203f8, 0x9b7f0059 ]
    - [ be32, 0x002203fc, 0x480000a0 ]
    - [ be32, 0x00220400, 0xa06b0122 ]
    - [ be32, 0x00220404, 0x7863e7e2 ]
    - [ be32, 0x00220408, 0x5463063e ]
    - [ be32, 0x0022040c, 0x2f830000 ]
    - [ be32, 0x00220410, 0x419e0008 ]
    - [ be32, 0x00220414, 0x48000014 ]
    - [ be32, 0x00220418, 0x38000001 ]
    - [ be32, 0x0022041c, 0x981f0058 ]
    - [ be32, 0x00220420, 0x981f0059 ]
    - [ be32, 0x00220424, 0x48000058 ]
    - [ be32, 0x00220428, 0x9b7f0058 ]
    - [ be32, 0x0022042c, 0x9b7f0059 ]
    - [ be32, 0x00220430, 0x4800004c ]
    - [ be32, 0x00220434, 0x8069000c ]
    - [ be32, 0x00220438, 0x80890204 ]
    - [ be32, 0x0022043c, 0x38630010 ]
    - [ be32, 0x00220440, 0x38840010 ]
    - [ be32, 0x00220444, 0x38a00010 ]
    - [ be32, 0x00220448, 0x38c00020 ]
    - [ be32, 0x0022044c, 0x38e00030 ]
    - [ be32, 0x00220450, 0x7c2020ce ]
    - [ be32, 0x00220454, 0x7c2019ce ]
    - [ be32, 0x00220458, 0x7c2428ce ]
    - [ be32, 0x0022045c, 0x7c2329ce ]
    - [ be32, 0x00220460, 0x7c2430ce ]
    - [ be32, 0x00220464, 0x7c2331ce ]
    - [ be32, 0x00220468, 0x7c2438ce ]
    - [ be32, 0x0022046c, 0x7c2339ce ]
    - [ be32, 0x00220470, 0x9b7f0058 ]
    - [ be32, 0x00220474, 0x9b7f0059 ]
    - [ be32, 0x00220478, 0x48000024 ]
    - [ be32, 0x0022047c, 0x38000001 ]
    - [ be32, 0x00220480, 0x901f0044 ]
    - [ be32, 0x00220484, 0x38c00000 ]
    - [ be32, 0x00220488, 0x38a00000 ]
    - [ be32, 0x0022048c, 0x80810094 ]
    - [ be32, 0x00220490, 0x80690204 ]
    - [ be32, 0x00220494, 0x4bf0be2d ] # DbgCamControls
    - [ be32, 0x00220498, 0x60000000 ]
    - [ be32, 0x0022049c, 0x80610094 ]
    - [ be32, 0x002204a0, 0xe80100b0 ]
    - [ be32, 0x002204a4, 0x7c0803a6 ]
    - [ be32, 0x002204a8, 0x382100a0 ]
    - [ be32, 0x002204ac, 0x4e800020 ]

  BCAS20071_FreeCam: &BCAS20071_FreeCam
    - [ be32, 0x00142304, 0x480db26d ] # branch to hork's cave
    - [ be32, 0x0021d570, 0xf821ff61 ]
    - [ be32, 0x0021d574, 0x7c0802a6 ]
    - [ be32, 0x0021d578, 0xf80100b0 ]
    - [ be32, 0x0021d57c, 0x38600000 ]
    - [ be32, 0x0021d580, 0x4bfa5639 ] # PadMan::GetPadDeviceForIdx
    - [ be32, 0x0021d584, 0x60000000 ]
    - [ be32, 0x0021d588, 0x813e203c ]
    - [ be32, 0x0021d58c, 0x38000000 ]
    - [ be32, 0x0021d590, 0x91210090 ]
    - [ be32, 0x0021d594, 0x90610094 ]
    - [ be32, 0x0021d598, 0x90010098 ]
    - [ be32, 0x0021d59c, 0x81630004 ]
    - [ be32, 0x0021d5a0, 0xa06b0120 ]
    - [ be32, 0x0021d5a4, 0x7863bfe2 ]
    - [ be32, 0x0021d5a8, 0x60000000 ]
    - [ be32, 0x0021d5ac, 0x5463063e ]
    - [ be32, 0x0021d5b0, 0x2f830000 ]
    - [ be32, 0x0021d5b4, 0x419e0034 ]
    - [ be32, 0x0021d5b8, 0xa00b011e ]
    - [ be32, 0x0021d5bc, 0x2f80000a ]
    - [ be32, 0x0021d5c0, 0x409e0028 ]
    - [ be32, 0x0021d5c4, 0x813f0034 ]
    - [ be32, 0x0021d5c8, 0x800901fc ]
    - [ be32, 0x0021d5cc, 0x38600001 ]
    - [ be32, 0x0021d5d0, 0x7c001a14 ]
    - [ be32, 0x0021d5d4, 0x900901fc ]
    - [ be32, 0x0021d5d8, 0x2f800004 ]
    - [ be32, 0x0021d5dc, 0x409e000c ]
    - [ be32, 0x0021d5e0, 0x38000000 ]
    - [ be32, 0x0021d5e4, 0x900901fc ]
    - [ be32, 0x0021d5e8, 0x813f0034 ]
    - [ be32, 0x0021d5ec, 0x800901fc ]
    - [ be32, 0x0021d5f0, 0x2f800001 ]
    - [ be32, 0x0021d5f4, 0x419e005c ]
    - [ be32, 0x0021d5f8, 0x2f800002 ]
    - [ be32, 0x0021d5fc, 0x419e007c ]
    - [ be32, 0x0021d600, 0x2f800003 ]
    - [ be32, 0x0021d604, 0x419e0080 ]
    - [ be32, 0x0021d608, 0x80690204 ]
    - [ be32, 0x0021d60c, 0x80890008 ]
    - [ be32, 0x0021d610, 0x38630010 ]
    - [ be32, 0x0021d614, 0x38840010 ]
    - [ be32, 0x0021d618, 0x38a00010 ]
    - [ be32, 0x0021d61c, 0x38c00020 ]
    - [ be32, 0x0021d620, 0x38e00030 ]
    - [ be32, 0x0021d624, 0x7c2020ce ]
    - [ be32, 0x0021d628, 0x7c2019ce ]
    - [ be32, 0x0021d62c, 0x7c2428ce ]
    - [ be32, 0x0021d630, 0x7c2329ce ]
    - [ be32, 0x0021d634, 0x7c2430ce ]
    - [ be32, 0x0021d638, 0x7c2331ce ]
    - [ be32, 0x0021d63c, 0x7c2438ce ]
    - [ be32, 0x0021d640, 0x7c2339ce ]
    - [ be32, 0x0021d644, 0x9b7f0058 ]
    - [ be32, 0x0021d648, 0x9b7f0059 ]
    - [ be32, 0x0021d64c, 0x480000a0 ]
    - [ be32, 0x0021d650, 0xa06b0122 ]
    - [ be32, 0x0021d654, 0x7863e7e2 ]
    - [ be32, 0x0021d658, 0x5463063e ]
    - [ be32, 0x0021d65c, 0x2f830000 ]
    - [ be32, 0x0021d660, 0x419e0008 ]
    - [ be32, 0x0021d664, 0x48000014 ]
    - [ be32, 0x0021d668, 0x38000001 ]
    - [ be32, 0x0021d66c, 0x981f0058 ]
    - [ be32, 0x0021d670, 0x981f0059 ]
    - [ be32, 0x0021d674, 0x48000058 ]
    - [ be32, 0x0021d678, 0x9b7f0058 ]
    - [ be32, 0x0021d67c, 0x9b7f0059 ]
    - [ be32, 0x0021d680, 0x4800004c ]
    - [ be32, 0x0021d684, 0x8069000c ]
    - [ be32, 0x0021d688, 0x80890204 ]
    - [ be32, 0x0021d68c, 0x38630010 ]
    - [ be32, 0x0021d690, 0x38840010 ]
    - [ be32, 0x0021d694, 0x38a00010 ]
    - [ be32, 0x0021d698, 0x38c00020 ]
    - [ be32, 0x0021d69c, 0x38e00030 ]
    - [ be32, 0x0021d6a0, 0x7c2020ce ]
    - [ be32, 0x0021d6a4, 0x7c2019ce ]
    - [ be32, 0x0021d6a8, 0x7c2428ce ]
    - [ be32, 0x0021d6ac, 0x7c2329ce ]
    - [ be32, 0x0021d6b0, 0x7c2430ce ]
    - [ be32, 0x0021d6b4, 0x7c2331ce ]
    - [ be32, 0x0021d6b8, 0x7c2438ce ]
    - [ be32, 0x0021d6bc, 0x7c2339ce ]
    - [ be32, 0x0021d6c0, 0x9b7f0058 ]
    - [ be32, 0x0021d6c4, 0x9b7f0059 ]
    - [ be32, 0x0021d6c8, 0x48000024 ]
    - [ be32, 0x0021d6cc, 0x38000001 ]
    - [ be32, 0x0021d6d0, 0x901f0044 ]
    - [ be32, 0x0021d6d4, 0x38c00000 ]
    - [ be32, 0x0021d6d8, 0x38a00000 ]
    - [ be32, 0x0021d6dc, 0x80810094 ]
    - [ be32, 0x0021d6e0, 0x80690204 ]
    - [ be32, 0x0021d6e4, 0x4bf0bced ] # DbgCamControls
    - [ be32, 0x0021d6e8, 0x60000000 ]
    - [ be32, 0x0021d6ec, 0x80610094 ]
    - [ be32, 0x0021d6f0, 0xe80100b0 ]
    - [ be32, 0x0021d6f4, 0x7c0803a6 ]
    - [ be32, 0x0021d6f8, 0x382100a0 ]
    - [ be32, 0x0021d6fc, 0x4e800020 ]

  FreeCam_Notes: &FreeCam_Notes
    "Activate and cycle through modes with X + L3. Advance frames in time stop mode with Cross. L2/R2 to move down/up, L1/R1 to slow down/speed up movement."

  des_US100title: &des_US100title
    "Demon's Souls":
      BLUS30443: [ 01.00 ]

  des_EU100title: &des_EU100title
    "Demon's Souls":
      BLES00932: [ 01.00 ]

  des_AS104title: &des_AS104title
    "Demon's Souls":
      BCAS20071: [ 01.04 ]

  des_USDemo101title: &des_USDemo101title
    "Demon's Souls Trade Demo":
      BLUD80018: [ 01.01 ]

  des_JP104title: &des_JP104title
    "Demon's Souls":
      BCJS30022: [ 01.04 ]

PPU-83681f6110d33442329073b72b8dc88a2f677172:
  "Unlock FPS":
    Games: *des_US100title
    Author: "Whatcookie, Gibbed"
    Notes: *DeS_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *BLUS30443_FpsUnlock ]
  "Disable Dynamic Exposure":
    Games: *des_US100title
    Author: "Whatcookie"
    Notes: *DeS_DDE_Notes
    Patch Version: 1.1
    Patch:
      - [ be16, 0x00025edc, 0x981f ]
  "Skip Intro Videos":
    Games: *des_US100title
    Author: "GalCiv"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008eef78, 0x38000003 ] # Intro logos skip
      - [ be32, 0x008eef7c, 0x901c0100 ]
  "Aspect Ratio":
    Games: *des_US100title
    Author: "Whatcookie"
    Notes: *DeS_AR_Notes
    Configurable Values: *DeS_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018cefbc, "Aspect Ratio" ]
      - [ bef32, 0x0190433c, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *des_US100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00217e7c, 0x41 ]
  "Enable FreeCam":
    Games: *des_US100title
    Author: "horkrux"
    Notes: *FreeCam_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *BLUS30443_FreeCam ]

PPU-5446a2645880eefa75f7e374abd6b7818511e2ef:
  "Unlock FPS":
    Games: *des_EU100title
    Author: "Whatcookie, Gibbed"
    Notes: *DeS_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *BLES00932_FpsUnlock ]
  "Disable Dynamic Exposure":
    Games: *des_EU100title
    Author: "Whatcookie"
    Notes: *DeS_DDE_Notes
    Patch Version: 1.1
    Patch:
      - [ be16, 0x00026ac4, 0x981f ]
  "Skip Intro Videos":
    Games: *des_EU100title
    Author: "GalCiv"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008f0928, 0x38000003 ] # Intro logos skip
      - [ be32, 0x008f092c, 0x901c0100 ]
  "Aspect Ratio":
    Games: *des_EU100title
    Author: "Whatcookie"
    Notes: *DeS_AR_Notes
    Configurable Values: *DeS_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018cf13c, "Aspect Ratio" ]
      - [ bef32, 0x01904494, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *des_EU100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00218d04, 0x41 ]
  "Enable FreeCam":
    Games: *des_EU100title
    Author: "horkrux"
    Notes: *FreeCam_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *BLES00932_FreeCam ]

PPU-9403fe1678487def5d7f3c380b4c4fb275035378:
  "Unlock FPS":
    Games: *des_AS104title
    Author: "Whatcookie, Gibbed, KokutouKiritsugu port to BCAS20071"
    Notes: *DeS_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *BCAS20071_FpsUnlock ]
  "Disable Dynamic Exposure":
    Games: *des_AS104title
    Author: "Whatcookie, KokutouKiritsugu port to BCAS20071"
    Notes: *DeS_DDE_Notes
    Patch Version: 1.1
    Patch:
      - [ be16, 0x0002414c, 0x981f ]
  "Skip Intro Videos":
    Games: *des_AS104title
    Author: "GalCiv, KokutouKiritsugu port to BCAS20071"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008efecc, 0x38000003 ] # Intro logos skip
      - [ be32, 0x008efed0, 0x901c0100 ]
  "Aspect Ratio":
    Games: *des_AS104title
    Author: "Whatcookie, KokutouKiritsugu port to BCAS20071"
    Notes: *DeS_AR_Notes
    Configurable Values: *DeS_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018cee14, "Aspect Ratio" ]
      - [ bef32, 0x0190430c, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *des_AS104title
    Author: "illusion, KokutouKiritsugu port to BCAS20071"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00215f54, 0x41 ]
  "Enable FreeCam":
    Games: *des_AS104title
    Author: "horkrux"
    Notes: *FreeCam_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *BCAS20071_FreeCam ]

PPU-f965a746d844cd0c572a7e8731b5b3b7a81f7bdd:
  "Unlock FPS":
    Games: *des_USDemo101title
    Author: "Whatcookie, Gibbed"
    Notes: *DeS_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *BLUS30443_FpsUnlock ]
  "Disable Dynamic Exposure":
    Games: *des_USDemo101title
    Author: "Whatcookie"
    Notes: *DeS_DDE_Notes
    Patch Version: 1.1
    Patch:
      - [ be16, 0x00025edc, 0x981f ]
  "Skip Intro Videos":
    Games: *des_USDemo101title
    Author: "GalCiv"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008eef78, 0x38000003 ] # Intro logos skip
      - [ be32, 0x008eef7c, 0x901c0100 ]
  "Aspect Ratio":
    Games: *des_USDemo101title
    Author: "Whatcookie"
    Notes: *DeS_AR_Notes
    Configurable Values: *DeS_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018cefbc, "Aspect Ratio" ]
      - [ bef32, 0x0190433c, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *des_USDemo101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00217e7c, 0x41 ]
  "Enable FreeCam":
    Games: *des_USDemo101title
    Author: "horkrux"
    Notes: *FreeCam_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *BLUS30443_FreeCam ]

PPU-68544b29e92609ccb2710f485ae7708e4cb35df1:
  "Unlock FPS":
    Games: *des_JP104title
    Author: "Whatcookie, Gibbed"
    Notes: *DeS_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *BCJS30022_FpsUnlock ]
  "Disable Dynamic Exposure":
    Games: *des_JP104title
    Author: "Whatcookie"
    Notes: *DeS_DDE_Notes
    Patch Version: 1.1
    Patch:
      - [ be16, 0x000240d4, 0x981f ]
  "Skip Intro Videos":
    Games: *des_JP104title
    Author: "GalCiv"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008efe54, 0x38000003 ] # Intro logos skip
      - [ be32, 0x008efe58, 0x901c0100 ]
  "Aspect Ratio":
    Games: *des_JP104title
    Author: "Whatcookie"
    Notes: *DeS_AR_Notes
    Configurable Values: *DeS_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018cee14, "Aspect Ratio" ]
      - [ bef32, 0x0190430c, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *des_JP104title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00215edc, 0x41 ]

Anchors:
  kh15_ar_21_9_notes: &kh15_ar_21_9_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings."
  kh15_ar_21_9: &kh15_ar_21_9
    - [ be32, 0x000eb170, 0x3faaaaab ] # Vert+ 21:9
    - [ be32, 0x000eb16c, 0x3fc00000 ] # Zoom+ 21:9

  kh15_60fps_notes: &kh15_60fps_notes
    "May work with JP version with adjustments. May cause double cutscenes audio and/or video. May also cause some trinity cutscenes to loop as white screen."
  kh15_60fps: &kh15_60fps
    - [ be32, 0x00036870, 0x38600000 ] # li r3, 0x0

  kh15recom_60fps: &kh15recom_60fps
    - [ be32, 0x00012484, 0x38800000 ] # li r4, 0x0

PPU-d626d9832ed48d1ff0d8d97e53a4e23df50cfae6: # kingdom.self
  "21:9 Aspect Ratio":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX":
        BLUS31212: [ All ]
    Author: "Esppiral"
    Notes: *kh15_ar_21_9_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15_ar_21_9 ]
  "60 FPS":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX":
        BLUS31212: [ All ]
    Author: "Esppiral, Michael Pama, illusion"
    Notes: *kh15_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15_60fps ]

PPU-f259a89a80e02a664ab97c3a175330c2e53810ab: # kingdom.self
  "21:9 Aspect Ratio":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX":
        BLES01897: [ All ]
    Author: "Esppiral"
    Notes: *kh15_ar_21_9_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15_ar_21_9 ]
  "60 FPS":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX":
        BLES01897: [ All ]
    Author: "Esppiral, Michael Pama, illusion"
    Notes: *kh15_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15_60fps ]

PPU-c994c802bc88352df8d73bc92f8f9a862814e50d: # recom.self
  "60 FPS":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX Chain of Memories":
        BLUS31212: [ All ]
    Author: "BlaGe, illusion"
    Notes: *kh15_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15recom_60fps ]

PPU-4b0a5d3faf18ac22a12c3dca921f82e0c5170bb6: # recom.self
  "60 FPS":
    Games:
      "Kingdom Hearts HD 1.5 ReMIX Chain of Memories":
        BLES01897: [ All ]
    Author: "BlaGe, illusion"
    Notes: *kh15_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kh15recom_60fps ]

Anchors:
  kh25_60fps_notes: &kh25_60fps_notes
    "Doubles gravity, some stuff moves at double speed."

PPU-f18bcdcc6d74a25383d72074e1646352ab53e9d2: # kingdom2.self
  "60 FPS":
    Games:
      "Kingdom Hearts HD 2.5 ReMIX":
        BLES02070: [ All ]
        BLUS31460: [ All ]
    Author: "illusion, BlaGe" # https://forums.rpcs3.net/user-1272.html
    Notes: *kh25_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00076850, 0x38600000 ] # li r3, 0x0

PPU-6da0d4551c59eb596a1e04a5355e98163badf246: # BBS.self
  "60 FPS":
    Games:
      "Kingdom Hearts HD 2.5 ReMIX (Birth By Sleep)":
        BLES02070: [ All ]
        BLUS31460: [ All ]
    Author: "illusion, BlaGe" # https://forums.rpcs3.net/user-1272.html
    Notes: *kh25_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00015aa4, 0x38600000 ] # li r3, 0x0

PPU-QoiFRPF8j00N996aQMthtWqEUG0Y:
  "P1 Infinite Health":
    Games:
      "Marvel vs. Capcom 2":
        NPUB30068: [ All ]
    Author: "Petareo"
    Notes: "You will never lose health when attacked."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0064768d, 0x006481d5 ]

Anchors:
  DOD3_FPS_Notes_Part1: &DOD3_FPS_Notes_Part1
    "Vblank frequency must be 120Hz for 60 FPS or 240Hz for 120 FPS.\n"
    # Min frametime is this value / 30
    # 0.125 / 30 is 4.1ms, so max FPS is 240
    # This game has a second framerate limiter based
    # on Vblank, so set Vblank high to raise the framerate
    # Max FPS is Vblank / 2

  DOD3_FPS_Notes_Part2: &DOD3_FPS_Notes_Part2
    "Going over 120 FPS is possible, but physics will break a bit (lowering jump height) and make it impossible to lock-on to enemies when flying on the dragon."

  DOD3_FPS_NoUserInput_Notes_Part1: &DOD3_FPS_NoUserInput_Notes_Part1
    "Does not require user to change vblank settings.\n"

  DOD3_FPS_Notes: &DOD3_FPS_Notes
    [ *DOD3_FPS_Notes_Part1, *DOD3_FPS_Notes_Part2 ]

  DOD3_FPS_NoUserInput_Notes: &DOD3_FPS_NoUserInput_Notes
    [ *DOD3_FPS_NoUserInput_Notes_Part1, *DOD3_FPS_Notes_Part2 ]

  DOD3_Camera_H_Sens_Notes: &DOD3_Camera_H_Sens_Notes
    "When using the FPS unlock patch the horizontal camera sensitivity gets very low. This patch changes a multiplier so that the horizontal camera sensitivity slider in the game's settings does something meaningful again. The multiplier can be altered in the patch file."
    # Sensitivity formula is "SliderValue * (Multiplier + 1)"
    # Where SliderValue is the setting (0-15) from the game settings and
    # default Multiplier is 0.125, giving a default range of 0.125 - 2.
    # 0.35 seems good from my testing, feel free to change as you see fit.
  DOD3_Camera_H_Sens_Multiplier: &DOD3_Camera_H_Sens_Multiplier 0.35

  DOD3_UnprotectFiles_Notes: &DOD3_UnprotectFiles_Notes
    "Disables SHA-1 hash checking of the following files: "
  DOD3_UnprotectFiles_US_Notes: &DOD3_UnprotectFiles_US_Notes
    [ *DOD3_UnprotectFiles_Notes, "coalesced_int.bin, coalesced_fra.bin, core.xxx, engine.xxx, gfxui.xxx, ipdrv.xxx, gameframework.xxx, onlinesubsystempc.xxx, cdevsounddriver_loc_int.xxx, cdevsounddriver.xxx, sqexsead.xxx, sqex03game.xxx, startup.xxx, cdevsounddriver_loc_fra.xxx" ]
  DOD3_UnprotectFiles_JP_Notes: &DOD3_UnprotectFiles_JP_Notes
    [ *DOD3_UnprotectFiles_Notes, "coalesced_int.bin, coalesced_jpn.bin, core.xxx, engine.xxx, gfxui.xxx, ipdrv.xxx, gameframework.xxx, onlinesubsystempc.xxx, cdevsounddriver_loc_int.xxx, cdevsounddriver.xxx, sqexsead.xxx, sqex03game.xxx, startup.xxx, cdevsounddriver_loc_jpn.xxx" ]
  DOD3_UnprotectFiles_AS_Notes: &DOD3_UnprotectFiles_AS_Notes
    [ *DOD3_UnprotectFiles_Notes, "coalesced_int.bin, coalesced_chn.bin, coalesced_cze.bin, coalesced_deu.bin, coalesced_esm.bin, coalesced_esn.bin, coalesced_fra.bin, coalesced_hun.bin, coalesced_ita.bin, coalesced_jpn.bin, coalesced_kor.bin, coalesced_pol.bin, coalesced_ptb.bin, coalesced_rus.bin, coalesced_slo.bin, core.xxx, engine.xxx, gfxui.xxx, ipdrv.xxx, gameframework.xxx, onlinesubsystempc.xxx, cdevsounddriver.xxx, sqexsead.xxx, sqex03game.xxx, startup.xxx" ]

PPU-2b393f064786e5895d5a576621deb4c9107a8f0b:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLUS31197: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008edc5c, 0.125 ] # 240 max FPS

PPU-f2f7f7ea0444353884bb715152147c3a29f4e790:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLUS31197: [ 01.01 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008edbcc, 0.125 ] # 240 max FPS
  "Increase Horizontal Camera Sensitivity":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLUS31197: [ 01.01 ]
    Author: "RagingCactus"
    Notes: *DOD3_Camera_H_Sens_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0091b69c, *DOD3_Camera_H_Sens_Multiplier ]
  "Disable low-res Depth-of-Field":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLUS31197: [ 01.01 ]
    Author: "emoose"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a5455c, 0x38800000 ] # patch ASqex03GameRender::EnableDOF to override r4 param with 0
  "Unprotect game files":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLUS31197: [ 01.01 ]
    Author: "emoose"
    Notes: *DOD3_UnprotectFiles_US_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008c50b8, 0x30840000 ]

PPU-b18834a8f21cd29a091b287a66656a279ccba507:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008ecf2c, 0.125 ] # 240 max FPS

PPU-9c04f427625a0064282432e4edfefe9e0956c303:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008ececc, 0.125 ] # 240 max FPS
  "Unlock FPS (No User Input)":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "illusion"
    Notes: *DOD3_FPS_NoUserInput_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ca140, 0x38800000 ]
  "Increase Horizontal Camera Sensitivity":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "RagingCactus"
    Notes: *DOD3_Camera_H_Sens_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0091a99c, *DOD3_Camera_H_Sens_Multiplier ]
  "Disable low-res Depth-of-Field":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "emoose"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a5385c, 0x38800000 ] # patch ASqex03GameRender::EnableDOF to override r4 param with 0
  "Unprotect game files":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "emoose"
    Notes: *DOD3_UnprotectFiles_US_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008c4398, 0x30840000 ]
  "Debug Boot Menu":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPUB31251: [ 01.01 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x015f88fc, "/SQEX03GAME/COOKEDPS3/DEBUGTITLE.XXX\0" ]
      - [ be32, 0x008e4394, 0x48c973c0 ]
      - [ be32, 0x0157b754, 0x88ba0016 ]
      - [ be32, 0x0157b758, 0x2c050054 ]
      - [ be32, 0x0157b75c, 0x40820028 ]
      - [ be32, 0x0157b760, 0x88ba001a ]
      - [ be32, 0x0157b764, 0x2c050045 ]
      - [ be32, 0x0157b768, 0x4082001c ]
      - [ be32, 0x0157b76c, 0x88ba001c ]
      - [ be32, 0x0157b770, 0x2c050058 ]
      - [ be32, 0x0157b774, 0x40820010 ]
      - [ be32, 0x0157b778, 0x3ca0015f ]
      - [ be32, 0x0157b77c, 0x60a588fc ]
      - [ be32, 0x0157b780, 0x48000008 ]
      - [ be32, 0x0157b784, 0x7f45d378 ]
      - [ be32, 0x0157b788, 0x4b368c10 ]

PPU-e1a44e5d3fb03a37f0445e92ed13abce8d6efdd4:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPEB01407: [ All ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008eceec, 0.125 ] # 240 max FPS
  "Unlock FPS (No User Input)":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPEB01407: [ All ]
    Author: "illusion"
    Notes: *DOD3_FPS_NoUserInput_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ca140, 0x38800000 ]
  "Unprotect game files":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPEB01407: [ All ]
    Author: "emoose"
    Notes: *DOD3_UnprotectFiles_US_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008c4398, 0x38800000 ]

PPU-60d4a7e2b5efa835e16f51de649c3e3b202e072e:
  "Unlock FPS (For Delisted Ver)":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        NPEB01407: [ All ]
    Author: "Whatcookie, Asinine"
    Notes: [ *DOD3_FPS_Notes_Part1, *DOD3_FPS_Notes_Part2, "\nRequired for old delisted versions of this gameID. There was a silent update to fix DLC issues. Both versions are listed as \"01.00\" so the patch can't be separated." ]
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008ecf1c, 0.125 ] # 240 max FPS

PPU-a017576369165f3746730724c8ae762ed9bc64d8:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLJM61043: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00939a14, 0.125 ] # 240 max FPS

PPU-c09c496514f6dc591434575b04eb7c003826c11d:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLJM61043: [ 01.04 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008ed62c, 0.125 ] # 240 max FPS
  "Increase Horizontal Camera Sensitivity":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLJM61043: [ 01.04 ]
    Author: "RagingCactus"
    Notes: *DOD3_Camera_H_Sens_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0091988c, *DOD3_Camera_H_Sens_Multiplier ]
  "Disable low-res Depth-of-Field":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLJM61043: [ 01.04 ]
    Author: "emoose"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a4e854, 0x38800000 ] # patch ASqex03GameRender::EnableDOF to override r4 param with 0
  "Unprotect game files":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BLJM61043: [ 01.04 ]
    Author: "emoose"
    Notes: *DOD3_UnprotectFiles_JP_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008c5310, 0x30840000 ]

PPU-ac64494f4ea31f8b0f82584c48916d30dad16300:
  "Unlock FPS":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BCAS20311: [ 01.02 ]
    Author: "Whatcookie"
    Notes: *DOD3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008edc5c, 0.125 ] # 240 max FPS
  "Increase Horizontal Camera Sensitivity":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BCAS20311: [ 01.02 ]
    Author: "RagingCactus"
    Notes: *DOD3_Camera_H_Sens_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0091ad64, *DOD3_Camera_H_Sens_Multiplier ]
  "Disable low-res Depth-of-Field":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BCAS20311: [ 01.02 ]
    Author: "emoose"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a5245c, 0x38800000 ] # patch ASqex03GameRender::EnableDOF to override r4 param with 0
  "Unprotect game files":
    Games:
      "Drakengard 3 (Drag-On Dragoon 3)":
        BCAS20311: [ 01.02 ]
    Author: "emoose"
    Notes: *DOD3_UnprotectFiles_AS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008c5178, 0x30840000 ]

Anchors:
  gow_hd_4_3_notes: &gow_hd_4_3_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Restores original viewport size from PS2 releases. The remastered versions of the first two games handled a 16:9 aspect ratio by cropping out 25% of the vertical viewport instead of expanding the horizontal FOV."
  gow_hd_16_9_notes: &gow_hd_16_9_notes
    "Like the PS2 releases, the remastered versions of the first two games handle 16:9 aspect ratio by cropping out 25% of the vertical viewport instead of expanding the horizontal FOV. This patch fixes it and makes the game render in proper 16:9."

GOWHD_AR_Configurable_Values: &GOWHD_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333334
        "5:4": 1.25

PPU-514690b33c4900c9a3ed0cf8ae8b836e8209fb1e:
  "4:3 Aspect Ratio":
    Games:
      "God of War: HD":
        NPUA80490: [ 01.00 ]
    Author: "boma"
    Notes: *gow_hd_4_3_notes
    Configurable Values: *GOWHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x004ff9ec, "Aspect Ratio" ]

PPU-31e32090ea333902dbf322c24487bab7e8c8d0d1:
  "4:3 Aspect Ratio":
    Games:
      "God of War: II HD":
        NPUA80491: [ 01.00 ]
    Author: "boma"
    Notes: *gow_hd_4_3_notes
    Configurable Values: *GOWHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0053ee4c, "Aspect Ratio" ]

PPU-645f0573d7438e37ddd231377adf9c1205e8a040:
  "True widescreen":
    Games:
      "God of War: HD":
        BCUS98229: [ 01.01 ]
        NPUA80490: [ 01.01 ]
        NPHA80104: [ 01.01 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be64, 0x001958d0, 0x38800000ffc00890 ]
      - [ be64, 0x001958d8, 0xfc20f89048092135 ]
      - [ be64, 0x001958e0, 0xc002daa4ec210032 ]
  "Aspect Ratio":
    Games:
      "God of War: HD":
        BCUS98229: [ 01.01 ]
        NPUA80490: [ 01.01 ]
        NPHA80104: [ 01.01 ]
    Author: "boma"
    Notes: *gow_hd_4_3_notes
    Configurable Values: *GOWHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x004ffa44, "Aspect Ratio" ]
  "Skip any videos with X button":
    Games:
      "God of War: HD":
        BCUS98229: [ 01.01 ]
        NPUA80490: [ 01.01 ]
        NPHA80104: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c67f0, 0x38000001 ]

PPU-9cd8d28963ebc29b59c79819cb56f3d92e857a37:
  "True widescreen":
    Games:
      "God of War: II HD":
        BCUS98229: [ 01.01 ]
        NPUA80491: [ 01.01 ]
        NPHA80105: [ 01.01 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000593e4, 0xfca00890 ]
      - [ be64, 0x000593e8, 0xfcc0e890807f000c ]
      - [ be32, 0x001958f0, 0xfc20f890 ]
  "Aspect Ratio":
    Games:
      "God of War: II HD":
        BCUS98229: [ 01.01 ]
        NPUA80491: [ 01.01 ]
        NPHA80105: [ 01.01 ]
    Author: "boma"
    Notes: *gow_hd_4_3_notes
    Configurable Values: *GOWHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0053eecc, "Aspect Ratio" ]
  "Skip any videos with X button":
    Games:
      "God of War: II HD":
        BCUS98229: [ 01.01 ]
        NPUA80491: [ 01.01 ]
        NPHA80105: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002c1a88, 0x38000001 ]

PPU-e8e29268437430a42b01ccbdea814560150bc037:
  "Skip any videos with X button":
    Games:
      "God of War: HD":
        BCES00791: [ 01.01 ]
        NPEA00255: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c84d8, 0x38000001 ]
  "True widescreen":
    Games:
      "God of War: HD":
        BCES00791: [ 01.01 ]
        NPEA00255: [ 01.01 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00197164, 0x38800000 ]
      - [ be64, 0x00197168, 0xffc00890fc20f890 ]
      - [ be32, 0x00197170, 0x48091ad9 ]
      - [ be64, 0x00197174, 0xc002dab8ec210032 ]

PPU-13e4d424f118d4305110d0218be9e8fa3fa27a87:
  "Skip any videos with X button":
    Games:
      "God of War: II HD":
        BCES00791: [ 01.01 ]
        NPEA00256: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002c2b14, 0x38000001 ]
  "True widescreen":
    Games:
      "God of War: II HD":
        BCES00791: [ 01.01 ]
        NPEA00256: [ 01.01 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be64, 0x00059600, 0xfca00890fcc0e890 ]
      - [ be64, 0x00059608, 0x807f000cfc20f890 ]

PPU-a991fd08acbc0262bfc4cca1a60619d758620565:
  "True widescreen":
    Games:
      "God of War: HD":
        BCUS98229: [ 01.00 ]
        NPUA80490: [ 01.00 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001a27d4, 0x38800000 ]
      - [ be64, 0x001a27d8, 0xffc00890fc20f890 ]
      - [ be64, 0x001a27e0, 0x480913d9c002dac8 ]
      - [ be32, 0x001a27e8, 0xec210032 ]

PPU-05408beac1c24af97899a302f13c2692dbf73bd2:
  "True widescreen":
    Games:
      "God of War: II HD":
        BCUS98229: [ 01.00 ]
        NPUA80491: [ 01.00 ]
    Author: "Garasuhato"
    Notes: *gow_hd_16_9_notes
    Patch Version: 1.0
    Patch:
      - [ be64, 0x000593b8, 0xfca00890fcc0e890 ]
      - [ be64, 0x000593c0, 0x807f000cfc20f890 ]

PPU-fe9438693b989edd1a04f973e156cf185e16d13d:
  "Skip any videos with X button":
    Games:
      "God of War: II HD":
        BLJM60200: [ 01.01 ]
    Author: "illusion, hero"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x2C1C34, 0x38000001 ]

PPU-7775c39a8eade714caca6c95cf07c9d9ca095047:
  "Skip any videos with X button":
    Games:
      "God of War: HD":
        BLJM60200: [ 01.01 ]
    Author: "illusion, hero"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x1C70A4, 0x48000004 ]

Anchors:
  lbp2_133title: &lbp2_133title
    "LittleBigPlanet 2":
      BCES00850: [ 01.33 ]
      BCES01086: [ 01.33 ]
      BCES01345: [ 01.33 ]
      BCES01346: [ 01.33 ]
      BCES01693: [ 01.33 ]
      BCES01694: [ 01.33 ]
      BCUS98245: [ 01.33 ]
      BCUS98372: [ 01.33 ]
      BCAS20113: [ 01.33 ]
      BCAS20201: [ 01.33 ]
      BCJS30058: [ 01.33 ]
      NPEA00324: [ 01.33 ]
      NPEA00437: [ 01.33 ]
      NPUA80662: [ 01.33 ]
  lbp2_121title: &lbp2_121title
    "LittleBigPlanet 2":
      BCES00850: [ 01.21 ]
      BCES01693: [ 01.21 ]
      NPUA80662: [ 01.21 ]

  lbp2_ar_notes: &lbp2_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings."
  lbp2_ar_configurable_values: &lbp2_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

  # Common digest key for servers implementing AutoDiscover's `usesCustomDigestKey` flag
  # Ref: https://docs.littlebigrefresh.com/autodiscover-api#version-2
  lbp2_custom_digest: &lbp2_custom_digest
    "CustomServerDigest"

  lbp2_server_url_beacon: &lbp2_server_url_beacon
    "http://lighthouse.lbpunion.com/LITTLEBIGPLANETPS3_XML\0"

  lbp2_server_url_infinite: &lbp2_server_url_infinite
    "http://lnfinite.site/LITTLEBIGPLANETPS3_XML\0"

  lbp2_server_url_lbr: &lbp2_server_url_lbr
    "http://lbp.littlebigrefresh.com:2095/lbp\0"

PPU-a74423ca913fc18e46cfe926db1d48e41f9858a9:
  "Disable MLAA":
    Games: *lbp2_133title
    Author: "illusiony"
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00db8208, 0x00 ]
      - [ be32, 0x00e3e114, 0x00000001 ]
  "Aspect Ratio":
    Games: *lbp2_133title
    Author: "slashiee"
    Notes: *lbp2_ar_notes
    Configurable Values: *lbp2_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00d9c8ec, "Aspect Ratio" ]
  "Create Mode Everywhere":
    Games: *lbp2_133title
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00156f00, 0x38000001 ]
  "Beacon Custom Server":
    Games: *lbp2_133title
    Author: "uh wot"
    Notes: "Patches server URL to point to Beacon, a custom server run by LBP Union."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00c51b68, *lbp2_server_url_beacon ] # https server url
      - [ utf8, 0x00c51c08, *lbp2_server_url_beacon ] # http server url
  "Infinite Custom Server":
    Games: *lbp2_133title
    Author: "Toyo, uh wot"
    Notes: "Patches server URL to point to Infinite, a custom server run by the Infinite Team.\nCreate an account here: https://lnfinite.site/register \n(The first letter is a lowercase L, not a capital i)\n\nIf you have any crashes or connection issues, restart the game in RPCS3 after authentication.\n\nThanks to @uh wot for locating the addresses."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00c51b68, *lbp2_server_url_infinite ] # https server url
      - [ utf8, 0x00c51c08, *lbp2_server_url_infinite ] # http server url
  "LittleBigRefresh Custom Server":
    Games: *lbp2_133title
    Author: "jvyden (via Refresher)"
    Notes: "Connect to LittleBigRefresh, a second-generation custom server that focuses on quality of life features and improving user experience, with native support for mods and beta builds.\n\nThis server requires registration on the website at https://lbp.littlebigrefresh.com/register."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00c51b68, *lbp2_server_url_lbr ]
      - [ utf8, 0x00c51c08, *lbp2_server_url_lbr ]
      - [ utf8, 0x00c361d0, *lbp2_custom_digest ] # Digest key
  "Disable Score Bubble FX":
    Games: *lbp2_133title
    Author: "ennuo"
    Notes: "Disables score bubble effects for extra performance."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f4fb4, 0x4e800020 ]
  "Disable Motion Blur":
    Games: *lbp2_133title
    Author: "Hasster"
    Notes: "Disables Motion Blur. Doesn't affect performance.\nPlease report any issues."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032897c, 0x4e800020 ]

PPU-46682b51c3c5d570ba38c6a143480214aefc6217:
  "Create Mode Everywhere":
    Games: *lbp2_121title
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0014c6c4, 0x38000001 ]

PPU-1d7a568ddaf6beb0dce106fa372d8205a231ef57:
  "Beacon Custom Server":
    Games:
      "LittleBigPlanet 2 Move Pack Beta":
        BCET70035: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Patches server URL to point to Beacon, a custom server run by LBP Union. Makes the beta work again."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00b8c280, *lbp2_server_url_beacon ] # http
      - [ utf8, 0x00b8c198, *lbp2_server_url_beacon ] # https

PPU-8752dc31a09672a37a44b2647d62a53536ef9fe1:
  "Beacon Custom Server":
    Games:
      "LittleBigPlanet 2 Beta":
        NPUA70117: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00aa1318, *lbp2_server_url_beacon ] # https
      - [ utf8, 0x00aa1268, *lbp2_server_url_beacon ] # http

PPU-d12a008f6352e4784d364c983fa82da79164e5e7:
  "Beacon Custom Server":
    Games:
      "LittleBigPlanet 2 Beta":
        NPUA70117: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a97a28, *lbp2_server_url_beacon ] # https
      - [ utf8, 0x00a97ad8, *lbp2_server_url_beacon ] # http

PPU-e40082b6d07744ef29051a33353eb473396f5a91:
  "Unlock FPS":
    Games:
      "Zeno Clash 2":
        NPEB01351: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008df444, 0x60000000 ]
      - [ be32, 0x008df4a4, 0x60000000 ]
      - [ be32, 0x008df4a8, 0x60000000 ]

Anchors:
  Folklore_FPS_Notes: &Folklore_FPS_Notes
    "Unlocks FPS during gameplay. Cloth physics break above 50 FPS despite the gameplay working."
  folkloreESUS_100_nosixaxis: &folkloreESUS_100_nosixaxis
    # .bPlayerPad::CheckCaptureFinish
    - [ be32, 0x000f8698, 0x38600001 ]
    - [ be32, 0x000f86c8, 0x38600001 ]
    # UpdateAction_Timing
    - [ be32, 0x00104664, 0x428006b0 ]
    - [ be32, 0x00104d14, 0x817f010c ]
    - [ be32, 0x00104d18, 0x42800018 ]
    - [ be32, 0x00104d30, 0x396b0003 ]
    - [ be32, 0x00104d34, 0x917f010c ]
    # UpdateAction_Balance
    - [ be32, 0x001033fc, 0x428003fc ]
    - [ be32, 0x001037f8, 0x817e010c ]
    - [ be32, 0x001037fc, 0x4280001c ]
    - [ be32, 0x00103818, 0x396b0003 ]
    - [ be32, 0x0010381c, 0x917e010c ]
    # Beat_RegularDamage
    - [ be32, 0x001026ac, 0x4280fe74 ]
    - [ be32, 0x001025dc, 0x817e010c ]
    - [ be32, 0x001025e0, 0x4280001c ]
    - [ be32, 0x001025fc, 0x396b0003 ]
    - [ be32, 0x00102600, 0x917e010c ]
    # UpdateAction_SAD
    - [ be32, 0x00103f34, 0x42800470 ]
    - [ be32, 0x001043a4, 0x817e010c ]
    - [ be32, 0x001043a8, 0x42800018 ]
    - [ be32, 0x001043c0, 0x396b0003 ]
    - [ be32, 0x001043c4, 0x917e010c ]
  folkloreESUS_110_nosixaxis: &folkloreESUS_110_nosixaxis
    # .bPlayerPad::CheckCaptureFinish
    - [ be32, 0x000f88e8, 0x38600001 ]
    - [ be32, 0x000f8918, 0x38600001 ]
    # UpdateAction_Timing
    - [ be32, 0x00104e2c, 0x428008f8 ]
    - [ be32, 0x00105724, 0x817f0124 ]
    - [ be32, 0x00105728, 0x42800018 ]
    - [ be32, 0x00105740, 0x396b0003 ]
    - [ be32, 0x00105744, 0x917f0124 ]
    # UpdateAction_Balance
    - [ be32, 0x00103afc, 0x42800444 ]
    - [ be32, 0x00103f40, 0x817f0124 ]
    - [ be32, 0x00103f44, 0x4280001c ]
    - [ be32, 0x00103f60, 0x396b0003 ]
    - [ be32, 0x00103f64, 0x917f0124 ]
    # Beat_RegularDamage
    - [ be32, 0x00102dac, 0x4280ff30 ]
    - [ be32, 0x00102cdc, 0x817e0124 ]
    - [ be32, 0x00102ce0, 0x4280001c ]
    - [ be32, 0x00102cfc, 0x396b0003 ]
    - [ be32, 0x00102d00, 0x917e0124 ]
    # UpdateAction_SAD
    - [ be32, 0x00104b84, 0x4280ff90 ]
    - [ be32, 0x00104b14, 0x817e0124 ]
    - [ be32, 0x00104b18, 0x42800018 ]
    - [ be32, 0x00104b30, 0x396b0003 ]
    - [ be32, 0x00104b34, 0x917e0124 ]
  folklore_nosixaxis_notes: &folklore_nosixaxis_notes
    "Allows gameplay on keyboard and controllers without motion sensors. Can't absorb multiple folk at once meaning lower XP gains."

PPU-eb05d70d23d075ef6d9c81f7e7cf9bffc98c404c:
  "Unlock FPS":
    Games:
      "Folklore":
        BCUS98147: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *Folklore_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00181354, 0x60000000 ]
  "Autocomplete motion control sequences":
    Games:
      "Folklore":
        BCUS98147: [ 01.00 ]
    Author: "Scirvir"
    Notes: *folklore_nosixaxis_notes
    Patch Version: 1.0
    Patch:
      - [ load, *folkloreESUS_100_nosixaxis ]

PPU-9b16663fa1aa1dd62c2c6bfee4f333242dde4171:
  "Unlock FPS":
    Games:
      "Folklore":
        BCUS98147: [ 01.10 ]
    Author: "Whatcookie"
    Notes: *Folklore_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001823c0, 0x60000000 ]
  "Autocomplete motion control sequences":
    Games:
      "Folklore":
        BCUS98147: [ 01.10 ]
    Author: "Scirvir"
    Notes: *folklore_nosixaxis_notes
    Patch Version: 1.0
    Patch:
      - [ load, *folkloreESUS_110_nosixaxis ]

PPU-66404421d1f8ed7dd0b2898e1d015a44bf273bf8:
  "Unlock FPS":
    Games:
      "Folklore":
        BCES00050: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *Folklore_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00181118, 0x60000000 ]
  "Skip motion control sequences":
    Games:
      "Folklore":
        BCES00050: [ 01.00 ]
    Author: "Scirvir"
    Notes: *folklore_nosixaxis_notes
    Patch Version: 1.0
    Patch:
      - [ load, *folkloreESUS_100_nosixaxis ]

PPU-bfad65ed0963e68cebafdf24d00201005ad3a17e:
  "Autocomplete motion control sequences":
    Games:
      "Folklore":
        BCES00050: [ 01.10 ]
    Author: "Scirvir"
    Notes: *folklore_nosixaxis_notes
    Patch Version: 1.0
    Patch:
      - [ load, *folkloreESUS_110_nosixaxis ]

PPU-7d723460c40bd00fd359e1fc88d554e5185de037:
  "Unlock FPS":
    Games:
      "Folklore":
        BCKS10018: [ 01.00 ]
    Author: "InsertKey"
    Notes: *Folklore_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001820d0, 0x60000000 ]

PPU-53bbd55f666d64261074150bf9a5a7ab80ba6dea:
  "Autocomplete motion control sequences":
    Games:
      "フォークスソウル -失われた伝承-":
        BCJS30009: [ 01.10 ]
    Author: "Scirvir"
    Notes: *folklore_nosixaxis_notes
    Patch Version: 1.0
    Patch:
    # .bPlayerPad::CheckCaptureFinish
      - [ be32, 0x000f886c, 0x38600001 ]
      - [ be32, 0x000f889c, 0x38600001 ]
    # UpdateAction_Balance
      - [ be32, 0x00103a80, 0x42800444 ]
      - [ be32, 0x00103ec4, 0x817f0124 ]
      - [ be32, 0x00103ec8, 0x4280001c ]
      - [ be32, 0x00103ee8, 0x396b0003 ]
      - [ be32, 0x00103eec, 0x917f0124 ]
    # UpdateAction_SAD
      - [ be32, 0x00104b08, 0x42800384 ]
      - [ be32, 0x00104a98, 0x817e0124 ]
      - [ be32, 0x00104a8c, 0x42800018 ]
      - [ be32, 0x00104ab8, 0x396b0003 ]
      - [ be32, 0x00104abc, 0x917e0124 ]
    # Beat_RegularDamage
      - [ be32, 0x00102d30, 0x4280ff30 ]
      - [ be32, 0x00102c60, 0x817e0124 ]
      - [ be32, 0x00102c64, 0x4280001c ]
      - [ be32, 0x00102c80, 0x396b0003 ]
      - [ be32, 0x00102c84, 0x917e0124 ]
    # UpdateAction_Timing
      - [ be32, 0x00104db0, 0x428008f8 ]
      - [ be32, 0x001056a8, 0x817f0124 ]
      - [ be32, 0x001056ac, 0x42800018 ]
      - [ be32, 0x001056c4, 0x396b0003 ]
      - [ be32, 0x001056c8, 0x917f0124 ]

Anchors:
  papoandyo_fps_notes: &papoandyo_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-cfd2f4022c5c8bd0ad4cf7c9ed85ab3d8da5afdb:
  "Unlock FPS":
    Games:
      "Papo & Yo":
        NPEB01109: [ 01.00 ]
    Author: "FlexBy"
    Notes: *papoandyo_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008af2f0, 0x60000000 ]
      - [ be32, 0x008af350, 0x60000000 ]
      - [ be32, 0x008af354, 0x60000000 ]

PPU-ad4fce77870e941b183938911cd3ba6bd091eddc:
  "Unlock FPS":
    Games:
      "Papo & Yo Demo":
        NPUB90869: [ 01.00 ]
    Author: "FlexBy"
    Notes: *papoandyo_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008af2b0, 0x60000000 ]
      - [ be32, 0x008af310, 0x60000000 ]
      - [ be32, 0x008af314, 0x60000000 ]

Anchors:
  kamenrider_bw_fps_notes: &kamenrider_bw_fps_notes
    "Cutscenes will not play with FPS higher than 60. Camera sensitivity lowers at higher FPS."

PPU-a67cd2065525414f3bdcd334e6561e728e700a57:
  "Unlock FPS":
    Games:
      "Kamen Rider: Battride War":
        BLJS10220: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kamenrider_bw_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001b5ef4, 0x60000000 ] # 3006fca34 memory

PPU-5eba48a374b39b9e91f65c09b26ad45ce1a060eb:
  "Unlock FPS":
    Games:
      "Kamen Rider: Battride War Premium TV Sound Edition":
        BLJS10219: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kamenrider_bw_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001b74ac, 0x60000000 ]

Anchors:
  kamenrider_bw2_fps_notes: &kamenrider_bw2_fps_notes
    "Cutscenes will not play with FPS higher than 60. Camera sensitivity lowers at higher FPS."

PPU-18a4177808e3e3d355ace376c86e195b5aa1f6f0:
  "Unlock FPS":
    Games:
      "Kamen Rider: Battride War II":
        BLJS10262: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kamenrider_bw2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00244d6c, 0x60000000 ] # 30080d8f4 memory

PPU-cb1af0b8df900cda1fa7f68763b6d3987c603536:
  "Unlock FPS":
    Games:
      "Kamen Rider: Battride War II Premium TV & Movie Sound Edition":
        BLJS10263: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kamenrider_bw2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0024744c, 0x60000000 ]

Anchors:
  KRBWG_FPS_notes_notes: &KRBWG_FPS_notes
    "Cutscenes will not play with FPS higher than 60. Camera sensitivity lowers at higher FPS."

PPU-1627fd89c57bb2bddc5a41eb1a066b3db356f60d:
  "Unlock FPS":
    Games:
      "Kamen Rider Battride War Genesis":
        BLJS10319: [ 01.00 ]
        NPJB00758: [ 01.00 ]
    Author: "FlexBy"
    Notes: *KRBWG_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0018ae24, 0x60000000 ] # 300c07604 memory

PPU-d233c0f2401087a45c3e69a90dbfb0836cd4d87d:
  "Unlock FPS":
    Games:
      "Kamen Rider Battride War Genesis":
        BLJS10319: [ 01.04 ]
        NPJB00758: [ 01.04 ]
    Author: "FlexBy"
    Notes: *KRBWG_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0018e964, 0x60000000 ]

PPU-adc2e9d939defe6f9ae997c620041c5209692173:
  "Unlock FPS":
    Games:
      "Kamen Rider Battride War Genesis Memorial TV Sound Edition":
        BLJS10324: [ 01.00 ]
    Author: "FlexBy"
    Notes: *KRBWG_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0018df54, 0x60000000 ]

PPU-b1188c0e10fac40e006d51e0ff1aa5fafc3a0699:
  "Unlock FPS":
    Games:
      "Kamen Rider Battride War Genesis Memorial TV Sound Edition":
        BLJS10324: [ 01.04 ]
    Author: "FlexBy"
    Notes: *KRBWG_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00191b3c, 0x60000000 ]

PPU-cb9a58697797e5898d5fe478cf4d4f8a2b93be32:
  "Unlock FPS":
    Games:
      "Alien Rage":
        NPEB01088: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00349394, 0x60000000 ]

PPU-b1e59eaf823c7ed77022575740055f06cc605661:
  "Unlock FPS":
    Games:
      "All Zombies Must Die!":
        NPEB00316: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00346420, 0x60000000 ]

PPU-719690daa66423444dc65cff5d111d3224c914dc:
  "Unlock FPS":
    Games:
      "Alpha Protocol":
        BLES00704: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d78d48, 0x60000000 ]

Anchors:
  ASURA_FPS_notes: &ASURA_FPS_notes
    "Maximum framerate with the patch is half the Vblank frequency. While most of the game works without any issue, some of the button mashing QTEs are tied to framerate. It's possible to play through the game at 60 FPS if you are good at button mashing, but 120 FPS and higher are unplayable in several missions. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 57 FPS."

  ASURA_FPS: &ASURA_FPS
    - [ be32, 0x008bbd04, 0x60000000 ] # nop
    - [ be32, 0x008bbd64, 0x60000000 ] # nop
    - [ be32, 0x008bbd68, 0x60000000 ] # nop

  ASURA_DEV_notes: &ASURA_DEV_notes
    "Press D-pad Left at any time to access the Developer Menu."

  ASURA_DEV: &ASURA_DEV
    - [ be32, 0x014d69ec, 0x38600000 ] # li r3, 0
    - [ be32, 0x01166744, 0x38600001 ] # li r3, 1
    - [ be32, 0x0167e460, 0x00500053 ] # ren string "BCGTOC.ini" to "PS3TOC.txt"
    - [ be32, 0x0167e464, 0x00330054 ]
    - [ be32, 0x0167e468, 0x004f0043 ]
    - [ be32, 0x0167e46c, 0x002e0054 ]
    - [ be32, 0x0167e470, 0x00580054 ]

  ASURA_AO: &ASURA_AO
    - [ be32, 0x00686dcc, 0x38600000 ] # li r3, 0

  ASURA_BLOOM: &ASURA_BLOOM
    - [ be32, 0x0011ae5c, 0x38c00000 ] # li r6, 0
    - [ be32, 0x003ba264, 0x38c00000 ] # li r6, 0

  ASURA_MB: &ASURA_MB
    - [ be32, 0x0067a908, 0x60000000 ] # nop - disables radial blur
    - [ be32, 0x0067a940, 0x38600000 ] # li r3, 0 - disables camera-based blur

  ASURA_DoF: &ASURA_DoF
    - [ be32, 0x0031cb10, 0x38a00000 ] # li r5, 0
    - [ be32, 0x0011ae68, 0x38a00000 ] # li r5, 0
    - [ be32, 0x003ba270, 0x38a00000 ] # li r5, 0

  asuraW_EUtitle: &asuraW_EUtitle
    "Asura's Wrath":
      BLES01227: [ All ]

  asuraW_UStitle: &asuraW_UStitle
    "Asura's Wrath":
      BLUS30721: [ All ]

  asuraW_JPtitle: &asuraW_JPtitle
    "Asura's Wrath":
      BLJM60409: [ All ]

PPU-83096111daff850cc92b637aec1780c4079e1c58:
  "Unlock FPS":
    Games: *asuraW_UStitle
    Author: "Whatcookie"
    Notes: *ASURA_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_FPS ]
  "Developer Menu":
    Games: *asuraW_UStitle
    Author: "dron_3"
    Notes: *ASURA_DEV_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DEV ]
  "Disable Ambient Occlusion":
    Games: *asuraW_UStitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_AO ]
  "Disable Bloom":
    Games: *asuraW_UStitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_BLOOM ]
  "Disable Depth of Field":
    Games: *asuraW_UStitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DoF ]
  "Disable Motion Blur":
    Games: *asuraW_UStitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_MB ]

PPU-69f53b470d81ea961c1c2ff264ade6ab8077d2a1:
  "Unlock FPS":
    Games: *asuraW_EUtitle
    Author: "Whatcookie, Mew21"
    Notes: *ASURA_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_FPS ]
  "Developer Menu":
    Games: *asuraW_EUtitle
    Author: "dron_3"
    Notes: *ASURA_DEV_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DEV ]
  "Disable Ambient Occlusion":
    Games: *asuraW_EUtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_AO ]
  "Disable Bloom":
    Games: *asuraW_EUtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_BLOOM ]
  "Disable Depth of Field":
    Games: *asuraW_EUtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DoF ]
  "Disable Motion Blur":
    Games: *asuraW_EUtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_MB ]

PPU-6585c59c9d46eb1aaab617dce0406dc0004388fe:
  "Unlock FPS":
    Games: *asuraW_JPtitle
    Author: "Whatcookie, Mew21"
    Notes: *ASURA_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_FPS ]
  "Developer Menu":
    Games: *asuraW_JPtitle
    Author: "dron_3"
    Notes: *ASURA_DEV_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DEV ]
  "Disable Ambient Occlusion":
    Games: *asuraW_JPtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_AO ]
  "Disable Bloom":
    Games: *asuraW_JPtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_BLOOM ]
  "Disable Depth of Field":
    Games: *asuraW_JPtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_DoF ]
  "Disable Motion Blur":
    Games: *asuraW_JPtitle
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ASURA_MB ]

PPU-4e9a32794deb72bef3985b9cf16e58a82fcea8f7:
  "Unlock FPS":
    Games:
      "ASURA'S WRATH Preview":
        BLES01227: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008ec4b0, 0x60000000 ]
      - [ be32, 0x008ec510, 0x60000000 ]
      - [ be32, 0x008ec514, 0x60000000 ]
  "Boot to title screen":
    Games:
      "ASURA'S WRATH Preview":
        BLES01227: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01534eec, 0x38600000 ]

PPU-e29e8b61cb53d1d3a454e20ffc2cef12e9c0d371:
  "OpenSpy Online":
    Games:
      "Bulletstorm":
        NPEB00622: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x018ab7a3, "openspy.net" ]
      - [ utf8, 0x018ab7ea, "openspy.net" ]
      - [ utf8, 0x018b09b1, "openspy.net" ]
      - [ utf8, 0x018b0cbc, "openspy.net" ]
      - [ utf8, 0x018b0cd4, "openspy.net" ]
      - [ utf8, 0x018b0cec, "openspy.net" ]
      - [ utf8, 0x018b0d50, "openspy.net" ]
      - [ utf8, 0x018b0dda, "openspy.net" ]
      - [ utf8, 0x018b1878, "openspy.net" ]
      - [ utf8, 0x018b18aa, "openspy.net" ]
      - [ utf8, 0x01c8ade1, "openspy.net" ]
      - [ utf8, 0x01c8ae25, "openspy.net" ]
      - [ utf8, 0x018aedac, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x018aeca2, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
  "Unlock FPS":
    Games:
      "Bulletstorm":
        NPEB00622: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00358e88, 0x60000000 ]

PPU-10752b875de334735d16c0606bf2805feba25497:
  "OpenSpy Online":
    Games:
      "Brothers in Arms: Hell's Highway":
        BLES00319: [ 01.00 ]
    Author: "FridiNaTor"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x0186a8dd, "openspy.net" ]
      - [ utf8, 0x0186abf8, "openspy.net" ]
      - [ utf8, 0x0186ac10, "openspy.net" ]
      - [ utf8, 0x0186ac28, "openspy.net" ]
      - [ utf8, 0x0186acca, "openspy.net" ]
      - [ utf8, 0x0186b090, "openspy.net" ]
      - [ utf8, 0x0186bd50, "openspy.net" ]
      - [ utf8, 0x01b84fa5, "openspy.net" ]
      - [ utf8, 0x01b85105, "openspy.net" ]
      - [ utf8, 0x0186678f, "openspy.net" ]
      - [ utf8, 0x0186b0ef, "openspy.net" ]
      - [ utf8, 0x0186c73e, "openspy.net" ]
      - [ utf8, 0x01b865a5, "openspy.net" ]
      - [ utf8, 0x01b8688c, "openspy.net" ]
      - [ utf8, 0x01868fd8, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x017bcb90, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  JoJoEoH_FPS: &JoJoEoH_FPS
    - [ bef32, 0x0236fef0, 0.5 ] # Match timer rate
    - [ bef32, 0x02370360, 0.5 ]
    - [ bef32, 0x023aed1c, 0.5 ]

PPU-18cf9a4e8196684ed9ee816f82649561fd1bf182:
  "60 FPS":
    Games:
      "JoJo's Bizarre Adventure: Eyes of Heaven":
        BLJS10318: [ 01.05 ]
    Author: "SutandoTsukai181" # User from our Discord server
    Notes: "This patch fixes issues when running the game at 60 FPS but you still need to set Vblank frequency to 120Hz in order to play at 60 FPS. You may face issues such as intro quotes stopping half-way and doubled projectiles speed."
    Patch Version: 1.0
    Patch:
      - [ load, *JoJoEoH_FPS ]

Anchors:
  JoJoASB_FPS: &JoJoASB_FPS
    - [ bef32, 0x00ff5a08, 0.5 ] # Match timer rate
    - [ bef32, 0x00fdb724, 0.5 ] # Animation speed
    - [ bef32, 0x00ff8f70, 0.5 ]
    - [ bef32, 0x00fee2f8, 0.5 ] # UI speed

PPU-6875682ab309df32307c5305c43bb132c4e261fa:
  "60 FPS":
    Games:
      "JoJo's Bizarre Adventure: All Star Battle":
        BLUS31405: [ All ]
        NPUB31391: [ All ]
    Author: "SutandoTsukai181" # User from our Discord server
    Notes: "This patch fixes issues when running the game at 60 FPS but you still need to set Vblank frequency to 120Hz in order to play at 60 FPS. You may face issues such as halved input windows, few UI elements not at normal speed, intro quotes stop half-way, projectiles speed is doubled and few graphical glitches (Jotaro not appearing during DIO's GHA)."
    Patch Version: 1.0
    Patch:
      - [ load, *JoJoASB_FPS ]

LegoStarWarsTheCompleteSaga_titleID: &LegoStarWarsTheCompleteSaga_titleID
    "LEGO Star Wars: The Complete Saga":
      BLUS30079: [ 02.00 ]
      BLES00121: [ 02.00 ]

PPU-023ff768c205b6a7b819005c6eccf5c099ca3e04:
  "No Blur":
    Games: *LegoStarWarsTheCompleteSaga_titleID
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0023dabc, 0x38000000 ]
  "1280x720 Resolution":
    Games: *LegoStarWarsTheCompleteSaga_titleID
    Author: "illusion"
    Notes: "Original resolution is 1280x768."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x004a75f2, 1280 ]
      - [ be16, 0x004a75f6, 720 ]

Anchors:
  LC_FPS_Notes: &LC_FPS_Notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 57 FPS."

  LC_FPS: &LC_FPS
    - [ be32, 0x00932f2c, 0x60000000 ]
    - [ be32, 0x00932f8c, 0x60000000 ]
    - [ be32, 0x00932f90, 0x60000000 ]

  LC_Grain: &LC_Grain
    - [ be32, 0x00408690, 0x4800007c ] # b 0x40870c

  LC_DOF_Notes: &LC_DOF_Notes
    "Disables the DoF effect which doesn't correctly scale with resolution upscaling. This patch may slightly affect the game brightness in some levels."

  LC_DOF: &LC_DOF
    - [ be32, 0x0016c1b4, 0x38a00000 ] # li r5 0
    - [ be32, 0x00326f6c, 0x38a00000 ] # li r5 0
    - [ be32, 0x00408498, 0x38a00000 ] # li r5 0

  LC_BLOOM: &LC_BLOOM
    - [ be32, 0x0016c1a8, 0x38c00000 ] # li r6 0
    - [ be32, 0x0040848c, 0x38c00000 ] # li r6 0

PPU-df6f6701742921b9cbb2554983bb4568aae8d659:
  "Unlock FPS":
    Games:
      "Lollipop Chainsaw":
        BLUS30917: [ All ]
    Author: "Whatcookie"
    Notes: *LC_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *LC_FPS ]
  "Disable Image Grain":
    Games:
      "Lollipop Chainsaw":
        BLUS30917: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *LC_Grain ]
  "Disable Low-Resolution Depth of Field":
    Games:
      "Lollipop Chainsaw":
        BLUS30917: [ All ]
    Author: "boma"
    Notes: *LC_DOF_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *LC_DOF ]
  "Disable Bloom":
    Games:
      "Lollipop Chainsaw":
        BLUS30917: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *LC_BLOOM ]

PPU-6f69ee207208d55faacb75a3aac6a9ce2aa290b7:
  "Unlock FPS":
    Games:
      "Lollipop Chainsaw":
        BLES01525: [ All ]
    Author: "Whatcookie"
    Notes: *LC_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *LC_FPS ]
  "Disable Image Grain":
    Games:
      "Lollipop Chainsaw":
        BLES01525: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *LC_Grain ]
  "Disable Low-Resolution Depth of Field":
    Games:
      "Lollipop Chainsaw":
        BLES01525: [ All ]
    Author: "boma"
    Notes: *LC_DOF_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *LC_DOF ]
  "Disable Bloom":
    Games:
      "Lollipop Chainsaw":
        BLES01525: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *LC_BLOOM ]

PPU-1974e83c5c7b4fae6f2c270e62f7dfaece5a731b:
  "Unlock FPS":
    Games:
      "Lollipop Chainsaw":
        NPJB00273: [ All ]
    Author: "Whatcookie, FlexBy"
    Notes: *LC_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00932e24, 0x60000000 ]
      - [ be32, 0x00932e84, 0x60000000 ]
      - [ be32, 0x00932e88, 0x60000000 ]
  "Disable Image Grain":
    Games:
      "Lollipop Chainsaw":
        NPJB00273: [ All ]
    Author: "boma, FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
    - [ be32, 0x00408940, 0x4800007c ] # b 0x40870c
  "Disable Low-Resolution Depth of Field":
    Games:
      "Lollipop Chainsaw":
        NPJB00273: [ All ]
    Author: "boma, FlexBy"
    Notes: *LC_DOF_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0016c484, 0x38a00000 ] # li r5 0
      - [ be32, 0x0032721c, 0x38a00000 ] # li r5 0
      - [ be32, 0x00408748, 0x38a00000 ] # li r5 0
  "Disable Bloom":
    Games:
      "Lollipop Chainsaw":
        NPJB00273: [ All ]
    Author: "boma, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0016c478, 0x38c00000 ] # li r6 0
      - [ be32, 0x0040873c, 0x38c00000 ] # li r6 0

PPU-9b8394d269924a9b8b27916d3052718d914ff5c2:
  "Unlock FPS":
    Games:
      "Lollipop Chainsaw":
        BLJS10125: [ All ]
    Author: "Whatcookie, FlexBy"
    Notes: *LC_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x009332e4, 0x60000000 ]
      - [ be32, 0x00933344, 0x60000000 ]
      - [ be32, 0x00933348, 0x60000000 ]
  "Disable Image Grain":
    Games:
      "Lollipop Chainsaw":
        BLJS10125: [ All ]
    Author: "boma, FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
    - [ be32, 0x00408bb9, 0x4800007c ] # b 0x40870c
  "Disable Low-Resolution Depth of Field":
    Games:
      "Lollipop Chainsaw":
        BLJS10125: [ All ]
    Author: "boma, FlexBy"
    Notes: *LC_DOF_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0016c6f4, 0x38a00000 ] # li r5 0
      - [ be32, 0x0032748c, 0x38a00000 ] # li r5 0
      - [ be32, 0x004089b8, 0x38a00000 ] # li r5 0
  "Disable Bloom":
    Games:
      "Lollipop Chainsaw":
        BLJS10125: [ All ]
    Author: "boma, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0016c6e8, 0x38c00000 ] # li r6 0
      - [ be32, 0x004089ac, 0x38c00000 ] # li r6 0

Anchors:
  luchalAAA_unlockfps_notes: &luchalAAA_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-78e66422e590ef265c411c1c4e51d88604394c23:
  "Unlock FPS":
    Games:
      "Lucha Libre AAA: Héroes del Ring":
        BLUS30640: [ 01.00 ]
    Author: "FlexBy"
    Notes: *luchalAAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00426528, 0x60000000 ]

PPU-895dd1dbc8a4d46401b735c3a4bfac569c65edbd:
  "Unlock FPS":
    Games:
      "Lucha Libre AAA: Héroes del Ring":
        BLUS30640: [ 01.01 ]
    Author: "FlexBy"
    Notes: *luchalAAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00426618, 0x60000000 ]
  "OpenSpy Online":
    Games:
      "Lucha Libre AAA: Héroes del Ring":
        BLUS30640: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x0146ff6b, "openspy.net" ]
      - [ utf8, 0x0146ffb2, "openspy.net" ]
      - [ utf8, 0x01471cd9, "openspy.net" ]
      - [ utf8, 0x014720cc, "openspy.net" ]
      - [ utf8, 0x014720e4, "openspy.net" ]
      - [ utf8, 0x014720fc, "openspy.net" ]
      - [ utf8, 0x01472270, "openspy.net" ]
      - [ utf8, 0x014722fa, "openspy.net" ]
      - [ utf8, 0x01472c3c, "openspy.net" ]
      - [ utf8, 0x0179ca95, "openspy.net" ]
      - [ utf8, 0x0179cae5, "openspy.net" ]
      - [ utf8, 0x01470374, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x0147026a, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  warp_unlockfps_notes: &warp_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-101ae75ceedf82104cd22e6062ce0cd0361aef09:
  "Unlock FPS":
    Games:
      "Warp":
        NPEB00636: [ 01.00 ]
    Author: "FlexBy"
    Notes: *warp_unlockfps_notes
    Patch:
      - [ be32, 0x00370af8, 0x60000000 ]
  "OpenSpy Online":
    Games:
      "Warp":
        NPEB00636: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x018f1c1d, "openspy.net" ]
      - [ utf8, 0x018f207c, "openspy.net" ]
      - [ utf8, 0x018f2094, "openspy.net" ]
      - [ utf8, 0x018f20ac, "openspy.net" ]
      - [ utf8, 0x018f2220, "openspy.net" ]
      - [ utf8, 0x018f22aa, "openspy.net" ]
      - [ utf8, 0x018f2e2c, "openspy.net" ]
      - [ utf8, 0x01cbcfcd, "openspy.net" ]
      - [ utf8, 0x01cbd011, "openspy.net" ]
      - [ utf8, 0x01a30f40, "http://%s.api.openspy.net/AuthService/%s\0" ]
      - [ utf8, 0x019129c8, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-69e05eeb40a122f61f1acfc5115b39108589c2ba:
  "Unlock FPS":
    Games:
      "Warp":
        NPUB30543: [ 01.00 ]
    Author: "FlexBy"
    Notes: *warp_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00370af8, 0x60000000 ]
  "OpenSpy Online":
    Games:
      "Warp":
        NPUB30543: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x018f0b5d, "openspy.net" ]
      - [ utf8, 0x018f0fbc, "openspy.net" ]
      - [ utf8, 0x018f0fd4, "openspy.net" ]
      - [ utf8, 0x018f0fec, "openspy.net" ]
      - [ utf8, 0x018f1160, "openspy.net" ]
      - [ utf8, 0x018f11ea, "openspy.net" ]
      - [ utf8, 0x018f1d6c, "openspy.net" ]
      - [ utf8, 0x01cbcfcd, "openspy.net" ]
      - [ utf8, 0x01cbd011, "openspy.net" ]
      - [ utf8, 0x01a2fe80, "http://%s.api.openspy.net/AuthService/%s\0" ]
      - [ utf8, 0x01911908, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-85429af047d5428036843252ab5fc6f00ca81756:
 "Unlock FPS":
    Games:
      "WRC Powerslide":
        NPEB01324: [ 01.01 ]
    Author: "Jao"
    Notes: 
    Patch Version: 1.0
    Patch:       
    - [ be32, 0x00c32cb8, 0x60000000 ]

Anchors:
  nfsc_unlock_all: &nfsc_unlock_all
    "Unlocks all unlockables such as vehicles in 'My Cars', vinyls etc."
  nfsc_debug_menu: &nfsc_debug_menu
    "Adds an option called \"CAR(DEBUG)\" to the main menu. Press Triangle to take selected car into freeroam."

PPU-5295c6de0b3fd1b48517255ce710002c174b18f5:
  "Disable Color Correction":
    Games:
      "Need for Speed: Carbon":
        BLUS30016: [ 01.00 ]
    Author: "xan1242"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004e8b9b, 0x00 ]
  "Enable Car Debug":
    Notes: *nfsc_debug_menu
    Games:
      "Need for Speed: Carbon":
        BLUS30016: [ 01.00 ]
    Author: "xan1242"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00663680, 0x60000000 ]
  "Enable Log":
    Games:
      "Need for Speed Carbon":
        BLUS30016: [ 01.00 ]
    Author: "opcode"
    Notes: "Enables more verbose logging"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006391cc, 0x60000000 ] # nop call that disables logger
  "Unlock All Things":
    Notes: *nfsc_unlock_all
    Games:
      "Need for Speed: Carbon":
        BLUS30016: [ 01.00 ]
    Author: "xinerki"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10188A90, 0x01 ]
  "Disable SSL":
    Games:
      "Need for Speed Carbon":
        BLUS30016: [ 01.00 ]
    Author: "opcode"
    Notes: "Disable SSL reverting to plaintext communication for custom servers"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00639204, 0x38800511 ]

PPU-84caa321bd937ccf57e8fdbb4ede33d45e44eafa:
  "Disable Color Correction":
    Games:
      "Need for Speed: Carbon":
        BLES00020: [ 01.00 ]
    Author: "xinerki"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004EB5C7, 0x00 ]
  "Enable Car Debug":
    Notes: *nfsc_debug_menu
    Games:
      "Need for Speed: Carbon":
        BLES00020: [ 01.00 ]
    Author: "xinerki"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00666C94, 0x60000000 ]
  "Unlock All Things":
    Notes: *nfsc_unlock_all
    Games:
      "Need for Speed: Carbon":
        BLES00020: [ 01.00 ]
    Author: "xinerki"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10188A90, 0x01 ]

Anchors:
  NieR_FPS_Notes: &NieR_FPS_Notes
    "Updated with a new version that has correct game speed at any framerate. You no longer need to set the Framelimiter to 30 or 60."

  NieR_FPS_USEU: &NieR_FPS_USEU
  # unlock framerate
    - [ be32, 0x00f7c3b8, 0x386001f5 ] # li r3, 1f5
    - [ be32, 0x00711b50, 0x489c3ef1 ] # jump to code cave
  # get mftb
    - [ be32, 0x010d5a40, 0x7ccc42e6 ] # mftb r6             // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x010d5a44, 0x3ca0010e ] # lis r5,0x010e       // load high bits of address (0x010e23c8)
    - [ be32, 0x010d5a48, 0x60a523c8 ] # ori r5,r5,0x23c8    // load low bits of address
    - [ be32, 0x010d5a4c, 0x7c85202a ] # ldx r4,r5,r4        // load previous frames mftb reading
    - [ be32, 0x010d5a50, 0xf8c50000 ] # std r6,0x0(r5)      // store this frames mftb reading
    - [ be32, 0x010d5a54, 0x7cc43050 ] # subf r6,r4,r6       // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x010d5a58, 0xf8c50080 ] # std r6,0x80(r5)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x010d5a5c, 0xcba50080 ] # lfd f29,0x80(r5)    // load mftb delta into FPR
    - [ be32, 0x010d5a60, 0xffa0ee9c ] # fcfid f29,f29       // convert integer to double
    - [ be32, 0x010d5a64, 0xffa0e818 ] # frsp f29,f29        // round to single precision
  # mftb delta to seconds
    - [ be32, 0x010d5a68, 0x3c80010d ] # r4,0x10d            // load high bits constants pointer
    - [ be32, 0x010d5a6c, 0x60845a40 ] # ori r4,r4,0x5a40    // load low bits of constants pointer
    - [ be32, 0x010d5a70, 0xc384003c ] # lfs f28,0x3c(r4)    // load timebase frequency
    - [ be32, 0x010d5a74, 0xec3de024 ] # fdivs f1,f29,f28    // divide timebase delta by timebase frequency
  # return
    - [ be32, 0x010d5a78, 0x4e800020 ] # blr                 // return
  # constants
    - [ be32, 0x010d5a7c, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)

  NieR_FPS_JP: &NieR_FPS_JP
  # unlock framerate
    - [ be32, 0x00f7cbcc, 0x386001f5 ] # li r3, 1f5
    - [ be32, 0x00711d58, 0x489c48e9 ] # jump to code cave
  # get mftb
    - [ be32, 0x010d6640, 0x7ccc42e6 ] # mftb r6             // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x010d6644, 0x3ca0010e ] # lis r5,0x010e       // load high bits of address (0x010e23e8)
    - [ be32, 0x010d6648, 0x60a523e8 ] # ori r5,r5,0x23e8    // load low bits of address
    - [ be32, 0x010d664c, 0x7c85202a ] # ldx r4,r5,r4        // load previous frames mftb reading
    - [ be32, 0x010d6650, 0xf8c50000 ] # std r6,0x0(r5)      // store this frames mftb reading
    - [ be32, 0x010d6654, 0x7cc43050 ] # subf r6,r4,r6       // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x010d6658, 0xf8c50080 ] # std r6,0x80(r5)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x010d665c, 0xcba50080 ] # lfd f29,0x80(r5)    // load mftb delta into FPR
    - [ be32, 0x010d6660, 0xffa0ee9c ] # fcfid f29,f29       // convert integer to double
    - [ be32, 0x010d6664, 0xffa0e818 ] # frsp f29,f29        // round to single precision
  # mftb delta to seconds
    - [ be32, 0x010d6668, 0x3c80010d ] # r4,0x10d            // load high bits constants pointer
    - [ be32, 0x010d666c, 0x60846640 ] # ori r4,r4,0x6640    // load low bits of constants pointer
    - [ be32, 0x010d6670, 0xc384003c ] # lfs f28,0x3c(r4)    // load timebase frequency
    - [ be32, 0x010d6674, 0xec3de024 ] # fdivs f1,f29,f28    // divide timebase delta by timebase frequency
  # return
    - [ be32, 0x010d6678, 0x4e800020 ] # blr                 // return
  # constants
    - [ be32, 0x010d667c, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)

  NieR_AR_Notes: &NieR_AR_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. HUD elements will be stretched and misplaced."
  NieR_AR_Configurable_values: &NieR_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-13950b2e29e05a115fe317815d3da9d2b2baee65:
  "Unlock FPS":
    Games:
      "NieR (Nier Replicant)":
        BLUS30481: [ All ]
        BLES00826: [ All ]
    Author: "Whatcookie"
    Notes: *NieR_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *NieR_FPS_USEU ]
  "Aspect Ratio":
    Games:
      "NieR (Nier Replicant)":
        BLUS30481: [ All ]
        BLES00826: [ All ]
    Author: "dio"
    Notes: *NieR_AR_Notes
    Configurable Values: *NieR_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x01120398, "Aspect Ratio" ]

PPU-f098ee8410599c81c89f90d698340a078dc69a90:
  "Unlock FPS":
    Games:
      "NieR (Nier Replicant)":
        BLJM60223: [ All ]
    Author: "Whatcookie"
    Notes: *NieR_FPS_Notes
    Patch Version: 2.1
    Patch:
      - [ load, *NieR_FPS_JP ]

PPU-534e146dfb4206ec2ae9272e00ff73c7739451f8:
  "60 FPS":
    Games:
      "Need for Speed Rivals":
        BLES01894: [ 01.00 ]
        BLUS31201: [ 01.00 ]
        NPUB31252: [ 01.00 ]
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00307f38, 0x3f91 ]
      - [ be16, 0x00307f30, 0x404e ]
      - [ be16, 0x00308078, 0x3f91 ]
      - [ be16, 0x00308070, 0x404e ]
      - [ be16, 0x01841cf8, 0x3f91 ]
      - [ be16, 0x01841d00, 0x404e ] # gamespeed
      - [ be16, 0x01841d08, 0x3f91 ]
      - [ be16, 0x0125e5c6, 0x4270 ]
      - [ be32, 0x003080b0, 0x3bc0003c ]
  "Disable Blur/MLAA":
    Games:
      "Need for Speed Rivals":
        BLES01894: [ 01.00 ]
        BLUS31201: [ 01.00 ]
        NPUB31252: [ 01.00 ]
    Author: "ZEROx"
    Notes: "Disable overall blur effect, small speed improvement."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e2de60, 0x4b30bbe1 ] # call
      - [ be32, 0x00139a40, 0x7383ffff ] # andi r3,r28,0xffff
      - [ be32, 0x00139a44, 0x2c034fa6 ] # cmpwi r3,0x4fa6
      - [ be32, 0x00139a48, 0x4182000c ] # beq
      - [ be32, 0x00139a4c, 0x2c0327d0 ] # cmpwi r3,0x27d0
      - [ be32, 0x00139a50, 0x4082000c ] # bne
      - [ be32, 0x00139a54, 0x38600000 ] # li r3,0x0
      - [ be32, 0x00139a58, 0x48000008 ] # b
      - [ be32, 0x00139a5c, 0x38600001 ] # li r3,0x1
      - [ be32, 0x00139a60, 0x4e800020 ] # blr

PPU-6aa282725f419f1dcc12aceb5e63a6948d7e55f3:
  "Demo Never Expires":
    Games:
      "Need for Speed: The Run Demo":
        NPUB90646: [ 01.00 ]
        NPEB90355: [ 01.00 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00636a58, 0x3ba00000 ]

Anchors:
  DS2_Net_Notes: &DS2_Net_Notes
    "Restores the functionality of the network test client."

  DS2_USEU_Net: &DS2_USEU_Net
    - [ be32, 0x019a8c00, 0x01a43068 ]
    - [ be32, 0x019a8c04, 0x01a43060 ]
    - [ be32, 0x019a8c08, 0x01a42f18 ]
    - [ be32, 0x019a8c0c, 0x01a42f10 ]
    - [ be32, 0x019a8c10, 0x01a42fb8 ]
    - [ be32, 0x019a8c14, 0x01a42b60 ]
    - [ be32, 0x019a8c18, 0x01a42ec0 ]

  DS2_JP_Net: &DS2_JP_Net
    - [ be32, 0x01998b00, 0x01a32ec8 ]
    - [ be32, 0x01998b04, 0x01a32ec0 ]
    - [ be32, 0x01998b08, 0x01a32d78 ]
    - [ be32, 0x01998b0c, 0x01a32d70 ]
    - [ be32, 0x01998b10, 0x01a32e18 ]
    - [ be32, 0x01998b14, 0x01a329c8 ]
    - [ be32, 0x01998b18, 0x01a32d20 ]

  DS2_100title: &DS2_100title
    "Dark Souls II":
      BLES01959: [ 01.00 ]
      BLUS41045: [ 01.00 ]
      NPEB01853: [ 01.00 ]
      NPUB31358: [ 01.00 ]

  DS2_JP100title: &DS2_JP100title
    "Dark Souls II":
      BLJM61113: [ 01.00 ]
      NPJB00555: [ 01.00 ]

  DS2beta_EUtitle: &DS2beta_EUtitle
    "Dark Souls II Network Test":
      BLET50006: [ All ]

  DS2beta_UStitle: &DS2beta_UStitle
    "Dark Souls II Network Test":
      NPUB90979: [ All ]

  DS2beta_JPtitle: &DS2beta_JPtitle
    "Dark Souls II Network Test":
      NPJB90625: [ All ]

  DS2_SoulsNeverDecrease_notes: &DS2_SoulsNeverDecrease_notes
    "Doesn't affect loss after death.\nNeeds testing for other merchants."

PPU-efd8e00902c586ebf88f5c97dcbdfe27bdce3bcc:
  "Keep Souls After Death":
    Games: *DS2_100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0066128c, 0x60000000 ]
  "Souls Never Decrease":
    Games: *DS2_100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0085f388, 0x60000000 ] # level up
      - [ be32, 0x0085e600, 0x60000000 ] # darksign, merchant
  "Infinite Stamina":
    Games: *DS2_100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007c4108, 0x60000000 ]
  "Max Souls":
    Games: *DS2_100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0085fd1c, 0x3b9ac9ff ]

PPU-a5b0abb782d787d81e65f954f3f1d1147d26a2dd:
  "Keep Souls After Death":
    Games: *DS2_JP100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006622b4, 0x60000000 ]
  "Souls Never Decrease":
    Games: *DS2_JP100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00861ce8, 0x60000000 ] # level up
      - [ be32, 0x00860f60, 0x60000000 ] # darksign, merchant
  "Infinite Stamina":
    Games: *DS2_JP100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007c6390, 0x60000000 ]
  "Max Souls":
    Games: *DS2_JP100title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086267c, 0x3b9ac9ff ]

PPU-4909c02cae0f37fab78a5642a3e9ba9aff45b5b0:
  "Bypass Network Requirement":
    Games: *DS2beta_EUtitle
    Author: "DriftItem"
    Notes: *DS2_Net_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS2_USEU_Net ]
  "Keep Souls After Death":
    Games: *DS2beta_EUtitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c6bb8, 0x60000000 ]
  "Souls Never Decrease":
    Games: *DS2beta_EUtitle
    Author: "FlexBy"
    Notes: *DS2_SoulsNeverDecrease_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032d7dc, 0x60000000 ] # hag melentia on buy
      - [ be32, 0x00656f94, 0x60000000 ] # level up
      - [ be32, 0x00446084, 0x60000000 ] # darksign
  "Infinite Stamina":
    Games: *DS2beta_EUtitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005cf048, 0x60000000 ]
  "Max Souls":
    Games: *DS2beta_EUtitle
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006572e8, 0x3b9ac9ff ]

PPU-377ee65d27e19d824b8d4700b86b3f18fb787fb3:
  "Bypass Network Requirement":
    Games: *DS2beta_UStitle
    Author: "DriftItem"
    Notes: *DS2_Net_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS2_USEU_Net ]
  "Keep Souls After Death":
    Games: *DS2beta_UStitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c6a98, 0x60000000 ]
  "Souls Never Decrease":
    Games: *DS2beta_UStitle
    Author: "FlexBy"
    Notes: *DS2_SoulsNeverDecrease_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032d6bc, 0x60000000 ] # hag melentia on buy
      - [ be32, 0x00656e4c, 0x60000000 ] # level up
      - [ be32, 0x00445f64, 0x60000000 ] # darksign

PPU-c0a65507d3e05da170b8dbde0729ce7ee40ef906:
  "Bypass Network Requirement":
    Games: *DS2beta_JPtitle
    Author: "DriftItem"
    Notes: *DS2_Net_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS2_JP_Net ]

Anchors:
  dvoid_unlockfps_notes: &dvoid_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 58 FPS."

PPU-335430b0f98f9dccde34df782904f00d23fdd99a:
  "Unlock FPS":
    Games:
      "Dark Void Demo":
        NPUB90296: [ 01.00 ]
    Author: "FlexBy"
    Notes: *dvoid_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00269f28, 0x60000000 ]

PPU-4bb9b09dba202b2aa235953e7bc0157b73ada131:
  "Unlock FPS":
    Games:
      "Dark Void Demo":
        NPEB90198: [ 01.00 ]
    Author: "FlexBy"
    Notes: *dvoid_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00269f28, 0x60000000 ]

PPU-61001081adb7948f3f4502599d486c3c1e6cf4ff: # NPWR00288_00
  "Unlock FPS":
    Games:
      "Damnation":
        BLES00526: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004fe824, 0x60000000 ]
  "Openspy Online":
    Games:
      "Damnation":
        BLES00526: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x014d995a, "openspy.net" ]
      - [ utf8, 0x014d9db0, "openspy.net" ]
      - [ utf8, 0x014dbe0d, "openspy.net" ]
      - [ utf8, 0x014dc0d8, "openspy.net" ]
      - [ utf8, 0x014dc0f0, "openspy.net" ]
      - [ utf8, 0x014dc108, "openspy.net" ]
      - [ utf8, 0x014dc288, "openspy.net" ]
      - [ utf8, 0x014dc2d7, "openspy.net" ]
      - [ utf8, 0x014dd60e, "openspy.net" ]
      - [ utf8, 0x017f6b7d, "openspy.net" ]
      - [ utf8, 0x017f6cc5, "openspy.net" ]
      - [ utf8, 0x014da480, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x0149a650, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  50cent_openspy_notes: &50cent_openspy_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."

PPU-2a1dd4aa26898a97cdb8ff196c1698ceafc5d00a:
  "Disable Motion Blur & DoF":
    Games:
      "50 Cent: Blood on The Sand":
        BLUS30256: [ All ]
        BLES00472: [ All ]
    Author: "boma"
    Notes: "This patch eliminates the post-processing render pass, which fixes the green screen artifacts caused by upscaling. Additionally, 16x Anisotropic Filtering can now be forced via custom config without causing issues."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x001740e8, 0x4800 ]
  "OpenSpy Online":
    Games:
      "50 Cent: Blood on The Sand":
        BLUS30256: [ All ]
        BLES00472: [ All ]
    Author: "FlexBy, Ninetime"
    Notes: *50cent_openspy_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x120e613a, "openspy.net" ]
      - [ utf8, 0x1530a10a, "openspy.net" ]
      - [ utf8, 0x1538d1bd, "openspy.net" ]
      - [ utf8, 0x01657a56, "openspy.net" ]
      - [ utf8, 0x11c14991, "openspy.net" ]
      - [ utf8, 0x01a9c5e4, "openspy.net" ]
      - [ utf8, 0x01a9e612, "openspy.net" ]
      - [ utf8, 0x01a9c5be, "openspy.net" ]
      - [ utf8, 0x01a1d3e9, "openspy.net" ]
      - [ utf8, 0x15390392, "openspy.net" ]
      - [ utf8, 0x01657a57, "openspy.net" ]
      - [ utf8, 0x01659935, "openspy.net" ]
      - [ utf8, 0x01659e20, "openspy.net" ]
      - [ utf8, 0x01659e38, "openspy.net" ]
      - [ utf8, 0x01659e50, "openspy.net" ]
      - [ utf8, 0x01659fe4, "openspy.net" ]
      - [ utf8, 0x0165a064, "openspy.net" ]
      - [ utf8, 0x0165a19a, "openspy.net" ]
      - [ utf8, 0x0165a560, "openspy.net" ]
      - [ utf8, 0x0165a5bf, "openspy.net" ]
      - [ utf8, 0x0165b2a0, "openspy.net" ]
      - [ utf8, 0x0165b2de, "openspy.net" ]
      - [ utf8, 0x01a1d3ea, "openspy.net" ]
      - [ utf8, 0x01a1e4d5, "openspy.net" ]
      - [ utf8, 0x01a1e62d, "openspy.net" ]
      - [ utf8, 0x01a21a31, "openspy.net" ]
      - [ utf8, 0x01a9c5be, "openspy.net" ]
      - [ utf8, 0x01a9c5e4, "openspy.net" ]
      - [ utf8, 0x01a9e542, "openspy.net" ]
      - [ utf8, 0x016577b0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
      - [ utf8, 0x01657a40, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]

PPU-9f0ef86c4c6de3793c0d7312de9095ecb02ffd4d:
  "OpenSpy Online":
    Games:
      "50 Cent: Blood on The Sand":
        BLJS10056: [ 01.00 ]
    Author: "FlexBy"
    Notes: *50cent_openspy_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x0252db9d, "openspy.net" ]
      - [ utf8, 0x0252decc, "openspy.net" ]
      - [ utf8, 0x0252df4c, "openspy.net" ]
      - [ utf8, 0x0252e07a, "openspy.net" ]
      - [ utf8, 0x0252e440, "openspy.net" ]
      - [ utf8, 0x0252e49f, "openspy.net" ]
      - [ utf8, 0x0252f100, "openspy.net" ]
      - [ utf8, 0x0252f8c8, "openspy.net" ]
      - [ utf8, 0x0252f8e0, "openspy.net" ]
      - [ utf8, 0x0252f8f8, "openspy.net" ]
      - [ utf8, 0x0252fabe, "openspy.net" ]
      - [ utf8, 0x0292890d, "openspy.net" ]
      - [ utf8, 0x02928a65, "openspy.net" ]
      - [ utf8, 0x0252c2a0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x02496db0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  aot40d_fps_notes: &aot40d_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency."

PPU-97355e97c701cea87a0ed08bce085cac4949dade:
  "Unlock FPS":
    Games:
      "Army of TWO: The 40th Day":
        BLUS30408: [ 01.00 ]
        BLES00659: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *aot40d_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c5f9c, 0x60000000 ]
      - [ be32, 0x003c6000, 0x60000000 ]
      - [ be32, 0x003c6010, 0x60000000 ]
  "Enable Log":
    Games:
      "Army of TWO: The 40th Day":
        BLUS30408: [ 01.00 ]
        BLES00659: [ 01.00 ]
    Author: "opcode"
    Notes: "Enables more verbose logging"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00927bfc, 0x60000000 ] # nop call that disables logger
  "Disable SSL":
    Games:
      "Army of TWO: The 40th Day":
        BLUS30408: [ 01.00 ]
        BLES00659: [ 01.00 ]
    Author: "opcode"
    Notes: "Disable SSL reverting to plaintext communication for custom servers"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x16d4acc, 0x98dd0110 ]

PPU-66e68ab81cb8c107687e708170fd7f13cfdd641e:
  "Unlock FPS":
    Games:
      "Army of TWO: The 40th Day":
        BLUS30408: [ 01.03 ]
        BLES00659: [ 01.02 ]
    Author: "Whatcookie"
    Notes: *aot40d_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003cc00c, 0x60000000 ]
      - [ be32, 0x003cc070, 0x60000000 ]
      - [ be32, 0x003cc080, 0x60000000 ]

PPU-8dc2c858b13b0dd2051c2c43cfea6572a67216b1:
  "SSL Patch":
    Games:
      "Army of TWO":
        BLES00168: [ 01.01 ]
    Author: ".Simbo"
    Patch Version: 1.0
    Notes: "Disable SSL certificate validation for custom servers"
    Patch:
      - [ be32, 0x0173f2ec, 0x38000015 ]
  "Enable Log":
    Games:
      "Army of TWO":
        BLES00168: [ 01.01 ]
    Author: "opcode"
    Notes: "Enables more verbose logging"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00edbba4, 0x60000000 ] # nop call that disables logger
  "Disable SSL":
    Games:
      "Army of TWO":
        BLES00168: [ 01.01 ]
    Author: "opcode"
    Notes: "Disable SSL reverting to plaintext communication for custom servers"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x015EFB64, 0x98C30110 ]

PPU-f62dd8afff286da6c9ee4715ba292604f2addf4a:
  "60 FPS":
    Games:
      "Army of TWO":
        BLES00168: [ 01.03 ]
        BLUS30057: [ 01.03 ]
    Author: "FlexBy"
    Notes: "Allows for proper gamespeed at 60 FPS.\nSet VBlank to 120."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0193d5a8, 0x3c888889 ]
  "Enable Log":
    Games:
      "Army of TWO":
        BLES00168: [ 01.03 ]
        BLUS30057: [ 01.03 ]
    Author: "opcode"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f98cf4, 0x60000000 ]

PPU-976896152cd756aed8ae7cfe8a6e91260bb21361:
  "Unlock FPS":
    Games:
      "Bloodbath":
        NPEB01932: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00334500, 0x60000000 ]

PPU-2906daff22ed8bd1dbcef94ef8e1ec79b73dba5e:
  "Unlock FPS":
    Games:
      "Black Knight Sword":
        NPEB00859: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Physics issues at high FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008cdbc8, 0x60000000 ]
      - [ be32, 0x008cdc28, 0x60000000 ]
      - [ be32, 0x008cdc2c, 0x60000000 ]

PPU-3a86a608b71f6a2b90ee0d52f4220fe9d1458b8a:
  "Dev Menu":
    Games:
      "Call of Juarez: Bound in Blood":
        NPEB00532: [ 01.00 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00cf66e4, 0x39200001 ]
      - [ be32, 0x00cf66f0, 0x992b0000 ]
      - [ be32, 0x00cf66f8, 0x39200000 ]

PPU-1bbb5252ccfd94638be32e1fee0863cea17f2121:
  "60 FPS":
    Games:
      "Castle Crashers":
        NPEB00293: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Set Frame Limit to 60"
    Patch Version: 2.0
    Patch:
      - [ be32, 0x000956b4, 0x60000000 ]
      - [ be32, 0x002b2044, 0x3c888889 ]

PPU-ba038bf4525e23b82c34247afc42f3ca2d2c473f:
  "Unlock FPS":
    Games:
      "Castle of Illusion Starring Mickey Mouse":
        NPUB31099: [ 01.00 ]
        NPEB01427: [ 01.00 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000f8908, 0x60000000 ]

Anchors:
  CTAXI_AR_Configurable_Values: &CTAXI_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-77794aa320de58a1666e1f494d1a88a0a6adc949:
  "Aspect Ratio":
    Games:
      "Crazy Taxi":
        NPJB00087: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Configurable Values: *CTAXI_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00014168, 0x60000000 ]
      - [ bef32, 0x0038059c, "Aspect Ratio" ]

PPU-5bcbd38ba85bc8642091e0ed6e5778b74c301d28:
  "Unlock FPS":
    Games:
      "Dungeons & Dragons: Daggerdale":
        NPEB00385: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00321380, 0x60000000 ]
  "OpenSpy Online":
    Games:
      "Dungeons & Dragons: Daggerdale":
        NPEB00385: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013b05f3, "openspy.net" ]
      - [ utf8, 0x013b063a, "openspy.net" ]
      - [ utf8, 0x013b272d, "openspy.net" ]
      - [ utf8, 0x013b2b24, "openspy.net" ]
      - [ utf8, 0x013b2b3c, "openspy.net" ]
      - [ utf8, 0x013b2b54, "openspy.net" ]
      - [ utf8, 0x013b2cc8, "openspy.net" ]
      - [ utf8, 0x013b2d52, "openspy.net" ]
      - [ utf8, 0x013b3858, "openspy.net" ]
      - [ utf8, 0x013b388a, "openspy.net" ]
      - [ utf8, 0x016bce01, "openspy.net" ]
      - [ utf8, 0x016bce45, "openspy.net" ]
      - [ utf8, 0x013b09e8, "http://%s.api.openspy.net/SakeStorageServer/Public/StorageServer.asmx\0" ]
      - [ utf8, 0x013b08de, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-93aed31e80e0a91e11fdcff1b83d42c235bc3548:
  "60 FPS":
    Games:
      "Dragon Ball Z: Burst Limit":
        BLUS30117: [ All ]
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004c4383, 0x01 ]       # 60 FPS
      - [ be32, 0x00162228, 0x60000000 ] # No reset
      - [ be32, 0x001633e8, 0x60000000 ] # Pause fix

PPU-49aef7eecc248bf85af210bdca336bce8c9272e4:
  "60 FPS":
    Games:
      "Dragon Ball Z: Burst Limit":
        BLES00231: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004c4383, 0x01 ]       # 60 FPS
      - [ be32, 0x001622dc, 0x60000000 ] # No reset
      - [ be32, 0x0016349c, 0x60000000 ] # Pause fix

PPU-6cc7119a6d93f10cf3c237987c541015d0290ad4:
  "Unlock FPS":
    Games:
      "Doctor Who: The Eternity Clock":
        NPUB30751: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032c900, 0x60000000 ]

Anchors:
  dmcdmc_debugmenu_notes: &dmcdmc_debugmenu_notes
    "SELECT+START = Brings menu.\nUsing the menu makes the screen red until a new map will be loaded."

PPU-b711c520e0295b480e4163e473886122cd033329:
  "Debug Menu":
    Games:
      "DmC Devil May Cry":
        BLES01698: [ 01.01 ]
        NPEB01020: [ 01.01 ]
    Author: "dron_3"
    Notes: *dmcdmc_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0116cb84, 0x38600000 ]

PPU-3101bddb805923d3b32be8e64b986bb6b60581bb:
  "Debug Menu":
    Games:
      "DmC Devil May Cry":
        BLUS30723: [ 01.01 ]
        NPUB30830: [ 01.01 ]
    Author: "dron_3"
    Notes: *dmcdmc_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0116cb84, 0x38600000 ]

PPU-c42d84baf809614023bae43461f51c62cf4c1ac5:
  "Debug Menu":
    Games:
      "DmC Devil May Cry":
        BLJM60502: [ 01.01 ]
        NPJB00278: [ 01.01 ]
    Author: "dron_3, FlexBy"
    Notes: *dmcdmc_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0116c984, 0x38600000 ]

PPU-abfef1fc79b9be0cbf4fd4b376280ef3a4fd37c5:
  "Unlock FPS":
    Games:
      "Aliens: Colonial Marines":
        NPEB01224: [ 01.01 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 58 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0015fe9c, 0x60000000 ]

PPU-aa2202f2dd8cf47ef78a0ef4c1294892f1054b28:
  "21:9 Aspect Ratio":
    Games:
      "Skate":
        BLES00124: [ 01.00 ]
    Author: "tuukkas"
    Notes: "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010a34d4, 0x4002f1bd ]
  "Disable Motion Blur":
    Games:
      "Skate":
        BLES00124: [ 01.00 ]
    Author: "tuukkas"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010a3774, 0x00000000 ]

Anchors:
  skate3_105title: &skate3_105title
    "Skate 3":
      BLUS30464: [ 01.05 ]
      BLES00760: [ 01.05 ]
      BLJM60296: [ 01.00 ]

PPU-376469bd27d45a617b6d086894c07e4a00f86fde:
  "21:9 Aspect Ratio":
    Games: *skate3_105title
    Author: "tuukkas"
    Notes: "Users need to enable the \"Stretch to Display Area\" option in RPCS3 for this patch to work. HUD will be stretched."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01840638, 0x4002f1bd ]
  "60 FPS":
    Games: *skate3_105title
    Author: "illusion"
    Notes: "Force 60 FPS in all modes."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00947138, 0x38a00000 ]
  "Moon Gravity":
    Games: *skate3_105title
    Author: "Aphelion"
    Notes: "Being airborne for too long will cause you to respawn."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0184ffb4, -60 ]
      - [ bef32, 0x0194fe64, -60 ]
      - [ bef32, 0x01857678, 120 ]
      - [ bef32, 0x01858198, 120 ]
  "No Fall Damage":
    Games: *skate3_105title
    Author: "Aphelion"
    Notes: "Only works while you're on your board. Jumping from the most extreme heights may still trigger bails because your character folds up and hits their limbs on the ground, so the game thinks you skated into something at high speed."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00d69588, 0xc80b13fc ]

Anchors:
  gow3_mlaa_notes: &gow3_mlaa_notes
    "Allows for the use of Resolution Scaling in the title.\nSet Resolution Scale Threshold to 1x1 or some effects will break.\n2.0 Slightly improves performance when using resolution scaling in some cases."

  gow3_colorgrading_notes: &gow3_colorgrading_notes
    "Significantly improves performance, changes visuals for Army of Sparta special attack and some lighting changes, generally only on magic sources."

  gow3_fog_notes: &gow3_fog_notes
    "Significantly improves performance in some cases, some distant places may look too clear due to removing the Layered fog effect. The patch is a good alternative to the Color Grading patch."

  gow3_bloom_notes: &gow3_bloom_notes
    "Disables some (not all) bloom effects."

  gow3_camerasway_notes: &gow3_camerasway_notes
    "Stops the ingame camera from swaying and shaking."

  gow3_skipintro_notes: &gow3_skipintro_notes
    "Skips SCE intros up to the first video.\n2.0 now skips first two intro videos."

  gow3_100_title: &gow3_100_title
    "God of War 3 (God of War III)":
      BCES00510: [ 01.00 ]
      BCES00799: [ 01.00 ]
      BCUS98111: [ 01.00 ]
      BCJS37001: [ 01.00 ]

  gow3_103_title: &gow3_103_title
    "God of War 3 (God of War III)":
      BCES00510: [ 01.03 ]
      BCES00799: [ 01.03 ]
      BCUS98111: [ 01.03 ]
      BCJS37001: [ 01.03 ]
      BCAS25003: [ 01.03 ]
      BCKS15003: [ 01.03 ]

PPU-19724fde16a5b111b7b4d2a065f5dccaf8e01962: # God of War 3 1.03
  "Skip any videos with X button":
    Games: *gow3_103_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0026fe14, 0x901f ]
  "Disable MLAA":
    Games: *gow3_103_title
    Author: "illusion, ZEROx"
    Notes: *gow3_mlaa_notes
    Patch Version: 3.0
    Patch:
      - [ be32, 0x0052bf2c, 0x00000000 ]
      - [ be32, 0x0023137c, 0x60000000 ]
  "Disable Depth of Field":
    Games: *gow3_103_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c14ac, 0x38000000 ]
  "Disable Motion Blur":
    Games: *gow3_103_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c57e4, 0x38000000 ]
  "Disable Color Grading (Speedboost)":
    Games: *gow3_103_title
    Author: "illusion"
    Notes: *gow3_colorgrading_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0052bda3, 0x00 ]
  "Disable Layered Fog (Speedboost)":
    Games: *gow3_103_title
    Author: "ZEROx"
    Notes: *gow3_fog_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00296a90, 0x38000000 ] # Disable Layered fog
      - [ be32, 0x00296bd4, 0x38000000 ] # On pause
  "Disable Bloom":
    Games: *gow3_103_title
    Author: "illusion"
    Notes: *gow3_bloom_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00231288, 0x60000000 ]
  "Disable Camera Sway":
    Games: *gow3_103_title
    Author: "ZEROx"
    Notes: *gow3_camerasway_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0015d29c, 0x38000000 ]
  "Skip intro":
    Games: *gow3_103_title
    Author: "illusion, ZEROx"
    Notes: *gow3_skipintro_notes
    Patch Version: 2.0
    Patch:
      - [ byte, 0x00588e50, 0x01 ]       # Skip SCEA logos
      - [ be32, 0x002712b4, 0x4816ce9d ] # bl 0x003de150
      - [ be32, 0x003de150, 0x7d4802a6 ] # mfspr r10,LR
      - [ be32, 0x003de154, 0x3d200055 ] # lis r9,0x55
      - [ be32, 0x003de158, 0x8009fcc5 ] # lwz r0,-0x33b(r9)
      - [ be32, 0x003de15c, 0x3d206f00 ] # lis r9,0x6f00
      - [ be32, 0x003de160, 0x7f804800 ] # cmpw cr7,r0,r9
      - [ be32, 0x003de164, 0x419e001c ] # beq cr7,0x003de180
      - [ be32, 0x003de168, 0x3d206e67 ] # lis r9,0x6e67
      - [ be32, 0x003de16c, 0x39294372 ] # addi r9,r9,0x4372
      - [ be32, 0x003de170, 0x7f804800 ] # cmpw cr7,r0,r9
      - [ be32, 0x003de174, 0x419e000c ] # beq cr7,0x003de180
      - [ be32, 0x003de178, 0x801b0f5c ] # lwz r0,0xf5c(r27) // original
      - [ be32, 0x003de17c, 0x4800000c ] # b 0x003de188
      - [ be32, 0x003de180, 0x394a0020 ] # addi r10,r10,0x20 // branch to skip video function
      - [ be32, 0x003de184, 0x7d4803a6 ] # mtspr LR,r10
      - [ be32, 0x003de188, 0x4e800020 ] # blr

PPU-4d5c51503a81a327c2a99427390a395b8dcb3767: # God of War 3 1.00
  "Skip any videos with X button":
    Games: *gow3_100_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0026fd18, 0x901f ]
  "Disable MLAA":
    Games: *gow3_100_title
    Author: "illusion, ZEROx"
    Notes: *gow3_mlaa_notes
    Patch Version: 3.0
    Patch:
      - [ byte, 0x0052bf2f, 0x00 ]
      - [ be32, 0x00231248, 0x60000000 ]
  "Disable Depth of Field":
    Games: *gow3_100_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c13c8, 0x38000000 ]
  "Disable Motion Blur":
    Games: *gow3_100_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c5700, 0x38000000 ]
  "Disable Color Grading (Speedboost)":
    Games: *gow3_100_title
    Author: "illusion"
    Notes: *gow3_colorgrading_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0052bda3, 0x00 ]
  "Disable Layered Fog (Speedboost)":
    Games: *gow3_100_title
    Author: "ZEROx"
    Notes: *gow3_fog_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00296994, 0x38000000 ] # Disable Layered fog
      - [ be32, 0x00296ad8, 0x38000000 ] # On pause
  "Disable Bloom":
    Games: *gow3_100_title
    Author: "illusion"
    Notes: *gow3_bloom_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00231288, 0x60000000 ]
  "Disable Camera sway":
    Games: *gow3_100_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0015d1b8, 0x38000000 ] # Camera sway
  "Skip intro":
    Games: *gow3_100_title
    Author: "illusion"
    Notes: *gow3_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x001e5468, 0x4800 ]

Anchors:
  Y1HD_ModSupport: &Y1HD_ModSupport
    - [ byte, 0x0031bf33, 0x58 ]
    - [ be16, 0x0031bf42, 0x3290 ] # off_583290
    - [ byte, 0x0031bfe3, 0x03 ]

    - [ byte, 0x0031c10f, 0x58 ]
    - [ be16, 0x0031c11e, 0x3290 ] # off_583290
    - [ byte, 0x0031c1bf, 0x03 ]

    - [ be32, 0x00583264, 0x315f4d6f ] # "Ogre1_Mod.cpk"
    - [ be32, 0x00583268, 0x642e6370 ]
    - [ be32, 0x0058326c, 0x6b000000 ]

    - [ be32, 0x00583274, 0x315f4469 ] # "Ogre1_Disc.cpk"
    - [ be32, 0x00583278, 0x73632e63 ]

    - [ be32, 0x00583280, 0x4f677265 ] # "Ogre1_Inst.cpk"
    - [ be32, 0x00583284, 0x315f496e ]
    - [ be32, 0x00583288, 0x73742e63 ]
    - [ be32, 0x0058328c, 0x706b0000 ]

    - [ be32, 0x00583290, 0x00583260 ] # aOgre1ModCpk
    - [ be32, 0x00583294, 0x00583270 ] # aOgre1DiscCpk
    - [ be32, 0x00583298, 0x00583280 ] # aOgre1InstCpk
  Y2HD_ModSupport: &Y2HD_ModSupport
    - [ byte, 0x003cfe63, 0x61 ]
    - [ be16, 0x003cfe72, 0x78a0 ] # off_6178A0
    - [ byte, 0x003cff13, 0x03 ]

    - [ byte, 0x003d003f, 0x61 ]
    - [ be16, 0x003d004e, 0x78a0 ] # off_6178A0
    - [ byte, 0x003d00ef, 0x03 ]

    - [ be32, 0x00617874, 0x325f4d6f ] # "Ogre2_Mod.cpk"
    - [ be32, 0x00617878, 0x642e6370 ]
    - [ be32, 0x0061787c, 0x6b000000 ]

    - [ be32, 0x00617884, 0x325f4469 ] # "Ogre2_Disc.cpk"
    - [ be32, 0x00617888, 0x73632e63 ]

    - [ be32, 0x00617890, 0x4f677265 ] # "Ogre2_Inst.cpk"
    - [ be32, 0x00617894, 0x325f496e ]
    - [ be32, 0x00617898, 0x73742e63 ]
    - [ be32, 0x0061789c, 0x706b0000 ]

    - [ be32, 0x006178a0, 0x00617870 ] # aOgre2ModCpk
    - [ be32, 0x006178a4, 0x00617880 ] # aOgre2DiscCpk
    - [ be32, 0x006178a8, 0x00617890 ] # aOgre2InstCpk

PPU-ad0efb73ebfdb68d6abf04a20a9a225f5d9fa0c7: # OGRE1.self
  "Mod Support":
    Games:
      "Yakuza HD":
        NPJB00280: [ 01.01 ]
    Author: "lipsum"
    Notes: "File replacement via Ogre1_Mod.cpk file."
    Patch Version: 1.0
    Patch:
      - [ load, *Y1HD_ModSupport ]

PPU-0604e637a841bdd85ac770d76281bdca18ac61f4: # OGRE2.self
  "Mod Support":
    Games:
      "Yakuza 2 HD":
        NPJB00280: [ 01.01 ]
    Author: "lipsum"
    Notes: "File replacement via Ogre2_Mod.cpk file."
    Patch Version: 1.0
    Patch:
      - [ load, *Y2HD_ModSupport ]

Anchors:
  mcla_deltatime_notes: &mcla_deltatime_notes
    "Run at any FPS with proper game speed. Increase VBlank for 30+ FPS."
  mcla_online_notes: &mcla_online_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
  mcla_skipintro_notes: &mcla_skipintro_notes
    "Breaks ingame graphics."

  mclaPSN_100_title: &mclaPSN_100_title
    "Midnight Club: Los Angeles Complete Edition":
      NPEB00546: [ 01.00 ]
      NPUB30471: [ 01.00 ]

  mclacedisc_106_title: &mclacedisc_106_title
    "Midnight Club: Los Angeles Complete Edition":
      BLES00652: [ 01.06 ]
      BLUS30442: [ 01.06 ]

  mcladisc_106_title: &mcladisc_106_title
    "Midnight Club: Los Angeles":
      BLES00362: [ 01.06 ]
      BLUS30190: [ 01.06 ]
  mcla_ar_notes: &mcla_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
  mcla_ar_configurable_values: &mcla_ar_configurable_values
      "Aspect Ratio":
        Type: double_enum
        Value: &32_9_value 3.555555555555556
        Allowed Values:
          "32:9": *32_9_value
          "21:9 (3840x1600)": 2.4
          "21:9 (3440x1440)": 2.388888888888889
          "21:9 (2560x1080)": 2.37037037037037
          "16:10": 1.6
          "4:3": 1.333333333333333
          "5:4": 1.25

PPU-227161a77f7e40eed0ad08ecfd1133a10eca2854:
  "Enable Deltatime":
    Games: *mclaPSN_100_title
    Author: "illusion"
    Notes: *mcla_deltatime_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c5220, 0x60000000 ]
      - [ be32, 0x004c5240, 0x48000084 ]
      - [ be32, 0x004c3f0c, 0x386003e8 ]
  "Disable Motion Blur":
    Games: *mclaPSN_100_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0050f9d8, 0x38600000 ]
  "Skip Intro":
    Games: *mclaPSN_100_title
    Author: "illusion"
    Notes: *mcla_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002b2410, 0x48000038 ]
  "Aspect Ratio":
    Games: *mclaPSN_100_title
    Author: "Virjoinga"
    Notes: *mcla_ar_notes
    Configurable Values: *mcla_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00b410ac, "Aspect Ratio" ]
  "OpenSpy Online":
    Games: *mclaPSN_100_title
    Author: "FlexBy"
    Notes: *mcla_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a270e7, "openspy.net" ]
      - [ utf8, 0x00a27310, "openspy.net" ]
      - [ utf8, 0x00a27612, "openspy.net" ]
      - [ utf8, 0x00a27630, "openspy.net" ]
      - [ utf8, 0x00a27648, "openspy.net" ]
      - [ utf8, 0x00a27660, "openspy.net" ]
      - [ utf8, 0x00a27bcd, "openspy.net" ]
      - [ utf8, 0x00a28bd0, "openspy.net" ]
      - [ utf8, 0x00a28c0e, "openspy.net" ]
      - [ utf8, 0x00bc9f25, "openspy.net" ]
      - [ utf8, 0x00bca06d, "openspy.net" ]
      - [ utf8, 0x00a26c60, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00a27090, "http://%s.sake.openspy.net/SakeStorageServer/StorageServer.asmx\0" ]
      - [ utf8, 0x009d1a70, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-9d8f7464991444526c6f9ca001dc1eb061fe367b:
  "Enable Deltatime":
    Games: *mclacedisc_106_title
    Author: "illusion"
    Notes: *mcla_deltatime_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c5fc0, 0x60000000 ]
      - [ be32, 0x004c5fe0, 0x48000084 ]
      - [ be32, 0x004c4cac, 0x386003e8 ]
  "Disable Motion Blur":
    Games: *mclacedisc_106_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005109d0, 0x38600000 ]
  "Skip Intro":
    Games: *mclacedisc_106_title
    Author: "illusion"
    Notes: *mcla_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002b31b0, 0x48000038 ]
  "Aspect Ratio":
    Games: *mclacedisc_106_title
    Author: "Virjoinga"
    Notes: *mcla_ar_notes
    Configurable Values: *mcla_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00b4109c, "Aspect Ratio" ]
  "OpenSpy Online":
    Games: *mclacedisc_106_title
    Author: "FlexBy"
    Notes: *mcla_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a28187, "openspy.net" ]
      - [ utf8, 0x00a283b0, "openspy.net" ]
      - [ utf8, 0x00a286b2, "openspy.net" ]
      - [ utf8, 0x00a286d0, "openspy.net" ]
      - [ utf8, 0x00a286e8, "openspy.net" ]
      - [ utf8, 0x00a28700, "openspy.net" ]
      - [ utf8, 0x00a28c6d, "openspy.net" ]
      - [ utf8, 0x00a29c70, "openspy.net" ]
      - [ utf8, 0x00a29cae, "openspy.net" ]
      - [ utf8, 0x00bc9f25, "openspy.net" ]
      - [ utf8, 0x00bca06d, "openspy.net" ]
      - [ utf8, 0x00a27d00, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00a28130, "http://%s.sake.openspy.net/SakeStorageServer/StorageServer.asmx\0" ]
      - [ utf8, 0x009d2a90, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-e9ad80fbf54bf611f650b6be5ef0611c5373db9a:
  "Enable Deltatime":
    Games: *mcladisc_106_title
    Author: "illusion, FlexBy"
    Notes: *mcla_deltatime_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c5e58, 0x60000000 ]
      - [ be32, 0x004c5e78, 0x48000084 ]
      - [ be32, 0x004c4b44, 0x386003e8 ]
  "Disable Motion Blur":
    Games: *mcladisc_106_title
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005106c0, 0x38600000 ]
  "Skip Intro":
    Games: *mcladisc_106_title
    Author: "illusion, FlexBy"
    Notes: *mcla_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002b3100, 0x48000038 ]
  "Aspect Ratio":
    Games: *mcladisc_106_title
    Author: "Virjoinga, FlexBy"
    Notes: *mcla_ar_notes
    Configurable Values: *mcla_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00b4108c, "Aspect Ratio" ]
  "OpenSpy Online":
    Games: *mcladisc_106_title
    Author: "FlexBy"
    Notes: *mcla_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a27d37, "openspy.net" ]
      - [ utf8, 0x00a27f60, "openspy.net" ]
      - [ utf8, 0x00a28262, "openspy.net" ]
      - [ utf8, 0x00a28280, "openspy.net" ]
      - [ utf8, 0x00a28298, "openspy.net" ]
      - [ utf8, 0x00a282b0, "openspy.net" ]
      - [ utf8, 0x00a2881d, "openspy.net" ]
      - [ utf8, 0x00a29820, "openspy.net" ]
      - [ utf8, 0x00a2985e, "openspy.net" ]
      - [ utf8, 0x00bc9ea5, "openspy.net" ]
      - [ utf8, 0x00bc9fed, "openspy.net" ]
      - [ utf8, 0x00a278b0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00a27ce0, "http://%s.sake.openspy.net/SakeStorageServer/StorageServer.asmx\0" ]
      - [ utf8, 0x009d2730, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-60ec03e6257d5b53e93ed7f0caf45141a78ff633:
  "Enable Deltatime":
    Games:
      "Midnight Club: Los Angeles":
        BLJS10046: [ 01.04 ]
    Author: "illusion, FlexBy"
    Notes: *mcla_deltatime_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c5960, 0x60000000 ]
      - [ be32, 0x004c5980, 0x48000084 ]
      - [ be32, 0x004c464c, 0x386003e8 ]
  "Disable Motion Blur":
    Games:
      "Midnight Club: Los Angeles":
        BLJS10046: [ 01.04 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00510150, 0x38600000 ]
  "Skip Intro":
    Games:
      "Midnight Club: Los Angeles":
        BLJS10046: [ 01.04 ]
    Author: "illusion, FlexBy"
    Notes: *mcla_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002b5320, 0x48000038 ]
  "Aspect Ratio":
    Games:
      "Midnight Club: Los Angeles":
        BLJS10046: [ 01.04 ]
    Author: "Virjoinga, FlexBy"
    Notes: *mcla_ar_notes
    Configurable Values: *mcla_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00b410d4, "Aspect Ratio" ]
  "OpenSpy Online":
    Games:
      "Midnight Club: Los Angeles":
        BLJS10046: [ 01.04 ]
    Author: "FlexBy"
    Notes: *mcla_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a26e67, "openspy.net" ]
      - [ utf8, 0x00a27090, "openspy.net" ]
      - [ utf8, 0x00a27392, "openspy.net" ]
      - [ utf8, 0x00a273b0, "openspy.net" ]
      - [ utf8, 0x00a273c8, "openspy.net" ]
      - [ utf8, 0x00a273e0, "openspy.net" ]
      - [ utf8, 0x00a2794d, "openspy.net" ]
      - [ utf8, 0x00a28950, "openspy.net" ]
      - [ utf8, 0x00a2898e, "openspy.net" ]
      - [ utf8, 0x00bc9e25, "openspy.net" ]
      - [ utf8, 0x00bc9f6d, "openspy.net" ]
      - [ utf8, 0x00a269e0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00a26e10, "http://%s.sake.openspy.net/SakeStorageServer/StorageServer.asmx\0" ]
      - [ utf8, 0x009d21f0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  gta4_fps_notes: &gta4_fps_notes
    "Set Framelimit to 60 FPS otherwise loading screen layers will go too fast."

PPU-d5041972c3464b734ed27f0b94b505a2a14471c8:
  "Unlock FPS":
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLUS30127: [ 01.08 ]
        NPUB30702: [ 01.08 ]
    Author: "Zolika1351"
    Notes: *gta4_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f18830, 0x00000000 ]

PPU-a2c90aafce24744d5ac6da8ad009ce301458c8a7:
  "Unlock FPS":
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLES00229: [ 01.08 ]
        NPEB00882: [ 01.09 ]
    Author: "Zolika1351, illusion"
    Notes: *gta4_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f18840, 0x00000000 ]

Anchors:
  RDR_AR_Notes: &RDR_AR_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
  RDR_AR_Configurable_Values: &RDR_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

  RDR_FPS_Notes: &RDR_FPS_Notes
    "Allows the framerate to exceed 65. Still need to set vblank to unlock framerate."

  rdr_goty100title: &rdr_goty100title
    "Red Dead Redemption GOTY Edition":
      BLES01294: [ 01.00 ]
      BLUS30758: [ 01.00 ]

  rdr_goty101title: &rdr_goty101title
    "Red Dead Redemption GOTY Edition":
      BLES01294: [ 01.01 ]
      BLUS30758: [ 01.01 ]

  rdr_disc100title: &rdr_disc100title
    "Red Dead Redemption":
      BLUS30418: [ 01.00 ]
      BLES00680: [ 01.00 ]

  rdr_psn100title: &rdr_psn100title
    "Red Dead Redemption":
      NPUB30638: [ 01.00 ]
      NPEB00833: [ 01.00 ]

PPU-8a18a0314cade28526874128b253acd98863b83d:
  "Aspect Ratio":
    Games: *rdr_psn100title
    Author: "Esppiral, Victoria"
    Notes: *RDR_AR_Notes
    Configurable Values: *RDR_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00474f24, "Aspect Ratio" ]
      - [ bef32, 0x000954b8, "Aspect Ratio" ]
  "Disable Motion Blur":
    Games: *rdr_psn100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004cbb1b, 0x00 ]
  "Unlock FPS":
    Games: *rdr_psn100title
    Author: "Whatcookie"
    Notes: *RDR_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0025ed14, 0x386003e8 ]
  "Skip Intro":
    Games: *rdr_psn100title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00457ff0, 0x480001a0 ]

PPU-cb1117efb6af95a8ea5bdcc64b9704ea28c07399:
  "Aspect Ratio":
    Games: *rdr_goty100title
    Author: "vStar925"
    Notes: *RDR_AR_Notes
    Configurable Values: *RDR_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00095f18, "Aspect Ratio" ]
      - [ bef32, 0x00475234, "Aspect Ratio" ]
  "Unlock FPS":
    Games: *rdr_goty100title
    Author: "Whatcookie, illusion"
    Notes: *RDR_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0025f98c, 0x386003e8 ]
  "Skip Intro":
    Games: *rdr_goty100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00458300, 0x480001a0 ]
  "Disable Motion Blur":
    Games: *rdr_goty100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004cc078, 0x38600000 ]
  "Infinite Ammo":
    Games: *rdr_goty100title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001e533c, 0x60000000 ]
  "Infinite Health":
    Games: *rdr_goty100title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005996c, 0x3c6047c3 ]
      - [ be32, 0x00059970, 0x907c0010 ]
      - [ be32, 0x00059974, 0x907c0014 ]
      - [ be32, 0x00059978, 0x4800004c ]
  "Infinite Dead Eye":
    Games: *rdr_goty100title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005a284, 0xc0260394 ]
      - [ be32, 0x0005a288, 0xd0260390 ]
  "Infinite Horse Stamina":
    Games: *rdr_goty100title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00950ab8, 0xc3df0014 ]
      - [ be32, 0x00950abc, 0xd3df0010 ]

PPU-950f2a3e4ca3a76fbee60386f7e489fb39bb6710:
  "Unlock FPS":
    Games: *rdr_goty101title
    Author: "Whatcookie, illusion"
    Notes: *RDR_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00260b3c, 0x386003e8 ]
  "Disable Motion Blur":
    Games: *rdr_goty101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004a7ed8, 0x38600000 ]
  "Skip Intro":
    Games: *rdr_goty101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00427818, 0x480001a0 ]

PPU-90a087f8c40920044c59fa402edf9e416cdd9187:
  "Infinite Ammo":
    Games: *rdr_disc100title
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001dbb98, 0x60000000 ]
  "Infinite Horse Energy":
    Games: *rdr_disc100title
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00930e48, 0x60000000 ]
  "Skip Intro":
    Games: *rdr_disc100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00444de0, 0x480001a0 ]

PPU-a8ceabaebce0e8087c0d2e10384c3b2cedf51764:
  "Unlock FPS":
    Games:
      "Red Dead Redemption":
        BLJM60265: [ 01.00 ]
    Author: "Whatcookie, FlexBy"
    Notes: *RDR_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00252f44, 0x386003e8 ]

Anchors:
  MirrorsEdge_UnlockFPS_Notes: &MirrorsEdge_UnlockFPS_Notes
    "Removes the ~62 FPS limit. Maximum framerate is half the Vblank frequency."

  MirrorsEdge_UnlockFPS_Disc: &MirrorsEdge_UnlockFPS_Disc
    - [ be32, 0x00eaa348, 0x60000000 ]
  MirrorsEdge_UnlockFPS_PSN: &MirrorsEdge_UnlockFPS_PSN
    - [ be32, 0x00eaa6d0, 0x60000000 ]

PPU-11db6db9c4edc67887b09aa7ec83b18f27adf9a3:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        BLES00322: [ 01.01 ]
    Author: "illusion"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *MirrorsEdge_UnlockFPS_Disc ]

PPU-95323989be16af11f04a017518802d090bc3eb47:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        BLUS30179: [ 01.01 ]
    Author: "illusion"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *MirrorsEdge_UnlockFPS_Disc ]

PPU-e8a0506d192495504c7f954ce9430e8ba1416c64:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        NPUB30838: [ 01.01 ]
    Author: "illusion"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *MirrorsEdge_UnlockFPS_PSN ]

PPU-19449ce904fff4a8b8f610b60461481f8a8bbd7b:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        NPEB00052: [ 01.01 ]
    Author: "illusion"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *MirrorsEdge_UnlockFPS_PSN ]

PPU-5075ef52fa2217b98ab1f0dd00ff457d85979b91:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        BLKS20094: [ 01.02 ]
    Author: "illusion, FlexBy"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00eb1a38, 0x60000000 ]

PPU-12f343d8a2f44e8dcce5a22e46e59b4b6c89d97b:
  "Unlock FPS":
    Games:
      "Mirror's Edge":
        BLJM60104: [ 01.02 ]
    Author: "illusion, FlexBy"
    Notes: *MirrorsEdge_UnlockFPS_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00eb1b40, 0x60000000 ]

Anchors:
  gta5_60fps_notes: &gta5_60fps_notes
    "Allows the game to run at 60 FPS when the VBlank frequency is set to 120 Hz.\n\n※ While this patch does set the frame limit to be half of the VBlank frequency, the game will not actually run any higher than 62 FPS except during the legal/copyright notice screen that is shown at boot."
  gta5_skiprockstarbootlogo_notes: &gta5_skiprockstarbootlogo_notes
    "Skips the Rockstar boot logo like the PS5 version.\n\n※ Does not skip the legal/copyright notice screen."

  gta5_EU127title: &gta5_EU127title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLES01807: [ 01.27 ]
      NPEB01283: [ 01.27 ]

  gta5_EU100title: &gta5_EU100title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLES01807: [ 01.00 ]
      NPEB01283: [ 01.00 ]

  gta5_US127title: &gta5_US127title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLUS31156: [ 01.27 ]
      NPUB31154: [ 01.27 ]

  gta5_US100title: &gta5_US100title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLUS31156: [ 01.00 ]
      NPUB31154: [ 01.00 ]

  gta5_JP123title: &gta5_JP123title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLJM61019: [ 02.24 ]
      NPJB00516: [ 01.23 ]

  gta5_JP100title: &gta5_JP100title
    "Grand Theft Auto V (Grand Theft Auto 5)":
      BLJM61019: [ 01.00 ]
      NPJB00516: [ 01.00 ]

PPU-e2d0208186c8a9456d5eb143bb695ec356b195a0:
  "60 FPS":
    Games: *gta5_JP123title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x004a0dc4, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_JP123title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0180f830, 0x00 ]

PPU-7b0b0796c3ac6b1274a290bd74c87c48fb459e69:
  "60 FPS":
    Games: *gta5_JP100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0043678c, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_JP100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x01680860, 0x00 ]

PPU-33546066628b10ec09f08a3c29c15611f9e65493:
  "60 FPS":
    Games: *gta5_US127title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x004a7394, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_US127title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0182a4b0, 0x00 ]

PPU-51eaefa466f3e26a4108f825e9b0856ee079aa2b:
  "60 FPS":
    Games: *gta5_US100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0043b7dc, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_US100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x01698260, 0x00 ]

PPU-70a481398fc3e934446bc53c8e888d92cbcc62be:
  "60 FPS":
    Games: *gta5_EU127title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x004a0e34, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_EU127title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0180f7b0, 0x00 ]

PPU-e5f9e0a066e4170a3251451b7ecd9b1a55da7c57:
  "60 FPS":
    Games: *gta5_EU100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x004367fc, 0x4800 ]
  "Skip Rockstar Boot Logo":
    Games: *gta5_EU100title
    Author: "illusion, Karen/あけみ (akemin_dayo)"
    Notes: *gta5_skiprockstarbootlogo_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x016808e0, 0x00 ]

Anchors:
  sr2_online_notes: &sr2_online_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."

PPU-d69ada56bbfe3438a3a8df3f68da681de4c41068:
  "OpenSpy Online":
    Games:
      "Saints Row 2":
        BLES00373: [ 01.30 ]
    Author: "FlexBy"
    Notes: *sr2_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d9f055, "openspy.net" ]
      - [ utf8, 0x00da0b30, "openspy.net" ]
      - [ utf8, 0x00da0b48, "openspy.net" ]
      - [ utf8, 0x00da0b60, "openspy.net" ]
      - [ utf8, 0x00da0c82, "openspy.net" ]
      - [ utf8, 0x00da0f18, "openspy.net" ]
      - [ utf8, 0x00da0fb7, "openspy.net" ]
      - [ utf8, 0x00da2000, "openspy.net" ]
      - [ utf8, 0x00da230f, "openspy.net" ]
      - [ utf8, 0x00da553c, "openspy.net" ]
      - [ utf8, 0x00da564c, "openspy.net" ]
      - [ utf8, 0x00da7656, "openspy.net" ]
      - [ utf8, 0x00f52de5, "openspy.net" ]
      - [ utf8, 0x00f52f2d, "openspy.net" ]
      - [ utf8, 0x00da22f8, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00da2120, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-44fbbc24d8e4560b51d724963a89c4e3309fa44f:
  "OpenSpy Online":
    Games:
      "Saints Row 2":
        NPEB00637: [ 01.00 ]
    Author: "FlexBy"
    Notes: *sr2_online_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d9e4d5, "openspy.net" ]
      - [ utf8, 0x00d9ffb0, "openspy.net" ]
      - [ utf8, 0x00d9ffc8, "openspy.net" ]
      - [ utf8, 0x00d9ffe0, "openspy.net" ]
      - [ utf8, 0x00da0102, "openspy.net" ]
      - [ utf8, 0x00da0398, "openspy.net" ]
      - [ utf8, 0x00da0437, "openspy.net" ]
      - [ utf8, 0x00da1480, "openspy.net" ]
      - [ utf8, 0x00da178f, "openspy.net" ]
      - [ utf8, 0x00da49bc, "openspy.net" ]
      - [ utf8, 0x00da4acc, "openspy.net" ]
      - [ utf8, 0x00da6ad6, "openspy.net" ]
      - [ utf8, 0x00f52d85, "openspy.net" ]
      - [ utf8, 0x00f52ecd, "openspy.net" ]
      - [ utf8, 0x00da1778, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00da15a0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-342cfff6572ba74b4f4a55b454fa07e172577aa9:
  "Debug Menu":
    Games:
      "Batman Arkham City GOTY":
        BLES01587: [ 01.00 ]
        BLUS30978: [ 01.00 ]
    Author: "dron_3"
    Notes: "Press R1+START in-game to access the Debug Menu (god mode, no clip, etc.)"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e36504, 0x38600000 ]

PPU-82ad502dc7b001917942c412905c4c02f69a8423:
  "Unlock FPS":
    Games:
      "Batman: Arkham City":
        NPEB00941: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001acc70, 0x60000000 ]

PPU-51b2e261b4195fd5d4b645c2cdd46b0588825202:
  "Unlock FPS":
    Games:
      "Batman: Arkham City Demo":
        NPEB90405: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001b1d30, 0x60000000 ]

Anchors:
  Batman_AO_106: &Batman_AO_106
    "Batman: Arkham Origins":
      BLUS31147: [ 01.06 ]
      BLES01784: [ 01.06 ]
  Batman_AO_InfiniteHealth: &Batman_AO_InfiniteHealth
    - [ be32, 0x0059f3bc, 0x38600080 ]
    - [ be32, 0x0059f3c0, 0x907f02ac ]
    - [ be32, 0x0059f3c4, 0x60000000 ]
  Batman_AO_ContinuousCombo: &Batman_AO_ContinuousCombo
    - [ be32, 0x012d8d10, 0x38600000 ]
    - [ be32, 0x012d8d14, 0x90650000 ]
    - [ be32, 0x012d8d18, 0x4e800020 ]
    - [ be32, 0x012d8d1c, 0x386713ac ]
    - [ be32, 0x012d8d20, 0x7c032800 ]
    - [ be32, 0x012d8d24, 0x4182fff4 ]
    - [ be32, 0x012d8d28, 0x386713e0 ]
    - [ be32, 0x012d8d2c, 0x7c032800 ]
    - [ be32, 0x012d8d30, 0x4182ffe8 ]
    - [ be32, 0x012d8d34, 0x3867140c ]
    - [ be32, 0x012d8d38, 0x7c032800 ]
    - [ be32, 0x012d8d3c, 0x4082ffd4 ]
    - [ be32, 0x012d8d40, 0x38600000 ]
    - [ be32, 0x012d8d44, 0x906713ac ]
    - [ be32, 0x012d8d48, 0x906713e0 ]
    - [ be32, 0x012d8d4c, 0x4bffffc8 ]
    - [ be32, 0x000340f8, 0x492a4c24 ]
  Batman_AO_DebugMenu_Notes: &Batman_AO_DebugMenu_Notes
    "Press R1+START in-game to access the Debug Menu."
  Batman_AO_DebugMenu: &Batman_AO_DebugMenu
    - [ be32, 0x00f249f0, 0x38600000 ]

PPU-35b43474e889783b7646e5cc1f457ebc28b7b796:
  "Infinite Health":
    Games: *Batman_AO_106
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *Batman_AO_InfiniteHealth ]
  "Continuous Combo":
    Games: *Batman_AO_106
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *Batman_AO_ContinuousCombo ]
  "Debug Menu":
    Games: *Batman_AO_106
    Author: "dron_3"
    Notes: *Batman_AO_DebugMenu_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *Batman_AO_DebugMenu ]

Anchors:
  rftod_instagib_notes: &rftod_instagib_notes
    "Everything dies in one hit."
  rftod_resolution_notes: &rftod_resolution_notes
    "Original resolution is 960x704. 1280x720 breaks rendering and requires more research."

PPU-f67f3e99077ba256728ffa16800c75e006661158: # 1.00 game version
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio, FlexBy"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00465be4, 0xd03d0008 ]
  "Infinite Health":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "Aphelion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00247094, 0x9fc30004 ]
  "Infinite Bolts":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio, FlexBy"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d7e4, 0x90cb041c ]
  "Infinite Raritanium":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio, FlexBy"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d814, 0x90cb0420 ]
  "Instagib Mode":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "Aphelion, FlexBy"
    Notes: *rftod_instagib_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bdd14, 0xd27c0004 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (1.0)":
        BCUS98127: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008aa550, 0.001 ] # Max FPS

PPU-c14042df6304d3e420a9917e6f8e5fc05cc38b4c: # 2.00 game version
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00465e5c, 0xd03d0008 ]
  "Infinite Health":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002470e4, 0x9fc30004 ]
  "Infinite Bolts":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d834, 0x90cb041c ]
  "Infinite Raritanium":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d864, 0x90cb0420 ]
  "Instagib Mode":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "Aphelion"
    Notes: *rftod_instagib_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bdd44, 0xd27c0004 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Tools of Destruction (2.0)":
        BCUS98127: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008aa558, 0.001 ] # Max FPS

PPU-c4e26433d1eed9166eb0c67b6f66b2268f3704e2:
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00465c04, 0xd03d0008 ]
  "Infinite Health":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002470b4, 0x9fc30004 ]
  "Infinite Bolts":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d804, 0x90cb041c ]
  "Infinite Raritanium":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0023d834, 0x90cb0420 ]
  "Instagib Mode":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "Aphelion"
    Notes: *rftod_instagib_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bdd14, 0xd27c0004 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        BCES00052: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008aa558, 0.001 ]

PPU-ec77eaf73a4f55d1c4ece532c3be6db0011e49ca:
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        NPEA00452: [ All ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0049a720, 0xd03d0008 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        NPEA00452: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008c68d0, 0.001 ]
  "1280x704 Resolution":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        NPEA00452: [ All ]
    Author: "Margen67, Rib"
    Notes: *rftod_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00536f8a, 1280 ]
      - [ be16, 0x00536f92, 704 ]

PPU-16506d9d5bf692d615645accd24bca1ee1f8f9a6:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Tools of Destruction":
        NPUA80965: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x008c68e0, 0.001 ]
  "1280x704 Resolution":
    Games:
      "Ratchet and Clank Future: Tools of Destruction":
        NPUA80965: [ 01.00 ]
    Author: "Margen67"
    Notes: *rftod_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x005372aa, 1280 ]
      - [ be16, 0x005372b2, 704 ]

Anchors:
  rfqfb_resolution_notes: &rfqfb_resolution_notes
    "Original resolution is 960x704. 1280x720 breaks rendering and requires more research."

PPU-f07f7086588a4ea86a28bd768f0cbe710f5b813b:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Quest for Booty":
        BCAS20052: [ All ]
        BCES00301: [ All ]
        NPEA00088: [ All ]
        NPEA00106: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00855048, 0.001 ]
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: Quest for Booty":
        BCAS20052: [ All ]
        BCES00301: [ All ]
        NPEA00088: [ All ]
        NPEA00106: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0034e658, 0xd03d0008 ]
  "1280x704 Resolution":
    Games:
      "Ratchet & Clank Future: Quest for Booty":
        BCAS20052: [ All ]
        BCES00301: [ All ]
        NPEA00088: [ All ]
        NPEA00106: [ All ]
    Author: "Rib"
    Notes: *rfqfb_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x003e84f2, 1280 ]
      - [ be16, 0x003e850e, 704 ]

PPU-1d9e99e1f091cfbdf1714d04e690d9cd816e2971:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: Quest for Booty":
        NPUA80145: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00855040, 0.001 ]

Anchors:
  ratchet_acit_skipintro_notes: &ratchet_acit_skipintro_notes
    "The main menu doesn't play music the first time it's opened."

  ratchet_acit_720p_notes: &ratchet_acit_720p_notes
    "Original resolution is 960x704. Game still requires Anti Aliasing set to Auto. Some things are still rendered at half resolution."

PPU-301488b15ab0e31e7c5b284da437c5047eabd025:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00511: [ 01.00 ]
    Author: "illusion, Juhn"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x00ca2500, 0.001 ] # Max FPS
      - [ bef32, 0x00ca4170, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c9438c, 0.001 ] # Min gamespeed

PPU-a3ed375ea1044d5abe734a4aa3a740f7673a4274:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00748: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2500, 0.001 ] # Max FPS
      - [ bef32, 0x00ca4170, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c9438c, 0.001 ] # Min gamespeed
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00748: [ 01.00 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00467ed0, 0xd03d0008 ]

PPU-d4c05d9af92fcedd667375d06ae698fdb51557db:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00511: [ 01.20 ]
        BCES00748: [ 01.20 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2428, 0.001 ] # Max FPS
      - [ bef32, 0x00ca4098, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c9428c, 0.001 ] # Min gamespeed
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00511: [ 01.20 ]
        BCES00748: [ 01.20 ]
    Author: "Aphelion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00467eb4, 0xd03d0008 ]
  "Skip Intro Logos":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00511: [ 01.20 ]
        BCES00748: [ 01.20 ]
    Author: "illusion, FlexBy"
    Notes: *ratchet_acit_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c96a4, 0x38600006 ]
  "1280x720 Resolution":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCES00511: [ 01.20 ]
        BCES00748: [ 01.20 ]
    Author: "Margen67, FlexBy"
    Notes: *ratchet_acit_720p_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032a772, 1280 ]
      - [ be16, 0x0032a7a2, 720 ]

PPU-0997e35d2b6738f5cecfda1d76380acca0828365:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2448, 0.001 ] # Max FPS
      - [ bef32, 0x00ca40b8, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c942fc, 0.001 ] # Min gamespeed
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.00 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00467a48, 0xd03d0008 ]

PPU-2811d9292fb4a664f9cf9050dabbe0cae6fd6a44:
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.20 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2398, 0.001 ] # Max FPS
      - [ bef32, 0x00ca4008, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c941fc, 0.001 ] # Min gamespeed
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.20 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00467d90, 0xd03d0008 ]
  "Skip Intro Logos":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.20 ]
    Author: "illusion, FlexBy"
    Notes: *ratchet_acit_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c95dc, 0x38600006 ]
  "1280x720 Resolution":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        BCUS98124: [ 01.20 ]
    Author: "Margen67, FlexBy"
    Notes: *ratchet_acit_720p_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032a662, 1280 ]
      - [ be16, 0x0032a692, 720 ]

PPU-13aad40a243857b2b18b8ab2fa0669220fcd644e:
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPEA00453: [ 01.20 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004684bc, 0xd03d0008 ]
  "Skip Intro Logos":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPEA00453: [ 01.20 ]
    Author: "illusion"
    Notes: *ratchet_acit_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c99a8, 0x38600006 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPEA00453: [ 01.20 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2378, 0.001 ] # Max FPS
      - [ bef32, 0x00ca3ff8, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c9420c, 0.001 ] # Min gamespeed
  "1280x720 Resolution":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPEA00453: [ 01.20 ]
    Author: "Margen67"
    Notes: *ratchet_acit_720p_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032a7a6, 1280 ]
      - [ be16, 0x0032a7d6, 720 ]

PPU-139ccf98a8417bd91a222f3d61d6de0860b8c436:
  "1280x720 Resolution":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPUA80966: [ 01.20 ]
    Author: "Margen67"
    Notes: *ratchet_acit_720p_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032a622, 1280 ]
      - [ be16, 0x0032a652, 720 ]
  "Infinite Ammo":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPUA80966: [ 01.20 ]
    Author: "Bungholio"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00467a64, 0xd03d0008 ]
  "Unlock FPS":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPUA80966: [ 01.20 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ca2370, 0.001 ] # Max FPS
      - [ bef32, 0x00ca3fe0, 0.001 ] # Min gamespeed
      - [ bef32, 0x00c9420c, 0.001 ] # Min gamespeed
  "Skip Intro Logos":
    Games:
      "Ratchet & Clank Future: A Crack in Time":
        NPUA80966: [ 01.20 ]
    Author: "illusion"
    Notes: *ratchet_acit_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004c8f50, 0x38600006 ]

Anchors:
  ratchet_nexus_unlockfps_notes: &ratchet_nexus_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency."

PPU-1155df736bedc95424c866d84a20766a4115774d:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Into the Nexus":
        NPUA80908: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_nexus_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032efc2, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032efce, 0x126f ] # level load (high bits)
      - [ bef64, 0x0069fdb8, 0.001 ] # init/level load

PPU-ed460e668a491f5e39f6547f3a24c2f20e2cb39b:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Nexus":
        BCES01908: [ 01.00 ]
        BCES01949: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_nexus_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032f002, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032f00e, 0x126f ] # level load (high bits)
      - [ bef64, 0x0069fdb8, 0.001 ] # init/level load

PPU-d9c555a5fea145a24920bc4e63056bf35e1c6a14:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Nexus":
        NPEA00457: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_nexus_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032efc2, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032efce, 0x126f ] # level load (high bits)
      - [ bef64, 0x0069fdb8, 0.001 ] # init/level load

PPU-fadb0af6fb7bd0113e88fb9af3eb78fe3be05d08:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Into the Nexus":
        BCUS99245: [ 01.01 ]
        NPUA80908: [ 01.01 ]
      "Ratchet & Clank: Nexus":
        BCES01908: [ 01.01 ]
        BCES01949: [ 01.01 ]
        NPEA00457: [ 01.01 ]
    Author: "illusion"
    Notes: *ratchet_nexus_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032ff02, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032ff0e, 0x126f ] # level load (high bits)
      - [ bef64, 0x006a1938, 0.001 ] # init/level load

Anchors:
  ratchet_all4one_unlockfps_notes: &ratchet_all4one_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency."

  ratchet_all4one_100_unlockfps: &ratchet_all4one_100_unlockfps
    - [ be16, 0x0031105a, 0x3a83 ] # level load (low bits)
    - [ be16, 0x00311066, 0x126f ] # level load (high bits)
    - [ bef64, 0x0072c140, 0.001 ] # init/level load

  ratchet_all4one_103_unlockfps: &ratchet_all4one_103_unlockfps
    - [ be16, 0x0031a186, 0x3a83 ] # level load (low bits)
    - [ be16, 0x0031a192, 0x126f ] # level load (high bits)
    - [ bef64, 0x00744dc0, 0.001 ] # init/level load

PPU-6b996df3949d05b2e6dc23b1dfdf9dd6d01d8c38:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: All 4 One":
        NPEA00356: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_all4one_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ratchet_all4one_100_unlockfps ]

PPU-ba38ef01095996cc1c1ce19b7e8ad0ac31576931:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: All 4 One":
        NPUA80695: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_all4one_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ratchet_all4one_100_unlockfps ]

PPU-5fd631b4c6903c20ef2dedae06469beb880935d3:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: All 4 One":
        NPEA00356: [ 01.03 ]
        NPUA80695: [ 01.03 ]
    Author: "illusion"
    Notes: *ratchet_all4one_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ratchet_all4one_103_unlockfps ]

PPU-4c819c69904784a56685c31df12f5d492bc0ed64:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: All 4 One":
        BCAS20200: [ 01.03 ]
        BCES01141: [ 01.03 ]
        BCES01142: [ 01.03 ]
        BCUS98175: [ 01.03 ]
    Author: "illusion"
    Notes: *ratchet_all4one_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ratchet_all4one_103_unlockfps ]

PPU-c11efe379277a76cdea0f139a895981c39d1a0aa:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: All 4 One Demo":
        BCED01448: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_all4one_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x002fead2, 0x3a83 ]
      - [ be16, 0x002feade, 0x126f ]
      - [ bef64, 0x006f2378, 0.001 ]

Anchors:
  gowa_mlaa_notes: &gowa_mlaa_notes
    "Allows for the use of Resolution Scaling in this title.\nSet Resolution Scale Threshold to 1x1 for proper scaling of effects."

  gowa_104_title: &gowa_104_title
    "God of War: Ascension":
      BCES01741: [ 01.04 ]
      BCES01742: [ 01.04 ]
      BCUS98232: [ 01.04 ]
      BCAS25016: [ 01.04 ]
      BCJS37008: [ 01.04 ]
      NPEA00445: [ 01.04 ]
      NPUA80918: [ 01.04 ]
      NPHA80258: [ 01.04 ]

  gowa_112_title: &gowa_112_title
    "God of War: Ascension":
      BCES01741: [ 01.12 ]
      BCES01742: [ 01.12 ]
      BCUS98232: [ 01.12 ]
      BCAS25016: [ 01.12 ]
      BCJS37008: [ 01.22 ]
      NPEA00445: [ 01.12 ]
      NPUA80918: [ 01.12 ]
      NPHA80258: [ 01.12 ]

PPU-3a63ecc6e9b81a984d2fe0a481febc3e26b57810: # GOWA.SELF 1.04
  "Disable MLAA":
    Games: *gowa_104_title
    Author: "illusion, ZEROx"
    Notes: *gowa_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0083ce77, 0x00 ]
      - [ be32, 0x00390724, 0x60000000 ]
      - [ be32, 0x00390754, 0x60000000 ]
  "Disable Depth of Field":
    Games: *gowa_104_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004342bc, 0x38a00000 ]
  "Disable Motion Blur":
    Games: *gowa_104_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00437810, 0x38a00000 ]
  "Skip intro":
    Games: *gowa_104_title
    Author: "Illusion, ZEROx"
    Notes: "Skips SCE intros up to first video\n2.0 Skips intro video."
    Patch Version: 2.0
    Patch:
      - [ byte, 0x00204d5b, 0x01 ] # Skip intro video on first run
      - [ be16, 0x00411ff4, 0x4800 ] # Skip intro logo
      - [ be32, 0x003efa04, 0x480225f5 ] # func call
      - [ be32, 0x00411ff8, 0x3c60009e ] # lis r3,0x9e
      - [ be32, 0x00411ffc, 0xa063c1d0 ] # Current video 2 bytes
      - [ be32, 0x00412000, 0x2f836f70 ] # cmpwi cr7,r3,0x6f70
      - [ be32, 0x00412004, 0x419e0010 ] # beq
      - [ be32, 0x00412008, 0x3c600094 ] # lis r3,0x94
      - [ be32, 0x0041200c, 0x80630e94 ] # r3 = Button data
      - [ be32, 0x00412010, 0x48000008 ] # b
      - [ be32, 0x00412014, 0x38600040 ] # X button
      - [ be32, 0x00412018, 0x4e800020 ] # Return
  "Unlock FPS":
    Games: *gowa_104_title
    Author: "ZEROx, illusion"
    Notes: "Unlocks internal timestep calculation. Increase vblank to match your desired framerate."
    Patch Version: 2.0
    Patch:
      - [ bef32, 0x0039e284, 1000 ]
      - [ bef32, 0x002cae2c, 10000 ] # Timestamp
      - [ bef32, 0x0083b2cc, 60 ] # Target FPS, main float
      - [ be32, 0x002cadd8, 0x60000000 ]
      - [ be16, 0x002c537e, 0x93cc ] # 1000.0f gameplay speed scaling
      - [ be16, 0x002caec6, 0x93cc ] # 1000.0f sync
      - [ be16, 0x002caf6e, 0x93cc ] # 1000.0f sync
      - [ be16, 0x003ef71a, 0x93cc ] # 1000.0f video playback speed scaling

PPU-3a0b43e4a5f4bfea64f53612ee7c5d990f88129c: # GOWA.SELF 1.12
  "Disable MLAA":
    Games: *gowa_112_title
    Author: "illusion, ZEROx"
    Notes: *gowa_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0083d007, 0x00 ]
      - [ be32, 0x00397754, 0x60000000 ]
      - [ be32, 0x00397784, 0x60000000 ]
  "Disable Depth of Field":
    Games: *gowa_112_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043bcbc, 0x38a00000 ]
  "Disable Motion Blur":
    Games: *gowa_112_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043f210, 0x38a00000 ]
# Moved FPS 1.12 to canary. TODO: re-add when fixed.

PPU-93623f42f6f50bed58ca60927ed43beab749a2cd:
  "Disable MLAA":
    Games:
      "God of War: Ascension Demo":
        NPEA90123: [ 01.00 ]
    Author: "illusion"
    Notes: *gowa_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x007dc0b7, 0x00 ]

PPU-ea2fc413782cda9d615cd0d68b096bfe54c780be:
  "Disable MLAA":
    Games:
      "God of War: Ascension Demo":
        NPUA70244: [ 01.00 ]
    Author: "illusion"
    Notes: *gowa_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00776efb, 0x00 ]
  "Disable Motion Blur":
    Games:
      "God of War: Ascension Demo":
        NPUA70244: [ 01.00 ]
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00143a9c, 0x38a00000 ]
  "Skip Intro":
    Games:
      "God of War: Ascension Demo":
        NPUA70244: [ 01.00 ]
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x001a1927, 0x01 ]
      - [ be16, 0x00024a6c, 0x4800 ]

PPU-8645cfa235c9980ff74b5e06388b29e97fdbbed9: # NPWR02973_00
  "Skip Auto-Save Warning":
    Games:
      "TEKKEN TAG TOURNAMENT 2":
        BLES01702: [ 01.03 ]
        BLJS10187: [ 01.03 ]
        BLUS31002: [ 01.03 ]
        NPEB01140: [ 01.01 ]
        NPJB00236: [ 01.01 ]
        NPUB30899: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032a7a8, 0x2f830001 ]

Anchors:
  # Since we only change store reg and branch, we don't need to patch last 2 bytes again.
  tlou100_mlaa: &tlou100_mlaa
    - [ be16, 0x00a7a514, 0x9b83 ]     # store 0
  #  - [ be16, 0x00a51a8c, 0x4800 ]     # unconditonally branch to disable MLAA
    - [ be16, 0x0092ddac, 0x4800 ]     # Skip memory check function
    - [ be32, 0x00ae5d4c, 0x38000000 ] # Green rain
    - [ be32, 0x00a2c4f0, 0x38000000 ] # Green rain
    - [ be32, 0x00a2c4fc, 0x38000000 ] # Green rain
    - [ be32, 0x00a58da8, 0x60000000 ] # skip assert: x + w <= width && y + h <= height
    - [ be32, 0x0093e30c, 0xc1890990 ] # Cargo fix
    - [ be32, 0x0093e394, 0xc0090990 ] # Reticle bloom
  # Dof patch
    - [ be32, 0x0093dd64, 0x48113d2d ] # Call1
    - [ be32, 0x0093dd88, 0x48113d19 ] # Call2
    - [ be32, 0x00a0ae2c, 0x48046c85 ] # Call3
  # Func 1 Overall DoF 1
    - [ be32, 0x00a51a90, 0xc09c0aa4 ] # Load f4
    - [ be32, 0x00a51a94, 0xc27e04d4 ] # f19 = 0.3
    - [ be32, 0x00a51a98, 0xec8404f2 ] # f4*f19
    - [ be32, 0x00a51a9c, 0x4e800020 ] # Return
  # Func 2 Cutscene Dof
    - [ be32, 0x00a51aa0, 0xc01c0aac ] # Load f0
    - [ be32, 0x00a51aa4, 0xc17e1d34 ] # f11 = 0.75
    - [ be32, 0x00a51aa8, 0xec0002f2 ] # f0*f11
    - [ be32, 0x00a51aac, 0x4e800020 ] # Return
  # Func 3 Overall Dof 2
    - [ be32, 0x00a51ab0, 0x3d200146 ] # r9 = 1460000
    - [ be32, 0x00a51ab4, 0x3929481c ] # r9 = 146481c
    - [ be32, 0x00a51ab8, 0x80080014 ] # Load pattern to r0
    - [ be32, 0x00a51abc, 0x7f804800 ] # Compare r0 to r9
    - [ be32, 0x00a51ac0, 0x409e0010 ]
    - [ be32, 0x00a51ac4, 0xc01e10a0 ] # f0 = 0.3
    - [ be32, 0x00a51ac8, 0xd008000c ] # Store f0
    - [ be32, 0x00a51acc, 0x48000008 ]
    - [ be32, 0x00a51ad0, 0xd3e8000c ] # Default store
    - [ be32, 0x00a51ad4, 0x4e800020 ] # Return
  # Bloom correction patch v2.2
    - [ be32, 0x0093e308, 0x481137d1 ] # Call
    - [ be32, 0x00a51ad8, 0xc1a909a4 ] # Load f13
    - [ be32, 0x00a51adc, 0xc19e064c ] # f12 = 0.69
    - [ be32, 0x00a51ae0, 0x808909a8 ] # r4 unique value e198
    - [ be32, 0x00a51ae4, 0x2f840000 ] # if r4 <= 0
    - [ be32, 0x00a51ae8, 0x409d0058 ] # Skip to Main menu
  # Bills town Bloater and escape (2)
    - [ be32, 0x00a51aec, 0x3ca03ba4 ] # r5 = 3ba40000
    - [ be32, 0x00a51af0, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51af4, 0x419c0074 ] # go to Patch if less
  # Bills town Cemetery (1)
    - [ be32, 0x00a51af8, 0x808909a4 ] # r4 unique value e194
    - [ be32, 0x00a51afc, 0x3ca03e80 ] # r5 = 3e800000
    - [ be32, 0x00a51b00, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b04, 0x419c0068 ] # go to Patch if less
  # Bills town main street (2)
    - [ be32, 0x00a51b08, 0x3ca04026 ] # r5 = 40260000
    - [ be32, 0x00a51b0c, 0x38a56666 ] # r5 = 40266666
    - [ be32, 0x00a51b10, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b14, 0x419e0054 ] # go to Patch if ==
  # Bills town Trap (2)
    - [ be32, 0x00a51b18, 0x3ca0403d ] # r5 = 403d0000
    - [ be32, 0x00a51b1c, 0x38a5e4e2 ] # r5 = 403ce4e2
    - [ be32, 0x00a51b20, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b24, 0x419e0044 ] # go to Patch if ==
  # Bills Town intro check (2)
    - [ be32, 0x00a51b28, 0x808909bc ] # r4 unique value e1ac
    - [ be32, 0x00a51b2c, 0x3ca04007 ] # r5 = 40070000
    - [ be32, 0x00a51b30, 0x38a50a3d ] # r5 = 40070a3d
    - [ be32, 0x00a51b34, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b38, 0x419e0030 ] # go to Patch if ==
    - [ be32, 0x00a51b3c, 0x4e800020 ] # Return
  # Patch Menu/Ending level
    - [ be32, 0x00a51b40, 0x808909a0 ] # r4 unique value e190
    - [ be32, 0x00a51b44, 0x3ca03f8d ] # r5 = 3f8d0000
    - [ be32, 0x00a51b48, 0x38a52f6f ] # r5 = 3f8d2f6f
    - [ be32, 0x00a51b4c, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b50, 0x419e0010 ] # Patch menu
    - [ be32, 0x00a51b54, 0x80a909a4 ] # r5 unique value e194
    - [ be32, 0x00a51b58, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a51b5c, 0x4c9e0020 ] # Return (bnelr)
    - [ be32, 0x00a51b60, 0xc19e03fc ] # f12 = 0.5
    - [ be32, 0x00a51b64, 0x48000008 ] # go to Patch
  # Patch function
    - [ be32, 0x00a51b68, 0xedad0332 ] # f13=f13*f12
    - [ be32, 0x00a51b6c, 0xec000332 ] # f0=f0*f12
    - [ be32, 0x00a51b70, 0x4e800020 ] # Return

  # Special thanks to HdHereidme for debug menu, Smasher248 for inital memory addresses and Skye Mods for mesh trimming
  # address. Without them this patch wouldn't have been possible.
  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = Tonemapping // reversed from orbis version confirmed this exists
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  tlou100_post: &tlou100_post
  #  - [ be32, 0x00a7991c, 0x38000003 ] # Post-processing modes                    (mem address: 0x14c79c7)
    - [ be32, 0x0093e300, 0xc0090990 ] # load e190 with 0
    - [ be32, 0x0093e30c, 0xc1890990 ] # load e198 with 0f
    - [ be32, 0x0093e394, 0xc0090990 ] # load e1a0 with 0f

  tlou100_mesh: &tlou100_mesh
    - [ be16, 0x00923a94, 0x9809 ]     # Disable Mesh trimming       (r3  => r0 ) (mem address: 0x142c584)

  # Many settings below are enabled/disabled in sub_A7A340. In this subroutine,
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  tlou100_ssao: &tlou100_ssao
    - [ be16, 0x00a7a470, 0x9b83 ]     # Disable SSAO                (r27 => r28) (mem address: 0x14c7c0f)

  tlou100_mb: &tlou100_mb
    - [ be16, 0x00a7a4d4, 0x9b83 ]     # Disable motion blur         (r27 => r28) (mem address: 0x14c7c2e)

  tlou100_dof: &tlou100_dof
    - [ be16, 0x00a7a4e0, 0x9b83 ]     # Disable depth of field      (r27 => r28) (mem address: 0x14c7c31)

  tlou100_dbv: &tlou100_dbv
    - [ be16, 0x00a7a760, 0x9b63 ]     # Depth buffer viewport       (r28 => r27) (mem address: 0x14c7e9d)

  tlou100_dbf: &tlou100_dbf
    - [ be16, 0x00a7a7ac, 0x9b83 ]     # Depth border fix            (r27 => r28) (mem address: 0x14c7ec1)

  tlou100_db: &tlou100_db
    - [ be16, 0x00a7a7b8, 0x90e3 ]     # Depth buffer                (r27 => r6 ) (mem address: 0x14c7f93)
    - [ be16, 0x00a516ec, 0x4800 ]     # Cabin resort crash fix

  tlou100_speed: &tlou100_speed
    - [ be16, 0x00a7a6b8, 0x9383 ]     # Speedboost                               (mem address: 0x14c7e5f)

  tlou100_devmenu: &tlou100_devmenu
    # debug menu
    - [ be32, 0x000399c8, 0x39c00001 ]
    - [ be16, 0x009ace36, 0x2db6 ]
    - [ be16, 0x009ace3e, 0x2db6 ]
    # pak arg
    - [ be32, 0x004ea8ac, 0x4897451c ]
    - [ be32, 0x00e5edc8, 0x90be82e4 ]
    - [ be32, 0x00e5edcc, 0x88050000 ]
    - [ be32, 0x00e5edd0, 0x4b68bae0 ]
    # menu start
    - [ be32, 0x004e94f8, 0x39ef0020 ]
    - [ be32, 0x004e94fc, 0x48c96f34 ]
    - [ be32, 0x01180430, 0x3c800117 ]
    - [ be32, 0x01180434, 0x6084fe25 ]
    - [ be32, 0x01180438, 0x7c847a14 ]
    - [ be32, 0x0118043c, 0x4b3690c4 ]
    - [ utf8, 0x0117fe45, "shiv                           \x00" ]
    - [ utf8, 0x0117fe65, "pistol-uber-t1                 \x00" ]
    - [ utf8, 0x0117fe85, "NO_ART_GROUP                   \x00" ]
    - [ utf8, 0x0117fea5, "nail-bomb                      \x00" ]
    - [ utf8, 0x0117fec5, "two-by-four                    \x00" ]
    - [ utf8, 0x0117fee5, "nail-bomb                      \x00" ]
    - [ utf8, 0x0117ff05, "turret-sniper                  \x00" ]
    - [ utf8, 0x0117ff25, "pistol-uber-t1                 \x00" ]
    - [ utf8, 0x0117ff45, "shiv                           \x00" ]
    - [ utf8, 0x0117ff65, "radio                          \x00" ]
    - [ utf8, 0x0117ff85, "molotov                        \x00" ]
    - [ utf8, 0x0117ffa5, "bandage-apply                  \x00" ]
    - [ utf8, 0x0117ffc5, "mp-parcel                      \x00" ]
    - [ utf8, 0x0117ffe5, "machete-blade                  \x00" ]
    - [ utf8, 0x01180005, "bow-dark                       \x00" ]
    - [ utf8, 0x01180025, "mini-14-rifle                  \x00" ]
    - [ utf8, 0x01180045, "two-by-four                    \x00" ]
    - [ utf8, 0x01180065, "pistol-shotgun                 \x00" ]
    - [ utf8, 0x01180085, "beer-bottle                    \x00" ]
    - [ utf8, 0x011800a5, "lead-pipe                      \x00" ]
    - [ utf8, 0x011800c5, "lead-pipe                      \x00" ]
    - [ utf8, 0x011800e5, "flashlight                     \x00" ]
    - [ utf8, 0x01180105, "rifle-sniper                   \x00" ]
    - [ utf8, 0x01180125, "m4-rifle-t1                    \x00" ]
    - [ utf8, 0x01180145, "smoke-bomb                     \x00" ]
    - [ utf8, 0x01180165, "throw-brick                    \x00" ]
    - [ utf8, 0x01180185, "shotgun-pump-stock             \x00" ]
    - [ utf8, 0x011801a5, "NO_ART_GROUP                   \x00" ]
    - [ utf8, 0x011801c5, "bloater-pustule                \x00" ]
    - [ utf8, 0x011801e5, "taurus-66b4-revolver           \x00" ]
    - [ utf8, 0x01180205, "nail-bomb                      \x00" ]
    - [ utf8, 0x01180225, "throwing-knife                 \x00" ]
    - [ utf8, 0x01180245, "rifle-bolt                     \x00" ]
    - [ utf8, 0x01180265, "beretta-jaguar-pistol          \x00" ]
    - [ utf8, 0x01180285, "bow                            \x00" ]
    - [ utf8, 0x011802a5, "molotov                        \x00" ]
    - [ utf8, 0x011802c5, "bill-knife                     \x00" ]
    - [ utf8, 0x011802e5, "baseball-bat                   \x00" ]
    - [ utf8, 0x01180305, "pistol-9mm                     \x00" ]
    - [ utf8, 0x01180325, "machete-blade                  \x00" ]
    - [ utf8, 0x01180345, "none                           \x00" ]
    - [ utf8, 0x01180365, "rifle-improvised-assault       \x00" ]
    - [ utf8, 0x01180385, "switchblade                    \x00" ]
    - [ utf8, 0x011803a5, "baseball-bat                   \x00" ]
    - [ utf8, 0x011803c5, "hatchet                        \x00" ]
    - [ utf8, 0x011803e5, "NO_ART_GROUP                   \x00" ]
    - [ utf8, 0x01180405, "flamethrower                   \x00" ]
    # debug draw renderer on 2d
    - [ be32, 0x005f8b48, 0x7fa3eb78 ]
    - [ be32, 0x005f8b4c, 0x4bd551dd ]
    - [ be32, 0x005f8b50, 0x7fa3eb78 ]
    - [ be32, 0x005f8b54, 0x4844df29 ]
    - [ be32, 0x005f8b58, 0x7fa3eb78 ]
    - [ be32, 0x005f8b5c, 0x484b2695 ]
    - [ be32, 0x00033c5c, 0x60000000 ]
    # DC printing
    - [ be32, 0x007681e8, 0x38600001 ]
    - [ be32, 0x007681ec, 0x482b9de1 ]
    - [ be32, 0x007681f0, 0x7fa3eb78 ]
    - [ be32, 0x007681f4, 0x482b9e2d ]
    - [ be32, 0x007681f8, 0x7fa3eb78 ]
    - [ be32, 0x007681fc, 0x486de265 ]
    - [ be32, 0x00768200, 0x48000010 ]
    - [ be32, 0x007f7370, 0x48002708 ] # native-printf
    - [ be32, 0x007f7384, 0x480026f4 ] # native-print-string
    # msgout to msgcon (debug text)
    - [ be32, 0x01293838, 0x013bdab0 ] # msgcon buffer
    # start
    - [ be32, 0x00a46b70, 0x3cc00132 ]
    - [ be32, 0x00a46b74, 0x60c63220 ]
    - [ be32, 0x00a46b78, 0x3ce041b0 ]
    - [ be32, 0x00a46b7c, 0x90e60000 ]
    - [ be32, 0x00a46b80, 0xc0060000 ]
    - [ be32, 0x00a46b84, 0xc0460000 ]
    - [ be32, 0x00a46b88, 0x3ce04204 ]
    - [ be32, 0x00a46b8c, 0x90e60000 ]
    - [ be32, 0x00a46b90, 0xc0260000 ]
    - [ be32, 0x00a46b94, 0x38c0ffff ]
    - [ be32, 0x00a46b98, 0x80fe8098 ]
    - [ be32, 0x00a46b9c, 0x480656e5 ]
    - [ be32, 0x00a46ba0, 0x3cc00132 ]
    - [ be32, 0x00a46ba4, 0x60c63220 ]
    - [ be32, 0x00a46ba8, 0x3ce04422 ]
    - [ be32, 0x00a46bac, 0x60e70080 ]
    - [ be32, 0x00a46bb0, 0x90e60000 ]
    - [ be32, 0x00a46bb4, 0xc0060000 ]
    - [ be32, 0x00a46bb8, 0xc0460000 ]
    - [ be32, 0x00a46bbc, 0x3ce04204 ]
    - [ be32, 0x00a46bc0, 0x90e60000 ]
    - [ be32, 0x00a46bc4, 0xc0260000 ]
    - [ be32, 0x00a46bc8, 0x38c0ffff ]
    - [ be32, 0x00a46bcc, 0x80fe809c ]
    - [ be32, 0x00a46bd0, 0x480656b1 ]
    - [ be32, 0x00a46bd4, 0x807e809c ]
    - [ be32, 0x00a46bd8, 0x88830000 ]
    - [ be32, 0x00a46bdc, 0x2f840000 ] # check
    - [ be32, 0x00a46be0, 0x419e0010 ]
    - [ be32, 0x00a46be4, 0x38800000 ]
    - [ be32, 0x00a46be8, 0x38a00080 ]
    - [ be32, 0x00a46bec, 0x48402c2d ]
    - [ be32, 0x00a46bf0, 0x807e8098 ]
    - [ be32, 0x00a46bf4, 0x88830000 ]
    - [ be32, 0x00a46bf8, 0x2f840000 ] # check
    - [ be32, 0x00a46bfc, 0x419e0010 ]
    - [ be32, 0x00a46c00, 0x38800000 ]
    - [ be32, 0x00a46c04, 0x38a01000 ]
    - [ be32, 0x00a46c08, 0x48402c11 ]
    - [ be32, 0x00a46c0c, 0x48000080 ]
    # taskmgr
    - [ be32, 0x00819e5c, 0x807effec ]
    - [ be32, 0x0128cddc, 0x01323250 ] # our taskmgr buffer
    - [ be32, 0x0129383c, 0x01323250 ] # our taskmgr buffer
    # msgcon buffer in single area
    - [ be32, 0x00a22c20, 0x4848b340 ]
    - [ be32, 0x00eadf60, 0x3d20013b ]
    - [ be32, 0x00eadf64, 0x6129dab0 ]
    - [ be32, 0x00eadf68, 0x4bb74cbc ]

  tlou111_mlaa: &tlou111_mlaa
  #  - [ be16, 0x00aaa040, 0x9b83 ]     # store 0
    - [ be16, 0x00a80350, 0x4800 ]     # unconditonally branch to disable MLAA
    - [ be16, 0x0095b8f8, 0x4800 ]     # Skip memory check function
    - [ be32, 0x00b0e140, 0x38000000 ] # Green rain
    - [ be32, 0x00a5bc38, 0x38000000 ] # Green rain
    - [ be32, 0x00a5bc44, 0x38000000 ] # Green rain
    - [ be32, 0x00a877e0, 0x60000000 ] # skip assert: x + w <= width && y + h <= height
    - [ be32, 0x0096be58, 0xc1890990 ] # Cargo fix
  # Dof correction patch
    - [ be32, 0x0096b8b0, 0x48114aa5 ] # Call1
    - [ be32, 0x0096b8d4, 0x48114a91 ] # Call2
    - [ be32, 0x00a3a588, 0x48045ded ] # Call3
  # Func 1 Overall DoF 1
    - [ be32, 0x00a80354, 0xc09c0aa4 ] # Load f4 e294
    - [ be32, 0x00a80358, 0xc27e0424 ] # f19 = 0.3
    - [ be32, 0x00a8035c, 0xec8404f2 ] # f4*f19
    - [ be32, 0x00a80360, 0x4e800020 ] # Return
  # Func 2 Cutscene Dof
    - [ be32, 0x00a80364, 0xc01c0aac ] # Load f0 e29c
    - [ be32, 0x00a80368, 0xc17e1b64 ] # f11 = 0.75
    - [ be32, 0x00a8036c, 0xec0002f2 ] # f0*f11
    - [ be32, 0x00a80370, 0x4e800020 ] # Return
  # Func 3 Overall Dof 2
    - [ be32, 0x00a80374, 0x3d200151 ] # r9 = 1510000
    - [ be32, 0x00a80378, 0x3929e29c ] # r9 = 150e29c
    - [ be32, 0x00a8037c, 0x80080014 ] # r0 = key addr
    - [ be32, 0x00a80380, 0x7f804800 ] # Compare r0 to r9
    - [ be32, 0x00a80384, 0x409e000c ]
    - [ be32, 0x00a80388, 0xc01e137c ] # f0 = 0.3
    - [ be32, 0x00a8038c, 0xd008000c ] # Store f0
    - [ be32, 0x00a80390, 0xc0050000 ] # Restore f0
    - [ be32, 0x00a80394, 0x4e800020 ] # Return
  # Bloom correction patch
    - [ be32, 0x0096be54, 0x48114549 ] # Call
    - [ be32, 0x00a8039c, 0xc1a909a4 ] # Load f13
    - [ be32, 0x00a803a0, 0xc19e059c ] # f12 = 0.69
    - [ be32, 0x00a803a4, 0x808909a8 ] # r4 unique value e198
    - [ be32, 0x00a803a8, 0x2f840000 ] # if r4 <= 0
    - [ be32, 0x00a803ac, 0x409d0058 ] # Skip to Main menu
  # Bills town Bloater and escape(2)
    - [ be32, 0x00a803b0, 0x3ca03ba4 ] # r5 = 3ba40000
    - [ be32, 0x00a803b4, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a803b8, 0x419c0074 ] # go to Patch if less
  # Bills town Cemetery(1)
    - [ be32, 0x00a803bc, 0x808909a4 ] # r4 unique value e194
    - [ be32, 0x00a803c0, 0x3ca03e80 ] # r5 = 3e800000
    - [ be32, 0x00a803c4, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a803c8, 0x419c0068 ] # go to Patch if less
  # Bills town main street(2)
    - [ be32, 0x00a803cc, 0x3ca04026 ] # r5 = 40260000
    - [ be32, 0x00a803d0, 0x38a56666 ] # r5 = 40266666
    - [ be32, 0x00a803d4, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a803d8, 0x419e0054 ] # go to Patch if ==
  # Bills town Trap(2)
    - [ be32, 0x00a803dc, 0x3ca0403d ] # r5 = 403d0000
    - [ be32, 0x00a803e0, 0x38a5e4e2 ] # r5 = 403ce4e2
    - [ be32, 0x00a803e4, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a803e8, 0x419e0044 ] # go to Patch if ==
  # Bills Town intro check(2)
    - [ be32, 0x00a803ec, 0x808909bc ] # r4 unique value e1ac
    - [ be32, 0x00a803f0, 0x3ca04007 ] # r5 = 40070000
    - [ be32, 0x00a803f4, 0x38a50a3d ] # r5 = 40070a3d
    - [ be32, 0x00a803f8, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a803fc, 0x419e0030 ] # go to Patch if ==
    - [ be32, 0x00a80400, 0x4e800020 ] # Return
  # Patch Menu/Ending level
    - [ be32, 0x00a80404, 0x808909a0 ] # r4 unique value e190
    - [ be32, 0x00a80408, 0x3ca03f8d ] # r5 = 3f8d0000
    - [ be32, 0x00a8040c, 0x38a52f6f ] # r5 = 3f8d2f6f
    - [ be32, 0x00a80410, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a80414, 0x419e0010 ] # Patch menu
    - [ be32, 0x00a80418, 0x80a909a4 ] # r5 unique value e194
    - [ be32, 0x00a8041c, 0x7f842800 ] # compare r4 to r5
    - [ be32, 0x00a80420, 0x4c9e0020 ] # Return (bnelr)
    - [ be32, 0x00a80424, 0xc19e034c ] # f12 = 0.5
    - [ be32, 0x00a80428, 0x48000008 ] # go to Patch
  # Patch function
    - [ be32, 0x00a8042c, 0xedad0332 ] # f13=f13*f12
    - [ be32, 0x00a80430, 0xec000332 ] # f0=f0*f12
    - [ be32, 0x00a80434, 0x4e800020 ] # Return

  # Special thanks to HdHereidme for debug menu, Smasher248 for inital memory addresses and Skye Mods for mesh trimming
  # address. Without them this patch wouldn't have been possible.
  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = Tonemapping // reversed from orbis version confirmed this exists
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  tlou111_post: &tlou111_post
  #  - [ be32, 0x00aa944c, 0x38000003 ] # Post-processing modes                    (mem address: 0x1571867)
    - [ be32, 0x0096be4c, 0xc0090990 ] # load e190 with 0
    - [ be32, 0x0096be58, 0xc1890990 ] # load e198 with 0
    - [ be32, 0x0096bee0, 0xc0090990 ] # load e1a0 with 0

  tlou111_mesh: &tlou111_mesh
    - [ be16, 0x009515d8, 0x9809 ]     # Disable Mesh trimming       (r3  => r0 ) (mem address: 0x14a9604)

  # Many settings below are enabled/disabled in sub_AA9E6C. In this subroutine,
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  tlou111_ssao: &tlou111_ssao
    - [ be16, 0x00aa9f9c, 0x9b83 ]     # Disable SSAO

  tlou111_mb: &tlou111_mb
    - [ be32, 0x0096aa94, 0x480000e0 ] # Disable motion blur

  tlou111_dof: &tlou111_dof
    - [ be16, 0x00aaa00c, 0x9b83 ]     # Disable depth of field      (r27 => r28) (mem address: 0x1571ad1)

  tlou111_dbf: &tlou111_dbf
    - [ be16, 0x00aaa2d8, 0x9b83 ]     # Depth border fix            (r27 => r28) (mem address: 0x1571d65)

  tlou111_db: &tlou111_db
    - [ be16, 0x00aaa2e4, 0x90c3 ]     # Depth buffer                (r27 => r6 ) (mem address: 0x1571e37)
    - [ be16, 0x00aaa290, 0x9b63 ]     # Depth buffer viewport       (r28 => r27) (mem address: 0x1571d41)
    - [ be32, 0x00ab9ec8, 0x38000001 ] # Depth buffer viewport       (r28 => r27) (mem address: 0x1571d41)
  # Cabin resort fix
    - [ be64, 0x01572020, 0x1070fd7d7973c900 ] # first line
    - [ be64, 0x01572030, 0x674da76646c80092 ] # second line p.1
    - [ be32, 0x01572039, 0x2bfb00a3 ]         # second line p.2
    - [ be64, 0x01572040, 0x00003f8000014034 ] # third line p.1
    - [ be64, 0x01572048, 0x0000403400013f80 ] # third line p.2
    - [ be64, 0x01572052, 0x3f80000000a3a588 ] # Initial Current result
  # Alpha pass func
    - [ be32, 0x00a7ffac, 0x419e0020 ] # Go to Alpha pass check
    - [ be32, 0x00a7ffb0, 0x3d200157 ] # r9 = 0x1570000
  # Check Task id
    - [ be32, 0x00a7ffb4, 0x3880201f ] # r4 = 0x201f
    - [ be32, 0x00a7ffb8, 0x4800018d ] # Task id func Call
    - [ be32, 0x00a7ffbc, 0x419e0010 ] # beq to Alpha pass check
    - [ be32, 0x00a7ffc0, 0x98091d41 ] # stb Disable Alpha pass
    - [ be32, 0x00a7ffc4, 0xb0092028 ] # sth Store flag (0x1572028)
    - [ be32, 0x00a7ffc8, 0x480001a8 ] # Go to a80170
  # Alpha pass check
    - [ be32, 0x00a7ffcc, 0x88691d41 ] # lbz r3 = Alpha pass
    - [ be32, 0x00a7ffd0, 0x7f801800 ] # cmpw r0 vs r3
    - [ be32, 0x00a7ffd4, 0x409e019c ] # Skip to a80170
    - [ be32, 0x00a7ffd8, 0x2f800000 ] # cmpwi r0 vs 0
    - [ be32, 0x00a7ffdc, 0x419e0010 ] # beq
    - [ be32, 0x00a7ffe0, 0x38800000 ] # li r4 = 0
    - [ be32, 0x00a7ffe4, 0xb0892028 ] # sth Store flag (0x1572028)
    - [ be32, 0x00a7ffe8, 0x48000008 ]
    - [ be32, 0x00a7ffec, 0x38800001 ] # li r4 = 1
    - [ be32, 0x00a7fff0, 0x98891d41 ] # stb r4 Store Alpha pass
    - [ be32, 0x00a7fff4, 0x4800017c ] # Go to a80170
  # Task id func
    - [ be32, 0x00a80144, 0x7ca92214 ] # add r5 = r9 + r4
    - [ be32, 0x00a80148, 0x3c800142 ] # lis r4 = 0x1420000
    - [ be32, 0x00a8014c, 0x88649ef4 ] # lbz r3 = Task id first byte
    - [ be32, 0x00a80150, 0x8c850001 ] # lbzu r4 table byte
    - [ be32, 0x00a80154, 0x2f840000 ] # r4 vs 0 (Default case)
    - [ be32, 0x00a80158, 0x419e000c ] # beq (r4 = 0)
    - [ be32, 0x00a8015c, 0x7f832000 ] # cmpw r3 vs r4
    - [ be32, 0x00a80160, 0x409efff0 ] # Go back
    - [ be32, 0x00a80164, 0x2f840000 ] # cmpwi r4 vs 0
    - [ be32, 0x00a80168, 0x4e800020 ] # Return
  # The Main function
    - [ be32, 0x00a3a584, 0x48045a75 ] # Function Call
    - [ be32, 0x00a7fff8, 0x3d200157 ] # lis r9 = 0x1570000
    - [ be32, 0x00a7fffc, 0x90692060 ] # stw Store r3
    - [ be32, 0x00a80000, 0x90a92064 ] # stw Store r5
    - [ be32, 0x00a80004, 0x3ca00151 ] # lis r5 = 0x1510000
    - [ be32, 0x00a80008, 0x38a5db24 ] # subi r5 = 0x150db24
    - [ be32, 0x00a8000c, 0x80050aec ] # lwz r0 = blizzard byte
    - [ be32, 0x00a80010, 0x2f800000 ] # cmpwi r0 vs 0
    - [ be32, 0x00a80014, 0x419e0114 ] # beq to Default store (a80128)
    - [ be32, 0x00a80018, 0xa0092028 ] # lhz r0 = Alpha pass flag
    - [ be32, 0x00a8001c, 0x2f800001 ] # cmpwi r0 vs 1
    - [ be32, 0x00a80020, 0x419e0108 ] # beq to Default store (a80128)
  # Check key addrs
    - [ be32, 0x00a80024, 0x80080014 ] # lwz r0 = key addr
    - [ be32, 0x00a80028, 0x7f802800 ] # cmpw r0 vs r5(0x150db24)
    - [ be32, 0x00a8002c, 0x38803f00 ] # li r4 = 3f00 Final Result
    - [ be32, 0x00a80030, 0x419e00f0 ] # Go to store result (a80120)
    - [ be32, 0x00a80034, 0x38a50030 ] # addi r5 = 0x150db54
    - [ be32, 0x00a80038, 0x7f802800 ] # cmpw r0 vs r5
    - [ be32, 0x00a8003c, 0x419e00e4 ] # Go to store result (a80120)
    - [ be32, 0x00a80040, 0x38a5ffe4 ] # subi r5 = 0x150db38
    - [ be32, 0x00a80044, 0x7f802800 ] # cmpw r0 vs r5
    - [ be32, 0x00a80048, 0x419e0024 ] # Go to 0x150db38 case (a8006c)
    - [ be32, 0x00a8004c, 0x38a5fff8 ] # subi r5 = 0x150db30
    - [ be32, 0x00a80050, 0x7f802800 ] # cmpw r0 vs r5
    - [ be32, 0x00a80054, 0x409e00d4 ] # Go to Default store (a80128)
  # 0x150db30 case
    - [ be32, 0x00a80058, 0x3880203b ] # li r4 = 0x203b(case a3)
    - [ be32, 0x00a8005c, 0x480000e9 ] # Task id func Call
    - [ be32, 0x00a80060, 0x419e00c8 ] # Go to Default store (a80128)
    - [ be32, 0x00a80064, 0x38803f00 ] # li r4 = 3f00
    - [ be32, 0x00a80068, 0x480000b8 ] # Go to Store result (a80120)
  # 0x150db38 Special cases
    - [ be32, 0x00a8006c, 0x3880203b ] # li r4 = 0x203b(case a3)
    - [ be32, 0x00a80070, 0x480000d5 ] # Task id func Call
    - [ be32, 0x00a80074, 0x419e000c ] # Go to next check
    - [ be32, 0x00a80078, 0x38803f00 ] # li r4 = 0x3f00 Final result
    - [ be32, 0x00a8007c, 0x480000a4 ] # Go to Store result (a80120)
    - [ be32, 0x00a80080, 0x38802036 ] # li r4 0x2036(case 92)
    - [ be32, 0x00a80084, 0x480000c1 ] # Task id func Call
    - [ be32, 0x00a80088, 0x419e000c ] # Go to next check
    - [ be32, 0x00a8008c, 0x38804040 ] # li r4 = 0x4040 Final result
    - [ be32, 0x00a80090, 0x48000090 ] # Go to Store result (a80120)
    - [ be32, 0x00a80094, 0x38802038 ] # li r4 = 0x2038 (cases 2b/fb)
    - [ be32, 0x00a80098, 0x480000ad ] # Task id func Call
    - [ be32, 0x00a8009c, 0x419e000c ] # Skip to usual cases
    - [ be32, 0x00a800a0, 0x38003f80 ] # li r0 = 0x3f80 Final Result
    - [ be32, 0x00a800a4, 0x4800007c ] # Go to Store result (a80120)
    - [ be32, 0x00a800a8, 0x3880202f ] # r4 = 0x202f(main cases)
    - [ be32, 0x00a800ac, 0x48000099 ] # Task id func Call
    - [ be32, 0x00a800b0, 0x419e0014 ] # to Joel cases
    - [ be32, 0x00a800b4, 0x3c60013d ] # lis r3 = 0x13d0000
    - [ be32, 0x00a800b8, 0x886371b4 ] # lbz r3 = Inside/outside byte (13d71b4) (r3)
    - [ be32, 0x00a800bc, 0x38a9203c ] # addi r5 = r9+0x203c(0x157203c Ellie cases)
    - [ be32, 0x00a800c0, 0x48000010 ] #
    - [ be32, 0x00a800c4, 0x3c600151 ] # lis r3 = 0x1510000
    - [ be32, 0x00a800c8, 0x8063e600 ] # lbz r3 = Inside/outside byte (150e600) (r3)
    - [ be32, 0x00a800cc, 0x38a92044 ] # addi r5 = r9+0x2044(0x1572044 Joel cases)
  # Main cases
    - [ be32, 0x00a800d0, 0xa4850004 ] # lhzu r4 from r5
    - [ be32, 0x00a800d4, 0x7f832000 ] # cmpw r3 vs r4
    - [ be32, 0x00a800d8, 0x409efff8 ] # Go back
    - [ be32, 0x00a800dc, 0xa0892050 ] # lhz r4 = Main byte(0x1502050)
    - [ be32, 0x00a800e0, 0x7f832000 ] # cmpw r3 vs r4
    - [ be32, 0x00a800e4, 0xa0850002 ] # lhz r4 = eq-Current/neq-Target result
    - [ be32, 0x00a800e8, 0x419e0028 ] # beq to Store current result
    - [ be32, 0x00a800ec, 0xa0092052 ] # lhz r0 = Current result
    - [ be32, 0x00a800f0, 0x7f802000 ] # cmpw r0 vs r4
    - [ be32, 0x00a800f4, 0x419e0024 ] # beq to Store main byte
  # Switcher (spends 30 frames)
    - [ be32, 0x00a800f8, 0x2f843f80 ] # cmpwi r4 vs 0x3f80
    - [ be32, 0x00a800fc, 0x7c040378 ] # mr r4 = r0
    - [ be32, 0x00a80100, 0x419e000c ] # beq
    - [ be32, 0x00a80104, 0x38840006 ] # addi r4 = r4 + 6
    - [ be32, 0x00a80108, 0x48000008 ] #
    - [ be32, 0x00a8010c, 0x3884fffa ] # subi r4 = r4 - 6
    - [ be32, 0x00a80110, 0xb0892052 ] # sth r4 Store new current result
    - [ be32, 0x00a80114, 0x4800000c ] # b to Store final result
  # Store main byte
    - [ be32, 0x00a80118, 0xb0692050 ] # sth r3 Store main byte  (r9)
  # Store results
    - [ be32, 0x00a8011c, 0xa0892052 ] # sth r4 = Current resullt  (r9)
    - [ be32, 0x00a80120, 0xb088000c ] # sth r4 Store final result (r8)
    - [ be32, 0x00a80124, 0x48000008 ] # Go to return
    - [ be32, 0x00a80128, 0xd3e8000c ] # Default store
  # Returning
    - [ be32, 0x00a8012c, 0x80092056 ] # lwz Load r0 as LR
    - [ be32, 0x00a80130, 0x7c0803a6 ] # mtlr LR = r0
    - [ be32, 0x00a80134, 0x80692060 ] # Restore r3
    - [ be32, 0x00a80138, 0x80a92064 ] # Restore r5
    - [ be32, 0x00a8013c, 0x38920001 ] # Restore r4
    - [ be32, 0x00a80140, 0x4e800020 ] # Return

  tlou111_speed: &tlou111_speed
    - [ be16, 0x00aaa1e8, 0x9383 ]     # Speedboost                               (mem address: 0x1571d03)

  tlou111_devplus: &tlou111_devplus
    - [ be32, 0x012850e8, 0x00e8c3e7 ] # str ptr
    - [ be32, 0x0128515c, 0x00e8c57f ] # str ptr
    - [ be16, 0x00e8c318, 0x202b ] # _+
    - [ byte, 0x00e8c3e7, 42 ] # * in int
    - [ byte, 0x00e8c57f, 42 ] # * in int
  # useless memory option replace with rendering
  # point addr from [] to [], this offsets 002dcc40 store 00 and onwards.
  # i.e [] now becomes [] and so on
    - [ be32, 0x0129732c, 0x015715f0 ] # pointer
    - [ be32, 0x002dcc40, 0x38bc00be ] # disable vis
    - [ be32, 0x012973fc, 0x00ee0490 ]
    - [ be16, 0x00ee0498, 0x5669 ]     # capitalise visibility for
    - [ be32, 0x002dcc74, 0x38bc06d9 ] # wireframe
    - [ be32, 0x01297400, 0x00ee01d8 ]
    - [ be32, 0x002dcca8, 0x38bc06da ] # see through
    - [ be32, 0x01297404, 0x00ee01f0 ]
    - [ be32, 0x002dccdc, 0x38bc06db ] # point mode
    - [ be32, 0x01297408, 0x00ee0210 ]
    - [ be32, 0x002dcd10, 0x38bc04f4 ] # post on spu
    - [ be32, 0x0129740c, 0x00f05a48 ]
    - [ be32, 0x002dcd44, 0x38bc04de ] # motion blur
    - [ be32, 0x01297410, 0x00f05618 ]
    - [ be32, 0x002dcd78, 0x38bc04e1 ] # dof
    - [ be32, 0x01297414, 0x00f05410 ]
    - [ be32, 0x012974e4, 0x0135bfe8 ] # ptr
    - [ be64, 0x00ea8ba0, 0x456e61626c652050 ] # rename string
    - [ be32, 0x00ea8ba8, 0x61757365 ]
    - [ byte, 0x00ea8bac, 0x00 ]       # term str
    - [ be32, 0x01297418, 0x00e8d580 ]
    - [ byte, 0x00eeeef8, 0x00 ]
    - [ byte, 0x00eeef10, 0x00 ]
    - [ byte, 0x00eeef28, 0x00 ]
    - [ byte, 0x00eeef50, 0x00 ]
    - [ be32, 0x012bf4a4, 0x00e8d520 ]
    - [ be32, 0x012bf4a8, 0x00e8d550 ]
  # str, perhaps use utf8 here?
    - [ be64, 0x00e8d520, 0x437265646974733a ]
    - [ be64, 0x00e8d550, 0x4d61646520627920 ]
    - [ be64, 0x00e8d558, 0x696c6c7573696f6e ]
    - [ be64, 0x00e8d560, 0x2c20467265616b6f ]
    - [ be64, 0x00e8d568, 0x20616e6420536d61 ]
    - [ be64, 0x00e8d570, 0x7368657232343800 ]
  # vram stats
    - [ be64, 0x00e8d580, 0x53686f7720437265 ]
    - [ be32, 0x00e8d588, 0x64697473 ]
  # console exclusive code, we don't need this due to post on spu off
    - [ be32, 0x0129741c, 0x0157186e ] # ptr
  #  - [ be32, 0x00aa9444, 0x38600001 ] # remove branch and set r3 to 1
  #  - [ be16, 0x00aa9464, 0x9869 ]     # load from r3

  tlou111_cparts: &tlou111_cparts
    - [ utf8, 0x00e8d600, "Infinite Everything (Ammo, Items, Skills, Parts)" ]
    #- [ be64, 0x00e8d600, 0x496e66696e697465 ] # str Infinite Everything (Ammo, Items, Skills, Parts)
    #- [ be64, 0x00e8d608, 0x2045766572797468 ]
    #- [ be64, 0x00e8d610, 0x696e672028416d6d ]
    #- [ be64, 0x00e8d618, 0x6f2c204974656d73 ]
    #- [ be64, 0x00e8d620, 0x2c20536b696c6c73 ]
    #- [ be64, 0x00e8d628, 0x2c20506172747329 ]
    - [ be32, 0x01286780, 0x00e8d600 ] # point addr to e8e490
    - [ be32, 0x01286784, 0x014f3412 ] # point addr to 014f3412
# add
    - [ be32, 0x0003495c, 0x48e58c35 ] # bl 00e8d590
    - [ be32, 0x00e8d590, 0x3fa0014f ] # r29 14f0000
    - [ be32, 0x00e8d594, 0x881d3412 ] # lbz r0, 0x3412, (r29)
    - [ be32, 0x00e8d598, 0x2f800000 ] # cmp r0, 0x0
    - [ be32, 0x00e8d59c, 0x409e0008 ] # bne 0xe8d5a4
    - [ be32, 0x00e8d5a0, 0x7f7fd22e ] # og lhzx
    - [ be32, 0x00e8d5a4, 0x4e800020 ] # ret
    - [ be32, 0x00034968, 0x2f9d096f ] # r29 to 512
    - [ be32, 0x00034970, 0x3ba0096f ] # li r29 512
# sub
    - [ be32, 0x000336c0, 0x7e2802a6 ] # mflr r17,LR
    - [ be32, 0x000336c4, 0x48e59f01 ] # call 3
    - [ be32, 0x000336c8, 0x7e2803a6 ] # mtlr LR,r17
    - [ be32, 0x000336cc, 0x3a200000 ] # r17 = 0
    - [ be32, 0x00e8d5c4, 0x7c0b4a2e ] # og lhzx
    - [ be32, 0x00e8d5c8, 0x5408043e ] # og rlwinm
    - [ be32, 0x00e8d5cc, 0x3e00014f ] # r16 = 14f0000
    - [ be32, 0x00e8d5d0, 0x89f03412 ] # lbz r15,0x3412,r16
    - [ be32, 0x00e8d5d4, 0x2f8f0000 ] # r15 vs 0
    - [ be32, 0x00e8d5d8, 0x409e0008 ] # bne
    - [ be32, 0x00e8d5dc, 0x7c050050 ] # og sub
    - [ be32, 0x00e8d5e0, 0x7f882800 ] # og cmpw
    - [ be32, 0x00e8d5e4, 0x39e00000 ] # r15 = 0
    - [ be32, 0x00e8d5e8, 0x3a000000 ] # r16 = 0
    - [ be32, 0x00e8d5ec, 0x4e800020 ] # ret

  tlou111_nailbombsoftlockfix: &tlou111_nailbombsoftlockfix
    - [ be32, 0x0069f7ac, 0x4b9c012d ] # bl SUB_0005f8d8
    - [ be32, 0x0005f8d8, 0x3c800142 ] # lis r4,0x142
    - [ be32, 0x0005f8dc, 0xa0849ef4 ] # lhz r4,-0x610c(r4)
    - [ be32, 0x0005f8e0, 0x70847fff ] # andi r4,r4,0x7fff
    - [ be32, 0x0005f8e4, 0x2f8440bc ] # cmpwi cr7,r4,0x40bc
    - [ be32, 0x0005f8e8, 0x419e0028 ] # beq cr7,LAB_0005f910
    - [ be32, 0x0005f8ec, 0x2f842466 ] # cmpwi cr7,r4,0x2466
    - [ be32, 0x0005f8f0, 0x419e0020 ] # beq cr7,LAB_0005f910
    - [ be32, 0x0005f8f4, 0x2f841ab6 ] # cmpwi cr7,r4,0x1ab6
    - [ be32, 0x0005f8f8, 0x419e0018 ] # beq cr7,LAB_0005f910
    - [ be32, 0x0005f8fc, 0x2f841181 ] # cmpwi cr7,r4,0x1181
    - [ be32, 0x0005f900, 0x419e0010 ] # beq cr7,LAB_0005f910
    - [ be32, 0x0005f904, 0x2f844ad3 ] # cmpwi cr7,r4,0x4ad3
    - [ be32, 0x0005f908, 0x419e0008 ] # beq cr7,LAB_0005f910
    - [ be32, 0x0005f90c, 0x48000008 ] # b   LAB_0005f914
    - [ be32, 0x0005f910, 0x38000001 ] # li  r0,0x1
    - [ be32, 0x0005f914, 0x389b0070 ] # addiparam_2,r27,0x70
    - [ be32, 0x0005f918, 0x4e800020 ] # blr

  tlou111_devmenu: &tlou111_devmenu
    - [ be32, 0x0003a69c, 0x39e00001 ]
    - [ be16, 0x009da99a, 0x2db6 ]
    - [ be16, 0x009da9a2, 0x2db6 ]
    - [ be32, 0x00a1a200, 0x60000000 ] # Remove "!" model render
    - [ be32, 0x0004113c, 0x48000028 ] # No double line in Gameplay Menu
    # str lookup
    - [ utf8, 0x011b4145, "shiv                           " ]
    - [ utf8, 0x011b4165, "pistol-uber-t1                 " ]
    - [ utf8, 0x011b4185, "baseball-bat                   " ]
    - [ utf8, 0x011b41a5, "hatchet                        " ]
    - [ utf8, 0x011b41c5, "NO_ART_GROUP                   " ]
    - [ utf8, 0x011b41e5, "nail-bomb                      " ]
    - [ utf8, 0x011b4205, "two-by-four                    " ]
    - [ utf8, 0x011b4225, "nail-bomb                      " ]
    - [ utf8, 0x011b4245, "turret-sniper                  " ]
    - [ utf8, 0x011b4265, "rifle-lever-action             " ]
    - [ utf8, 0x011b4285, "pistol-uber-t1                 " ]
    - [ utf8, 0x011b42a5, "shiv                           " ]
    - [ utf8, 0x011b42c5, "radio                          " ]
    - [ utf8, 0x011b42e5, "molotov                        " ]
    - [ utf8, 0x011b4305, "bandage-apply                  " ]
    - [ utf8, 0x011b4325, "mp-parcel                      " ]
    - [ utf8, 0x011b4345, "gren-launcher-improvised       " ]
    - [ utf8, 0x011b4365, "shotgun-dbl-barrel             " ]
    - [ utf8, 0x011b4385, "machete-blade                  " ]
    - [ utf8, 0x011b43a5, "bow-dark                       " ]
    - [ utf8, 0x011b43c5, "rifle-variable                 " ]
    - [ utf8, 0x011b43e5, "mini-14-rifle                  " ]
    - [ utf8, 0x011b4405, "two-by-four                    " ]
    - [ utf8, 0x011b4425, "pistol-shotgun                 " ]
    - [ utf8, 0x011b4445, "rifle-improvised-fullauto      " ]
    - [ utf8, 0x011b4465, "super-soaker                   " ]
    - [ utf8, 0x011b4485, "NO_ART_GROUP                   " ]
    - [ utf8, 0x011b44a5, "beer-bottle                    " ]
    - [ utf8, 0x011b44c5, "crossbow-dlc                   " ]
    - [ utf8, 0x011b44e5, "lead-pipe                      " ]
    - [ utf8, 0x011b4505, "lead-pipe                      " ]
    - [ utf8, 0x011b4525, "flamethrower                   " ]
    - [ utf8, 0x011b4545, "desert-eagle-t1                " ]
    - [ utf8, 0x011b4565, "flashlight                     " ]
    - [ utf8, 0x011b4585, "rifle-sniper                   " ]
    - [ utf8, 0x011b45a5, "m4-rifle-t1                    " ]
    - [ utf8, 0x011b45c5, "smoke-bomb                     " ]
    - [ utf8, 0x011b45e5, "throw-brick                    " ]
    - [ utf8, 0x011b4605, "shotgun-pump-stock             " ]
    - [ utf8, 0x011b4625, "silenced-galil-rifle           " ]
    - [ utf8, 0x011b4645, "NO_ART_GROUP                   " ]
    - [ utf8, 0x011b4665, "bloater-pustule                " ]
    - [ utf8, 0x011b4685, "taurus-66b4-revolver           " ]
    - [ utf8, 0x011b46a5, "nail-bomb                      " ]
    - [ utf8, 0x011b46c5, "rifle-improvised-assault       " ]
    - [ utf8, 0x011b46e5, "throwing-knife                 " ]
    - [ utf8, 0x011b4705, "rifle-bolt                     " ]
    - [ utf8, 0x011b4725, "beretta-jaguar-pistol          " ]
    - [ utf8, 0x011b4745, "bow                            " ]
    - [ utf8, 0x011b4765, "molotov                        " ]
    - [ utf8, 0x011b4785, "bill-knife                     " ]
    - [ utf8, 0x011b47a5, "baseball-bat                   " ]
    - [ utf8, 0x011b47c5, "mini-14-rifle                  " ]
    - [ utf8, 0x011b47e5, "pistol-glock-burst             " ]
    - [ utf8, 0x011b4805, "pistol-9mm                     " ]
    - [ utf8, 0x011b4825, "shotgun-tactical               " ]
    - [ utf8, 0x011b4845, "mal-gas-can                    " ]
    - [ utf8, 0x011b4865, "machete-blade                  " ]
    - [ utf8, 0x011b4885, "none                           " ]
    - [ utf8, 0x011b48a5, "rifle-improvised-assault       " ]
    - [ utf8, 0x011b48c5, "binoculars                     " ]
    - [ utf8, 0x011b48e5, "switchblade                    " ]
    - [ utf8, 0x011b4905, "rifle-improvised-fullauto      " ]
    # write str to menu init
    - [ be32, 0x004f1690, 0x39ef0020 ] #     addi       r15,r15,0x20
    - [ be32, 0x004f1694, 0x489c5b99 ] #     bl         SUB_00eb722c
    - [ be32, 0x00eb722c, 0x3c80011b ] #     lis        r4,0x11b
    - [ be32, 0x00eb7230, 0x60844125 ] #     ori        r4,r4,0x4125
    - [ be32, 0x00eb7234, 0x7c847a14 ] #     add        r4,r4,r15
    - [ be32, 0x00eb7238, 0x4e800020 ] #     blr
    # wrtie ptr for pak arg
    - [ be32, 0x004f2a0c, 0x489b08bc ] #     b          LAB_00ea32c8
    - [ be32, 0x00ea32c8, 0x90be82e4 ] #     stw        r5,-0x7d1c(r30) store pointer to null
    - [ be32, 0x00ea32cc, 0x88050000 ] #     lbz        r0,0x0(r5) og
    - [ be32, 0x00ea32d0, 0x4b64f740 ] #     b          LAB_004f2a10
    - [ be32, 0x00574e3c, 0x38600064 ]
    - [ be32, 0x00574e40, 0x907c0000 ]
    - [ be32, 0x00574e44, 0x807c0000 ]
    - [ be32, 0x00574e48, 0x60000000 ]
      # control page
    - [ be32, 0x0034d24c, 0x48b8f27c ] # get page ptr (start)
    - [ be32, 0x00edc4c8, 0x2f890000 ] # check if page ptr is null
    - [ be32, 0x00edc4cc, 0x419e0018 ] # do original code
    - [ be32, 0x00edc4d0, 0x7fc4f378 ] # save working register
    - [ be32, 0x00edc4d4, 0x3bdef51c ] # partially resolve page ptr
    - [ be32, 0x00edc4d8, 0x80a90000 ] # get ptr
    - [ be32, 0x00edc4dc, 0x90be8030 ] # store ptr
    - [ be32, 0x00edc4e0, 0x7c9e2378 ] # restore working register
    - [ be32, 0x00edc4e4, 0x4b470d6c ] # return
    # script print
    # Gameplay Menu bool
    - [ utf8, 0x00e902d8, "SS Printout to Msgcon\x00" ]
    - [ be32, 0x01286784, 0x0150cfe0 ]
    - [ be32, 0x00a5228c, 0x39200001 ] # force mode 1
    - [ be32, 0x00a23ed0, 0x4802e330 ]
    - [ utf8, 0x00efc158, "%x" ]       # branch in hex
    - [ utf8, 0x00efc173, "%x" ]       # branch in hex
    - [ utf8, 0x00efc177, "%x" ]       # branch in hex
    - [ utf8, 0x00efc197, "%x" ]       # branch in hex
    - [ utf8, 0x00efc19b, "%x" ]       # branch in hex
    - [ utf8, 0x00efc7fe, "%x" ]       # imm in hex
    # debug renderer
    - [ be32, 0x0061cf10, 0x7fa3eb78 ]
    - [ be32, 0x0061cf14, 0x4bd47aad ]
    - [ be32, 0x0061cf18, 0x7fa3eb78 ]
    - [ be32, 0x0061cf1c, 0x484bb6b9 ]
    - [ be32, 0x0061cf20, 0x7fa3eb78 ]
    - [ be32, 0x0061cf24, 0x484756c9 ]
    - [ be32, 0x00036a04, 0x60000000 ]
    # msgcon buff
    - [ be32, 0x012c6650, 0x013f1340 ]
    - [ be32, 0x00a92720, 0x60000000 ]
    # msgout to msgcon start
    - [ be32, 0x00a92724, 0x3cc00135 ]
    - [ be32, 0x00a92728, 0x60c67130 ]
    - [ be32, 0x00a9272c, 0x3ce041b0 ]
    - [ be32, 0x00a92730, 0x90e60000 ]
    - [ be32, 0x00a92734, 0xc0060000 ]
    - [ be32, 0x00a92738, 0xc0460000 ]
    - [ be32, 0x00a9273c, 0x3ce04204 ]
    - [ be32, 0x00a92740, 0x90e60000 ]
    - [ be32, 0x00a92744, 0xc0260000 ]
    - [ be32, 0x00a92748, 0x38c0ffff ]
    - [ be32, 0x00a9274c, 0x80fe8098 ]
    - [ be32, 0x00a92750, 0x48047821 ]
    - [ be32, 0x00a92754, 0x807e8098 ]
    - [ be32, 0x00a92758, 0x38800000 ]
    - [ be32, 0x00a9275c, 0x38a01000 ]
    - [ be32, 0x00a92760, 0x483e8fe1 ]
    - [ be32, 0x00a92764, 0x3cc00135 ]
    - [ be32, 0x00a92768, 0x60c67130 ]
    - [ be32, 0x00a9276c, 0x3ce04248 ]
    - [ be32, 0x00a92770, 0x90e60000 ]
    - [ be32, 0x00a92774, 0xc0260000 ]
    - [ be32, 0x00a92778, 0x3ce04422 ]
    - [ be32, 0x00a9277c, 0x60e70080 ]
    - [ be32, 0x00a92780, 0x90e60000 ]
    - [ be32, 0x00a92784, 0xc0460000 ]
    - [ be32, 0x00a92788, 0x3ce00135 ]
    - [ be32, 0x00a9278c, 0x60e77148 ]
    - [ be32, 0x00a92790, 0x38c0ffff ]
    - [ be32, 0x00a92794, 0x480477dd ]
    - [ be32, 0x00a92798, 0x48000064 ]
    # msgcon buffer in single area
    - [ be32, 0x00a519f8, 0x4848a738 ]
    - [ be32, 0x00edc130, 0x3d20013f ]
    - [ be32, 0x00edc134, 0x61291340 ]
    - [ be32, 0x00edc138, 0x4bb758c4 ]
    # taskmgr
    - [ be32, 0x0083f9c0, 0x807eff84 ]
    - [ be32, 0x012befe8, 0x01357148 ]
    # display-msg
    - [ be32, 0x008529f8, 0x60000000 ]
    - [ be32, 0x00852a04, 0x60000000 ]
    # DC printing
    - [ be32, 0x0081c060, 0x48002cbc ] # printf
    - [ be32, 0x0081c074, 0x48002ca8 ] # print-string
    - [ be32, 0x0078c5a4, 0x38600001 ]
    - [ be32, 0x0078c5a8, 0x482c5c05 ]
    - [ be32, 0x0078c5ac, 0x7fa3eb78 ]
    - [ be32, 0x0078c5b0, 0x482c5c51 ]
    - [ be32, 0x0078c5b4, 0x48000018 ]

  tlou_gpulighting_notes: &tlou_gpulighting_notes
    "Uses GPU (RSX) path for lighting effects instead of SPU.\nFixes rendering of lightning effects that are being rendered broken via SPU path and greatly improves performance over it.\nThis path is incomplete and results in some missing effects such as Volumetric lighting.\nVersion 2.0 - Fixes Cabin Resort level crashes/artifacts without removing the fog (1.11 only)"

  tlou_speed_notes: &tlou_speed_notes
    "Improves performance in certain areas. May cause issues."

  tlou_debugmenu_notes: &tlou_debugmenu_notes
    "L3 + Start = Dev Menu\nL3 + Select = Quick Menu\nL3 + Triangle = FPS Text\nL3 + R3 = Debug Fly"

  tlou_infiniteflashlight_notes: &tlou_infiniteflashlight_notes
    "This patch is useful for people who play with something other than DualShock3/4.\nNormaly flashlight battery drains after ~3600 frames, patch disables battery drain, Infinite flashlight battery no controller shake."

  tlou_nocamshake_notes: &tlou_nocamshake_notes
    "Disables camera shake during gameplay.\nIn-Game cinematics remain unaffected."

  tlou_localmp_notes: &tlou_localmp_notes
    "Matchmaking does not work."

  tlou_dbgtasks_notes: &tlou_dbgtasks_notes
    "Only enable this if you know what you are doing!"

  tlou_headcrash_notes: &tlou_headcrash_notes
    "Fixes a bug where throwing an object at an Infected Severed Head causes a game crash."

  tlou_ar_notes: &tlou_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. UI elements will be stretched."

  tlou_fps_notes: &tlou_fps_notes
    "Unlocks FPS without any special settings.\nGame may crash above 500 FPS in loading screens."

  tlou_mlaa_notes: &tlou_mlaa_notes
    "Allows for the use of Resolution Scaling and improves performance.\nVersion 2.0 - Fixes crashes introduced in the original patch.\nVersion 3.0 - Fixes the Green Rain in more areas.\nVersion 4.0 - Fixes high levels of Bloom in some areas.\n\nKnown issues: Listen mode does not work."

  tloulb100_title: &tloulb100_title
    "The Last of Us Left Behind":
      NPUA81175: [ 01.00 ]
      NPEA00521: [ 01.00 ]

  tlou100_title: &tlou100_title
    "The Last of Us":
      BCES01584: [ 01.00 ]
      BCES01585: [ 01.00 ]
      BCUS98174: [ 01.00 ]
      BCJS37010: [ 01.00 ]
      BCAS20270: [ 01.00 ]
      NPEA00435: [ 01.00 ]
      NPUA80960: [ 01.00 ]

  tlou111_title: &tlou111_title
    "The Last of Us":
      BCES01584: [ 01.11 ]
      BCES01585: [ 01.11 ]
      BCUS98174: [ 01.11 ]
      BCJS37010: [ 01.11 ]
      BCAS20270: [ 01.11 ]
      NPEA00435: [ 01.11 ]
      NPUA80960: [ 01.11 ]
      NPHA80243: [ 01.11 ]

PPU-9df60dc1aa5005a0c80e9066e4951dc0471553e6:
  "Disable in-built MLAA":
    Games: *tlou100_title
    Author: "Whatcookie"
    Notes: *tlou_mlaa_notes
    Patch Version: 4.0
    Patch:
      - [ load, *tlou100_mlaa ]
  "Disable Bloom":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_post ]
  "Disable Mesh trimming":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_mesh ]
  "Disable SSAO":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_ssao ]
  "Disable Motion Blur":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_mb ]
  "Disable Depth of Field":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_dof ]
  "Depth buffer viewport":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_dbv ]
  "Depth border fix":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_dbf ]
  "Enable GPU Lighting":
    Games: *tlou100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes: *tlou_gpulighting_notes
    Patch Version: 2.0
    Patch:
      - [ load, *tlou100_db ]
  "Speedboost":
    Games: *tlou100_title
    Author: "ZEROx, illusion"
    Notes: *tlou_speed_notes
    Patch Version: 1.0
    Patch:
      - [ load, *tlou100_speed ]
  "Debug Menu":
    Games: *tlou100_title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *tlou_debugmenu_notes
    Patch Version: 1.01
    Patch:
      - [ load, *tlou100_devmenu ]
  "Bug Fix: Infected Severed Head Crash":
    Games: *tlou100_title
    Author: "illusion, ZEROx"
    Notes: *tlou_headcrash_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006b06a8, 0x483a4b95 ] # Branch
      - [ be32, 0x00a5523c, 0x3d400001 ] # r10 = 0x10000
      - [ be32, 0x00a55240, 0x7f9d5000 ] # r29 vs r10
      - [ be32, 0x00a55244, 0x409d0008 ] # Skip if r29<=r10 // If r29 less or equal to r10 then do nothing
      - [ be32, 0x00a55248, 0x813d0040 ] # lwz r9,0x40(r29) // load as normal
      - [ be32, 0x00a5524c, 0x4e800020 ] # Return
  "21:9 Aspect Ratio":
    Games: *tlou100_title
    Author: "illusion"
    Notes: *tlou_ar_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000325b8, 0x60000000 ] # nop write for ar float
      - [ bef32, 0x014aebd0, 0.42 ]      # ar float
      - [ bef32, 0x0128f2f4, 0.75 ]
  "16:10 Aspect Ratio":
    Games: *tlou100_title
    Author: "mavethee"
    Notes: *tlou_ar_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000325b8, 0x60000000 ]
      - [ bef32, 0x014aebd0, 0.55 ]
      - [ bef32, 0x0128f2f4, 0.7 ]
  "Unlock FPS":
    Games: *tlou100_title
    Author: "illusion"
    Notes: *tlou_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00036ab8, 0x38a00000 ]
  "Infinite flashlight battery":
    Games: *tlou100_title
    Author: "bungholio, ZEROx"
    Notes: *tlou_infiniteflashlight_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0068eb38, 0x60000000 ]
  "Disable Camera Shake":
    Games: *tlou100_title
    Author: "illusion"
    Notes: *tlou_nocamshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00966784, 0x997d ]
  "Enable Local Multiplayer":
    Games: *tlou100_title
    Author: "icemesh, illusion"
    Notes: *tlou_localmp_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00353e7c, 0x3b800001 ] # (icemesh)
      - [ be32, 0x00a0fbc8, 0x38600000 ] # (illusion) # For RPCS3 only, bypass connecting screen
      - [ be32, 0x01268210, 0x0132f628 ] # (illusion)
      - [ be32, 0x00356830, 0x38600000 ] # (illusion)
  "Skip Intro":
    Games: *tlou100_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00038ea4, 0x38600001 ]
  "DEBUG: Replace Task With Test Tasks":
    Games: *tlou100_title
    Author: "illusion, icemesh" # SID Utils
    Notes: *tlou_dbgtasks_notes
    Patch Version: 1.0
    Patch:
      # test-tasks begin!!
      - [ be32, 0x009f9064, 0x484b023c ]
      - [ be32, 0x00ea92a0, 0x81490000 ]
      - [ be32, 0x00ea92a4, 0x3d006772 ]
      - [ be32, 0x00ea92a8, 0x61083261 ]
      - [ be32, 0x00ea92ac, 0x7f885000 ]
      - [ be32, 0x00ea92b0, 0x409e0014 ]
      - [ be32, 0x00ea92b4, 0x3d002203 ]
      - [ be32, 0x00ea92b8, 0x6108c98c ]
      - [ be32, 0x00ea92bc, 0x91090000 ]
      - [ be32, 0x00ea92c0, 0x7d284b78 ]
      - [ be32, 0x00ea92c4, 0x81490000 ]
      - [ be32, 0x00ea92c8, 0x4bb4fda0 ]
      # *test-task-graph*
      - [ be16, 0x008203a2, 0xf0f3 ]
      - [ be16, 0x008203aa, 0xd6c8 ]
      - [ be16, 0x0081d2fa, 0xf0f3 ]
      - [ be16, 0x0081d302, 0xd6c8 ]
      # crash fix
      - [ be32, 0x000390b0, 0x48000068 ]
      # no artGroup assert
      - [ be32, 0x0048731c, 0x60000000 ]

PPU-120fb71f7352d62521c639b0e99f960018c10a56:
  "Disable in-built MLAA":
    Games: *tlou111_title
    Author: "Whatcookie, illusion, ZEROx"
    Notes: *tlou_mlaa_notes
    Patch Version: 4.0
    Patch:
      - [ load, *tlou111_mlaa ]
  "Disable Bloom":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_post ]
  "Disable Mesh trimming":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_mesh ]
  "Disable SSAO":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.1
    Patch:
      - [ load, *tlou111_ssao ]
  "Disable Motion Blur":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_mb ]
  "Disable Depth of Field":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_dof ]
  "Depth border fix":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_dbf ]
  "Enable GPU Lighting":
    Games: *tlou111_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn"
    Notes: *tlou_gpulighting_notes
    Patch Version: 2.0
    Patch:
      - [ load, *tlou111_db ]
  "WCB/WDB Performance fix":
    Games: *tlou111_title
    Author: "ZEROx"
    Notes: "Disables Depth Buffer Reload, reduces performance penalty using WCB/WDB."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaa030, 0x9b83 ] # Speedup 1571ad8 (WCB)
      - [ be32, 0x00a974f4, 0x4bfd4ef1 ] # Call
      - [ be32, 0x00a6c3e4, 0x3c600142 ] # r3 = 0x1420000
      - [ be32, 0x00a6c3e8, 0xa0639ef4 ] # lhz r3,0x9ef4(r3)
      - [ be32, 0x00a6c3ec, 0x2f83080c ] # r3 vs 0x80c
      - [ be32, 0x00a6c3f0, 0x419e000c ] # beq
      - [ be32, 0x00a6c3f4, 0xc1a9038c ] # f13 original load
      - [ be32, 0x00a6c3f8, 0x48000008 ]
      - [ be32, 0x00a6c3fc, 0xc1be8100 ] # f13 == f0
      - [ be32, 0x00a6c400, 0x4e800020 ] # ret
  "Speedboost":
    Games: *tlou111_title
    Author: "ZEROx, illusion"
    Notes: *tlou_speed_notes
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_speed ]
  "Debug Menu":
    Games: *tlou111_title
    Author: "illusion, ZEROx, dron_3, HdHereidme"
    Notes: *tlou_debugmenu_notes
    Patch Version: 1.2
    Patch:
      - [ load, *tlou111_devmenu ]
  "Infinite flashlight battery":
    Games: *tlou111_title
    Author: "bungholio, ZEROx"
    Notes: *tlou_infiniteflashlight_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006acbc8, 0x60000000 ]
  "Bug Fix: Infected Severed Head Crash":
    Games: *tlou111_title
    Author: "illusion, ZEROx"
    Notes: *tlou_headcrash_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006d9368, 0x483aa7ed ] # Call
      - [ be32, 0x00a83b54, 0x3d400001 ] # r10 = 0x10000
      - [ be32, 0x00a83b58, 0x7f9d5000 ] # r29 vs r10
      - [ be32, 0x00a83b5c, 0x409d0008 ] # Skip if r29<=r10 // If r29 less or equal to r10 then do nothing
      - [ be32, 0x00a83b60, 0x813d0040 ] # lwz r9,0x40(r29) // load as normal
      - [ be32, 0x00a83b64, 0x4e800020 ] # Return
  "21:9 Aspect Ratio":
    Games: *tlou111_title
    Author: "illusion"
    Notes: *tlou_ar_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0003556c, 0x60000000 ] # nop write for ar float
      - [ bef32, 0x01558a50, 0.42 ]      # ar float
      - [ bef32, 0x012c1964, 0.75 ]
  "16:10 Aspect Ratio":
    Games: *tlou111_title
    Author: "mavethee"
    Notes: *tlou_ar_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0003556c, 0x60000000 ]
      - [ bef32, 0x01558a50, 0.55 ]
      - [ bef32, 0x012c1964, 0.7 ]
  "Unlock FPS":
    Games: *tlou111_title
    Author: "illusion"
    Notes: *tlou_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00039d08, 0x38a00000 ]
  "Dev Menu Plus":
    Games: *tlou111_title
    Author: "illusion, Freako, Smasher248"
    Notes: "Replaces some useless options in Memory Tab with rendering features.\nWireframe modes currently do not work on the emulator."
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_devplus ]
  "Disable Pause in Dev Menu":
    Games: *tlou111_title
    Author: "illusion, Freako"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x009d2114, 0x9803 ]
  "NPC Model Scale in Clock Menu":
    Games: *tlou111_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x012850f8, 0x0148ae18 ]         # ptr
      - [ be16, 0x0135dcac, 0x3f80 ]             # avoid assertion
      - [ be64, 0x00e8c418, 0x4e5043204d6f6465 ] # string replace
      - [ be32, 0x00e8c420, 0x6c205363 ]
      - [ be16, 0x00e8c424, 0x616c ]
      - [ be64, 0x00e8c426, 0x653a000000000000 ] # 1 byte overlap
  "Disable Camera Shake":
    Games: *tlou111_title
    Author: "illusion"
    Notes: *tlou_nocamshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00994234, 0x997d ]
  "Infinite Everything (Parts, Pills, Crafting items)":
    Games: *tlou111_title
    Author: "Medo, Randy97Killa, illusion"
    Notes: "Pick up any amount of parts or items to activate the cheat.\nReplaces 'SS Printout to Msgcon' in Debug Menu Gameplay tab"
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_cparts ]
  "Tool Always Level 5":
    Games: *tlou111_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00082960, 0x38000005 ] # tools level load
      - [ be32, 0x00082788, 0x60000000 ] # tools gain pickup, result will be
  "Bug Fix: University Nailbomb Softlock Fix":
    Games: *tlou111_title
    Author: "illusion, ZEROx"
    Notes: "Fixes a softlock at the end of the university chapter."
    Patch Version: 1.0
    Patch:
      - [ load, *tlou111_nailbombsoftlockfix ]
  "Skip Intro":
    Games: *tlou111_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0003dd9c, 0x4800 ]
  "Enable Local Multiplayer":
    Games: *tlou111_title
    Author: "icemesh, illusion"
    Notes: *tlou_localmp_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0036ad6c, 0x3be00001 ] # (icemesh)
      - [ be32, 0x0036baa4, 0x4800002c ] # (illusion)
      - [ be32, 0x0129a01c, 0x01363538 ] # (illusion)
      - [ be32, 0x00a3f320, 0x38600000 ] # (illusion)
      - [ be32, 0x0036dad0, 0x38600000 ] # (illusion)
  "DEBUG: Replace Task With Test Tasks":
    Games: *tlou111_title
    Author: "illusion, icemesh" # SID Utils
    Notes: *tlou_dbgtasks_notes
    Patch Version: 1.0
    Patch:
      # test-tasks begin!!
      - [ be32, 0x00a29fb0, 0x484b2038 ]
      - [ be32, 0x00edbfe8, 0x81490000 ]
      - [ be32, 0x00edbfec, 0x3d006772 ]
      - [ be32, 0x00edbff0, 0x61083261 ]
      - [ be32, 0x00edbff4, 0x7f885000 ]
      - [ be32, 0x00edbff8, 0x409e0014 ]
      - [ be32, 0x00edbffc, 0x3d002203 ]
      - [ be32, 0x00edc000, 0x6108c98c ]
      - [ be32, 0x00edc004, 0x91090000 ]
      - [ be32, 0x00edc008, 0x7d284b78 ]
      - [ be32, 0x00edc00c, 0x81490000 ]
      - [ be32, 0x00edc010, 0x4bb4dfa4 ]
      # *test-task-graph*
      - [ be32, 0x008461a8, 0x3c80f0f3 ]
      - [ be32, 0x008461b0, 0x6084d6c8 ]
      - [ be32, 0x00841e64, 0x3ca0f0f3 ]
      - [ be32, 0x00841e6c, 0x60a5d6c8 ]
      # crash fix
      - [ be32, 0x0003df68, 0x480000a0 ]
      - [ be32, 0x0057cfe8, 0x60000000 ]
  "Infinite Ammo":
    Games: *tlou111_title
    Author: "Medo, Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006b1d94, 0x60000000 ]
  "Infinite Health":
    Games: *tlou111_title
    Author: "Medo, Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007caf50, 0x486c0d24 ]
      - [ be32, 0x00e8bc74, 0x3a20008c ]
      - [ be32, 0x00e8bc78, 0x923f0030 ]
      - [ be32, 0x00e8bc7c, 0x923f0038 ]
      - [ be32, 0x00e8bc80, 0x923f0044 ]
      - [ be32, 0x00e8bc84, 0x4b93f2d0 ]

PPU-9e5c67eaf69077c591b7c503bed2b48617643134:
  "Debug Menu":
    Games: *tloulb100_title
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *tlou_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a92d94, 0x38000001 ]
      - [ be32, 0x00a92d98, 0x980b2db0 ]
  "Unlock FPS":
    Games: *tloulb100_title
    Author: "illusion, FlexBy"
    Notes: *tlou_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00039d1c, 0x38a00000 ]
  "Skip Intro":
    Games: *tloulb100_title
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0003ddb0, 0x4800 ]
  "Speedboost":
    Games: *tloulb100_title
    Author: "ZEROx, illusion, FlexBy"
    Notes: *tlou_speed_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaa93c, 0x9383 ]
  "Disable SSAO":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaa6f0, 0x9b83 ]
  "Disable Motion Blur":
    Games: *tloulb100_title
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0096b1e8, 0x480000e0 ]
  "Disable Mesh trimming":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00951d2c, 0x9809 ]
  "Disable in-built MLAA":
    Games: *tloulb100_title
    Author: "Whatcookie, illusion, ZEROx, FlexBy"
    Notes: *tlou_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaa794, 0x9b83 ]
  "Disable Depth of Field":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaa760, 0x9b83 ]
  "Depth border fix":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaaa2c, 0x9b83 ]
  "Disable Bloom":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      #- [ be32, 0x00aa9ba0, 0x38000003 ]
      - [ be32, 0x0096c5a0, 0xc0090990 ]
      - [ be32, 0x0096c5ac, 0xc1890990 ]
      - [ be32, 0x0096c634, 0xc0090990 ]
  "Disable Camera Shake":
    Games: *tloulb100_title
    Author: "illusion, FlexBy"
    Notes: *tlou_nocamshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00994988, 0x997d ]
  "Infinite flashlight battery":
    Games: *tloulb100_title
    Author: "bungholio, ZEROx, FlexBy"
    Notes: *tlou_infiniteflashlight_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006ad230, 0x60000000 ]
  "Enable GPU Lighting":
    Games: *tloulb100_title
    Author: "JohnHolmesII, ZEROx, illusion, Juhn, FlexBy"
    Notes: *tlou_gpulighting_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00aaaa38, 0x90c3 ]
      - [ be16, 0x00aaa9e4, 0x9b63 ]

PPU-e71d82fa70d09b7df9493f0336717dd9a4977216:
  "Disable in-built MLAA":
    Games:
      "The Last of Us Demo":
        NPUA70257: [ 01.00 ]
    Author: "Whatcookie, illusion, ZEROx, FlexBy"
    Notes: *tlou_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00a7a164, 0x9b83 ]
  "Unlock FPS":
    Games:
      "The Last of Us Demo":
        NPUA70257: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes: *tlou_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00036848, 0x38a00000 ]
  "Debug Menu":
    Games:
      "The Last of Us Demo":
        NPUA70257: [ 01.00 ]
    Author: "dron_3, HdHereidme, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a46720, 0x38000001 ]
      - [ be32, 0x00a46724, 0x980b2db0 ]

PPU-f293e177971243b66bc3fd62621ce4b246726a4a:
  "Disable in-built MLAA":
    Games:
      "The Last of Us Demo":
        NPHA80246: [ 01.00 ]
    Author: "Whatcookie, illusion, ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00a7a164, 0x9b83 ]
  "Unlock FPS":
    Games:
      "The Last of Us Demo":
        NPHA80246: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00036848, 0x38a00000 ]
  "Debug Menu":
    Games:
      "The Last of Us Demo":
        NPHA80246: [ 01.00 ]
    Author: "dron_3, HdHereidme, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a46720, 0x38000001 ]
      - [ be32, 0x00a46724, 0x980b2db0 ]

Anchors:
  MGS4_Widescreen_Notes: &MGS4_Widescreen_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. The interface will be stretched and cutscenes will use the standard field of view."
  MGS4_Widescreen_NotesEx: &MGS4_Widescreen_NotesEx
    "Requires \"Stretch To Display Area\" checked in the GPU settings. The interface will be stretched and cutscenes will use an increased field of view which may cause visual bugs."

  MGS4_Disableshadows_Notes: &MGS4_Disableshadows_Notes
    "Can give a significant performance boost."

  MGS4_Removefog_Notes: &MGS4_Removefog_Notes
    "Does not provide any performance benefit."

  MGS4_Reducestagequality_Notes: &MGS4_Reducestagequality_Notes
    "Removes some transparency related effects from stages. Provides a small performance boost, but causes monitor visuals to break in-game."

  MGS4_RemoveHUD_Notes: &MGS4_RemoveHUD_Notes
    "Removes the ingame HUD. Useful for videos and screenshots."

  MGS4_RemoveEffects_Notes: &MGS4_RemoveEffects_Notes
    "Removes some effects such as explosions and smoke. Provides a moderate performance boost."

  MGS4_FPS_Notes: &MGS4_FPS_Notes
    "Allows you to play the game at 60 FPS or higher without modifying the vblank frequency. Can improve performance."

  MGS4_DisableFilters_Notes: &MGS4_DisableFilters_Notes
    "Removes all viewport filters including color grading and the night vision goggles effect."

  mgs4_us_disc200title: &mgs4_us_disc200title
    "Metal Gear Solid 4: Guns of the Patriots":
      BLUS30109: [ 02.00 ]
  mgs4_eu_disc200title: &mgs4_eu_disc200title
    "Metal Gear Solid 4: Guns of the Patriots":
      BLES00246: [ 02.00 ]
  mgs4_jp_disc200title: &mgs4_jp_disc200title
    "Metal Gear Solid 4: Guns of the Patriots":
      BLJM67001: [ 02.00 ]
  mgs4_us_psn200title: &mgs4_us_psn200title
    "Metal Gear Solid 4: Guns of the Patriots":
      NPUB31633: [ 02.00 ]
  mgs4_eu_psn200title: &mgs4_eu_psn200title
    "Metal Gear Solid 4: Guns of the Patriots":
      NPEB02182: [ 02.00 ]
  mgs4_jp_psn200title: &mgs4_jp_psn200title
    "Metal Gear Solid 4: Guns of the Patriots":
      NPJB00698: [ 02.00 ]

  mgs4_219AR_v200_disc: &mgs4_219AR_v200_disc
    - [ be32, 0x003d426c, 0x3ff0a3d7 ]
    - [ be32, 0x003d4274, 0xbff0a3d7 ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3fa3126f ]

  mgs4_219AR_v200_psn: &mgs4_219AR_v200_psn
    - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
    - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3fa3126f ]

  mgs4_219ARC_v200_disc: &mgs4_219ARC_v200_disc
    - [ be32, 0x003d426c, 0x3ff0a3d7 ]
    - [ be32, 0x003d4274, 0xbff0a3d7 ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x000f1b6c, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3fa3126f ]

  mgs4_219ARC_v200_psn: &mgs4_219ARC_v200_psn
    - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
    - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x000f042c, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3fa3126f ]

  mgs4_329AR_v200_disc: &mgs4_329AR_v200_disc
    - [ be32, 0x003d426c, 0x4039999a ]
    - [ be32, 0x003d4274, 0xc039999a ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3f52b021 ]

  mgs4_329AR_v200_psn: &mgs4_329AR_v200_psn
    - [ be32, 0x003c3edc, 0x4039999a ]
    - [ be32, 0x003c3ee4, 0xc039999a ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3f52b021 ]

  mgs4_329ARC_v200_disc: &mgs4_329ARC_v200_disc
    - [ be32, 0x003d426c, 0x4039999a ]
    - [ be32, 0x003d4274, 0xc039999a ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x000f1b6c, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3f52b021 ]

  mgs4_329ARC_v200_psn: &mgs4_329ARC_v200_psn
    - [ be32, 0x003c3edc, 0x4039999a ]
    - [ be32, 0x003c3ee4, 0xc039999a ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x000f042c, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3f52b021 ]

  mgs4_maxcamo_v200_disc: &mgs4_maxcamo_v200_disc
    - [ be32, 0x00076564, 0x38000064 ]
    - [ be32, 0x00076568, 0x38600064 ]
    - [ be32, 0x000765b4, 0x3ba00064 ]

  mgs4_maxcamo_v200_psn: &mgs4_maxcamo_v200_psn
    - [ be32, 0x0007489c, 0x38000064 ]
    - [ be32, 0x000748a0, 0x38600064 ]
    - [ be32, 0x000748ec, 0x3ba00064 ]

  mgs4_rstagequality_v200_disc: &mgs4_rstagequality_v200_disc
    - [ be32, 0x000fa7ec, 0x4e800020 ]
    - [ be32, 0x0010faec, 0x4e800020 ]

  mgs4_rstagequality_v200_psn: &mgs4_rstagequality_v200_psn
    - [ be32, 0x000f90ac, 0x4e800020 ]
    - [ be32, 0x0010e3ac, 0x4e800020 ]

  mgs4_dshadows_v200_disc: &mgs4_dshadows_v200_disc
    - [ be32, 0x00132354, 0x4e800020 ]

  mgs4_dshadows_v200_psn: &mgs4_dshadows_v200_psn
    - [ be32, 0x00130bf4, 0x4e800020 ]

  mgs4_dfog_v200_disc: &mgs4_dfog_v200_disc
    - [ be32, 0x000eaa08, 0x4e800020 ]

  mgs4_dfog_v200_psn: &mgs4_dfog_v200_psn
    - [ be32, 0x000e92c8, 0x4e800020 ]

  mgs4_dhud_v200_disc: &mgs4_dhud_v200_disc
    - [ be32, 0x000f0410, 0x60000000 ]

  mgs4_dhud_v200_psn: &mgs4_dhud_v200_psn
    - [ be32, 0x000eecd0, 0x60000000 ]

  mgs4_dspawnedeffects_v200_disc: &mgs4_dspawnedeffects_v200_disc
    - [ be32, 0x0012bcfc, 0x2b8a0004 ]

  mgs4_dspawnedeffects_v200_psn: &mgs4_dspawnedeffects_v200_psn
    - [ be32, 0x0012a59c, 0x2b8a0004 ]

  mgs4_dfilters_v200_disc: &mgs4_dfilters_v200_disc
    - [ be32, 0x000f0458, 0x60000000 ]

  mgs4_dfilters_v200_psn: &mgs4_dfilters_v200_psn
    - [ be32, 0x000eed18, 0x60000000 ]

  mgs4_unlockfps_v200_disc: &mgs4_unlockfps_v200_disc
    - [ be32, 0x000db720, 0x4e800020 ]

  mgs4_unlockfps_v200_psn: &mgs4_unlockfps_v200_psn
    - [ be32, 0x000d9fe0, 0x4e800020 ]

  mgs4_infiniteammo_v200_disc: &mgs4_infiniteammo_v200_disc
    - [ be32, 0x0008c578, 0x60000000 ]

  mgs4_infiniteammo_v200_psn: &mgs4_infiniteammo_v200_psn
    - [ be32, 0x0008a8b0, 0x60000000 ]

  mgs4_noreload_v200_disc: &mgs4_noreload_v200_disc
    - [ be32, 0x0008c4dc, 0x7d004378 ]

  mgs4_noreload_v200_psn: &mgs4_noreload_v200_psn
    - [ be32, 0x0008a814, 0x7d004378 ]

  mgs4_maxdpgain_v200_disc: &mgs4_maxdpgain_v200_disc
    - [ be64, 0x00089658, 0x3d2005f56129e0ff ]

PPU-9712144d93487f0b62e39f55e175af783b58af72:
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 01.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001358b8, 0x4e800020 ]

PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "21:9 Aspect Ratio":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_disc ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_disc ]
  "32:9 Aspect Ratio":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_disc ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_disc ]
  "Disable shadows":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_disc ]
  "Remove fog":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_disc ]
  "Reduce stage quality":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_disc ]
  "Disable HUD":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_disc ]
  "Disable spawned effects":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_disc ]
  "Unlock FPS":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_disc ]
  "Infinite Ammo":
    Games: *mgs4_us_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_disc ]
  "No Reload":
    Games: *mgs4_us_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_disc ]
  "Max Camo":
    Games: *mgs4_us_disc200title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_disc ]
  "Disable Filters":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_disc ]
  "Max DP on Gain":
    Games: *mgs4_us_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxdpgain_v200_disc ]

PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "21:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]
  "Infinite Ammo":
    Games: *mgs4_us_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_psn ]
  "No Reload":
    Games: *mgs4_us_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_psn ]
  "Max Camo":
    Games: *mgs4_us_psn200title
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_psn ]
  "Disable Filters":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy, FlexBy"
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_psn ]

PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "21:9 Aspect Ratio":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_disc ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_disc ]
  "32:9 Aspect Ratio":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_disc ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_disc ]
  "Disable shadows":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_disc ]
  "Remove fog":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_disc ]
  "Reduce stage quality":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_disc ]
  "Disable HUD":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_disc ]
  "Disable spawned effects":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_disc ]
  "Unlock FPS":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_disc ]
  "Infinite Ammo":
    Games: *mgs4_eu_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_disc ]
  "No Reload":
    Games: *mgs4_eu_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_disc ]
  "Max Camo":
    Games: *mgs4_eu_disc200title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_disc ]
  "Disable Filters":
    Games: *mgs4_eu_disc200title
    Author: TriggerHappy
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_disc ]
  "Max DP on Gain":
    Games: *mgs4_eu_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxdpgain_v200_disc ]

PPU-347d16fbdb0a12f1083c0fb98343c4642d4641cb:
  "21:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]
  "Infinite Ammo":
    Games: *mgs4_eu_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_psn ]
  "No Reload":
    Games: *mgs4_eu_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_psn ]
  "Max Camo":
    Games: *mgs4_eu_psn200title
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_psn ]
  "Disable Filters":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy, FlexBy"
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_psn ]

PPU-c19b3b57017488d9bd126a4b6cfba3566e0905fb:
  "21:9 Aspect Ratio":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_disc ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_disc ]
  "32:9 Aspect Ratio":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_disc ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_disc ]
  "Disable shadows":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_disc ]
  "Remove fog":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_disc ]
  "Reduce stage quality":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_disc ]
  "Disable HUD":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_disc ]
  "Disable spawned effects":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_disc ]
  "Unlock FPS":
    Games: *mgs4_jp_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_disc ]
  "Infinite Ammo":
    Games: *mgs4_jp_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_disc ]
  "No Reload":
    Games: *mgs4_jp_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_disc ]
  "Max Camo":
    Games: *mgs4_jp_disc200title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_disc ]
  "Disable Filters":
    Games: *mgs4_jp_disc200title
    Author: TriggerHappy
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_disc ]
  "Max DP on Gain":
    Games: *mgs4_jp_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxdpgain_v200_disc ]

PPU-2b65154021bb8c3b25616324975af795720c5f78:
  "21:9 Aspect Ratio":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]
  "Infinite Ammo":
    Games: *mgs4_jp_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_psn ]
  "No Reload":
    Games: *mgs4_jp_psn200title
    Author: "games24.blog.fc2.com, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_psn ]
  "Max Camo":
    Games: *mgs4_jp_psn200title
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_psn ]
  "Disable Filters":
    Games: *mgs4_jp_psn200title
    Author: "TriggerHappy, FlexBy"
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_psn ]

OVL-a86de0a3c096dc8299a8b8a50b8feb6fa1e1d2ea:
  "Disable snow effect":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes the heavy snow effect on the Shadow Moses stage."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x302a1400, 0x4e800020 ]

Anchors:
  # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
  # Since we only change store reg, no need to patch the rest.
  uc2_Disc_100_60FPS: &uc2_Disc_100_60FPS
    - [ be16, 0x000c9250, 0x9163 ] # Framelock: 1 (60 FPS Limit)             (mem address: 0x0e9b5fb)

  uc2_Disc_100_UnlockFPS: &uc2_Disc_100_UnlockFPS
    - [ be16, 0x000c9250, 0x9183 ] # Framelock: 0 (No FPS Limit)             (mem address: 0x0e9b5fb)

  uc2_Disc_100_ssao: &uc2_Disc_100_ssao
    - [ be16, 0x000c9370, 0x9b83 ] # Disable SSAO                            (mem address: 0x0e9b642)

  uc2_Disc_100_dof: &uc2_Disc_100_dof
    - [ be16, 0x000c93c4, 0x9b83 ] # Disable depth of field                  (mem address: 0x0e9b651)

  uc2_Disc_100_post: &uc2_Disc_100_post
    - [ be16, 0x000c93ec, 0x9b83 ] # Disable Post on SPU                     (mem address: 0x0e9b668)
    - [ be16, 0x0077e8ae, 0x664c ] # Reduce Bloom in Post on GPU to 80%

  uc2_Disc_100_light: &uc2_Disc_100_light
    - [ be16, 0x000c962c, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9b964)
    - [ be16, 0x000c9630, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9b965)

  uc2_Disc_100_mesh: &uc2_Disc_100_mesh
    - [ be16, 0x0072ec3c, 0x9949 ] # Disable mesh trimming                   (mem address: 0x0f995d0)

  uc2_Disc_100_ref: &uc2_Disc_100_ref
    - [ be32, 0x0006a958, 0x38000001 ] # Reflections
    - [ be32, 0x0077f970, 0x3a400001 ] # Heat waves

  uc2_Disc_100_mb: &uc2_Disc_100_mb
    - [ byte, 0x0075a7e4, 0x41 ] # Motion blur                               (mem address: 0x0e9b64f)
    - [ byte, 0x0075b454, 0x40 ]

  uc2_Disc_100_vmb: &uc2_Disc_100_vmb
    - [ be16, 0x000c961c, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0e9b894)

  # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
  uc2_Disc_109_60FPS: &uc2_Disc_109_60FPS
    - [ be16, 0x000c26f0, 0x9163 ] # Framelock: 1 (60 FPS Limit)             (mem address: 0x0e9c1fb)

  uc2_Disc_109_UnlockFPS: &uc2_Disc_109_UnlockFPS
    - [ be16, 0x000c26f0, 0x9183 ] # Framelock: 0 (No FPS Limit)             (mem address: 0x0e9c1fb)

  uc2_Disc_109_ssao: &uc2_Disc_109_ssao
    - [ be16, 0x000c2810, 0x9b83 ] # Disable SSAO                            (mem address: 0x0e9c242)

  uc2_Disc_109_dof: &uc2_Disc_109_dof
    - [ be16, 0x000c2864, 0x9b83 ] # Disable depth of field                  (mem address: 0x0e9c251)

  uc2_Disc_109_post: &uc2_Disc_109_post
    - [ be16, 0x000c288c, 0x9b83 ] # Disable Post on SPU                     (mem address: 0x0e9c268)
    - [ be16, 0x0077d126, 0x6694 ] # Reduce Bloom in Post on GPU to 80%

  uc2_Disc_109_light: &uc2_Disc_109_light
    - [ be16, 0x000c2ad0, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9c564)
    - [ be16, 0x000c2ad4, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9c565)

  uc2_Disc_109_mesh: &uc2_Disc_109_mesh
    - [ be16, 0x0072d44c, 0x9949 ] # Disable mesh trimming                   (mem address: 0x0f9bfd0)

  uc2_Disc_109_ref: &uc2_Disc_109_ref
    - [ be32, 0x000688f4, 0x38000001 ] # Reflections
    - [ be32, 0x0077e1e8, 0x3a400001 ] # Heat waves

  uc2_Disc_109_mb: &uc2_Disc_109_mb
    - [ byte, 0x00758ff4, 0x41 ] # Motion blur                               (mem address: 0x0e9c24f)
    - [ byte, 0x00759c64, 0x40 ]

  uc2_Disc_109_vmb: &uc2_Disc_109_vmb
    - [ be16, 0x000c2ac0, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0e9c494)

  # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
  uc2_PSN_60FPS: &uc2_PSN_60FPS
    - [ be16, 0x000c2bb8, 0x9163 ] # Framelock: 1 (60 FPS Limit)             (mem address: 0x0e9c1fb)

  uc2_PSN_UnlockFPS: &uc2_PSN_UnlockFPS
    - [ be16, 0x000c2bb8, 0x9183 ] # Framelock: 0 (No FPS Limit)             (mem address: 0x0e9c1fb)

  uc2_PSN_ssao: &uc2_PSN_ssao
    - [ be16, 0x000c2cd8, 0x9b83 ] # Disable SSAO                            (mem address: 0x0e9c242)

  uc2_PSN_dof: &uc2_PSN_dof
    - [ be16, 0x000c2d2c, 0x9b83 ] # Disable depth of field                  (mem address: 0x0e9c251)

  uc2_PSN_post: &uc2_PSN_post
    - [ be16, 0x000c2d54, 0x9b83 ] # Disable Post on SPU                     (mem address: 0x0e9c268)
    - [ be16, 0x00785446, 0x6384 ] # Reduce Bloom in Post on GPU to 80%

  uc2_PSN_light: &uc2_PSN_light
    - [ be16, 0x000c2f98, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9c564)
    - [ be16, 0x000c2f9c, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9c565)

  uc2_PSN_mesh: &uc2_PSN_mesh
    - [ be16, 0x0072d394, 0x9949 ] # Disable mesh trimming                   (mem address: 0x0f9bfd0)

  uc2_PSN_ref: &uc2_PSN_ref
    - [ be32, 0x00071b0c, 0x38000001 ] # Reflections
    - [ be32, 0x00786508, 0x3a400001 ] # Heat waves

  uc2_PSN_mb: &uc2_PSN_mb
    - [ byte, 0x00758f74, 0x41 ] # Motion blur                               (mem address: 0x0e9c24f)
    - [ byte, 0x00759be4, 0x40 ]

  uc2_PSN_vmb: &uc2_PSN_vmb
    - [ be16, 0x000c2f88, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0e9c494)

  # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
  uc2_Demo_60FPS: &uc2_Demo_60FPS
    - [ be16, 0x000c94a0, 0x9163 ] # Framelock: 1 (60 FPS Limit)

  uc2_Demo_UnlockFPS: &uc2_Demo_UnlockFPS
    - [ be16, 0x000c94a0, 0x9183 ] # Framelock: 0 (No FPS Limit)

  uc2_Demo_ssao: &uc2_Demo_ssao
    - [ be16, 0x000c95c0, 0x9b83 ] # Disable SSAO

  uc2_Demo_dof: &uc2_Demo_dof
    - [ be16, 0x000c9614, 0x9b83 ] # Disable depth of field

  uc2_Demo_post: &uc2_Demo_post
    - [ be16, 0x000c963c, 0x9b83 ] # Disable Post on SPU

  uc2_Demo_light: &uc2_Demo_light
    - [ be16, 0x000c987c, 0x9b83 ] # Disable SPU lighting
    - [ be16, 0x000c9880, 0x9b63 ] # Enable stencil buffer for GPU lighting

  uc2_Demo_mesh: &uc2_Demo_mesh
    - [ be16, 0x0030624c, 0x9949 ] # Disable mesh trimming

  uc2_Demo_mb: &uc2_Demo_mb
    - [ be16, 0x000c9610, 0x9b83 ] # Motion blur

  uc2_Demo_vmb: &uc2_Demo_vmb
    - [ be16, 0x000c986c, 0x9b83 ] # Velocity motion blur

  uc2_debugmenu_notes: &uc2_debugmenu_notes
    "Enable Debug (DECR) Console mode to unlock full menu.\nL3 + Start = Dev Menu\nL3 + Select = Quick Menu\nL3 + Triangle = Debug Text\nL2 + R2 = Debug Fly"
  uc2_quitcrashfix_notes: &uc2_quitcrashfix_notes
    "Fixes a rare bug where quitting to menu causes a game crash."
  uc2_spupost_notes: &uc2_spupost_notes
    "Fixes green graphics when using Resolution Scaling. Do not use this patch if you're not upscaling, it'll introduce white squared artifacts in areas throughout the game."
  uc2_60fps_notes: &uc2_60fps_notes
    "Allows framerates of up to 60 FPS."
  uc2_unlockedfps_notes: &uc2_unlockedfps_notes
    "Completely unlocks the framerate."
  uc2_spulighting_notes: &uc2_spulighting_notes
    "Improves performance slightly by using GPU path for lighting.\nFixes lighting issues in Chapter 9 when shining the beams of light onto the statues."
  uc2_water_ref_notes: &uc2_water_ref_notes
    "Version 1.0 - Fixes flickering water reflections under Approximate ZCull, normally this effect requires Precise ZCull, but Precise ZCull has a big speed impact.\nVErsion 2.0 - Enables rendering of Heat Wave effect under Approximate ZCull, again, normally works with Precise ZCull only."

  uc2_disc100title: &uc2_disc100title
    "Uncharted 2: Among Thieves":
      BCES00509: [ 01.00 ]
      BCES00727: [ 01.00 ]
      BCES00757: [ 01.00 ]
      BCJS30035: [ 01.00 ]
      BCAS20097: [ 01.00 ]

  uc2_disc109title: &uc2_disc109title
    "Uncharted 2: Among Thieves":
      BCES00509: [ 01.09 ]
      BCES00727: [ 01.09 ]
      BCES00757: [ 01.09 ]
      BCUS98123: [ 01.09 ]
      BCJS30035: [ 01.09 ]
      BCAS20097: [ 01.09 ]

  uc2_PSN110title: &uc2_PSN110title
    "Uncharted 2: Among Thieves":
      NPEA00364: [ 01.10 ]
      NPEA00365: [ 01.10 ]
      NPUA80698: [ 01.10 ]
      NPHA80194: [ 01.10 ]

PPU-7b8a70c24456205b776915643a2acacb6ef6ea56:
  "60 FPS":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes: *uc2_60fps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_60FPS ]
  "Unlock FPS":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes: *uc2_unlockedfps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_UnlockFPS ]
  "Disable SSAO":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_ssao ]
  "Disable Depth of Field":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_dof ]
  "Disable SPU Post-processing":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes: *uc2_spupost_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_post ]
  "Enable GPU Lighting":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes: *uc2_spulighting_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_light ]
  "Disable Mesh Trimming":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_mesh ]
  "Disable Motion Blur":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_mb ]
  "Disable Velocity Motion Blur":
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_vmb ]
  "Approximate ZCull graphic fixes":
    Games: *uc2_disc100title
    Author: "ZEROx"
    Notes: *uc2_water_ref_notes
    Patch Version: 2.0
    Patch:
      - [ load, *uc2_Disc_100_ref ]
  "Debug Menu":
    Games: *uc2_disc100title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00023c64, 0x419e ]
      - [ be32, 0x00062e10, 0x60000000 ] # Don't pause on Select button
  "Bug Fix: Quit to Menu Crash": # TODO: Port to PSN version
    Games: *uc2_disc100title
    Author: "ZEROx, illusion"
    Notes: *uc2_quitcrashfix_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00270834, 0x4850e8e9 ] # Call
      - [ be32, 0x0077f11c, 0x2f9c0000 ] # Compare r28 to 0
      - [ be32, 0x0077f120, 0x409e000c ] # Skip to lhz if !=0
      - [ be32, 0x0077f124, 0x38000001 ] # r0 = 1
      - [ be32, 0x0077f128, 0x48000008 ] # Go to return
      - [ be32, 0x0077f12c, 0xa01c04b4 ] # Default lhz
      - [ be32, 0x0077f130, 0x4e800020 ] # Return
  "Skip Intro":
    Games: *uc2_disc100title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00026dc4, 0x48000e50 ]

PPU-9fe364d48b610e4b0a1c41d526bec9b1b2039c07:
  "60 FPS":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc2_60fps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_60FPS ]
  "Unlock FPS":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc2_unlockedfps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_UnlockFPS ]
  "Disable SSAO":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_ssao ]
  "Disable Depth of Field":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_dof ]
  "Disable SPU Post-processing":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc2_spupost_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_post ]
  "Enable GPU Lighting":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc2_spulighting_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_light ]
  "Disable Mesh Trimming":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be16, 0x0072ec54, 0x9949 ]
  "Disable Motion Blur":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_mb ]
  "Disable Velocity Motion Blur":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_vmb ]
  "Debug Menu":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00023c64, 0x419e ]
  "Skip Intro":
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00026dc4, 0x48000e50 ]

PPU-a3a5789c12711291dfe16a7d5d81c906d2b4c0c2:
  "60 FPS":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes: *uc2_60fps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_60FPS ]
  "Unlock FPS":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes: *uc2_unlockedfps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_UnlockFPS ]
  "Disable SSAO":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_ssao ]
  "Disable Depth of Field":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_dof ]
  "Disable SPU Post-processing":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes: *uc2_spupost_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_post ]
  "Enable GPU Lighting":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes: *uc2_spulighting_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_light ]
  "Disable Mesh Trimming":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_mesh ]
  "Disable Motion Blur":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_mb ]
  "Disable Velocity Motion Blur":
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_vmb ]
  "Approximate ZCull graphic fixes":
    Games: *uc2_disc109title
    Author: "ZEROx"
    Notes: *uc2_water_ref_notes
    Patch Version: 2.0
    Patch:
      - [ load, *uc2_Disc_109_ref ]
  "Debug Menu":
    Games: *uc2_disc109title
    Author: "dron_3, HdHereidme"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00023c0c, 0x419e ]
  "Bug Fix: Quit to Menu Crash": # TODO: port to PSN ver
    Games: *uc2_disc109title
    Author: "ZEROx, illusion"
    Notes: *uc2_quitcrashfix_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00262e04, 0x488ce301 ] # Call
      - [ be32, 0x00b31104, 0x2f9c0000 ] # Compare r28 to 0
      - [ be32, 0x00b31108, 0x409e000c ] # Skip to lhz if !=0
      - [ be32, 0x00b3110c, 0x38000001 ] # r0 = 1
      - [ be32, 0x00b31110, 0x48000008 ] # Go to return
      - [ be32, 0x00b31114, 0xa01c04b4 ] # Default lhz
      - [ be32, 0x00b31118, 0x4e800020 ] # Return
  "Skip Intro":
    Games: *uc2_disc109title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00026e08, 0x48000e40 ]
  "Infinite Ammo":
    Games: *uc2_disc109title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086e0d8, 0x396b0000 ]
  "Infinite Health":
    Games: *uc2_disc109title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aea8e0, 0x80030030 ]
      - [ be32, 0x00aea8e4, 0x9003002c ]
      - [ be32, 0x00aea8e8, 0x4e800020 ]
      - [ be32, 0x0009f658, 0x48a4b289 ]

PPU-599461c6c88935ff0ed26ef20e649c8c38b7be9c:
  "60 FPS":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes: *uc2_60fps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_60FPS ]
  "Unlock FPS":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes: *uc2_unlockedfps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_UnlockFPS ]
  "Disable SSAO":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_ssao ]
  "Disable Depth of Field":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_dof ]
  "Disable SPU Post-processing":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes: *uc2_spupost_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_post ]
  "Enable GPU Lighting":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes: *uc2_spulighting_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_light ]
  "Disable Mesh Trimming":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_mesh ]
  "Disable Motion Blur":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_mb ]
  "Disable Velocity Motion Blur":
    Games: *uc2_PSN110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_vmb ]
  "Approximate ZCull graphic fixes":
    Games: *uc2_PSN110title
    Author: "ZEROx"
    Notes: *uc2_water_ref_notes
    Patch Version: 2.0
    Patch:
      - [ load, *uc2_PSN_ref ]
  "Debug Menu":
    Games: *uc2_PSN110title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x000244e0, 0x419e ]
  "Skip Intro":
    Games: *uc2_PSN110title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00094a50, 0x98e3 ]

PPU-bfee77256ce53064051a6b0ec9d292e75284aad4:
  "60 FPS":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes: *uc2_60fps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_60FPS ]
  "Unlock FPS":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes: *uc2_unlockedfps_notes
    Group: FPS
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_UnlockFPS ]
  "Disable SSAO":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_ssao ]
  "Disable Depth of Field":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_dof ]
  "Disable SPU Post-processing":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_post ]
  "Enable GPU Lighting":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes: *uc2_spulighting_notes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_light ]
  "Disable Mesh Trimming":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_mesh ]
  "Disable Motion Blur":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_mb ]
  "Disable Velocity Motion Blur":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Demo_vmb ]
  "Debug Menu":
    Games:
      "Uncharted 2: Among Thieves Demo":
        NPEA90055: [ All ]
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00097a18, 0x98c3 ] # Demo doesn't have check. FPS text is disabled by default + DECR infinite loading

PPU-01d36e8241041ebf13e7ba819590f487303bb4cc:
  "Debug Menu":
    Games:
      "Uncharted 2: Among Thieves Closed Beta":
        BCET70015: [ 01.00 ]
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x000243d4, 0x419e ]

PPU-73a099fedff40805b586273265a52e7e037b6bdf:
  "Debug Menu":
    Games:
      "Uncharted 2: Among Thieves Public Beta":
        BCET70015: [ 01.00 ]
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc2_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00023c1c, 0x419e ]

Anchors:
  uc3_100_FPS: &uc3_100_FPS
    - [ be32, 0x0093b348, 0x90e30034 ] # FPS
    - [ be32, 0x0093b34c, 0x90e30038 ] # Unlock

  uc3_100_mlaa: &uc3_100_mlaa
    - [ be32, 0x00635f90, 0x60000000 ] # nop byte write on 00 9c
    - [ be16, 0x0093b46c, 0x9b83 ]     # store 0
  # - [ be32, 0x00720340, 0x480009ac ] # unconditonally branch to disable MLAA

  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = ??? (Tonemapping)
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  uc3_100_post: &uc3_100_post
    - [ be32, 0x0093acd4, 0x39000003 ] # Post-processing modes  (mem address: 0x1346d47)

  uc3_100_mesh: &uc3_100_mesh
    - [ be32, 0x0073f05c, 0x980b0004 ] # Disable mesh trimming  (mem address: 0x12c3940)

  # Many settings below are enabled/disabled in sub_AA9E6C. In this subroutine, // needs correction on subroutine
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  uc3_100_ssao: &uc3_100_ssao
    - [ be32, 0x00635f8c, 0x60000000 ] # nop byte write on 00 57
    - [ be32, 0x0093b3ac, 0x9b830057 ] # Disable SSAO           (mem address: 0x1346dbf)

  uc3_100_dof: &uc3_100_dof
    - [ be32, 0x0093b430, 0x9b83007a ] # Disable Depth of Field (mem address: 0x1346de2)

  uc3_100_speed: &uc3_100_speed
    - [ be32, 0x0093b44c, 0x9b830081 ] # Speedup (WCB)          (mem address: 0x1346de9)

  uc3_100_dbv: &uc3_100_dbv
    - [ be32, 0x0093b6b8, 0x9b6302f9 ] # Depth buffer viewport  (mem address: 0x1347061)

  uc3_100_dbf: &uc3_100_dbf
    - [ be32, 0x0093b6f8, 0x9b83031d ] # Depth border fix       (mem address: 0x1347085)

  uc3_100_db: &uc3_100_db
    - [ be32, 0x00635f88, 0x60000000 ] # nop byte write on 03 ec
    - [ be32, 0x0093b704, 0x90e303ec ] # Depth buffer           (mem address: 0x1347157)

  uc3_JP_100_mlaa: &uc3_JP_100_mlaa
    - [ be32, 0x00635fb8, 0x60000000 ] # nop byte write on 00 9c
    - [ be16, 0x0093b494, 0x9b83 ]     # store 0
  # - [ be32, 0x00720368, 0x480009ac ] # unconditonally branch to disable MLAA

  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = ??? (Tonemapping)
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  uc3_JP_100_post: &uc3_JP_100_post
    - [ be32, 0x0093acfc, 0x39000003 ] # Post-processing modes

  uc3_JP_100_mesh: &uc3_JP_100_mesh
    - [ be32, 0x0073f084, 0x980b0004 ] # Disable mesh trimming

  # Many settings below are enabled/disabled in sub_93B2C0. In this subroutine,
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  uc3_JP_100_ssao: &uc3_JP_100_ssao
    - [ be32, 0x00635fb4, 0x60000000 ] # nop byte write on 00 57
    - [ be32, 0x0093b3d4, 0x9b830057 ] # Disable SSAO

  uc3_JP_100_dof: &uc3_JP_100_dof
    - [ be32, 0x0093b458, 0x9b83007a ] # Disable Depth of Field

  uc3_JP_100_speed: &uc3_JP_100_speed
    - [ be32, 0x0093b474, 0x9b830081 ] # Speedup (WCB)

  uc3_JP_100_dbv: &uc3_JP_100_dbv
    - [ be32, 0x0093b6e0, 0x9b6302f9 ] # Depth buffer viewport

  uc3_JP_100_dbf: &uc3_JP_100_dbf
    - [ be32, 0x0093b720, 0x9b83031d ] # Depth border fix

  uc3_JP_100_db: &uc3_JP_100_db
    - [ be32, 0x00635fb0, 0x60000000 ] # nop byte write on 03 ec
    - [ be32, 0x0093b72c, 0x90e303ec ] # Depth buffer = 2

  uc3_110_mlaa: &uc3_110_mlaa
    - [ be32, 0x0063e014, 0x60000000 ] # nop byte write on 00 9c
    - [ be16, 0x0094d850, 0x9b83 ]     # store 0
    #- [ be32, 0x00728cac, 0x480009ac ] # unconditonally branch to disable MLAA
    # Beginning of new blooom code
    - [ be16, 0x0077bd92, 0xfd40 ]
    - [ byte, 0x0077bdb7, 0xb0 ]
    - [ byte, 0x0077be4b, 0xb0 ]
    - [ be32, 0x0077bdb0, 0x4bfacf01 ]
    - [ be32, 0x00728cb0, 0xc1a907d4 ]
    - [ be32, 0x00728cb4, 0x808907d8 ]
    # Desert storm
    - [ be32, 0x00728cb8, 0x80beacb4 ]
    - [ be32, 0x00728cbc, 0x7f842800 ]
    - [ be32, 0x00728cc0, 0x409d0030 ]
    # Deflicker check
    - [ be32, 0x00728cc4, 0x80be3e6c ]
    - [ be32, 0x00728cc8, 0x7f842800 ]
    - [ be32, 0x00728ccc, 0x409d0018 ]
    # Yemen: Talbot chase
    - [ be32, 0x00728cd0, 0x80be1144 ]
    - [ be32, 0x00728cd4, 0x7f842800 ]
    - [ be32, 0x00728cd8, 0x409d0018 ]
    # Talbot multiplier 0.5
    - [ be32, 0x00728cdc, 0x38a00068 ]
    - [ be32, 0x00728ce0, 0x48000008 ]
    # Desert storm multiplier 0.04
    - [ be32, 0x00728ce4, 0x38a0edc8 ]
    # Value correction
    - [ be32, 0x00728ce8, 0x7d85f42e ]
    - [ be32, 0x00728cec, 0xedad0332 ]
    - [ be32, 0x00728cf0, 0x4e800020 ]
    # Yemen temple Dof Correction
    - [ be32, 0x0077b864, 0x4bfad491 ]
    - [ be32, 0x00728cf4, 0xc07d08dc ]
    - [ be32, 0x00728cf8, 0x801d07e8 ]
    - [ be32, 0x00728d00, 0x409c000c ]
    - [ be32, 0x00728d04, 0xc29e0068 ]
    - [ be32, 0x00728d08, 0xec630532 ]
    - [ be32, 0x00728d0c, 0x4e800020 ]

  uc3_110_mb: &uc3_110_mb
    - [ be32, 0x0077aacc, 0x480000c4 ] # Disable motion blur

  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = ??? (Tonemapping)
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  uc3_110_post: &uc3_110_post
    - [ be32, 0x0094d0b8, 0x39000003 ] # Post-processing modes  (mem address: 0x1376f77)

  uc3_110_mesh: &uc3_110_mesh
    - [ be32, 0x00747b0c, 0x980b0004 ] # Disable mesh trimming  (mem address: 0x12d5a70)

  # Many settings below are enabled/disabled in sub_AA9E6C. In this subroutine, // needs correction on subroutine
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  uc3_110_ssao: &uc3_110_ssao
    - [ be32, 0x0063e010, 0x60000000 ] # nop byte write on 00 57
    - [ be32, 0x0094d790, 0x9b830057 ] # Disable SSAO           (mem address: 0x1376fef)

  uc3_110_dof: &uc3_110_dof
    - [ be32, 0x0094d814, 0x9b83007a ] # Disable Depth of Field (mem address: 0x1377012)

  uc3_110_speed: &uc3_110_speed
    - [ be32, 0x0094d830, 0x9b830081 ] # Speedup (WCB)          (mem address: 0x1377019)

  uc3_110_dbv: &uc3_110_dbv
    - [ be32, 0x0094da9c, 0x9b6302f9 ] # Depth buffer viewport  (mem address: 0x1377291)

  uc3_110_dbf: &uc3_110_dbf
    - [ be32, 0x0094dadc, 0x9b83031d ] # Depth border fix       (mem address: 0x13772b5)

  uc3_110_db: &uc3_110_db
    - [ be32, 0x0063e00c, 0x60000000 ] # nop byte write on 03 ec
    - [ be32, 0x0094dae8, 0x90e303ec ] # Depth buffer = 2       (mem address: 0x1377387)

  uc3_119_FPS: &uc3_119_FPS
    - [ be32, 0x0096e980, 0x3b6000da ] # FPS
    - [ be32, 0x0096e97c, 0x48000040 ] # Unlock

  uc3_119_mlaa: &uc3_119_mlaa
    - [ be32, 0x0064df28, 0x60000000 ] # nop byte write on 00 9c
    - [ be16, 0x0096eaa0, 0x9b83 ]     # store 0
    - [ be32, 0x0073c214, 0x60000000 ] # mp crash fix (test)
    #- [ be32, 0x0073a1d8, 0x480009ac ] # unconditonally branch to disable MLAA
    # Beginning of new blooom code
    - [ be16, 0x0078c3aa, 0x1530 ]
    - [ byte, 0x0078c3cf, 0xb0 ]
    - [ byte, 0x0078c463, 0xb0 ]
    - [ be32, 0x0078c3c8, 0x4bfade15 ]
    - [ be32, 0x0073a1dc, 0xc1a907d4 ]
    - [ be32, 0x0073a1e0, 0x808907d8 ]
    # Desert storm
    - [ be32, 0x0073a1e4, 0x80beacec ]
    - [ be32, 0x0073a1e8, 0x7f842800 ]
    - [ be32, 0x0073a1ec, 0x409d0030 ]
    # Deflicker check
    - [ be32, 0x0073a1f0, 0x80be5774 ]
    - [ be32, 0x0073a1f4, 0x7f842800 ]
    - [ be32, 0x0073a1f8, 0x409d0018 ]
    # Yemen: Talbot chase
    - [ be32, 0x0073a1fc, 0x80be2a34 ]
    - [ be32, 0x0073a200, 0x7f842800 ]
    - [ be32, 0x0073a204, 0x409d0018 ]
    # Talbot multiplier 0.5
    - [ be32, 0x0073a208, 0x38a015f4 ]
    - [ be32, 0x0073a20c, 0x48000008 ]
    # Desert storm multiplier 0.04
    - [ be32, 0x0073a210, 0x38a01474 ]
    # Value correction
    - [ be32, 0x0073a214, 0x7d85f42e ]
    - [ be32, 0x0073a218, 0xedad0332 ]
    - [ be32, 0x0073a21c, 0x4e800020 ]
    # Yemen temple Dof Correction
    - [ be32, 0x0078be7c, 0x4bfae3a5 ]
    - [ be32, 0x0073a220, 0xc07d08dc ]
    - [ be32, 0x0073a224, 0x801d07e8 ]
    - [ be32, 0x0073a22c, 0x409c000c ]
    - [ be32, 0x0073a230, 0xc29e2998 ]
    - [ be32, 0x0073a234, 0xec630532 ]
    - [ be32, 0x0073a238, 0x4e800020 ]

  uc3_119_mb: &uc3_119_mb
    - [ be32, 0x0078b0e4, 0x480000c4 ] # Disable motion blur

  uc3_119_zcull: &uc3_119_zcull
    - [ be32, 0x0078c7d0, 0x3a800001 ] # Heat waves
    - [ byte, 0x0078c7f3, 0x00 ] # Disable broken blur effect

  # This patch cycles through various post-processing modes. Values accepted are:
  #    0 = None
  #    1 = Bloom
  #    2 = Depth of Field
  #    3 = ??? (Tonemapping)
  #    4 = Bloom & Depth of Field
  #    5 = Bloom & Depth of Field & Tonemapping (Default)

  uc3_119_post: &uc3_119_post
    - [ be32, 0x0096e308, 0x39000003 ] # Post-processing modes  (mem address: 0x1386547)

  uc3_119_mesh: &uc3_119_mesh
    - [ be32, 0x0075811c, 0x980b0004 ] # Disable mesh trimming  (mem address: 0x12e0df0)

  # Many settings below are enabled/disabled in sub_96E8CC. In this subroutine,
  #    r6  = 2
  #    r27 = 1
  #    r28 = 0
  # and these are stored into some memory blob to represent settings. Most values can be switched by just changing the
  # source register from one to the other, though some are words and some are bytes, so be careful.

  uc3_119_ssao: &uc3_119_ssao
    - [ be32, 0x0064df24, 0x60000000 ] # nop byte write on 00 57
    - [ be32, 0x0096e9e0, 0x9b830057 ] # Disable SSAO           (mem address: 0x13865bf)

  uc3_119_dof: &uc3_119_dof
    - [ be32, 0x0096ea64, 0x9b83007a ] # Disable Depth of Field (mem address: 0x13865e2)

  uc3_119_speed: &uc3_119_speed
    - [ be32, 0x0096ea80, 0x9b830081 ] # Speedup (WCB)          (mem address: 0x13865e9)

  uc3_119_dbv: &uc3_119_dbv
    - [ be32, 0x0096ecec, 0x9b6302f9 ] # Depth buffer viewport  (mem address: 0x1386861)

  uc3_119_dbf: &uc3_119_dbf
    - [ be32, 0x0096ed2c, 0x9b83031d ] # Depth border fix       (mem address: 0x1386885)

  uc3_119_db: &uc3_119_db
    - [ be32, 0x0064df20, 0x60000000 ] # nop byte write on 03 ec
    - [ be32, 0x0096ed38, 0x90e303ec ] # Depth buffer = 2       (mem address: 0x1386957)

  uc3_119_devmenu: &uc3_119_devmenu
    - [ be16, 0x00042814, 0x419e ]
    - [ byte, 0x00042837, 0x01 ]
    - [ be32, 0x0083028c, 0x60000000 ] # Don't pause on Select button
    - [ be32, 0x0095b720, 0x60000000 ] # Remove "!" model render
    - [ utf8, 0x010d8cf0, "galil-rifle            " ]
    - [ utf8, 0x010d8d08, "NO_ART_GROUP           " ]
    - [ utf8, 0x010d8d20, "uber-pistol            " ]
    - [ utf8, 0x010d8d38, "dig-explosive-pack     " ]
    - [ utf8, 0x010d8d50, "shotgun-sawedoff       " ]
    - [ utf8, 0x010d8d68, "m32-grenade-launcher   " ]
    - [ utf8, 0x010d8d80, "baseball-grenade       " ]
    - [ utf8, 0x010d8d98, "t62-tank-mg-turret     " ]
    - [ utf8, 0x010d8db0, "spas12-shotgun         " ]
    - [ utf8, 0x010d8dc8, "baseball-grenade       " ]
    - [ utf8, 0x010d8de0, "m32-grenade-launcher   " ]
    - [ utf8, 0x010d8df8, "semi-auto-rifle        " ]
    - [ utf8, 0x010d8e10, "baseball-grenade       " ]
    - [ utf8, 0x010d8e28, "shade-weapon           " ]
    - [ utf8, 0x010d8e40, "statue-puzzle-torch    " ]
    - [ utf8, 0x010d8e58, "temple-cistern-map-2   " ]
    - [ utf8, 0x010d8e70, "shade-weapon           " ]
    - [ utf8, 0x010d8e88, "beretta-silenced       " ]
    - [ utf8, 0x010d8ea0, "chloe-pistol           " ]
    - [ utf8, 0x010d8eb8, "baseball-grenade       " ]
    - [ utf8, 0x010d8ed0, "shotgun-pistol         " ]
    - [ utf8, 0x010d8ee8, "p99-pistol             " ]
    - [ utf8, 0x010d8f00, "temple-cistern-map     " ]
    - [ utf8, 0x010d8f18, "tkiv-sniper-rifle      " ]
    - [ utf8, 0x010d8f30, "stun-grenade           " ]
    - [ utf8, 0x010d8f48, "rpg                    " ]
    - [ utf8, 0x010d8f60, "ak-74-a                " ]
    - [ utf8, 0x010d8f78, "walther-p5             " ]
    - [ utf8, 0x010d8f90, "pkm-rifle              " ]
    - [ utf8, 0x010d8fa8, "heavy-gau19            " ]
    - [ utf8, 0x010d8fc0, "pirate-shield          " ]
    - [ utf8, 0x010d8fd8, "baseball-grenade       " ]
    - [ utf8, 0x010d8ff0, "dragunov-rifle         " ]
    - [ utf8, 0x010d9008, "NO_ART_GROUP           " ]
    - [ utf8, 0x010d9020, "NO_ART_GROUP           " ]
    - [ utf8, 0x010d9038, "sw629-revolver         " ]
    - [ utf8, 0x010d9050, "NO_ART_GROUP           " ]
    - [ utf8, 0x010d9068, "colt-defender-pistol   " ]
    - [ utf8, 0x010d9080, "ak-74-b                " ]
    - [ utf8, 0x010d9098, "sight-scope            " ]
    - [ utf8, 0x010d90b0, "t62-tank-mg-turret     " ]
    - [ utf8, 0x010d90c8, "shade-weapon           " ]
    - [ utf8, 0x010d90e0, "yt-cistern-map-rolled  " ]
    - [ utf8, 0x010d90f8, "machine-gun            " ]
    - [ utf8, 0x010d9110, "fn-fal-rifle           " ]
    - [ utf8, 0x010d9128, "hk416                  " ]
    - [ utf8, 0x010d9140, "mpa930                 " ]
    - [ utf8, 0x010d9158, "taurus-sniper-pistol   " ]
    - [ utf8, 0x010d9170, "beretta-burst-pistol   " ]
    - [ utf8, 0x010d9188, "NO_ART_GROUP           " ]
    - [ utf8, 0x010d91a0, "riot-shield-hvk        " ]
    - [ utf8, 0x010d91b8, "baseball-grenade       " ]
    - [ utf8, 0x010d91d0, "rpg_rocket             " ]
    - [ utf8, 0x010d91e8, "t62-tank-mg-turret     " ]
    - [ utf8, 0x010d9200, "t62-tank-mg-turret     " ]
    - [ utf8, 0x010d9218, "grenade-pistol         " ]
    - [ utf8, 0x010d9230, "t62-tank-mg-turret     " ]
    - [ utf8, 0x010d9248, "t62-tank-mg-turret     " ]
    - [ be32, 0x004de820, 0x39ce0018 ] #    addi       r14,r14,0x18
    - [ be32, 0x004de828, 0x488e3b21 ] #    bl         SUB_00dc2348
    - [ be32, 0x00dc2348, 0x3de0010d ] #    lis        r15,0x10d
    - [ be32, 0x00dc234c, 0x61ef8cd8 ] #    ori        r15,r15,0x8cd8
    - [ be32, 0x00dc2350, 0x7c8f7214 ] #    add        r4,r15,r14
    - [ be32, 0x00dc2354, 0x4e800020 ] #    blr
    # taskmgr
    # active task
    # text
    - [ be32, 0x00a082c8, 0x484001e0 ]
    - [ be32, 0x00e084a8, 0x3c60011d ]
    - [ be32, 0x00e084ac, 0x6063f410 ]
    - [ be32, 0x00e084b0, 0x4bbffe1c ]
    # drawing
    # todo: link with active task bool
    - [ be32, 0x00737ed0, 0x486d05f4 ]
    - [ be32, 0x00e084c4, 0x3ca0013b ]
    - [ be32, 0x00e084c8, 0x60a5e594 ]
    - [ be32, 0x00e084cc, 0x8bc50000 ]
    - [ be32, 0x00e084d0, 0x2f9e0001 ]
    - [ be32, 0x00e084d4, 0x419e003c ]
    - [ be32, 0x00e084d8, 0x3ca0011d ]
    - [ be32, 0x00e084dc, 0x60a5f3f8 ]
    - [ be32, 0x00e084e0, 0x7fdef278 ]
    - [ be32, 0x00e084e4, 0x3fc04248 ]
    - [ be32, 0x00e084e8, 0x93c50000 ]
    - [ be32, 0x00e084ec, 0x3fc04422 ]
    - [ be32, 0x00e084f0, 0x63de8000 ]
    - [ be32, 0x00e084f4, 0x93c50004 ]
    - [ be32, 0x00e084f8, 0xc0250000 ]
    - [ be32, 0x00e084fc, 0xc0450004 ]
    - [ be32, 0x00e08500, 0x38a0ffff ]
    - [ be32, 0x00e08504, 0x3cc0011d ]
    - [ be32, 0x00e08508, 0x60c6f410 ]
    - [ be32, 0x00e0850c, 0x4bb9de3d ]
    - [ be32, 0x00e08510, 0x4b92f9c4 ]

  uc3_119_devplus: &uc3_119_devplus
    - [ be16, 0x00d9ea48, 0x202b ] # _+
    - [ be32, 0x0112cb94, 0x01381d1e ] # base ptr
    - [ be32, 0x0112cb90, 0x00df5880 ] # str
    - [ be32, 0x0002f4c0, 0x38dc009f ] # vis
    - [ be32, 0x0112cb98, 0x00df5610 ] # str
    - [ be32, 0x0002f500, 0x38dc4acb ] # wireframe
    - [ be32, 0x0112cb9c, 0x00df5628 ] # str
    - [ be32, 0x0002f53c, 0x38dc4acc ] # see through
    - [ be32, 0x0112cba0, 0x00df5648 ] # str
    - [ be32, 0x0002f578, 0x38dc4acd ] # point
    - [ be32, 0x0112cba4, 0x00df7308 ] # str
    - [ be32, 0x0002f5b4, 0x38dc48e6 ] # post on spu
    - [ be32, 0x0112cba8, 0x00df6cf0 ] # str
    - [ be32, 0x0002f5f0, 0x38dc48c4 ] # dof
    - [ be32, 0x0112cbac, 0x00df6ed8 ] # str
    - [ be32, 0x0002f62c, 0x38dc48c1 ] # mb // overwrites itself
    - [ be32, 0x0112cbb0, 0x00da05c0 ] # str
    - [ be32, 0x0002f668, 0x38dc48f1 ] # red wireframe
    - [ be32, 0x0112cbb4, 0x00da05a8 ] # str
    - [ be32, 0x0002f6a4, 0x38dc48be ] # wireframe ball
    - [ be32, 0x0112cc74, 0x00da0590 ] # str
    - [ be32, 0x0112cc78, 0x011d0f90 ] # ptr show vox to Disable Death Zone
    - [ be32, 0x0112cc7c, 0x00da0530 ] # str
    - [ be32, 0x0112cc80, 0x0137f441 ] # ptr "Log Vox To SPU TTY" to Disable Death Collision
    - [ be32, 0x0112cc84, 0x00da0548 ] # str
    - [ be32, 0x0112cc88, 0x0120c5c0 ] # ptr "Include Rejected Vox" to Disable NPC Spawn
    - [ be32, 0x0112cc8c, 0x00da0570 ] # str
    - [ be32, 0x0112cc90, 0x01343f95 ] # ptr "Log Vox Lookups to TTY" to Make Invulnerable
    - [ be32, 0x0112cc64, 0x01343f84 ] # ptr
    - [ be32, 0x0112cc68, 0x00da05e0 ]
  # Disable Death Collision
    - [ be64, 0x00da0530, 0x44697361626c6520 ]
    - [ be64, 0x00da0538, 0x446561746820436f ]
    - [ be64, 0x00da053f, 0x6c6c6973696f6e00 ]
  # Disallow Npcs from Spawning
    - [ be64, 0x00da0548, 0x446973616c6c6f77 ]
    - [ be64, 0x00da0550, 0x204e706373206672 ]
    - [ be64, 0x00da0558, 0x6f6d20537061776e ]
    - [ be32, 0x00da0560, 0x696e6700 ]
  # Make Invulnerable
    - [ be64, 0x00da0570, 0x4d616b6520496e76 ]
    - [ be64, 0x00da0578, 0x756c6e657261626c ]
    - [ be16, 0x00da0580, 0x6500 ]
  # Enable Death Zone
    - [ be64, 0x00da0590, 0x456e61626c652044 ]
    - [ be64, 0x00da0598, 0x65617468205a6f6e ]
    - [ be16, 0x00da05a0, 0x6500 ]
  # Enable Wireframe Balls
    - [ be64, 0x00da05a8, 0x456e61626c652057 ]
    - [ be64, 0x00da05b0, 0x6972656672616d65 ]
    - [ be64, 0x00da05b8, 0x2042616c6c730000 ]
  # Enable Red Wireframe
    - [ be64, 0x00da05c0, 0x456e61626c652052 ]
    - [ be64, 0x00da05c8, 0x6564205769726566 ]
    - [ be32, 0x00da05d0, 0x72616d65 ]
  # NPC Model Scale
    - [ be64, 0x00da05e0, 0x4e5043204d6f6465 ]
    - [ be64, 0x00da05e8, 0x6c205363616c6500 ]

  uc3_119_lanmode: &uc3_119_lanmode
    - [ be32, 0x00a6308c, 0x48371e19 ]
    - [ be64, 0x00dd4d58, 0x000009298aab4a4b ]
    - [ be32, 0x00dd4ea4, 0x81c90320 ]
    - [ be32, 0x00dd4ea8, 0x2c8e0000 ]
    - [ be32, 0x00dd4eac, 0x4086002c ]
    - [ be32, 0x00dd4eb0, 0x3e0000dd ]
    - [ be32, 0x00dd4eb4, 0x62104d58 ]
    - [ be32, 0x00dd4eb8, 0x3de0011e ]
    - [ be32, 0x00dd4ebc, 0x61ef3ba4 ]
    - [ be32, 0x00dd4ec0, 0xea300000 ]
    - [ be32, 0x00dd4ec4, 0x1e510008 ]
    - [ be32, 0x00dd4ec8, 0xfa4f0000 ]
    - [ be32, 0x00dd4ecc, 0x3a800001 ]
    - [ be32, 0x00dd4ed0, 0x92890320 ]
    - [ be32, 0x00dd4ed4, 0x9aaf0008 ]
    - [ be32, 0x00dd4ed8, 0xea6f0000 ]
    - [ be32, 0x00dd4edc, 0x7eb29800 ]
    - [ be32, 0x00dd4ee0, 0x4196000c ]
    - [ be32, 0x00dd4ee4, 0x4bf993c5 ]
    - [ be32, 0x00dd4ee8, 0x92840000 ]
    - [ be32, 0x00dd4eec, 0x88090078 ]
    - [ be32, 0x00dd4ef0, 0x4e800020 ]

  UC3_SC_Configurable_Values: &UC3_SC_Configurable_Values
    "Screen Type":
      Type: double_enum
      Value: &Horizontal 0.0000000000000000000000000000000000002
      Allowed Values:
        "Horizontal Screen": *Horizontal
        "Vertical Screen": 0.0000000000000000000000000000000000004

  uc3_fps_notes: &uc3_fps_notes
    "Haven't tested how this affects cutscenes."

  uc3_debugmenu_notes: &uc3_debugmenu_notes
    "L3 + Start = Dev Menu\nL3 + Select = Quick Menu\nL3 + Triangle = Debug Text\nL2 + R2 = Debug Fly"

  uc3_mlaa_notes: &uc3_mlaa_notes
    "Allows for the use of Resolution Scaling in the title and improves performance.\nVersion 2.0 Fixes high levels of bloom in some areas. (1.10 and 1.19 Only)\nVersion 3.0 Fixes Crash in some multiplayer levels. (1.19 Only)"

  uc3_wcbperformance_notes: &uc3_wcbperformance_notes
    "Enable this patch if you are using \"Write Color Buffers\" to restore performance."

  uc3_gpulighting_notes: &uc3_gpulighting_notes
    "Uses GPU (RSX) path for lighting effects instead of SPU.\nFixes rendering of lighting effects that are broken via SPU path and greatly improves performance over it.\nThis path is incomplete and results in some missing effects such as Volumetric lighting."

  uc3_camshake_notes: &uc3_camshake_notes
    "Disables Camera Shake during gameplay.\nIn-Game-Cinematics are unaffected."

  uc3_zcull_notes: &uc3_zcull_notes
    "Enables rendering of Heat Wave effect under Approximate ZCull, normally works with Precise ZCull only, but Precise ZCull has a big speed impact"

  uc3_coop_sp_notes: &uc3_coop_sp_notes
    "Issues are expected!\nEnable Debug Menu patch and while in-game, open Quick Menu, and select Player 2.\nKnown Issues:\nPlayer 2 doesn't have a playermodel.\nPlayer 2 cannot move in some levels."

  uc3_119title: &uc3_119title
    "Uncharted 3: Drake's Deception":
      BCES01175: [ 01.19 ]
      BCES01176: [ 01.19 ]
      BCES01670: [ 01.19 ]
      BCES01692: [ 01.19 ]
      BCUS98233: [ 01.19 ]
      BCJS37004: [ 02.17 ]
      NPEA00422: [ 01.19 ]
      NPUA80858: [ 01.19 ]
      BCUS99086: [ 01.19 ]
      BCAS25014: [ 01.19 ]
      BCAS25009: [ 01.19 ]

  uc3_110title: &uc3_110title
    "Uncharted 3: Drake's Deception":
      BCES01670: [ 01.10 ]
      BCAS25014: [ 01.10 ]

  uc3_100title: &uc3_100title
    "Uncharted 3: Drake's Deception":
      BCES01175: [ 01.00 ]
      BCES01176: [ 01.00 ]
      BCES01692: [ 01.00 ]
      BCUS98233: [ 01.00 ]

  uc3beta100_title: &uc3beta100_title
    "Uncharted 3: Drake's Deception Multiplayer Beta":
      NPUA70153: [ 01.00 ]
      NPHA80158: [ 01.00 ]
      BCET70034: [ 01.00 ]

  uc3beta104_title: &uc3beta104_title
    "Uncharted 3: Drake's Deception Multiplayer Beta":
      NPUA70153: [ 01.04 ]
      NPHA80158: [ 01.04 ]
      BCET70034: [ 01.04 ]

  uc3_subway_EU: &uc3_subway_EU
    "Uncharted 3: Drake's Deception Multiplayer":
      BCET70043: [ 01.00 ]

  uc3_subway_US: &uc3_subway_US
    "Uncharted 3: Drake's Deception Subway":
      NPUA70180: [ 01.00 ]

  uc3_kioskdemo: &uc3_kioskdemo
    "Uncharted 3: Drake's Deception Demo":
      NPUA70183: [ 01.00 ]

  uc3_USpreview: &uc3_USpreview
    "Uncharted 3: Drake's Deception Preview":
      BCUS98233: [ 01.00 ]

PPU-49c96996b6f3c0b32422375978c41e0c7ed95183:
  "Unlock FPS":
    Games: *uc3_100title
    Author: "superepic31"
    Notes: *uc3_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_FPS ]
  "Disable in-built MLAA":
    Games: *uc3_100title
    Author: "Whatcookie"
    Notes: *uc3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_mlaa ]
  "Post-processing Modes":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_post ]
  "Disable Mesh Trimming":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_mesh ]
  "Disable SSAO":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_ssao ]
  "Disable Depth of Field":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_dof ]
  "Performance (WCB)":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_speed ]
  "Depth Buffer Viewport":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_dbv ]
  "Depth Border Fix":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_dbf ]
  "Enable GPU Lighting":
    Games: *uc3_100title
    Author: "ZEROx, illusion"
    Notes: *uc3_gpulighting_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_db ]
  "Disable Camera Shake":
    Games: *uc3_100title
    Author: "illusion"
    Notes: *uc3_camshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00806c88, 0x3800 ]
  "Debug Menu":
    Games: *uc3_100title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00041e34, 0x419e ]

PPU-48fa849dfeaef2f36ec042a576f29bda19ec1de0:
  "Disable in-built MLAA":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *uc3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_mlaa ]
  "Post-processing Modes":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_post ]
  "Disable Mesh Trimming":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_mesh ]
  "Disable SSAO":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_ssao ]
  "Disable Depth of Field":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_dof ]
  "Performance (WCB)":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_speed ]
  "Depth Buffer Viewport":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_dbv ]
  "Depth Border Fix":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_dbf ]
  "Enable GPU Lighting":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *uc3_gpulighting_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_db ]
  "Debug Menu":
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00041e34, 0x419e ]

PPU-664fb0e4a94c62c15a6474841c202fb2bf80ce16:
  "Disable in-built MLAA":
    Games: *uc3_110title
    Author: "Whatcookie, ZEROx"
    Notes: *uc3_mlaa_notes
    Patch Version: 2.0
    Patch:
      - [ load, *uc3_110_mlaa ]
  "Disable Motion Blur":
    Games: *uc3_110title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_mb ]
  "Disable Bloom":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_post ]
  "Disable Mesh Trimming":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_mesh ]
  "Disable SSAO":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_ssao ]
  "Disable Depth of Field":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dof ]
  "Performance (WCB)":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_speed ]
  "Depth Buffer Viewport":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dbv ]
  "Depth Border Fix":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dbf ]
  "Enable GPU Lighting":
    Games: *uc3_110title
    Author: "ZEROx, illusion"
    Notes: *uc3_gpulighting_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_db ]
  "Disable Camera Shake":
    Games: *uc3_110title
    Author: "illusion"
    Notes: *uc3_camshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00812b44, 0x3800 ]
  "Debug Menu":
    Games: *uc3_110title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00042624, 0x419e ]

PPU-02a88c3c6cd415b0bb81f1606bc743835881a4ba:
  "Unlock FPS":
    Games: *uc3_119title
    Author: "superepic31"
    Notes: *uc3_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_FPS ]
  "Disable in-built MLAA":
    Games: *uc3_119title
    Author: "Whatcookie, ZEROx, illusion"
    Notes: *uc3_mlaa_notes
    Patch Version: 3.0
    Patch:
      - [ load, *uc3_119_mlaa ]
  "Disable Motion Blur":
    Games: *uc3_119title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_mb ]
  "Disable Bloom":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_post ]
  "Disable Mesh Trimming":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_mesh ]
  "Disable SSAO":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_ssao ]
  "Disable Depth of Field":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_dof ]
  "Performance (WCB)":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_speed ]
  "Heat waves Approximate ZCull fix":
    Games: *uc3_119title
    Author: "ZEROx"
    Notes: *uc3_zcull_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_zcull ]
  "Depth Buffer Viewport":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_dbv ]
  "Depth Border Fix":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_dbf ]
  "Enable GPU Lighting":
    Games: *uc3_119title
    Author: "ZEROx, illusion"
    Notes: *uc3_gpulighting_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_db ]
  "Debug Menu":
    Games: *uc3_119title
    Author: "dron_3, HdHereidme, illusion, ZEROx, Skye"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_devmenu ]
  "Dev Menu Plus":
    Games: *uc3_119title
    Author: "illusion, Skye"
    Notes: "Replaces audio options with various debug features."
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_devplus ]
  "Disable Camera Shake":
    Games: *uc3_119title
    Author: "illusion"
    Notes: *uc3_camshake_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x008242cc, 0x3800 ]
  "Enable LAN Mode":
    Games: *uc3_119title
    Author: "illusion, ZEROx, Skye"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_lanmode ]
  "Skip Intro":
    Games: *uc3_119title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00043e2c, 0x480000dc ]
  "DEBUG: Replace Task With Test Tasks":
    Games: *uc3_119title
    Author: "illusion, icemesh" # SID Utils
    Notes: "Only enable this patch if you know what you are doing!!"
    Patch Version: 1.0
    Patch:
      # *test-task-graph*
      - [ be32, 0x00a0d014, 0x3c80f0f3 ]
      - [ be32, 0x00a0d01c, 0x6084d6c8 ]
      - [ be32, 0x00a0b2c4, 0x3ca0f0f3 ]
      - [ be32, 0x00a0b2cc, 0x60a5d6c8 ]
      - [ be16, 0x0004417c, 0x4800 ]
      # test-tasks begin!!
      # SID("tasks") -> SID("test-tasks") // under debug group
      - [ be32, 0x009d0e84, 0x48421188 ]
      - [ be32, 0x00df200c, 0x81490000 ]
      - [ be32, 0x00df2010, 0x3d006772 ]
      - [ be32, 0x00df2014, 0x61083261 ]
      - [ be32, 0x00df2018, 0x7f885000 ]
      - [ be32, 0x00df201c, 0x409e0014 ]
      - [ be32, 0x00df2020, 0x3d002203 ]
      - [ be32, 0x00df2024, 0x6108c98c ]
      - [ be32, 0x00df2028, 0x91090000 ]
      - [ be32, 0x00df202c, 0x7d284b78 ]
      - [ be32, 0x00df2030, 0x81490000 ]
      - [ be32, 0x00df2034, 0x4bbdee54 ]
  "Infinite Health":
    Games: *uc3_119title
    Author: "CodeUnique3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00479cd8, 0x60000000 ]
  "Infinite Ammo":
    Games: *uc3_119title
    Author: "CodeUnique3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006e4284, 0x60000000 ]
  "Single-Player Split-Screen":
    Games: *uc3_119title
    Author: "HdHereidme, FlexBy"
    Notes: *uc3_coop_sp_notes
    Configurable Values: *UC3_SC_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0096e788, 0x60000000 ]
      - [ be32, 0x0096e958, 0x60000000 ]
      - [ bef32, 0x01386573, "Screen Type" ] # 1 = normal screen # 2 = horizontal screen # 3 = vertical screen # 4 = normal screen # 5 = 3d screen

PPU-e63051dc8ec0f9256f047f62a6abd0e955805419:
  "Bug Fix: Crash on Entering LAN MP Menu":
    Games: *uc3beta100_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0003e6c3, 0x00 ]
  "Disable Uncharted TV":
    Games: *uc3beta100_title
    Author: "illusion"
    Notes: "Fixes significant slowdown because the video is no longer hosted on the server."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00700f42, 0x0000 ] # ret 0
      - [ be16, 0x00700f50, 0x4800 ] # don't spawn video threads
  "Disable Camera Sprint":
    Games: *uc3beta100_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0019e450, 0x98c30178 ]
  "Unlock Main Menu":
    Games: *uc3beta100_title
    Author: "illusion, ZEROx, Skye"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be64, 0x00cea3d0, 0x000009298aab4a4b ]
      - [ be32, 0x007f8fc4, 0x484f131d ]
      - [ be32, 0x00cea2e0, 0x81c90320 ]
      - [ be32, 0x00cea2e4, 0x2c8e0000 ]
      - [ be32, 0x00cea2e8, 0x4086002c ]
      - [ be32, 0x00cea2ec, 0x3e0000ce ]
      - [ be32, 0x00cea2f0, 0x621041c0 ]
      - [ be32, 0x00cea2f4, 0x3de0010e ]
      - [ be32, 0x00cea2f8, 0x61ef319c ]
      - [ be32, 0x00cea2fc, 0xea306210 ]
      - [ be32, 0x00cea300, 0x1e510008 ]
      - [ be32, 0x00cea304, 0xfa4f6f8c ]
      - [ be32, 0x00cea308, 0x3a800001 ]
      - [ be32, 0x00cea30c, 0x92890320 ]
      - [ be32, 0x00cea310, 0x9aaf6f94 ]
      - [ be32, 0x00cea314, 0xea6f6f8c ]
      - [ be32, 0x00cea318, 0x7eb29800 ]
      - [ be32, 0x00cea31c, 0x4196000c ]
      - [ be32, 0x00cea320, 0x4bf993c5 ]
      - [ be32, 0x00cea324, 0x92840000 ]
      - [ be32, 0x00cea328, 0x88090078 ]
      - [ be32, 0x00cea32c, 0x4e800020 ]

PPU-9584776e7fca409ed410f8a713832267020d8ac3:
  "Bug Fix: Crash on Entering LAN MP Menu":
    Games: *uc3beta104_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0003e563, 0x00 ]
  "Disable Uncharted TV":
    Games: *uc3beta104_title
    Author: "illusion"
    Notes: "Fixes crash after entering MP menu due to offline video streaming API."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0070194e, 0x0000 ] # ret 0
      - [ be16, 0x0070195c, 0x4800 ] # don't spawn video threads
  "Disable Sprint Camera":
    Games: *uc3beta104_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0019e300, 0x98c30178 ]
  "Disable Camera Shake":
    Games: *uc3beta104_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0076e440, 0x38000001 ]
  "Unlock Main Menu":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be64, 0x00d1e414, 0x000009298aab4a4b ]
      - [ be32, 0x007f9f20, 0x4852449d ] #     bl         SUB_00d1e3bc
      - [ be32, 0x00d1e3bc, 0x81c90320 ] #     lwz        r14,0x320(r9)
      - [ be32, 0x00d1e3c0, 0x2c8e0000 ] #     cmpwi      cr1,r14,0x0
      - [ be32, 0x00d1e3c4, 0x4086002c ] #     bne        cr1,LAB_00d1e3f0
      - [ be32, 0x00d1e3c8, 0x3e0000d1 ] #     lis        r16,0xd1
      - [ be32, 0x00d1e3cc, 0x6210e40c ] #     ori        r16,r16,0xe40c
      - [ be32, 0x00d1e3d0, 0x3de00110 ] #     lis        r15,0x110
      - [ be32, 0x00d1e3d4, 0x61efb828 ] #     ori        r15,r15,0xb828
      - [ be32, 0x00d1e3d8, 0xea300008 ] #     ld         r17,0x8(r16)=>DAT_00d1e414
      - [ be32, 0x00d1e3dc, 0x1e510008 ] #     mulli      r18,r17,0x8
      - [ be32, 0x00d1e3e0, 0xfa4f0000 ] #     std        r18,0x0(r15)=>LAB_0011b828
      - [ be32, 0x00d1e3e4, 0x3a800001 ] #     li         r20,0x1
      - [ be32, 0x00d1e3e8, 0x92890320 ] #     stw        r20,0x320(r9)
      - [ be32, 0x00d1e3ec, 0x9aaf0008 ] #     stb        r21,0x8(r15)=>LAB_0011b830
      - [ be32, 0x00d1e3f0, 0xea6f0000 ] #     ld         r19,0x0(r15)=>LAB_0011b828
      - [ be32, 0x00d1e3f4, 0x7eb29800 ] #     cmpd       cr5,r18,r19
      - [ be32, 0x00d1e3f8, 0x4196000c ] #     beq        cr5,LAB_00d1e404
      - [ be32, 0x00d1e3fc, 0x4bf993b5 ] #     bl         FUN_00cb77b0
      - [ be32, 0x00d1e400, 0x92840000 ] #     stw        r20,0x0(r4)
      - [ be32, 0x00d1e404, 0x88090078 ] #     lbz        r0,0x78(r9)
      - [ be32, 0x00d1e408, 0x4e800020 ] #     blr
  "Disable Post on SPU":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes: "Slight overbloom in some areas. Needs correction."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00897644, 0x9b43 ] # post on spu         = 0
  "Disable Motion Blur":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x008975f8, 0x9b43 ] # mb                  = 0
  "Disable Mesh Trimming":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x006b1cc0, 0x9949 ] # mesh trim           = 0
  "Disable SSAO":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00897578, 0x9b43 ] # ssao                = 0
  "Disable Depth of Field":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00897604, 0x9b43 ] # dof                 = 0
  "Performance (WCB)":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00897620, 0x9b83 ] # reload depth buffer = 0
  "Depth Buffer Viewport":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00897880, 0x9b63 ] # depth viewport      = 1
  "Depth Border Fix":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x008978c0, 0x9b83 ] # depth border        = 0
  "Enable GPU Lighting":
    Games: *uc3beta104_title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x008978cc, 0x9103 ] # spu lighting        = 2

PPU-40958bda5885891f0a4eb69f2c87ed4942dfa5e7:
  "Enable GPU Lighting":
    Games: *uc3_kioskdemo
    Author: "illusion, ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093ac18, 0x90e303ec ]
  "Disable in-built MLAA":
    Games: *uc3_kioskdemo
    Author: "Whatcookie, ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0093a980, 0x9b83 ]
  "Unlock FPS":
    Games: *uc3_kioskdemo
    Author: "superepic31, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a85c, 0x48000040 ]
      - [ be32, 0x0093a860, 0x3b6000da ]
  "Depth Buffer Viewport":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093abcc, 0x9b6302f9 ]
  "Depth Border Fix":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093ac0c, 0x9b83031d ]
  "Performance (WCB)":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a960, 0x9b830081 ]
  "Disable Bloom":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a1e8, 0x39000003 ]
  "Disable Depth of Field":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a944, 0x9b83007a ]
  "Disable SSAO":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a8c0, 0x9b830057 ]
  "Disable Motion Blur":
    Games: *uc3_kioskdemo
    Author: "ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007719ec, 0x480000c4 ]
  "Disable Mesh Trimming":
    Games: *uc3_kioskdemo
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0073ea7c, 0x980b0004 ]
  "Debug Menu":
    Games: *uc3_kioskdemo
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0072f5c0, 0x38000001 ]
      - [ be32, 0x0072f5c4, 0x980b2163 ]

PPU-f986a163b81248b801709f0c5bb427c090b40dc7:
  "Debug Menu":
    Games: *uc3_subway_EU
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007312bc, 0x38000001 ]
      - [ be32, 0x007312c0, 0x980b2163 ]

PPU-50ce7f4553ace724111440a399b02cbfd045a2b1:
  "Debug Menu":
    Games: *uc3_subway_US
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007313e0, 0x38000001 ]
      - [ be32, 0x007313e4, 0x980b2163 ]

PPU-0ff0b00602e5ffc67f32ab69840bbb2c7df735fe:
  "Debug Menu":
    Games: *uc3_USpreview
    Author: "dron_3, HdHereidme, FlexBy"
    Notes: *uc3_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0072ee5c, 0x38000001 ]
      - [ be32, 0x0072ee60, 0x980b2163 ]
  "Enable GPU Lighting":
    Games: *uc3_USpreview
    Author: "illusion, ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a8c4, 0x90e303ec ]
  "Disable in-built MLAA":
    Games: *uc3_USpreview
    Author: "Whatcookie, ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0093a62c, 0x9b83 ]
  "Unlock FPS":
    Games: *uc3_USpreview
    Author: "superepic31, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a508, 0x48000040 ]
      - [ be32, 0x0093a50c, 0x3b6000da ]
  "Depth Buffer Viewport":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a878, 0x9b6302f9 ]
  "Depth Border Fix":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a8b8, 0x9b83031d ]
  "Performance (WCB)":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes: *uc3_wcbperformance_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a60c, 0x9b830081 ]
  "Disable Bloom":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00939e94, 0x39000003 ]
  "Disable Depth of Field":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a5f0, 0x9b83007a ]
  "Disable SSAO":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0093a56c, 0x9b830057 ]
  "Disable Motion Blur":
    Games: *uc3_USpreview
    Author: "ZEROx, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00771284, 0x480000c4 ]
  "Disable Mesh Trimming":
    Games: *uc3_USpreview
    Author: "ZEROx, illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0073e318, 0x980b0004 ]

Anchors:
  gt5_v211_fps: &gt5_v211_fps
    - [ byte, 0x00185457, 0x00 ] # Unlock FPS ingame
    - [ byte, 0x00185463, 0x00 ] # Unlock FPS ingame
    #- [ be32, 0x0085f804, 0x38800000 ] # Unlock FPS in menu

  gt5_v217_fps: &gt5_v217_fps
    - [ byte, 0x001855cb, 0x00 ] # Unlock FPS ingame
    - [ byte, 0x001855d7, 0x00 ] # Unlock FPS ingame
    #- [ be32, 0x00861948, 0x38800000 ] # Unlock FPS in menu

  gt5_unlockfps_notes: &gt5_unlockfps_notes
    "Cutscenes rendered in the game's engine are sped up."

  GT5_AR_Notes: &GT5_AR_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. HUD elements stay at 16:9. Sometimes text doesn't show up."
  GT5_AR_Configurable_values: &GT5_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-5eb226d8430cf943cca1344fcf0c76db15aaaeb7:
  "Extended FOV":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 01.00 ]
    Author: "illusion"
    Notes: "Global FOV setting."
    Configurable Values:
      "FOV":
        Type: double_range
        Value: 0.75
        Min: 0.1
        Max: 1
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x018eff34, "FOV" ]
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 01.00 ] # may work for us ver, idk
    Author: "illusion"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008cffb4, 0x38800000 ]

PPU-9216b03cf8f4ff27a57ff44ede2bc43a9d3087c0:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 01.12 ] # may work for us ver, idk
    Author: "illusion"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a0f640, 0x38800000 ] # 1.12 eboot (1.13 doesn't have elf)

PPU-ef552ab6594271862d9c6ab62e982c92380ad6cd:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCUS98114: [ 01.13 ] # it works for us version
    Author: "illusion"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a0f640, 0x38800000 ] # 1.12 eboot (1.13 doesn't have elf)

PPU-d73f342bf28ee016ef3d0ccb309b1acb03d8ecce:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCUS98114: [ 02.11 ]
    Author: "ZEROx"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt5_v211_fps ]
  "Aspect Ratio":
    Games:
      "Gran Turismo 5":
        BCUS98114: [ 02.11 ]
    Author: "Shy_Doge"
    Configurable Values: *GT5_AR_Configurable_Values
    Notes: *GT5_AR_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x014941d0, "Aspect Ratio" ]
      - [ bef32, 0x0148ef40, "Aspect Ratio" ]
  "irekej Custom Server":
    Games:
      "Gran Turismo 5":
        BCUS98114: [ 02.11 ]
    Author: "FlexBy"
    Notes:
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013dec30, "http://54.37.232.59\0" ] # https://gt5.ps3.online.us.gran-turismo.com

PPU-7a5ee7bc2fef9566dd80e35893fe2c5571197726:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 02.11 ]
    Author: "ZEROx"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt5_v211_fps ]
  "Allow Running Unpacked":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 02.11 ]
    Author: "Nenkai"
    Notes: "Allows running the game unpacked for modding purposes.\nRequires extracted game files in 'USRDIR/direct' as GT.VOL then PDIPFS contents on-top."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000120a0, 0x386004a0 ] # Adjust sizeof(PDIPS3::FileDevicePFSGameData) to sizeof(PDIPS3::FileDeviceCellFS) for new
      - [ be32, 0x000120d8, 0x3888e308 ] # Adjust parameters PDIPS3::FileDeviceGameData(device, param1, param2, param3)
      - [ be32, 0x000120dc, 0x38a8e330 ] # Change pointer to a vtable name
      - [ be32, 0x000120e0, 0x7d064378 ] # Change pointer to a vtable name
      - [ be32, 0x00a73160, 0x48004ed5 ] # Rectify pointer offset to device list field
      - [ be32, 0x00a7316c, 0x941d0498 ] # Change PDIPS3::FileDevicePFSGameData device to PDIPS3::FileDeviceCellFS
      - [ utf8, 0x013dde10, /dev_hdd0\0 ] # param_1
      - [ be16, 0x013dde19, 0x0000 ] # Null terminate
      - [ utf8, 0x013dde38, /game/BCES00569/USRDIR/direct ] # param_2
      - [ be16, 0x013dde55, 0x0000 ] # Null terminate
  "Aspect Ratio":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 02.11 ]
    Author: "Shy_Doge, FlexBy"
    Configurable Values: *GT5_AR_Configurable_Values
    Notes: *GT5_AR_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x01494170, "Aspect Ratio" ]
      - [ bef32, 0x0148eee0, "Aspect Ratio" ]
  "irekej Custom Server":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 02.11 ]
    Author: "FlexBy"
    Notes:
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013debb0, "http://54.37.232.59\0" ] # https://gt5.ps3.online.uk.gran-turismo.com

PPU-223cc85fc80a6667fae775c7c02f7f65e6b2871f:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCES00569: [ 02.17 ]
    Author: "ZEROx"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt5_v217_fps ]

PPU-a5e547ce3ce25092ac6cae85631f50ba5d9ea914:
  "Unlock FPS":
    Games:
      "Gran Turismo 5":
        BCUS98114: [ 02.17 ]
    Author: "ZEROx"
    Notes: *gt5_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt5_v217_fps ]

Anchors:
  gt6_devlop_122: &gt6_devlop_122
    - [ be32, 0x0081715c, 0x38600001 ]
  gt6_devlop_notes: &gt6_devlop_notes
    "Press Select+R1 to activate in main menu."

PPU-6ac472e1f334f54ec4753cde9e8e1515bfab4d17:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        BCUS98296: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]

PPU-638ef307e2b35d593f599efec0dc0c37059a984b:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        BCES01893: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]
  "irekej Custom Server":
    Games:
      "Gran Turismo 6":
        BCES01893: [ 01.22 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x0163ef98, "http://5.61.32.177\0" ] # https://gt6.ps3.online.sce%c.gran-turismo.com

PPU-80f0d67b29d3d17ac885a309a3fc4cd8dcf50658:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        NPEA00502: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]

PPU-4213aba5ed17f7e3cd3f299fa44d9d9acef0ba18:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        NPUA81049: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]

PPU-6a7de7fdfd7e7cbd1031bf28a7104b29c308136c:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        NPHA80269: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]

PPU-43e618448eed82aa96856338d072f1e4978c36a8:
  "Develop Settings":
    Games:
      "Gran Turismo 6":
        NPJA00113: [ 01.22 ]
    Author: "Nenkai (OpenAdhoc), illusion"
    Notes: *gt6_devlop_notes
    Patch Version: 1.0
    Patch:
      - [ load, *gt6_devlop_122 ]

Anchors:
  gthd_ar_notes: &gthd_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings."

  gthd_fov_notes: &gthd_fov_notes
    "Might work with other versions with adjustments."
  gthd_fov_configurable_values: &gthd_fov_configurable_values
    "FOV":
      Type: double_range
      Value: 0.75
      Min: 0.1
      Max: 1

  gthd_nohud_notes: &gthd_nohud_notes
    "Disables in-game HUD. Needs further testing."

PPU-57abea58cae339a0ef9ed99374a0fe7f48b2f72d:
  "21:9 Aspect Ratio":
    Games:
      "Gran Turismo HD Concept":
        NPUA80019: [ All ]
    Author: "illusion"
    Notes: *gthd_ar_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x009bad04, 1.17 ]
  "Extended FOV":
    Games:
      "Gran Turismo HD Concept":
        NPUA80019: [ All ]
    Author: "illusion"
    Notes: *gthd_fov_notes
    Configurable Values: *gthd_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x009bccd4, "FOV" ]
  "No HUD":
    Games:
      "Gran Turismo HD Concept":
        NPUA80019: [ All ]
    Author: "illusion"
    Notes: *gthd_nohud_notes
    Patch Version: 1.0
    Patch:
      #- [ be32, 0x009c3488, 0x00000001 ] # Menu HUD scale (never use this)
      - [ be32, 0x009ba544, 0x00000000 ]

PPU-ad3a1ecff65a78f9a8380ff4f12960f499604bf4:
  "21:9 Aspect Ratio":
    Games:
      "Gran Turismo HD Concept":
        NPEA90002: [ All ]
    Author: "Margen67"
    Notes: *gthd_ar_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x009bad3c, 1.17 ]
  "Extended FOV":
    Games:
      "Gran Turismo HD Concept":
        NPEA90002: [ All ]
    Author: "illusion"
    Notes: *gthd_fov_notes
    Configurable Values: *gthd_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x009bcd0c, "FOV" ]
  "No HUD":
    Games:
      "Gran Turismo HD Concept":
        NPEA90002: [ All ]
    Author: "illusion"
    Notes: *gthd_nohud_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x009ba57c, 0x00000000 ]
      #- [ be32, 0x009c34c8, 0x00000001 ] # Menu HUD scale, never use this

PPU-faf46906b362bc8d484de5b91f593bef2e5e0110:
  "Unlock FPS":
    Games:
      "Worms Ultimate Mayhem":
        NPEB00505: [ 01.01 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000f6364, 0x60000000 ]

Anchors:
  lbp_130title: &lbp_130title
    "LittleBigPlanet":
      BCES00141: [ 01.30 ]
      BCES00611: [ 01.30 ]
      BCUS98148: [ 01.30 ]
      BCUS98208: [ 01.30 ]
      BCJS30018: [ 01.30 ]
      BCAS20058: [ 01.30 ]
      BCAS20078: [ 01.30 ]
      NPEA00241: [ 01.30 ]
      NPUA80472: [ 01.30 ]
      NPJA00052: [ 01.30 ]
  
  # Common digest key for servers implementing AutoDiscover's `usesCustomDigestKey` flag
  # Ref: https://docs.littlebigrefresh.com/autodiscover-api#version-2
  lbp_custom_digest: &lbp_custom_digest
    "CustomServerDigest"

  lbp_server_url_beacon: &lbp_server_url_beacon
    "http://lighthouse.lbpunion.com/LITTLEBIGPLANETPS3_XML\0"

  lbp_server_url_infinite: &lbp_server_url_infinite
    "http://lnfinite.site/LITTLEBIGPLANETPS3_XML\0"

  lbp_server_url_lbr: &lbp_server_url_lbr
    "http://lbp.littlebigrefresh.com:2095/lbp\0"

  lbp_ar_notes: &lbp_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings."
  lbp_ar_configurable_values: &lbp_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-545c1abbf1c562d60fca7435401f020beab76b53:
  "Create Mode":
    Games: *lbp_130title
    Author: "Zhaxxy, Aphelion"
    Notes: "Enables create mode permanently in all levels until deactivated."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0001877c, 0x38e00001 ]
  "Beacon Custom Server":
    Games: *lbp_130title
    Author: "uh wot"
    Notes: "Patches server URL to point to Beacon, a custom server instance run by LBP Union."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00767c40, *lbp_server_url_beacon ] # https server url
      - [ utf8, 0x00767cf8, *lbp_server_url_beacon ] # http server url
  "Infinite Custom Server":
    Games: *lbp_130title
    Author: "Toyo, uh wot"
    Notes: "Patches server URL to point to Infinite, a custom server run by the Infinite Team.\nCreate an account here: https://lnfinite.site/register \n(The first letter is a lowercase L, not a capital i)\n\nIf you have any crashes or connection issues, restart the game in RPCS3 after authentication.\n\nThanks to @uh wot for locating the addresses."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00767c40, *lbp_server_url_infinite ] # https server url
      - [ utf8, 0x00767cf8, *lbp_server_url_infinite ] # http server url
  "LittleBigRefresh Custom Server":
    Games: *lbp_130title
    Author: "uh wot"
    Notes: "Connect to LittleBigRefresh, a second-generation custom server that focuses on quality of life features and improving user experience, with native support for mods and beta builds.\n\nThis server requires registration on the website at https://lbp.littlebigrefresh.com/register."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00767c40, *lbp_server_url_lbr ] # https server url
      - [ utf8, 0x00767cf8, *lbp_server_url_lbr ] # http server url
      - [ utf8, 0x0079fbc0, *lbp_custom_digest ] # digest key
  "Disable Score Bubble FX":
    Games: *lbp_130title
    Author: "ennuo"
    Notes: "Disables score bubble effects for extra performance."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0017cef0, 0x4e800020 ]
  "Aspect Ratio":
    Games: *lbp_130title
    Author: "indianaliam1, slashiee"
    Notes: *lbp_ar_notes
    Configurable Values: *lbp_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x086e67c, "Aspect Ratio" ]
  "Disable Blur":
    Games: *lbp_130title
    Author: "Hasster"
    Notes: "Disables blur effects (Motion blur, DOF and such)"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0019c974, 0x60000000 ]

Anchors:
  lbp3_126title: &lbp3_126title
    "LittleBigPlanet 3":
      BCES01663: [ 01.26 ]
      BCES02068: [ 01.26 ]
      BCUS81138: [ 01.26 ]
      BCUS98362: [ 01.26 ]
      BCAS20322: [ 01.26 ]
      NPEA00515: [ 01.26 ]
      NPUA81116: [ 01.26 ]
      NPHA80277: [ 01.26 ]

  # Common digest key for servers implementing AutoDiscover's `usesCustomDigestKey` flag
  # Ref: https://docs.littlebigrefresh.com/autodiscover-api#version-2
  lbp3_custom_digest: &lbp3_custom_digest
    "CustomServerDigest"

  lbp3_server_url_beacon: &lbp3_server_url_beacon
    "http://lighthouse.lbpunion.com/LITTLEBIGPLANETPS3_XML\0"

  lbp3_server_url_infinite: &lbp3_server_url_infinite
    "http://lnfinite.site/LITTLEBIGPLANETPS3_XML\0"

  lbp3_server_url_lbr: &lbp3_server_url_lbr
    "http://lbp.littlebigrefresh.com:2095/lbp\0"

PPU-4ff9503c80ff356080c96f3828890906073b8e43:
  "Disable MLAA":
    Games: *lbp3_126title
    Author: "illusiony"
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00ee76d0, 0x00 ]
      - [ be32, 0x00fc8c14, 0x00000001 ]
  "Create Mode":
    Games: *lbp3_126title
    Author: "Zhaxxy"
    Notes: "Permanently be in create mode until unchecked.\nFlying in the pod will cause sackboy to go far away from the pod. Teleport yourself into the pod via a player teleporter, then stop flying."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ed2ac, 0x41e00001 ]
  "Beacon Custom Server":
    Games: *lbp3_126title
    Author: "uh wot"
    Notes: "Patches server URL to point to Beacon, a custom server run by LBP Union."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d9e4c4, *lbp3_server_url_beacon ] # https server url
      - [ utf8, 0x00d9e53c, *lbp3_server_url_beacon ] # presence server url
      - [ utf8, 0x00d9e58c, *lbp3_server_url_beacon ] # live server url
      - [ utf8, 0x00d9e5d8, *lbp3_server_url_beacon ] # http server url
  "Infinite Custom Server":
    Games: *lbp3_126title
    Author: "Toyo, uh wot"
    Notes: "Patches server URL to point to Infinite, a custom server run by the Infinite Team.\nCreate an account here: https://lnfinite.site/register \n(The first letter is a lowercase L, not a capital i)\n\nIf you have any crashes or connection issues, restart the game in RPCS3 after authentication.\n\nThanks to @uh wot for locating the addresses."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d9e4c4, *lbp3_server_url_infinite ] # https server url
      - [ utf8, 0x00d9e53c, *lbp3_server_url_infinite ] # presence server url
      - [ utf8, 0x00d9e58c, *lbp3_server_url_infinite ] # live server url
      - [ utf8, 0x00d9e5d8, *lbp3_server_url_infinite ] # http server url
  "LittleBigRefresh Custom Server":
    Games: *lbp3_126title
    Author: "uh wot"
    Notes: "Connect to LittleBigRefresh, a second-generation custom server that focuses on quality of life features and improving user experience, with native support for mods and beta builds.\n\nThis server requires registration on the website at https://lbp.littlebigrefresh.com/register."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d9e4c4, *lbp3_server_url_lbr ] # https server url
      - [ utf8, 0x00d9e53c, *lbp3_server_url_lbr ] # presence server url
      - [ utf8, 0x00d9e58c, *lbp3_server_url_lbr ] # live server url
      - [ utf8, 0x00d9e5d8, *lbp3_server_url_lbr ] # http server url
      - [ utf8, 0x00d8bd08, *lbp3_custom_digest ] # digest key
  "Disable Score Bubble FX":
    Games: *lbp3_126title
    Author: "ennuo"
    Notes: "Disables score bubble effects for extra performance."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00366570, 0x4e800020 ]
  "Disable Motion Blur":
    Games: *lbp3_126title
    Author: "Hasster, illusiony"
    Notes: "Disables Motion Blur. Shouldn't affect anything else."
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00ee76b4, 0 ]
      #- [ be32, 0x0039c028, 0x60000000 ]
      #- [ be32, 0x0039c12c, 0x60000000 ]

Anchors:
  tox_ar_notes: &tox_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. UI elements will be stretched."

  tox_jp_ar_21_9: &tox_jp_ar_21_9
    - [ bef32, 0x00c08714, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00c0871c, 2.37037 ] # Display: Aspect Ratio
    - [ be32, 0x00c08720, 840 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00c08728, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00c08748, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00c0874c, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox_ar_21_9: &tox_ar_21_9
    - [ bef32, 0x00c14adc, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00c14ae4, 2.37037 ] # Display: Aspect Ratio
    - [ be32, 0x00c14ae8, 840 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00c14af0, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00c14b10, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00c14b14, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox_jp_ar_32_9: &tox_jp_ar_32_9
    - [ bef32, 0x00c08714, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00c0871c, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00c08720, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00c08728, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00c08748, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00c0874c, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox_ar_32_9: &tox_ar_32_9
    - [ bef32, 0x00c14adc, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00c14ae4, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00c14ae8, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00c14af0, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00c14b10, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00c14b14, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox_fov_notes: &tox_fov_notes
    "Default values:\n Horizontal - 0.78\n Vertical - 0.62"

  tox_fov_configurable_values: &tox_fov_configurable_values
    "FOV (Horizontal)":
      Type: double_range
      Value: 0.78
      Min: 0.2
      Max: 2.4
    "FOV (Vertical)":
      Type: double_range
      Value: 0.62
      Min: 0.2
      Max: 2.4

  tox_jp_fov: &tox_jp_fov
    - [ bef32, 0x00e14e4c, "FOV (Horizontal)" ]
    - [ bef32, 0x00e14e50, "FOV (Vertical)" ]

  tox_us_fov: &tox_us_fov
    - [ bef32, 0x00e1556c, "FOV (Horizontal)" ]
    - [ bef32, 0x00e15570, "FOV (Vertical)" ]

  tox_eu_fov: &tox_eu_fov
    - [ bef32, 0x00e15578, "FOV (Horizontal)" ]
    - [ bef32, 0x00e15574, "FOV (Vertical)" ]

  tox_brightness: &tox_jp_brightness
    - [ byte, 0x00e27f3a, 0x00 ]

  tox_brightness: &tox_brightness
    - [ byte, 0x00e286ba, 0x00 ]

  tox_fps_notes: &tox_fps_notes
    "Set VBlank Frequency to 60. Gameplay will slow down if the framerate dips below 60."

  tox_jp_fps: &tox_jp_fps
    - [ be32, 0x0070725c, 0x38600002 ]
    - [ be32, 0x00239b7c, 0x3a900001 ]

  tox_fps: &tox_fps
    - [ be32, 0x00710694, 0x38600002 ]
    - [ be32, 0x0023f114, 0x3a900001 ]

  tox_gald: &tox_gald
    - [ be32, 0x0020337c, 0x80690fef ]

  tox_hp: &tox_hp
    - [ be32, 0x0018a210, 0x9bdd000c ]
    - [ be32, 0x00187a60, 0x3a30270f ]

PPU-f7f6881ea84c3196f294e437d766e7fb2c5b8d0c:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLJS10120: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox_jp_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLJS10120: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox_jp_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia":
        BLJS10120: [ All ]
    Author: "NeXoGone"
    Notes: *tox_fov_notes
    Configurable Values: *tox_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox_jp_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia":
        BLJS10120: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_jp_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia":
        BLJS10120: [ All ]
    Author: "Aphelion, illusion"
    Notes: *tox_fps_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox_jp_fps ]

PPU-a7f26bbbcb13fd5f554d0612f490861feec78e8f:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.1
    Patch:
      - [ load, *tox_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.1
    Patch:
      - [ load, *tox_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "NeXoGone"
    Notes: *tox_fov_notes
    Configurable Values: *tox_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox_us_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "Aphelion, illusion"
    Notes: *tox_fps_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox_fps ]
  "Infinite Gald":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_gald ]
  "Infinite Health":
    Games:
      "Tales of Xillia":
        BLUS31006: [ All ]
        NPUB31136: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.1
    Patch:
      - [ load, *tox_hp ]

PPU-62b0f370c487523166efb0d4b4a24e627acc3488:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.1
    Patch:
      - [ load, *tox_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "NeXoGone"
    Notes: *tox_ar_notes
    Group: AR
    Patch Version: 1.1
    Patch:
      - [ load, *tox_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "NeXoGone"
    Notes: *tox_fov_notes
    Configurable Values: *tox_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox_eu_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "Aphelion, illusion"
    Notes: *tox_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *tox_fps ]
  "Infinite Gald":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_gald ]
  "Infinite Health":
    Games:
      "Tales of Xillia":
        BLES01815: [ All ]
        NPEB01310: [ All ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox_hp ]

Anchors:
  tox2_ar_notes: &tox2_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. UI elements will be stretched."

  tox2_jp_v01_00_ar_21_9: &tox2_jp_v01_00_ar_21_9
    - [ bef32, 0x00e5c94c, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00e5c954, 2.37037 ] # Display: Aspect Ratio
    - [ be32, 0x00e5c958, 840 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e5c960, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e5c980, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e5c984, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_jp_v01_01_ar_21_9: &tox2_jp_v01_01_ar_21_9
    - [ bef32, 0x00e5b6cc, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00e5b6d4, 2.37037 ] # Display: Aspect Ratio
    - [ be32, 0x00e5b6d8, 840 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e5b6e0, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e5b700, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e5b704, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_us_ar_21_9: &tox2_us_ar_21_9
    - [ bef32, 0x00e7233c, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00e72344, 2.37037 ] # Display: Aspect Ratio
    - [ be32,  0x00e72348, 840 ]     # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e72350, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e72370, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e72374, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_eu_ar_21_9: &tox2_eu_ar_21_9
    - [ bef32, 0x00e723bc, 1680 ]    # HUD / GUI (Width)
    - [ bef32, 0x00e723c4, 2.37037 ] # Display: Aspect Ratio
    - [ be32, 0x00e723c8, 840 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e723d0, 840 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e723f0, -840 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e723f4, 840 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_jp_v01_00_ar_32_9: &tox2_jp_v01_00_ar_32_9
    - [ bef32, 0x00e5c94c, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00e5c954, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00e5c958, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e5c960, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e5c980, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e5c984, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_jp_v01_01_ar_32_9: &tox2_jp_v01_01_ar_32_9
    - [ bef32, 0x00e5b6cc, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00e5b6d4, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00e5b6d8, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e5b6e0, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e5b700, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e5b704, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_us_ar_32_9: &tox2_us_ar_32_9
    - [ bef32, 0x00e7233c, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00e72344, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00e72348, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e72350, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e72370, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e72374, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_eu_ar_32_9: &tox2_eu_ar_32_9
    - [ bef32, 0x00e723bc, 2560 ]     # HUD / GUI (Width)
    - [ bef32, 0x00e723c4, 3.555556 ] # Display: Aspect Ratio
    - [ be32, 0x00e723c8, 1280 ]      # HUD: "Start" Menu - Background (Width)
    - [ bef32, 0x00e723d0, 1280 ]     # HUD: "Pause" Menu - Background (Width)
    - [ bef32, 0x00e723f0, -1280 ]    # HUD: Movie / Map / Skit - Background - Left
    - [ bef32, 0x00e723f4, 1280 ]     # HUD: Movie / Map / Skit - Background - Right

  tox2_fov_configurable_values: &tox2_fov_configurable_values
    "FOV (Horizontal)":
      Type: double_range
      Value: 0.78
      Min: 0.2
      Max: 2.4
    "FOV (Vertical)":
      Type: double_range
      Value: 0.62
      Min: 0.2
      Max: 2.4

  tox2_fov_notes: &tox2_fov_notes
    "Default values:\n Horizontal: 0.78\n Vertical: 0.62"

  tox2_jp_v01_00_fov: &tox2_jp_v01_00_fov
    - [ bef32, 0x010b7340, "FOV (Horizontal)" ]
    - [ bef32, 0x010b733c, "FOV (Vertical)" ]

  tox2_jp_v01_01_fov: &tox2_jp_v01_01_fov
    - [ bef32, 0x010b7338, "FOV (Horizontal)" ]
    - [ bef32, 0x010b7334, "FOV (Vertical)" ]

  tox2_us_fov: &tox2_us_fov
    - [ bef32, 0x010d7ba4, "FOV (Horizontal)" ]
    - [ bef32, 0x010d7ba0, "FOV (Vertical)" ]

  tox2_eu_fov: &tox2_eu_fov
    - [ bef32, 0x010d7bac, "FOV (Horizontal)" ]
    - [ bef32, 0x010d7ba8, "FOV (Vertical)" ]

  tox2_jp_v01_00_brightness: &tox2_jp_v01_00_brightness
    - [ byte, 0x010cdcaa, 0x00 ]

  tox2_jp_v01_01_brightness: &tox2_jp_v01_01_brightness
    - [ byte, 0x010cdc9a, 0x00 ]

  tox2_us_brightness: &tox2_us_brightness
    - [ byte, 0x010ee54a, 0x00 ]

  tox2_eu_brightness: &tox2_eu_brightness
    - [ byte, 0x010ee55a, 0x00 ]

  tox2_fps_notes: &tox2_fps_notes
    "Set VBlank Frequency to 60. Gameplay will slow down if the framerate dips below 60."

  tox2_jp_v01_00_fps: &tox2_jp_v01_00_fps
    - [ be32, 0x0082d108, 0x38600002 ]
    - [ be32, 0x0027a45c, 0x3a900001 ]

  tox2_jp_v01_01_fps: &tox2_jp_v01_01_fps
    - [ be32, 0x00832460, 0x38600002 ]
    - [ be32, 0x0027a9cc, 0x3a900001 ]

  tox2_us_fps: &tox2_us_fps
    - [ be32, 0x00846290, 0x38600002 ]
    - [ be32, 0x00282af4, 0x3a900001 ]

  tox2_eu_fps: &tox2_eu_fps
    - [ be32, 0x00846310, 0x38600002 ]
    - [ be32, 0x00282b2c, 0x3a900001 ]

  tox2_hp_notes: &tox2_hp_notes
    "In-game menu is a little ugly, but it works."

  tox2_hp: &tox2_hp
    - [ be32, 0x00184934, 0x9ba70010 ]
    - [ be32, 0x0017a7e8, 0x3a10270e ]

PPU-c8cfdd45c319ebbb747f070c80436c3472e28181:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.00 ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_00_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.00 ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_00_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.00 ]
    Author: "NeXoGone"
    Notes: *tox2_fov_notes
    Configurable Values: *tox2_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_00_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.00 ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_00_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.00 ]
    Author: "Aphelion"
    Notes: *tox2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_00_fps ]

PPU-b04f05aaf687e0f9b26887c7d277d571079efcc5:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.01 ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_01_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.01 ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_01_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.01 ]
    Author: "NeXoGone"
    Notes: *tox2_fov_notes
    Configurable Values: *tox2_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_01_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.01 ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_01_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia 2":
        BLJS10188: [ 01.01 ]
    Author: "Aphelion"
    Notes: *tox2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_jp_v01_01_fps ]

PPU-d96e838f10e9730d8ba21659e02663b44488670f:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_us_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_us_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_fov_notes
    Configurable Values: *tox2_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_us_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_us_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "Aphelion"
    Notes: *tox2_fps_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_us_fps ]
  "Infinite Health":
    Games:
      "Tales of Xillia 2":
        BLUS31397: [ All ]
        NPUB31443: [ All ]
    Author: "Aphelion"
    Notes: *tox2_hp_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_hp ]

PPU-a7d11f549ba784d539148688ef512a6a1907e63e:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_fov_notes
    Configurable Values: *tox2_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "Aphelion"
    Notes: *tox2_fps_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_eu_fps ]
  "Infinite Health":
    Games:
      "Tales of Xillia 2":
        BLES01962: [ All ]
    Author: "Aphelion"
    Notes: *tox2_hp_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_hp ]

PPU-c83d91c3be29b1460777f8a5d7fa5a111b1237b0:
  "21:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_ar_21_9 ]
  "32:9 Aspect Ratio":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_ar_32_9 ]
  "Field of View":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "NeXoGone"
    Notes: *tox2_fov_notes
    Configurable Values: *tox2_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_fov ]
  "Full Brightness":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "NeXoGone"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *tox2_eu_brightness ]
  "60 FPS":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "Aphelion"
    Notes: *tox2_fps_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_eu_fps ]
  "Infinite Health":
    Games:
      "Tales of Xillia 2":
        NPEB01858: [ All ]
    Author: "Aphelion"
    Notes: *tox2_hp_notes
    Patch Version: 1.1
    Patch:
      - [ load, *tox2_hp ]

PPU-60c754823a1d0fef3eac5f98f25574cabc73232d:
  "Disable MLAA":
    Games:
      "SoulCalibur V":
        NPUB31195: [ 01.00 ]
        NPEB01363: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0031a804, 0x38000001 ]

PPU-f696f96752deed23cbcb53c777ae2b837219dfe6:
  "Disable MLAA":
    Games:
      "SoulCalibur V":
        BLES01250: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00304770, 0x38000001 ]

PPU-aa798f32a1fda1c23a20066edb1c623c486d53cc:
  "Disable MLAA":
    Games:
      "SoulCalibur V":
        BLUS30736: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00304770, 0x38000001 ]

PPU-f467fda1a4fba93deb535665c1a416b32a6c3c72:
  "Disable MLAA":
    Games:
      "SoulCalibur V":
        BLUS30736: [ 01.03 ]
        BLES01250: [ 01.03 ]
        BLJS10115: [ 01.03 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0031dff0, 0x38000001 ]

Anchors:
  sk82_fisheye: &sk82_fisheye
    - [ be32, 0x00460434, 0x38800001 ]

  sk82_219widescreen_notes: &sk82_219widescreen_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements may be stretched."

  sk82_219widescreen: &sk82_219widescreen
    - [ be32, 0x01311760, 0x4002f1bd ]

  sk82_movies: &sk82_movies
    - [ be32, 0x001bd8c8, 0x60000000 ]

PPU-c5d2fd31933f88313956774b84346d242979eba6:
  "21:9 Aspect Ratio":
    Games:
      "Skate 2":
        BLUS30253: [ 01.02 ]
    Author: "tuukkas"
    Notes: *sk82_219widescreen_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_219widescreen ]
  "Disable Fisheye":
    Games:
      "Skate 2":
        BLUS30253: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_fisheye ]
  "Skip Intro Logos":
    Games:
      "Skate 2":
        BLUS30253: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_movies ]

PPU-8fd7b704255420d0e9a6b337b6d1bcaae39ff569:
  "21:9 Aspect Ratio":
    Games:
      "Skate 2":
        BLES00461: [ 01.02 ]
    Author: "tuukkas"
    Notes: *sk82_219widescreen_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_219widescreen ]
  "Disable Fisheye":
    Games:
      "Skate 2":
        BLES00461: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_fisheye ]
  "Skip Intro Logos":
    Games:
      "Skate 2":
        BLES00461: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *sk82_movies ]

PPU-08da3b601b335c5b09e6425b27fe00eacdad6e78:
  "Unlock FPS":
    Games:
      "Resistance 2":
        BCUS98120: [ 01.00 ]
        BCES00226: [ 01.00 ]
    Author: "Whatcookie"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00635d7c, 0x60000000 ] # nop
      - [ be32, 0x00635d88, 0x60000000 ] # nop
      - [ bef32, 0x00d529d8, 0.0001 ]
      - [ bef32, 0x00d69eb8, 0.0001 ]
  "Extended FOV":
    Games:
      "Resistance 2":
        BCUS98120: [ 01.00 ]
        BCES00226: [ 01.00 ]
    Author: "illusion"
    Notes: "Breaks shadows, causing them to be misaligned as well as making them jump around when the player moves."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00de67e4, 0.7 ]

PPU-ee7a0a8f83814fd2570ac65e744951cf59264491:
  "Unlock FPS":
    Games:
      "Resistance 2":
        BCUS98120: [ 01.60 ]
        BCES00226: [ 01.60 ]
    Author: "Whatcookie, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0065066c, 0x4800 ]
      - [ bef32, 0x00d62f34, 0.0001 ]
      - [ bef32, 0x00d7a498, 0.0001 ]
  "Extended FOV":
    Games:
      "Resistance 2":
        BCUS98120: [ 01.60 ]
        BCES00226: [ 01.60 ]
    Author: "illusion"
    Notes: "Breaks shadows, causing them to be misaligned as well as making them jump around when the player moves."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00df765c, 0.7 ]

PPU-bf22ce18fc3db486aae9c878afa5212b98b53495: # PSN
  "Unlock FPS":
    Games:
      "Resistance 2":
        NPEA00431: [ 01.00 ]
    Author: "Whatcookie, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0064816c, 0x60000000 ] # nop
      - [ be32, 0x00648178, 0x60000000 ] # nop
      - [ bef32, 0x00d62ee4, 0.0001 ]
      - [ bef32, 0x00d7a450, 0.0001 ]
  "Extended FOV":
    Games:
      "Resistance 2":
        NPEA00431: [ 01.00 ]
    Author: "illusion"
    Notes: "Breaks shadows, causing them to be misaligned as well as making them jump around when the player moves."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00df78ec, 0.7 ]

Anchors:
  wipeouthd_ar_notes: &wipeouthd_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Fixes stretching and frustum culling. HUD is stretched."
  wipeouthd_highfps_notes: &wipeouthd_highfps_notes
    "Fixes ship-shield and absorb glow effect getting out of sync when playing above 60 FPS. The \"120\" value can be changed to match your display framerate."
  wipeouthd_highfps_configurablevalues: &wipeouthd_highfps_configurablevalues
    "FPS":
      Type: double_range
      Value: 120
      Min: 61
      Max: 1000

PPU-0e95b58ae209a37060f3388434b59bcce8a708ab:
  "21:9 Aspect Ratio":
    Games:
      "WipEout HD":
        NPEA00057: [ 02.51 ]
    Author: "Esppiral"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x007e4190, 2.37071 ] # 21:9 Aspect Ratio
      - [ bef32, 0x007eb4a4, 2.37071 ] # Render Fix

PPU-644ef72f7233d9fc7fb4c891083714ee8db474c7:
  "Extended FOV":
    Games:
      "WipEout HD":
        NPUA80105: [ 02.51 ]
    Author: "illusion"
    Notes: "Patched default is 0.6."
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0072e544, 0.6 ]
  "21:9 Aspect Ratio Fix":
    Games:
      "WipEout HD":
        NPUA80105: [ 02.51 ]
        NPEA00057: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00732808, 2.380000114 ] # 21:9 Stretch Fix
      - [ bef32, 0x0073303c, 2.462 ] # Flame Trail Fix
      - [ bef32, 0x00720058, 2.654 ] # Render FOV Fix
      - [ bef32, 0x0072e544, 0.95 ] # Slightly Extended FOV
  "32:9 Aspect Ratio Fix":
    Games:
      "WipEout HD":
        NPUA80105: [ 02.51 ]
        NPEA00057: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00732808, 3.555555582 ] # 32:9 Stretch Fix
      - [ bef32, 0x0073303c, 3.555555582 ] # Flame Trail Fix
      - [ bef32, 0x00720058, 3.555555582 ] # Render FOV Fix
      - [ bef32, 0x0072e544, 0.95 ] # Slightly Extended FOV
  "High FPS Fixes":
    Games:
      "WipEout HD":
        NPUA80105: [ 02.51 ]
        NPEA00057: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_highfps_notes
    Configurable Values: *wipeouthd_highfps_configurablevalues
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0072e034, "FPS" ] # Shield Framerate Fix
      - [ bef32, 0x0073100c, "FPS" ] # Absorb Glow Framerate Fix

PPU-4a50b03c15c25dccbcf231c6ec4cea7fda8287bc:
  "21:9 Aspect Ratio Fix":
    Games:
      "WipEout HD Fury":
        BCES00664: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00732878, 2.380000114 ] # 21:9 Stretch Fix
      - [ bef32, 0x007330ac, 2.462 ] # Flame Trail Fix
      - [ bef32, 0x007200f8, 2.654 ] # Render FOV Fix
      - [ bef32, 0x0072e5e4, 0.95 ] # Slightly Extended FOV
  "32:9 Aspect Ratio Fix":
    Games:
      "WipEout HD Fury":
        BCES00664: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_ar_notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00732878, 3.555555582 ] # 32:9 Stretch Fix
      - [ bef32, 0x007330ac, 3.555555582 ] # Flame Trail Fix
      - [ bef32, 0x007200f8, 3.555555582 ] # Render FOV Fix
      - [ bef32, 0x0072e5e4, 0.95 ] # Slightly Extended FOV
  "High FPS Fixes":
    Games:
      "WipEout HD Fury":
        BCES00664: [ 02.51 ]
    Author: "Lex6s"
    Notes: *wipeouthd_highfps_notes
    Configurable Values: *wipeouthd_highfps_configurablevalues
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0072e0d4, "FPS" ] # Shield Framerate Fix
      - [ bef32, 0x0072bf80, "FPS" ] # Absorb Glow Framerate Fix

Anchors:
  ico_sotc_psn100serials: &ico_sotc_psn100serials
    NPEA00279: [ 01.00 ]
    NPUA80676: [ 01.00 ]
    NPUA80677: [ 01.00 ]
  ico_sotc_disc100serials: &ico_sotc_disc100serials
    BCES01097: [ 01.00 ]
    BCUS98259: [ 01.00 ]
  ico_sotc_101serials: &ico_sotc_101serials
    BCES01097: [ 01.01 ]
    BCES01115: [ 01.01 ]
    BCUS98259: [ 01.01 ]
    NPEA00279: [ 01.01 ]
    NPEA00280: [ 01.01 ]
    NPUA80676: [ 01.01 ]
    NPUA80677: [ 01.01 ]

  ico_psn100title: &ico_psn100title
    "ICO": *ico_sotc_psn100serials
  ico_disc100title: &ico_disc100title
    "ICO": *ico_sotc_disc100serials
  ico_101title: &ico_101title
    "ICO": *ico_sotc_101serials

  sotc_psn100title: &sotc_psn100title
    "Shadow of the Colossus": *ico_sotc_psn100serials
  sotc_disc100title: &sotc_disc100title
    "Shadow of the Colossus": *ico_sotc_disc100serials
  sotc_101title: &sotc_101title
    "Shadow of the Colossus": *ico_sotc_101serials

  ico_mlaa_notes: &ico_mlaa_notes
    "Allows for the use of Resolution Scaling in the title and improves performance."

  sotc_extended_fov_notes: &sotc_extended_fov_notes
    "Camera may zoom out during cinematic change."
  sotc_full_notes: &sotc_full_notes
    "Enables Full Pixel Mode on start so you don't have to change it in the options. Disables black borders/overscan."
  sotc_60fps_notes: &sotc_60fps_notes
    "Allows 60 FPS without changing Vblank."

PPU-1b40cda726a12a28393206edcd63252df76ca39c: # ICO eboot.bin
  "Disable MLAA":
    Games: *ico_psn100title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00045c84, 0x38800000 ] # li r4 0x0
      - [ be32, 0x00476af4, 0x40800003 ] # il r3 0x0
      - [ be32, 0x00476d9c, 0x40800017 ] # il r23 0x0
# Memory Patches
  "Disable Blur":
    Games: *ico_psn100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004d20cb, 0x00 ]
  "Disable All Post-processing":
    Games: *ico_psn100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004d20bf, 0x00 ]

PPU-9a604c56796a32bf86ff037b682b0a744eb6a0dd: # ICO.self
  "Disable MLAA":
    Games: *ico_disc100title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00045a50, 0x38800000 ] # li r4 0x0
      - [ be32, 0x00475f74, 0x40800003 ] # il r3 0x0
      - [ be32, 0x0047621c, 0x40800017 ] # il r23 0x0
# Memory Patches
  "Disable Blur":
    Games: *ico_disc100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004d203b, 0x00 ]
  "Disable All Post-processing":
    Games: *ico_disc100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004d202f, 0x00 ]

PPU-20445ff41192238543f15e956926d03f93d23878: # ICO.self 1.01
  "Disable MLAA":
    Games: *ico_101title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004e224c, 0x00000000 ] # 0 int32
      - [ be32, 0x00477d74, 0x40800003 ] # il r3 0x0
      - [ be32, 0x0047801c, 0x40800017 ] # il r23 0x0
  "Restore debug printf":
    Games: *ico_101title
    Author: "illusion"
    Notes: "Warning: Log Spam!"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00015e50, 0x480ecd20 ] # b 0x00102b70
# Memory Patches
  "Disable Blur":
    Games: *ico_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004e215b, 0x00 ]
  "Disable All Post-processing":
    Games: *ico_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x004e214f, 0x00 ]

PPU-07500788ed015ad425938fbde3b857487b38397b: # shadow.self 1.00
  "Disable Bloom":
    Games: *sotc_disc100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00209d88, 0x38000000 ] # li r0 0x0
  "Disable Motion Blur":
    Games: *sotc_disc100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0021951c, 0x38000000 ] # li r0 0x0
      - [ be32, 0x00219360, 0x38000000 ] # li r0 0x0
  "Disable MLAA":
    Games: *sotc_disc100title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00200c58, 0x38000000 ] # li r0 0x0
      - [ be32, 0x006f8374, 0x40800003 ] # il r3 0x0
      - [ be32, 0x006f861c, 0x40800017 ] # il r23 0x0
# Memory Patches
  "Extended FOV":
    Games: *sotc_disc100title
    Author: "illusion"
    Notes: *sotc_extended_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00732894, 1.5 ]

PPU-4a1a2300cf31f269d76406d095f2babaa47ae8d3: # shadow eboot.bin
  "Enable Full Pixel Mode":
    Games: *sotc_psn100title
    Author: "Margen67"
    Notes: *sotc_full_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00316827, 0x02 ]
  "Disable Bloom":
    Games: *sotc_psn100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0020a338, 0x38000000 ] # li r0 0x0
  "Disable Motion Blur":
    Games: *sotc_psn100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0021951c, 0x38000000 ] # li r0 0x0
      - [ be32, 0x00219910, 0x38000000 ] # li r0 0x0
  "Disable MLAA":
    Games: *sotc_psn100title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002011fc, 0x38000000 ] # li r0 0x0
      - [ be32, 0x006f8af4, 0x40800003 ] # il r3 0
      - [ be32, 0x006f8d9c, 0x40800017 ] # il r23 0
  "60 FPS":
    Games: *sotc_psn100title
    Author: "Margen67"
    Notes: *sotc_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0031f677, 0x01 ]
# Memory Patches
  "Extended FOV":
    Games: *sotc_psn100title
    Author: "illusion"
    Notes: *sotc_extended_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x007328c4, 1.5 ]

PPU-07b749cb166a9d6a924bb59428880e3836ab67c9: # shadow.self 1.01
  "Enable Full Pixel Mode":
    Games: *sotc_101title
    Author: "Margen67"
    Notes: *sotc_full_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x003298b7, 0x02 ]
  "Disable Bloom":
    Games: *sotc_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0020ab50, 0x38000000 ] # li r0 0x0
  "Disable Motion Blur":
    Games: *sotc_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0021a2e4, 0x38000000 ] # li r0 0x0
      - [ be32, 0x0021a128, 0x38000000 ] # li r0 0x0
  "Disable MLAA":
    Games: *sotc_101title
    Author: "illusion"
    Notes: *ico_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00201a14, 0x38000000 ] # li r0 0x0
      - [ be32, 0x006f96f4, 0x40800003 ] # il r3 0x0
      - [ be32, 0x006f999c, 0x40800017 ] # il r23 0x0
  "60 FPS":
    Games: *sotc_101title
    Author: "Margen67"
    Notes: *sotc_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00332707, 0x01 ]
# Memory Patches
  "Extended FOV":
    Games: *sotc_101title
    Author: "illusion"
    Notes: *sotc_extended_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x007328dc, 1.5 ]

PPU-b6c244044dbd6fcee19bb9e0d82f434119524629:
  "Ultrawide 21:9 (3440x1440)":
    Games:
      "Deadly Premonition: Director's Cut":
        NPEB01352: [ 01.00 ]
    Author: "faith"
    Patch Version: 1.0
    Notes: "Requires \"Stretch To Display Area\" checked in the GPU settings. HUD will be stretched. Certain scenes may have visual bugs."
    Group: AR
    Patch:
      - [ be32, 0x771c80, 0x4820d148 ] # jump to cave
      - [ be32, 0x97ed98, 0x409e0048 ] # create code cave
      - [ be32, 0x97edc8, 0x3f004018 ] # lis   r24,0x(high part)
      - [ be32, 0x97edcc, 0x6318e38e ] # ori   r24,r24,0x(low part)
      - [ be32, 0x97edd0, 0x93010070 ] # stw   r24,0x70(r1)
      - [ be32, 0x97edd4, 0xc3e10070 ] # lfs   f31,0x70(r1)
      - [ be32, 0x97edd8, 0xd3e30064 ] # stfs  f31,0x64(param_1)
      - [ be32, 0x97eddc, 0x4bdf2ea8 ] # return
  "Skip intro videos":
    Games:
      "Deadly Premonition: Director's Cut":
        NPEB01352: [ 01.00 ]
    Author: "faith"
    Patch Version: 1.0
    Notes: "Skips intro videos, goes to main menu immediately after controller notice"
    Group:
    Patch:
      - [ be32, 0x5c4a7c, 0x38000000 ] # li r0, 0x0

MGSHD_AR_Configurable_Values: &MGSHD_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-79c9f5ae14fe84851dca7bfe33f58bee3367730b:
  "Aspect Ratio":
    Games:
      "Metal Gear Solid 2: Sons of Liberty - HD Edition":
        NPEB00685: [ All ]
    Author: "Esppiral"
    Notes:
    Configurable Values: *MGSHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00dee1b0, "Aspect Ratio" ]

PPU-17ca4b1c4aee1da8b6c35b9ef9caf495410c838f:
  "Aspect Ratio":
    Games:
      "Metal Gear Solid 2: Sons of Liberty - HD Edition":
        NPUB30609: [ All ]
    Author: "Esppiral, FlexBy"
    Notes:
    Configurable Values: *MGSHD_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00dee140, "Aspect Ratio" ]

PPU-487c61a94764c8917da8cad9c8d661260d97d7c9:
  "50 FPS":
    Games:
      "Metal Gear Solid 3: Snake Eater - HD Edition":
        BLUS30847: [ 01.00 ]
    Author: "TriggerHappy"
    Notes:
    Group: FPS
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bb8c94, 0x38600001 ]
      - [ be32, 0x00bb8c98, 0x4e800020 ]
  "30 FPS":
    Games:
      "Metal Gear Solid 3: Snake Eater - HD Edition":
        BLUS30847: [ 01.00 ]
    Author: "TriggerHappy"
    Notes:
    Group: FPS
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bb85a4, 0x3860000a ]

PPU-5313b423023dbb6020247ceaf77a6557a9ace478:
  "50 FPS":
    Games:
      "Metal Gear Solid 3: Snake Eater - HD Edition":
        NPEB00684: [ 01.00 ]
    Author: "TriggerHappy"
    Notes:
    Group: FPS
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bcd518, 0x38600001 ]
      - [ be32, 0x00bcd51c, 0x4e800020 ]
  "30 FPS":
    Games:
      "Metal Gear Solid 3: Snake Eater - HD Edition":
        NPEB00684: [ 01.00 ]
    Author: "TriggerHappy"
    Notes:
    Group: FPS
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bcce9c, 0x3860000a ]

Anchors:
  uc1_disc100title: &uc1_disc100title
    "Uncharted: Drake's Fortune":
      BCES00065: [ 01.00 ]
      BCUS98103: [ 01.00 ]
  uc1_disc100asiatitle: &uc1_disc100asiatitle
    "Uncharted: Drake's Fortune":
      BCAS20024: [ 01.00 ]
  uc1_disc101title: &uc1_disc101title
    "Uncharted: Drake's Fortune":
      BCES00065: [ 01.01 ]
      BCJS30015: [ 01.01 ]
      BCUS98103: [ 01.10 ]
  uc1_disc101asiatitle: &uc1_disc101asiatitle
    "Uncharted: Drake's Fortune":
      BCAS20024: [ 01.01 ]
  uc1_PSNalltitle: &uc1_PSNalltitle
    "Uncharted: Drake's Fortune":
      NPEA00363: [ All ]
      NPUA80697: [ All ]
      NPHA80193: [ All ]
  uc1_internaltitle: &uc1_internaltitle
    "Uncharted: Drake's Fortune":
      TEST12345: [ 01.00 ]

  uc1_unlockdevkitmenus: &uc1_unlockdevkitmenus
    - [ be16, 0x0007023c, 0x4800 ] # rendering
    - [ be16, 0x00070300, 0x4800 ] # col
    - [ be16, 0x000703c0, 0x4800 ] # game
    - [ be16, 0x00070434, 0x4800 ] # inter background
    - [ be16, 0x000708d4, 0x4800 ] # phys
    - [ be16, 0x00071af0, 0x4800 ] #
    - [ be16, 0x00071ed0, 0x4800 ] # particles

  uc1_unlockfps_101_disc: &uc1_unlockfps_101_disc
    - [ be16, 0x000e515c, 0x901d ] # (mem address: 0x00bb4350) # 0 - unlock fps # 1 - 60 fps # 2 - 30 fps

  uc1_unlockfps_all_psn: &uc1_unlockfps_all_psn
    - [ be16, 0x000e510c, 0x901d ]

  uc1_debug_menu_101_disc: &uc1_debug_menu_101_disc
    - [ be16, 0x0004b6ac, 0x409e ]

  uc1_debug_menu_all_psn: &uc1_debug_menu_all_psn
    - [ be16, 0x0004b5c4, 0x419e ] # has it's function branched out!

  uc1_zfightingfix_101_disc: &uc1_zfightingfix_101_disc
    - [ be16, 0x000e52a0, 0x981d ]

  uc1_zfightingfix_all_psn: &uc1_zfightingfix_all_psn
    - [ be16, 0x000e5250, 0x981d ]

  uc1_mb_101_disc: &uc1_mb_101_disc
    - [ be16, 0x000e527c, 0x981d ] # (mem address: 0xbb43d7)

  uc1_ddof_101_disc: &uc1_ddof_101_disc
    - [ be16, 0x000e5284, 0x981d ] # (mem address: 0xbb43dc)
  #  - [ be32, 0x000e5288, 0x60000000 ]

  uc1_dlight_101_disc: &uc1_dlight_101_disc
    - [ be16, 0x000e529c, 0x981d ] # (mem address: 0xbb43e0)

  uc1_dlight_all_psn: &uc1_dlight_all_psn
    - [ be16, 0x000e524c, 0x981d ]

  uc1_mb_all_psn: &uc1_mb_all_psn
    - [ be16, 0x000e522c, 0x981d ] # (mem address: 0xbb321a)

  uc1_ddof_all_psn: &uc1_ddof_all_psn
    - [ be16, 0x000e5234, 0x981d ] # (mem address: 0xbb321c)

  uc1_intro_101_disc: &uc1_intro_101_disc
    - [ utf8, 0x00746eb0, "playtest\0" ]

  uc1_gfd_101_disc: &uc1_gfd_101_disc
    - [ be16, 0x000e53ec, 0x915d ] # (mem: 00bb44cc)
    - [ be32, 0x000e53c8, 0x60000000 ]
    - [ bef32, 0x00bb44d4, "Distance" ] # Fadeout End Distance

  uc1_dssbd_101_disc: &uc1_dssbd_101_disc
    - [ be32, 0x00726e30, 0x48074c40 ] # b 0x0079BA70
    - [ be32, 0x0079ba70, 0xf9280030 ] # std r9, 0x30(r8)
    - [ be32, 0x0079ba74, 0x3c600084 ] # lis r3, 0x8400         ; r3 = 0x84000000
    - [ be32, 0x0079ba78, 0x606300d4 ] # ori r3, r3, 0x00D4     ; r3 = 0x8400D4
    - [ be32, 0x0079ba7c, 0x38000001 ] # li r0, 1               ; r0 = 1
    - [ be32, 0x0079ba80, 0x98030000 ] # stb r0, 0(r3)          ; store byte to 0x8400D4
    - [ be32, 0x0079ba84, 0x4bf8b3b0 ] # b 0x00726E34           ; return

  uc1_fadeout_configurable_values: &uc1_fadeout_configurable_values
    "Distance":
      Type: double_range
      Value: 30
      Min: 0.5
      Max: 100

  uc1_debugmenu_notes: &uc1_debugmenu_notes
    "Enable Debug Console (DECR) mode to unlock the full menu.\nL3 + Start = Dev Menu\nL3 + Select = Quick Menu (Use this to unlock others)\nL3 + Triangle = Debug Text\nL2 + R2 = Debug Fly"
  uc1_debugmenu_notes2: &uc1_debugmenu_notes2
    "Unlocks some devkit menu without DECR:\n Rendering\n Collision (needs working msgcon)\n Interactive Background\n Physics\n Particles"
  uc1_zfightingfix_notes: &uc1_zfightingfix_notes
    "Disables Reload Depth Cull Buffer, restores performance after enabling WCB/WDB, especially using higher resolutions, fixes flickering surfaces."
  uc1_dlight_notes: &uc1_dlight_notes
    "Slightly improves performance at the cost of worse graphics."
  uc1_gfd_notes: &uc1_gfd_notes
    "Lowers/Increases Object Render Distance.\nHigher Values increase render distance.\nCan improve performance."

PPU-8007056e52279bea26c15669d1ee08c2df321d00:
#  "Disable Motion Blur":
#    Games: *uc1_disc100title
#    Author: "illusion"
#    Notes:
#    Patch Version: 1.0
#    Patch:
#      - [ be16, 0x000ec2a8, 0x995d ] # (mem address: 0x42974a)
#  "Disable Depth of Field":
#    Games: *uc1_disc100title
#    Author: "illusion"
#    Notes:
#    Patch Version: 1.0
#    Patch:
#      - [ be16, 0x000ec2a0, 0x995d ] # (mem address: 0x42974c)
  "Debug Menu":
    Games: *uc1_disc100title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004e61c, 0x409e ]

PPU-4a7e0af86fbdf2280aed3d98479d04461e50e8cf:
#  "Disable Motion Blur":
#    Games: *uc1_disc100asiatitle
#    Author: "illusion"
#    Notes:
#    Patch Version: 1.0
#    Patch:
#      - [ be16, 0x000ec2a8, 0x995d ] # (mem address: 0x42974a)
#  "Disable Depth of Field":
#    Games: *uc1_disc100asiatitle
#    Author: "illusion"
#    Notes:
#    Patch Version: 1.0
#    Patch:
#      - [ be16, 0x000ec2a0, 0x995d ] # (mem address: 0x42974c)
  "Debug Menu":
    Games: *uc1_disc100asiatitle
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004e61c, 0x409e ]

PPU-8363904e0b8fc276380a8f0e158dd81d7a9cefc5:
  "Disable Motion Blur":
    Games: *uc1_disc101title
    Author: "illusion"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_mb_101_disc ]
  "Disable Depth of Field":
    Games: *uc1_disc101title
    Author: "illusion"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_ddof_101_disc ]
  "Debug Menu":
    Games: *uc1_disc101title
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_debug_menu_101_disc ]
  "Unlock Devkit menus":
    Games: *uc1_disc101title
    Author: "illusion"
    Notes: *uc1_debugmenu_notes2
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_unlockdevkitmenus ]
  "Infinite Health":
    Games: *uc1_disc101title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ac77c, 0x60000000 ]
  "Infinite Ammo":
    Games: *uc1_disc101title
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005d14d8, 0x39290000 ]
  "WCB Performance & Z-fighting fix":
    Games: *uc1_disc101title
    Author: "ZEROx"
    Notes: *uc1_zfightingfix_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_zfightingfix_101_disc ]
  "Unlock FPS":
    Games: *uc1_disc101title
    Author: "FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_unlockfps_101_disc ]
  "Disable Dynamic Lighting":
    Games: *uc1_disc101title
    Author: "FlexBy"
    Notes: *uc1_dlight_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_dlight_101_disc ]
  "Disable Sunlight ShadowBuffer Draw":
    Games: *uc1_disc101title
    Author: "FlexBy"
    Notes: *uc1_dlight_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_dssbd_101_disc ]
  "Enable Global Fadeout":
    Games: *uc1_disc101title
    Author: "FlexBy"
    Notes: *uc1_gfd_notes
    Configurable Values: *uc1_fadeout_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_gfd_101_disc ]
  "Skip Intro":
    Games: *uc1_disc101title
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_intro_101_disc ]

PPU-4a5f4c5ae98f1b8b01294a267790adfa5e8b4501:
  "Disable Motion Blur":
    Games: *uc1_disc101asiatitle
    Author: "illusion"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_mb_101_disc ]
  "Disable Depth of Field":
    Games: *uc1_disc101asiatitle
    Author: "illusion"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_ddof_101_disc ]
  "Debug Menu":
    Games: *uc1_disc101asiatitle
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_debug_menu_101_disc ]
  "Unlock Devkit menus":
    Games: *uc1_disc101asiatitle
    Author: "illusion"
    Notes: *uc1_debugmenu_notes2
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_unlockdevkitmenus ]
  "Infinite Health":
    Games: *uc1_disc101asiatitle
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ac77c, 0x60000000 ]
  "Infinite Ammo":
    Games: *uc1_disc101asiatitle
    Author: "Hiei-YYH"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005d14d8, 0x39290000 ]
  "WCB Performance & Z-fighting fix":
    Games: *uc1_disc101asiatitle
    Author: "ZEROx"
    Notes: *uc1_zfightingfix_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_zfightingfix_101_disc ]
  "Unlock FPS":
    Games: *uc1_disc101asiatitle
    Author: "FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ load, *uc1_unlockfps_101_disc ]
  "Disable Dynamic Lighting":
    Games: *uc1_disc101asiatitle
    Author: "FlexBy"
    Notes: *uc1_dlight_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_dlight_101_disc ]
  "Disable Sunlight ShadowBuffer Draw":
    Games: *uc1_disc101asiatitle
    Author: "FlexBy"
    Notes: *uc1_dlight_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_dssbd_101_disc ]
  "Enable Global Fadeout":
    Games: *uc1_disc101asiatitle
    Author: "FlexBy"
    Notes: *uc1_gfd_notes
    Configurable Values: *uc1_fadeout_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_gfd_101_disc ]
  "Skip Intro":
    Games: *uc1_disc101asiatitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_intro_101_disc ]

PPU-3488cb6c2a7178978b5044b09c7c7ef8397440c0:
  "Disable Motion Blur":
    Games: *uc1_PSNalltitle
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_mb_all_psn ]
  "Disable Depth of Field":
    Games: *uc1_PSNalltitle
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_ddof_all_psn]
  "Debug Menu":
    Games: *uc1_PSNalltitle
    Author: "dron_3, HdHereidme, illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_debug_menu_all_psn ]
  "Bug Fix: Slow Init Times":
    Games: *uc1_PSNalltitle
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004b5d4, 0x409e ]
  "WCB Performance & Z-fighting fix":
    Games: *uc1_PSNalltitle
    Author: "ZEROx"
    Notes: *uc1_zfightingfix_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_zfightingfix_all_psn ]
  "Unlock FPS":
    Games: *uc1_PSNalltitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_unlockfps_all_psn ]
  "Disable Dynamic Lighting":
    Games: *uc1_PSNalltitle
    Author: "FlexBy"
    Notes: *uc1_dlight_notes
    Patch Version: 1.0
    Patch:
      - [ load, *uc1_dlight_all_psn ]
  "Skip Intro":
    Games: *uc1_PSNalltitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00746d50, "playtest\0" ]

PPU-66cf2ffcfb251ec0b2a1d261fe97d30a3acab015:
  "Debug Menu":
    Games:
      "Uncharted: Drake's Fortune Demo":
        NPEA90018: [ 01.00 ]
        NPJA90063: [ 01.00 ]
    Author: "dron_3, HdHereidme, illusion, FlexBy"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004e62c, 0x409e ]

PPU-d2c6152f5a7684d2e0af34c8241662073cc7b834:
  "Debug Menu":
    Games:
      "Uncharted: Drake's Fortune Demo":
        NPUA98103: [ 02.00 ]
    Author: "dron_3, HdHereidme, illusion, FlexBy"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004e61c, 0x409e ]

PPU-a7d8f9e0a9d338dadeeff7e82d38066463da56b2:
  "Debug Menu":
    Games: *uc1_internaltitle
    Author: "illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005bc84, 0x38000000 ]
      - [ be32, 0x0005bc88, 0x39200001 ]

PPU-e6416a6e08fff80e71a78ac2b265bce980cedcb4:
  "Debug Menu":
    Games: *uc1_internaltitle
    Author: "illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00024dd0, 0x38000000 ]
      - [ be32, 0x00024dd4, 0x39200001 ]

PPU-9b03ca582c605c2be22b8e1d573c02eb1fed0798:
  "Debug Menu":
    Games: *uc1_internaltitle
    Author: "illusion"
    Notes: *uc1_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0004db48, 0x9811 ]
      - [ be16, 0x0004db4c, 0x9bf1 ]

Anchors:
  alicemr_unlockfps_notes: &alicemr_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 58 FPS."

PPU-2ce96496d48434427bd319eb88660bb89b51b9be:
  "Unlock FPS":
    Games:
      "Alice: Madness Returns":
        NPEB00625: [ 01.00 ]
    Author: "FlexBy"
    Notes: *alicemr_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0034ca98, 0x60000000 ]

PPU-935581b04fc192eac3cd677f51bb3921e22c0e41:
  "Unlock FPS":
    Games:
      "Alice: Madness Returns":
        BLES01265: [ 01.00 ]
    Author: "FlexBy"
    Notes: *alicemr_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0034cad0, 0x60000000 ]

Anchors:
  DS1_100_FPS_Notes: &DS1_100_FPS_Notes
    "For people who would like to play the unpatched version of Dark Souls at decent framerates. Unpatched PC version is equivalent to 1.06 on consoles."
  DS1_109_FPS_Notes: &DS1_109_FPS_Notes
    "Based on Whatcookie's & Gibbed's work."

  DS1_US_FPS: &DS1_US_FPS
  # 60 FPS no skip
    - [ be32, 0x00146e40, 0x38800002 ] # li r4 0x2
    - [ be32, 0x00146e44, 0x989f070c ]
    - [ be32, 0x00146e48, 0x989f070d ]
  # delta time
    - [ be32, 0x001423e8, 0x494447e9 ] # jump to code cave
  # get mftb
    - [ be32, 0x01586bd0, 0x7eac42e6 ] # mftb r21              // move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x01586bd4, 0x3ec0017d ] # lis r22,0x017d        // load high bits of address (0x017de3f8)
    - [ be32, 0x01586bd8, 0x62d6e3f8 ] # ori r22,r22,0xe3f8    // load low bits of address
    - [ be32, 0x01586bdc, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x01586be0, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x01586be4, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x01586be8, 0xfa7600e0 ] # std r19,0xe0(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x01586bec, 0xcbd600e0 ] # lfd f30,0xe0(r22)     // load mftb delta into FPR
    - [ be32, 0x01586bf0, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x01586bf4, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x01586bf8, 0x3e400158 ] # r18,0x158             // load high bits constants pointer
    - [ be32, 0x01586bfc, 0x62526bd0 ] # ori r18,r18,0x6bd0    // load low bits of constants pointer
    - [ be32, 0x01586c00, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x01586c04, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x01586c08, 0xfffee824 ] # fdiv f31,f30,f29      // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x01586c0c, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x01586c10, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x01586c14, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x01586c18, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x01586c1c, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x01586c20, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x01586c24, 0x4c989680 ]  # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x01586c28, 0.05 ] # maximum timestep size (50ms or 20 FPS)

  DS1_BLES01396_FPS: &DS1_BLES01396_FPS
  # offset by Lilium
  # 60 FPS noskip; addresses offset by +0x108
    - [ be32, 0x00146f48, 0x38800002 ] # li r4 0x2
    - [ be32, 0x00146f4c, 0x989f070c ]
    - [ be32, 0x00146f50, 0x989f070d ]
  # delta time; address offset by +0x108, jump target offset by +0x18
    - [ be32, 0x001424f0, 0x49444801 ] # jump to code cave
  # the following addresses are offset by +0x120
  # get mftb
    - [ be32, 0x01586cf0, 0x7eac42e6 ] # mftb r21              // Move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x01586cf4, 0x3ec0017d ] # lis r22,0x017d        // load high bits of address (0x017de3f8)
    - [ be32, 0x01586cf8, 0x62d6e3f8 ] # ori r22,r22,0xe3f8    // load low bits of address
    - [ be32, 0x01586cfc, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x01586d00, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x01586d04, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x01586d08, 0xfa7600e0 ] # std r19,0xe0(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x01586d0c, 0xcbd600e0 ] # lfd f30,0xe0(r22)     // load mftb delta into FPR
    - [ be32, 0x01586d10, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x01586d14, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x01586d18, 0x3e400158 ] # r18,0x0158            // load high bits constants pointer
    - [ be32, 0x01586d1c, 0x62526cf0 ] # ori r18,r18,0x6cf0    // load low bits of constants pointer (offset by +0x120)
    - [ be32, 0x01586d20, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x01586d24, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x01586d28, 0xfffee824 ] # fdiv f31,f30,f29      // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x01586d2c, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x01586d30, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x01586d34, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x01586d38, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x01586d3c, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x01586d40, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x01586d44, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x01586d48, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

  DS1_BLES01402_FPS: &DS1_BLES01402_FPS
  # offset by Lilium
  # 60 FPS no skip; addresses offset by -0x770
    - [ be32, 0x001466d0, 0x38800002 ] # li r4 0x2
    - [ be32, 0x001466d4, 0x989f070c ]
    - [ be32, 0x001466d8, 0x989f070d ]
  # delta time; address offset by -0x770, jump target offset by +0x10
    - [ be32, 0x00141c78, 0x494447f9 ] # jump to code cave
  # the following addresses are offset by -0x760
  # get mftb
    - [ be32, 0x01586470, 0x7eac42e6 ] # mftb r21              // Move from timebase register (clock)
  # get mftb delta
    - [ be32, 0x01586474, 0x3ec0017d ] # lis r22,0x017d        // load high bits of address (0x017de3f8)
    - [ be32, 0x01586478, 0x62d6e3f8 ] # ori r22,r22,0xe3f8    // load low bits of address
    - [ be32, 0x0158647c, 0x7e96a02a ] # ldx r20,r22,r20       // load previous frames mftb reading
    - [ be32, 0x01586480, 0xfab60000 ] # std r21,0x0(r22)      // store this frames mftb reading
    - [ be32, 0x01586484, 0x7e74a850 ] # subf r19,r21,r20      // subtract previous mftb reading from this mftb frames reading
  # mftb delta to float
    - [ be32, 0x01586488, 0xfa7600e0 ] # std r19,0xe0(r22)     // store mftb delta (to be loaded into FPR)
    - [ be32, 0x0158648c, 0xcbd600e0 ] # lfd f30,0xe0(r22)     // load mftb delta into FPR
    - [ be32, 0x01586490, 0xffc0f69c ] # fcfid f30,f30         // convert integer to double
    - [ be32, 0x01586494, 0xffc0f018 ] # frsp f30,f30          // round to single precision
  # mftb delta to seconds
    - [ be32, 0x01586498, 0x3e400158 ] # r18,0x0158            // load high bits constants pointer
    - [ be32, 0x0158649c, 0x62526470 ] # ori r18,r18,0x6470    // load low bits of constants pointer (offset by -0x760)
    - [ be32, 0x015864a0, 0xc3b20054 ] # lfs f29,0x54(r18)     // load timebase frequency constant
    - [ be32, 0x015864a4, 0xc3920058 ] # lfs f28,0x58(r18)     // load maximum timestep size
    - [ be32, 0x015864a8, 0xfffee824 ] # fdiv f31,f30,f29      // divide timebase delta by timebase frequency
  # check timestep size
    - [ be32, 0x015864ac, 0xff9fe000 ] # fcmpu cr7,f31,f28     // compare current delta time to maximum timestep
    - [ be32, 0x015864b0, 0x419c0008 ] # blt +0x08             // don't return the maximum timestep size
  # set maximum timestep
    - [ be32, 0x015864b4, 0xffe0e090 ] # fmr f31,f28           // move maximum timestep to be returned
  # cleanup
    - [ be32, 0x015864b8, 0x7e94a278 ] # xor r20,r20,r20       // zero r20
    - [ be32, 0x015864bc, 0x7e94a278 ] # xor r19,r19,r19       // zero r19
    - [ be32, 0x015864c0, 0x4e800020 ] # blr                   // return
  # constants
    - [ be32, 0x015864c4, 0x4c989680 ] # timebase frequency as hexfloat (80mhz)
    - [ bef32, 0x015864c8, 0.05 ]      # maximum timestep size (50ms or 20 FPS)

PPU-3577a3e8efa233c68dedce81a3d0a63dab05dbed:
  "Unlock FPS":
    Games:
      "Dark Souls":
        BLUS30782: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *DS1_100_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS1_US_FPS ]

PPU-451f1a767110d8ac166c5de50b67e057120644f5:
  "Unlock FPS":
    Games:
      "Dark Souls":
        BLES01396: [ 01.00 ]
    Author: "Whatcookie, offset by Lilium"
    Notes: *DS1_100_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS1_BLES01396_FPS ]

PPU-23d264a90e9ff8077c6d2e9418d6ae7ccd9bb0a0:
  "Unlock FPS":
    Games:
      "Dark Souls":
        BLES01402: [ 01.00 ]
    Author: "Whatcookie, offset by Lilium"
    Notes: *DS1_100_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *DS1_BLES01402_FPS ]

PPU-65078c652115190ecb64b7ff52bbf1c68696deb6:
  "Unlock FPS":
    Games:
      "Destroy All Humans! Path of the Furon":
        BLES00467: [ All ]
    Author: "Whatcookie"
    Notes: "Completely unlocks FPS and doesn't require any special settings. Use Framelimit or VSync option to cap the maximum framerate."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010b9e68, 0x60000000 ]
      - [ be32, 0x010b9ec0, 0x60000000 ]

Anchors:
  blackoutvenue_unlock_notes: &blackoutvenue_unlock_notes
    "Unlocks a stage venue called \"Pitch Black Out\", which has a completely black background. Useful for getting more performance on lower-spec PCs."
  blackoutvenue_force_notes: &blackoutvenue_force_notes
    "Replaces the demo's \"London\" venue with the \"Pitch Black Out\" venue, which has a completely black background. Useful for getting more performance on lower-spec PCs."
  timestep_force_notes: &timestep_force_notes
    "Patches the timestep values so the game can properly run at a higher FPS. The \"VBlank Frequency\" setting must be changed accordingly. Pitch Black Out patch recommended for anything higher than 120 FPS. WIP, rewinds will trigger early at higher FPS."
  DJ_Hero2FPS_Val: &DJ_Hero2FPS_Val
    "Min timestep":
      Type: double_enum
      Value: &120_value 0.0083333333
      Allowed Values:
        "120 FPS": *120_value
        "240 FPS": 0.0041666667
        "360 FPS": 0.0020833333
        "480 FPS": 0.0013888889
        "600 FPS": 0.0010416667

PPU-1369b92d59b3727ea77257795263de460e621823:
  "Unlock Pitch Black Out Venue":
    Games:
      "DJ Hero 2":
        BLUS30526: [ 01.00 ]
    Author: "shockdude"
    Notes: *blackoutvenue_unlock_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086d99c, 0x58585858 ]

PPU-c779b7ecc73ebd460c15d70917db75fe69399aa1:
  "Unlock Pitch Black Out Venue":
    Games:
      "DJ Hero 2":
        BLUS30526: [ 01.01 ]
    Author: "shockdude"
    Notes: *blackoutvenue_unlock_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086f718, 0x58585858 ]
  "Timestep Modifier":
    Games:
      "DJ Hero 2":
        BLUS30526: [ 01.01 ]
    Configurable Values: *DJ_Hero2FPS_Val
    Author: "illusion, Crafty"
    Notes: *timestep_force_notes
    Patch Version: 1.0
    Patch:
      - [ bef64, 0x00020030, "Min timestep" ]
      # if update rate 30fps
      - [ bef64, 0x00020038, "Min timestep" ]
      # fix rewinds
      - [ bef32, 0x0024182c, "Min timestep" ]

PPU-b70a9965638aa43c4edec58683cf0f2dfed8071b:
  "Unlock Pitch Black Out Venue":
    Games:
      "DJ Hero 2":
        BLES00896: [ 01.00 ]
    Author: "shockdude"
    Notes: *blackoutvenue_unlock_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086d55c, 0x58585858 ]

PPU-bccea158f89820de105a87541c9252052538a5fb:
  "Unlock Pitch Black Out Venue":
    Games:
      "DJ Hero 2":
        BLES00896: [ 01.01 ]
    Author: "shockdude"
    Notes: *blackoutvenue_unlock_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0086f2d8, 0x58585858 ]
  "Timestep Modifier":
    Games:
      "DJ Hero 2":
        BLES00896: [ 01.01 ]
    Configurable Values: *DJ_Hero2FPS_Val
    Author: "illusion"
    Notes: *timestep_force_notes
    Patch Version: 1.0
    Patch:
      - [ bef64, 0x00020030, "Min timestep" ]
      # if update rate 30fps
      - [ bef64, 0x00020038, "Min timestep" ]
      #fix rewinds
      - [ bef32, 0x002414ac, "Min timestep" ]

PPU-530aadd4c93166a0ca0d3acbe963a09f7926b878:
  "Force Pitch Black Out Venue":
    Games:
      "DJ Hero 2 Demo":
        NPUB90438: [ 01.00 ]
    Author: "shockdude"
    Notes: *blackoutvenue_force_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007b3c40, 0x51756179 ]
      - [ be32, 0x007b3c44, 0x32360000 ]

PPU-13887eb1bfe4ad2564cb7b9583e8e957a860c04a:
  "Force Pitch Black Out Venue":
    Games:
      "DJ Hero 2 Demo":
        NPEB90275: [ 01.00 ]
    Author: "shockdude"
    Notes: *blackoutvenue_force_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007b37cc, 0x51756179 ]
      - [ be32, 0x007b37d0, 0x32360000 ]

Anchors:
  genji_dotb_60fps_notes: &genji_dotb_60fps_notes
    "Set Framelimit to 60 FPS as going above this will cause speed up.\nIn-game cinematic animations and camera are only interpolated at 30 FPS."
  genji_dotb_ar_notes: &genji_dotb_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
  genji_dotb_ar_configurable_values: &genji_dotb_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-4aeb132cdf86d9c4ab20e48ae70cc823e455e05d:
  "Aspect Ratio":
    Games:
      "Genji: Days of the Blade":
        BCES00002: [ 01.00 ]
    Author: "Esppiral"
    Notes: *genji_dotb_ar_notes
    Configurable Values: *genji_dotb_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x100fa8b0, "Aspect Ratio" ]
  "60 FPS":
    Games:
      "Genji: Days of the Blade":
        BCES00002: [ 01.00 ]
    Author: "Esppiral, illusion"
    Notes: *genji_dotb_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004d0178, 0x38000000 ] # li r0 0x0

PPU-d99d403214a204b9fe8a5c23079dab8ddf4c0654:
  "60 FPS":
    Games:
      "Genji: Days of the Blade":
        BCAS20002: [ 01.00 ]
    Author: "illusion"
    Notes: *genji_dotb_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004cbda8, 0x38000000 ] # li r0 0x0

Anchors:
  hpathbp_60fps_notes: &hpathbp_60fps_notes
    "Set vblank to 120Hz for 60 FPS Gameplay.\nMay work with other versions with adjustments."

PPU-daf192f4e83562758e1f988455b14f1b52b51537:
  "60 FPS":
    Games:
      "Harry Potter and the Half-Blood Prince":
        BLES00424: [ 01.00 ]
    Author: "illusion"
    Notes: *hpathbp_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c761c, 0x38000001 ] # li r0 0x1

PPU-850e0eab86f490423254d2e5faa07f41ec612b84:
  "60 FPS":
    Games:
      "Harry Potter and the Half-Blood Prince":
        BLUS30242: [ 01.00 ]
    Author: "illusion"
    Notes: *hpathbp_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c761c, 0x38000001 ] # li r0 0x1

Anchors:
  HMPDDT_PSP_Notes: &HMPDDT_PSP_Notes
    "Makes the game playable by skipping the PSP connection screen. A decrypted save is still required to play the game. The patch can also be used on real hardware."

PPU-ddd080c3a59b7d8f7e640b419efccea6972d1e21:
  "Sign in without connecting a PSP":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.00 ]
    Author: "samyuu, Brolijah, nastys"
    Notes: *HMPDDT_PSP_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0066c464, 0x000004b8 ]

PPU-890a336132e35e8bfb7cbe430ea9b09114915346:
  "Sign in without connecting a PSP":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.01 ]
    Author: "samyuu, Brolijah, nastys"
    Notes: *HMPDDT_PSP_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0066f9b4, 0x00000718 ]
  "Unlock all songs and modules":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.01 ]
    Author: "nastys"
    Notes: "Unlocks everything. No save data required. Module achievement percentage is not changed."
    Patch Version: 1.1
    Patch:
      # Unlock song menu
      - [ be32, 0x003a0b14, 0x38600001 ]
      - [ be32, 0x003a0b18, 0x4e800020 ]
      # Unlock songs and modules
      - [ be32, 0x002ed4fc, 0x38600001 ]
      - [ be32, 0x002ed500, 0x39200001 ]
      - [ be32, 0x002ed508, 0x42800040 ]
      # Unlock PV mode
      - [ be32, 0x002ecda8, 0x38000001 ]
  "Full resolution":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.01 ]
    Author: "nastys"
    Notes: "Increases the internal resolution from 1024x640 to 1280x720."
    Patch Version: 1.1
    Patch:
      - [ be32, 0x0022f0c4, 0x2f890500 ]
      - [ be32, 0x0022f0d0, 0x39200500 ]
      - [ be32, 0x0022f0d8, 0x380002d0 ]
      - [ be32, 0x0022f3b8, 0x2f8802d0 ]
      - [ be32, 0x0022f3c4, 0x39200500 ]
      - [ be32, 0x0022f3cc, 0x380002d0 ]
  "Remove watermark":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.01 ]
    Author: "nastys"
    Notes: "Removes the PV watermark."
    Patch Version: 1.0
    Patch:
      # pv_mark
      - [ byte, 0x007ed618, 0x00 ]
  "Skip save data CRC-32 check":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater":
        NPJB00047: [ 01.01 ]
    Author: "nastys"
    Notes: "For easy save data modding."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d7780, 0x4280000c ]
      - [ be32, 0x003d7874, 0x4280001c ]
      - [ be32, 0x003d784c, 0x60000000 ]

Anchors:
  HMPDF_FPS_USEU: &HMPDF_FPS_USEU
    - [ bef32, 0x00bf289c, 1 ]
    - [ be16, 0x00589496, 0x0001 ]
    - [ be16, 0x005894ba, 0x0001 ]
    - [ be16, 0x00589802, 0x0001 ]
    - [ be16, 0x0058982a, 0x0001 ]

  HMPDF_FPS_JP: &HMPDF_FPS_JP
    - [ bef32, 0x00bf22fc, 1 ]
    - [ be16, 0x00586202, 0x0001 ]
    - [ be16, 0x00586226, 0x0001 ]
    - [ be16, 0x0058656e, 0x0001 ]
    - [ be16, 0x00586596, 0x0001 ]

  HMPDF_FPS_Notes: &HMPDF_FPS_Notes
    "Patch accelerates some game effects by 2x. Does not affect playability."

PPU-f3227f57ec001582b253035fd90de77f05ead470:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F":
        BLUS31319: [ All ]
        NPUB31241: [ All ]
    Author: "Brolijah"
    Notes: *HMPDF_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF_FPS_USEU ]
  "Enable Debug Mode":
    Games:
      "Hatsune Miku: Project Diva F":
        NPUB31241: [ All ]
    Author: "samyuu, feat_jinsoul"
    Notes: "Enables debug mode. Enable Mouse and Keyboard handlers under Config > I/O to use basic debug menus. Right click for the topmost menu."
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0003d10f, 0x00 ]
      - [ byte, 0x001cf64f, 0x01 ]
      - [ byte, 0x001cf657, 0x01 ]

PPU-c02e3b52e3d75f52f76fb8f0fb5be7ca4d921949:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F":
        NPEB01393: [ All ]
    Author: "Brolijah"
    Notes: *HMPDF_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF_FPS_USEU ]

PPU-1105af0a4d6a4a1481930c6f3090c476cde06c4c:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F":
        BLJM60527: [ All ]
        NPJB00287: [ All ]
    Author: "Brolijah"
    Notes: *HMPDF_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF_FPS_JP ]

Anchors:
  HMPDF2_FPS_USEU: &HMPDF2_FPS_USEU
    - [ bef32, 0x000423c8, 1 ]
    - [ be16, 0x006af44e, 0x0001 ]
    - [ be16, 0x006af46e, 0x0001 ]
    - [ be16, 0x006af492, 0x0001 ]
    - [ be16, 0x006af4b6, 0x0001 ]

  HMPDF2_FPS_AS: &HMPDF2_FPS_AS
    - [ bef32, 0x00042390, 1 ]
    - [ be16, 0x006af0b6, 0x0001 ]
    - [ be16, 0x006af0d6, 0x0001 ]
    - [ be16, 0x006af0fa, 0x0001 ]
    - [ be16, 0x006af11e, 0x0001 ]

  HMPDF2_FPS_JP: &HMPDF2_FPS_JP
    - [ bef32, 0x00041f40, 1 ]
    - [ be16, 0x006a48f6, 0x0001 ]
    - [ be16, 0x006a4916, 0x0001 ]
    - [ be16, 0x006a493a, 0x0001 ]
    - [ be16, 0x006a495e, 0x0001 ]

  HMPDF2_FPS_Notes: &HMPDF2_FPS_Notes
    "Patch accelerates some game effects by 2x, and breaks some effects completely. Does not affect playability."

PPU-092c43e2bcacccfe3cdc22b0ab8062b91d4e1cf9:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        BLUS31431: [ All ]
        NPUB31488: [ All ]
    Author: "Brolijah"
    Notes: [ *HMPDF2_FPS_Notes ]
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_USEU ]

PPU-67e0e7c9b2a7a340c914a0d078e25aac1047e4d4:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        NPEB02013: [ All ]
        BLES02029: [ All ]
    Author: "Brolijah"
    Notes: [ *HMPDF2_FPS_Notes ]
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_USEU ]

PPU-51d336edfa3774f2db83ed030611f462c097c40b:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        BLAS50723: [ All ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_AS ]

PPU-c70b15d3f6694af74fa329dd4fc25fe28a59e9cc:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        NPHB00671: [ All ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_AS ]

PPU-c3291f5919ca147ac854de10f7436f4ad494233f:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        BLJM61079: [ 01.00 ]
        NPJB00435: [ 01.00 ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_JP ]

PPU-058cf39c07fd13f100c1f6dc40a0ead9bf3ad51b:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        BLJM61079: [ 01.01 ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_JP ]

PPU-8fc9f26ed77cc9237db0e6348dcf9d6c451b6220:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        BLJM61079: [ 01.02 ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *HMPDF2_FPS_JP ]

PPU-311fcd98af6adc5e64e6a833eb959f43b0976193:
  "60 FPS":
    Games:
      "Hatsune Miku: Project Diva F 2nd":
        NPJB00435: [ 01.02 ]
    Author: "Brolijah"
    Notes: *HMPDF2_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00041f78, 1 ]
      - [ be16, 0x006ab316, 0x0001 ]
      - [ be16, 0x006ab336, 0x0001 ]
      - [ be16, 0x006ab35a, 0x0001 ]
      - [ be16, 0x006ab37e, 0x0001 ]

PPU-52a747a6282ff38eebc356fb56afc09e07e020f0:
  "Extended FOV":
    Games:
      "inFamous 2 Demo":
        NPEA90095: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0096de14, 0.65 ] # the floats are static but game settings will need "li" instead.

PPU-41a7d047c573c78c0307506c9d1b52d15a66e4f5:
  "Extended FOV":
    Games:
      "inFamous 2":
        BCUS98125: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x0096de14, 0.65 ] # the floats are static but game settings will need "li" instead.

PPU-a1aa768f9221333cb1ecc48c5a857aac23c89878:
  "Skip Intro":
    Games:
      "inFamous 2":
        NPEA00318: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0078b4f8, 0x00000000 ]

PPU-cf11f1d21afe3ba5a6c8c2a8cf926ee2ad571f41:
  "Skip UGC Tutorial":
    Games:
      "inFamous 2 UGC Beta":
        NPUA70146: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007827a8, 0x00000000 ]
  "Skip Intro":
    Games:
      "inFamous 2 UGC Beta":
        NPUA70146: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00758098, 0x00000000 ]

Anchors:
  haze_fps_notes: &haze_fps_notes
    "Needs testing above 60 FPS."
  haze_fps: &haze_fps
    - [ be32, 0x0068d0e8, 0x38000000 ] # li r0 0x0

  haze_ammo_notes: &haze_ammo_notes
    "Unlimited ammo, grenades, etc. without reloading."
  haze_ammo: &haze_ammo
    - [ be32, 0x0033854c, 0x60000000 ] # Infinite clip capacity
    - [ be32, 0x00395884, 0x60000000 ] # Infinite ammo

  haze_hp: &haze_hp
    - [ be32, 0x0005328c, 0x60000000 ]

  haze_disc_us_titles: &haze_disc_us_titles
    "Haze":
      BLUS30094: [ 01.36 ]

  haze_disc_eu_titles: &haze_disc_eu_titles
    "Haze":
      BLES00157: [ 01.36 ]

PPU-b39773da362cfd02e0d498ccc9e3b1f310d6d5e7:
  "Unlock FPS":
    Games: *haze_disc_us_titles
    Author: "illusion"
    Notes: *haze_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *haze_fps ]
  "Infinite Ammo":
    Games: *haze_disc_us_titles
    Author: "Aphelion"
    Notes: *haze_ammo_notes
    Patch Version: 1.0
    Patch:
      - [ load, *haze_ammo ]
  "Infinite Health":
    Games: *haze_disc_us_titles
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *haze_hp ]

PPU-e6714887d07308d64b93b86fb585a37ec08c538f:
  "Unlock FPS":
    Games: *haze_disc_eu_titles
    Author: "illusion"
    Notes: *haze_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *haze_fps ]
  "Infinite Ammo":
    Games: *haze_disc_eu_titles
    Author: "Aphelion"
    Notes: *haze_ammo_notes
    Patch Version: 1.0
    Patch:
      - [ load, *haze_ammo ]
  "Infinite Health":
    Games: *haze_disc_eu_titles
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *haze_hp ]

PPU-ec7c75bef42758b1823ce0b2835935992ae72e8f:
  "60 FPS":
    Games:
      "Iron Man":
        BLUS30134: [ 01.02 ]
    Author: "HyperSpider"
    Notes: "You must set the Vblank Frequency to 120Hz for this patch to work. Also note that the game's actual speed may slow down below 30 FPS."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00cd01ac, 0.01666667 ]
  "120 FPS":
    Games:
      "Iron Man":
        BLUS30134: [ 01.02 ]
    Author: "HyperSpider"
    Notes: "You must set the Vblank Frequency to 240Hz for this patch to work. Also note that the game's actual speed may slow down below 60 FPS."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00cd01ac, 0.00833334 ]

Anchors:
  kz1_60fps_notes: &kz1_60fps_notes
    "Version 2.0 no longer requires 200% clock scale, reset to default before using this updated patch."

  kz1_EU100title: &kz1_EU100title
    "Killzone":
      BCES01743: [ 01.00 ]
      NPEA00418: [ 01.00 ]

PPU-70ad975e7fbb5bb57bb2159a16ec895cbccd3b4e:
  "Extended FOV":
    Games: *kz1_EU100title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x005e7f6c, 0.65 ] # static float in memory
  "60 FPS":
    Games: *kz1_EU100title
    Author: "ZEROx, illusion"
    Notes: *kz1_60fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x002125a4, 0x3ca03f00 ] # same method as asasega patch
      - [ be32, 0x002192f8, 0x3ca03f00 ]
      - [ bef64, 0x0021c0a0, 0.06 ]

PPU-0bb16b9f48bfea44a892110beec812664e84539f:
  "Extended FOV":
    Games:
      "Killzone":
        NPUA80856: [ 01.00 ]
    Author: "illusion, Mew21"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x005e7f6c, 0.65 ] # static float in memory
  "60 FPS":
    Games:
      "Killzone":
        NPUA80856: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *kz1_60fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x002125f4, 0x3ca03f00 ] # same method as asasega patch
      - [ be32, 0x00219348, 0x3ca03f00 ]
      - [ bef64, 0x0021c0f0, 0.06 ]

Anchors:
  kz2demo_fov_notes: &kz2demo_fov_notes
    "Bound to cause issues, needs further testing."
  kz2demo_fov: &kz2demo_fov
    - [ bef32, 0x00eb0174, 0.65 ] # Static float in memory

  kz2demo_spu: &kz2demo_spu
    - [ be32, 0x00a42a3c, 0x8a840089 ]

  kz2_spu_notes: &kz2_spu_notes
    "No longer requires Write Color Buffers."

  kz2_disc129title: &kz2_disc129title
    "Killzone 2":
      BCAS20066: [ 01.29 ]
      BCES00081: [ 01.29 ]
      BCUS98116: [ 01.29 ]
      BCJS30032: [ 01.29 ]

PPU-ca2a0b7e8d4fa7a0d4f3a16d6f2bea5d260e3c09:
  "Extended FOV":
    Games:
      "Killzone 2 Demo":
        NPEA90034: [ 01.00 ]
    Author: "illusion"
    Notes: *kz2demo_fov_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz2demo_fov ]
  "Disable Post Processing on SPU":
    Games:
      "Killzone 2 Demo":
        NPEA90034: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *kz2_spu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz2demo_spu ]
  "Debug Menu":
    Games:
      "Killzone 2 Demo":
        NPEA90034: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b19d5c, 0x38600001 ]

PPU-43e0fe2996338af9f1032b647af9436a081e09b0:
  "Extended FOV":
    Games:
      "Killzone 2 Demo":
        NPUA70034: [ 01.00 ]
    Author: "illusion"
    Notes: *kz2demo_fov_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz2demo_fov ]
  "Disable Post Processing on SPU":
    Games:
      "Killzone 2 Demo":
        NPUA70034: [ 01.00 ]
    Author: "ZEROx, illusion"
    Notes: *kz2_spu_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz2demo_spu ]
  "Debug Menu":
    Games:
      "Killzone 2 Demo":
        NPUA70034: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b19d5c, 0x38600001 ]

PPU-3a4e272eff128f7fa40bf722961a0c6de81bfc5a:
  "Extended FOV":
    Games: *kz2_disc129title
    Author: "illusion"
    Notes: *kz2demo_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00ec096c, 0.65 ] # Static float in memory
  "Disable Post Processing on SPU":
    Games: *kz2_disc129title
    Author: "ZEROx, illusion"
    Notes: *kz2_spu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a5a7cc, 0x8a840089 ]
  "Skip Intro":
    Games: *kz2_disc129title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f07460, 0x00bfab10 ]
  "Debug Menu":
    Games: *kz2_disc129title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b336f4, 0x38600001 ]

PPU-6a6b3ca124e4b5554f341669010a370a4a5c33db:
  "Debug Menu":
    Games:
      "Killzone 2 Beta":
        BCET00006: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b1d754, 0x38600001 ]
  "Disable Post Processing on SPU":
    Games:
      "Killzone 2 Beta":
        BCET00006: [ 01.00 ]
    Author: "ZEROx, illusion, FlexBy"
    Notes: *kz2_spu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a467c4, 0x8a840089 ]

Anchors:
  kz3_fov_notes: &kz3_fov_notes
    "Bound to cause issues, needs further testing."
  kz3demo_fov: &kz3demo_fov
    - [ bef32, 0x01327da0, 0.85 ] # static float in memory // viewmodel
    - [ bef32, 0x01327e74, 0.85 ] # static float in memory // camera

  kz3_mlaa_notes: &kz3_mlaa_notes
    "Allows for the use of Resolution Scaling in the title and improves performance. Some screen effects will be lost. Write Color Buffers is no longer required."
  kz3demo_mlaa: &kz3demo_mlaa
    - [ be32, 0x001bded8, 0x38a00000 ] # li r5 0x0

  kz3_infammo_notes: &kz3_infammo_notes
    "Infinite ammo and grenades."

  kz3_disc100title: &kz3_disc100title
    "Killzone 3":
      BCES01007: [ 01.00 ]
      BCUS98234: [ 01.00 ]

  kz3_disc114title: &kz3_disc114title
    "Killzone 3":
      BCES01007: [ 01.14 ]
      BCUS98234: [ 01.14 ]

PPU-ae204e2198c9a051a44a69913c48f6591b811082:
  "Extended FOV":
    Games: *kz3_disc100title
    Author: "illusion"
    Notes: *kz3_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x01327e54, 0.85 ] # static float in memory
  "Disable MLAA(Post-processing On SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games: *kz3_disc100title
    Author: "illusion"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001be008, 0x38a00000 ] # li r5 0x0
  "Infinite Ammo":
    Games: *kz3_disc100title
    Author: "Aphelion"
    Notes: *kz3_infammo_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0073d598, 0x60000000 ]
      - [ be32, 0x006b0110, 0x60000000 ]
  "Debug Menu":
    Games: *kz3_disc100title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e61018, 0x74727565 ]
      - [ be32, 0x00e6101c, 0x00000000 ]

PPU-4836b8e74c47919f50b030ee6b47d96bc7305387:
  "Extended FOV":
    Games: *kz3_disc114title
    Author: "illusion"
    Notes: *kz3_fov_notes
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0139bdf0, 0.85 ] # static float in memory // viewmodel
      - [ bef32, 0x0139beec, 0.85 ] # static float in memory // camera
  "Disable MLAA (Post-processing on SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games: *kz3_disc114title
    Author: "illusion"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c95a8, 0x38a00000 ] # li r5 0x0
      - [ be16, 0x00202128, 0x4800 ]
  "Infinite Ammo":
    Games: *kz3_disc114title
    Author: "Aphelion"
    Notes: *kz3_infammo_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00753018, 0x60000000 ]
      - [ be32, 0x006c5250, 0x60000000 ]
  "Skip Intro":
    Games: *kz3_disc114title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00fb1208, "open(file:///mainmenu.gum)     " ]
      - [ utf8, 0x00fb1228, "epil" ]
      - [ utf8, 0x00fb1230, "heal" ]
      - [ be32, 0x00016630, 0x48f9ac31 ]
      - [ be32, 0x00fb1260, 0x3ca000fb ]
      - [ be32, 0x00fb1264, 0x60a51208 ]
      - [ be32, 0x00fb126c, 0x8064000d ]
      - [ be32, 0x00fb1268, 0x83c50020 ]
      - [ be32, 0x00fb1270, 0x7c83f000 ]
      - [ be32, 0x00fb1274, 0x41860010 ]
      - [ be32, 0x00fb1278, 0x83c50028 ]
      - [ be32, 0x00fb127c, 0x7c83f000 ]
      - [ be32, 0x00fb1280, 0x40860008 ]
      - [ be32, 0x00fb1284, 0x7ca42b78 ]
      - [ be32, 0x00fb1288, 0x38a00000 ]
      - [ be32, 0x00fb128c, 0x4e800020 ]
  "Debug Menu":
    Games: *kz3_disc114title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00edcb80, 0x74727565 ]
      - [ be32, 0x00edcb84, 0x00000000 ]

PPU-5f932afa0b36e8be30b4ab96689ad10e3583a261:
  "Extended FOV":
    Games:
      "Killzone 3 Demo":
        NPEA90084: [ 01.00 ]
    Author: "illusion"
    Notes: *kz3_fov_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz3demo_fov ]
  "Disable MLAA (Post-processing on SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games:
      "Killzone 3 Demo":
        NPEA90084: [ 01.00 ]
    Author: "illusion"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz3demo_mlaa ]
  "Debug Menu":
    Games:
      "Killzone 3 Demo":
        NPEA90084: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e61a24, 0x74727565 ]

PPU-c28a92c751f6c6ffae0f354c7329ee599912baac:
  "Extended FOV":
    Games:
      "Killzone 3 Demo":
        NPUA70133: [ 01.00 ]
    Author: "illusion"
    Notes: *kz3_fov_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz3demo_fov ]
  "Disable MLAA (Post-processing on SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games:
      "Killzone 3 Demo":
        NPUA70133: [ 01.00 ]
    Author: "illusion"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kz3demo_mlaa ]
  "Debug Menu":
    Games:
      "Killzone 3 Demo":
        NPUA70133: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e61a24, 0x74727565 ]

PPU-238ec433d9577dcb54fe61efaada1c744b713722:
  "Disable MLAA (Post-processing on SPU)":
    Games:
      "Killzone 3 Beta":
        BCET70024: [ 02.00 ]
    Author: "illusion, FlexBy"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ae910, 0x38a00000 ]
      - [ be16, 0x001e86a8, 0x4800 ]

PPU-deb7296c644a28ce46390c24d9dd5c49dd0c9a5d:
  "Disable MLAA (Post-processing on SPU)":
    Games:
      "Killzone 3 Beta":
        BCET70024: [ 02.04 ]
    Author: "illusion, FlexBy"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001aefa0, 0x38a00000 ]
      - [ be16, 0x001e8d38, 0x4800 ]

PPU-3764d5a10a24cec2db1a7bbfa3bbc692de47bbe0:
  "Disable MLAA (Post-processing on SPU)":
    Games:
      "Killzone 3 Preview":
        BCET01007: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes: *kz3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bc238, 0x38a00000 ]
      - [ be16, 0x001f6448, 0x4800 ]

Anchors:
  ms_fps_notes: &ms_fps_notes
    "Updated with a new version that has correct game speed above 15 FPS except for the countdown timer.\nIncrease Vblank above 60Hz to go above 60 FPS.\nIssues introduced in version 1.0 of the patch have been resolved."
  ms_ar_notes: &ms_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
  ms_ar_configurable_values: &ms_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-9f001199a7f23695cd41a2b25c1d0325da7565b5: # BCES00006
  "Unlock FPS":
    Games:
      "Motorstorm":
        BCES00006: [ All ]
    Author: "illusion, ZEROx"
    Notes: *ms_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x00013030, 0x38c00001 ] # li r6,0x1
      - [ be32, 0x00013034, 0x39000001 ] # li r8,0x1
      - [ be32, 0x0075c864, 0x39000001 ] # car selection
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm":
        BCES00006: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x002650f4, 0x4800 ] # scale callers
  "Disable Motion Blur":
    Games:
      "Motorstorm":
        BCES00006: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003dcc28, 0x4bf47530 ] # b 0x00324158
      - [ be32, 0x00324158, 0xfb7d00b4 ] # std r27,0xb4(r29)
      - [ be32, 0x0032415c, 0xfb7d00bc ] # std r27,0xbc(r29)
      - [ be32, 0x00324160, 0x480b8acc ] # b 0x003dcc2c
  "Vehicle class select for every event":
    Games:
      "Motorstorm":
        BCES00006: [ All ]
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004fab54, 0x2fa3ffff ]

PPU-ce27dc64b44242beebb44c097449dd035de18e8b: # 3.1 update
  "Unlock FPS":
    Games:
      "Motorstorm Update 3.1 (Complete Edition)":
        BCES00006: [ All ]
        BCJS30019: [ All ]
        BCUS98137: [ All ]
    Author: "illusion, ZEROx"
    Notes: *ms_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0001852c, 0x38c00001 ] # li r6,0x1
      - [ be32, 0x00018530, 0x39000001 ] # li r8,0x1
      - [ be32, 0x0087f3a0, 0x39000001 ] # car selection
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm Update 3.1 (Complete Edition)":
        BCES00006: [ All ]
        BCJS30019: [ All ]
        BCUS98137: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0026f73c, 0x4800 ] # scale callers
  "Disable Motion Blur":
    Games:
      "Motorstorm Update 3.1 (Complete Edition)":
        BCES00006: [ All ]
        BCJS30019: [ All ]
        BCUS98137: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004cb1a4, 0x4bf421f0 ] # b 0x0040d394
      - [ be32, 0x0040d394, 0xfb7d00b4 ] # std r27,0xb4(r29)
      - [ be32, 0x0040d398, 0xfb7d00bc ] # std r27,0xbc(r29)
      - [ be32, 0x0040d39c, 0x480bde0c ] # b 0x004cb1a8
  "Vehicle class select for every event":
    Games:
      "Motorstorm Update 3.1 (Complete Edition)":
        BCES00006: [ All ]
        BCUS98137: [ All ]
        BCJS30019: [ All ]
    Author: "Scirvir"
    Notes: "Campaign only. Doesn't work on DLC or online."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005ff654, 0x2fa3ffff ]
  "Aspect Ratio":
    Games:
      "Motorstorm Update 3.1 (Complete Edition)":
        BCES00006: [ All ]
    Author: "Virjoinga"
    Notes: *ms_ar_notes
    Configurable Values: *ms_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00F3161C, "Aspect Ratio" ]

PPU-1658c7e4b1bfe52d6ec02443f8feed9b295ff9dc: # NPEA80017
  "Unlock FPS":
    Games:
      "Motorstorm Demo":
        NPUA80017: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ be32, 0x00017ccc, 0x38c00001 ] # li r6,0x1 // deltatime
      - [ be32, 0x00017cd4, 0x39000001 ] # li r8,0x1 // flipmode
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm Demo":
        NPUA80017: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0026351c, 0x4800 ]

PPU-ac5d994a6742a717d530cdcf095e880533465b66: # NPEA80017
  "Unlock FPS":
    Games:
      "Motorstorm Demo":
        NPEA80017: [ All ]
    Author: "illusion, ZEROx"
    Notes: *ms_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be16, 0x00607e10, 0x937d ] # variable framerate
      - [ be16, 0x00607e20, 0x937d ] # gameplay // may not be needed
      - [ be32, 0x0075e7f4, 0x39000001 ] # car selection

PPU-e962bc16978b776063858254ae49aed7eac2a4f6: # BCUS98137
  "Unlock FPS":
    Games:
      "Motorstorm":
        BCUS98137: [ All ]
    Author: "illusion, ZEROx"
    Notes: *ms_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x00013030, 0x38c00001 ] # li r6,0x1
      - [ be32, 0x00013034, 0x39000001 ] # li r8,0x1
      - [ be32, 0x0075c864, 0x39000001 ] # car selection
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm":
        BCUS98137: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x002650f4, 0x4800 ] # scale callers
  "Disable Motion Blur":
    Games:
      "Motorstorm":
        BCUS98137: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003dcc28, 0x4bf47530 ] # b 0x00324158
      - [ be32, 0x00324158, 0xfb7d00b4 ] # std r27,0xb4(r29)
      - [ be32, 0x0032415c, 0xfb7d00bc ] # std r27,0xbc(r29)
      - [ be32, 0x00324160, 0x480b8acc ] # b 0x003dcc2c
  "Vehicle class select for every event":
    Games:
      "Motorstorm":
        BCUS98137: [ All ]
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004fb330, 0x2fa3ffff ]

Anchors:
  ms2_fps_notes: &ms2_fps_notes
    "No need for additional settings change.\nNeeds a stable and locked 60 FPS otherwise game will slow down.\n\nKnown issues:\nCamera moves at double speed.\nSlower movement through water."

  ms2_vfps_notes: &ms2_vfps_notes
    "Allows for variable FPS and correct game speed above 15 FPS.\n\nKnown issues:\n Slower movement through water, especially over 60 FPS.\n Camera shakes when using PPU recompiler. Patch will be kept separate until resolved."

  ms2_svo_notes: &ms2_svo_notes
    "Patches out SVO, meaning you no longer need to quit the game after every online race on PSORG (https://discord.gg/GdX4V44CJd), nor must you delete the SVO chunk from your save file/delete your save data."

  ms2_shad_notes: &ms2_shad_notes
    "~20% performance improvement but makes the game look worse."

  ms2_crwdnoise_notes: &ms2_crwdnoise_notes
    "Disables the crowd noises that can be heard in the menus."

  ms2_disc100title: &ms2_disc100title
    "MotorStorm: Pacific Rift (MotorStorm 2)":
      BCES00129: [ 01.00 ]
      BCUS98155: [ 01.00 ]
      BCAS20044: [ 01.00 ]
      BCJS30027: [ 01.00 ]

  ms2_disc103title: &ms2_disc103title
    "MotorStorm: Pacific Rift (MotorStorm 2)":
      BCES00129: [ 01.03 ]
      BCUS98155: [ 01.03 ]
      BCAS20044: [ 01.03 ]
      BCJS30027: [ 01.03 ]

PPU-34984cacd60f2ee2a380157a009122698d470056:
  "60 FPS":
    Games: *ms2_disc100title
    Author: "illusion"
    Notes: *ms2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00435d1c, 0x60000000 ]
  "Variable FPS":
    Games: *ms2_disc100title
    Author: "illusion, ZEROx"
    Notes: *ms2_vfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00435f9c, 0x38c00001 ]
  "Disable Dynamic Resolution Scaling":
    Games: *ms2_disc100title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00360590, 0x38600000 ] # li r3 0x0
  "Disable Motion blur":
    Games: *ms2_disc100title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0035fdec, 0x38600000 ] # li r3 0x0
  "Disable Shadows":
    Games: *ms2_disc100title
    Author: "regal."
    Notes: *ms2_shad_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00e31300, "\x00" ] # data/%s/%s.trg
  "Disable Crowd Noises":
    Games: *ms2_disc100title
    Author: "regal."
    Notes: *ms2_crwdnoise_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00dff908, "\x00" ] # audio/crowd0%d

PPU-a1f33132af387c49d452e64fcb0704cb06b6d084:
  "60 FPS":
    Games: *ms2_disc103title
    Author: "illusion"
    Notes: *ms2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00407b44, 0x60000000 ]
  "Variable FPS":
    Games: *ms2_disc103title
    Author: "illusion, ZEROx"
    Notes: *ms2_vfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00407d8c, 0x38c00001 ]
  "Disable Dynamic Resolution Scaling":
    Games: *ms2_disc103title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00347830, 0x38600000 ] # li r3 0x0
  "Disable Motion blur":
    Games: *ms2_disc103title
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0034708c, 0x38600000 ] # li r3 0x0
  "Bypass SVO":
    Games: *ms2_disc103title
    Author: "regal."
    Notes: *ms2_svo_notes
    Patch Version: 1.1
    Patch:
      - [ utf8, 0x00d410b8, "\x00" ] # svo.stats.%d-%d-%d-%s
  "Disable Shadows":
    Games: *ms2_disc103title
    Author: "regal."
    Notes: *ms2_shad_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d5bfa0, "\x00" ] # data/%s/%s.trg
  "Disable Crowd Noises":
    Games: *ms2_disc103title
    Author: "regal."
    Notes: *ms2_crwdnoise_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00d27d28, "\x00" ] # audio/crowd0%d

PPU-f62bdccfbca93730c2fcd484f65ead6f3c7878be:
  "60 FPS":
    Games:
      "MotorStorm: Pacific Rift Demo 2.0":
        NPEA90033: [ All ]
    Author: "illusion"
    Notes: *ms2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0045c7b4, 0x60000000 ]
  "Variable FPS":
    Games:
      "MotorStorm: Pacific Rift Demo 2.0":
        NPEA90033: [ All ]
    Author: "illusion, ZEROx"
    Notes: *ms2_vfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0045ca34, 0x38c00001 ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "MotorStorm: Pacific Rift Demo 2.0":
        NPEA90033: [ All ]
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00385dc0, 0x38600000 ] # li r3 0x0
  "Disable Motion blur":
    Games:
      "MotorStorm: Pacific Rift Demo 2.0":
        NPEA90033: [ All ]
    Author: "illusion, ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0038561c, 0x38600000 ] # li r3 0x0

Anchors:
  p5_ModSupport_Author: &p5_ModSupport_Author
    "TGEnigma"
  p5_ModSupport_Notes: &p5_ModSupport_Notes
    "Enable support for adding mod files (through mod.cpk) to the game. This feature is required to fix the dialog portraits when using resolution scaling."
  p5_ModSupport_PatVer: &p5_ModSupport_PatVer 1.0
  p5_ModSupport: &p5_ModSupport
  # make %s/hdd.cpk -> %s%s/mod.cpk
    - [ be32, 0x00b4d638, 0x25732573 ]
    - [ be32, 0x00b4d63c, 0x2f6d6f64 ]
    - [ be32, 0x00b4d640, 0x2e63706b ]

  # make mod.cpk file path
    - [ be32, 0x00114ca4, 0x3c6000b5 ] # lis    r3, cpkPathString@ha
    - [ be32, 0x00114ca8, 0x33e3d638 ] # addic  r31, r3, cpkPathString@l
    - [ be32, 0x00114cac, 0x48968beb ] # bla    getInstallPath
    - [ be32, 0x00114cb0, 0x60000000 ] # nop
    - [ be32, 0x00114cb4, 0x7c7e1b78 ] # mr     r30, r3
    - [ be32, 0x00114cb8, 0x48968bf7 ] # bla    getInstallPath2
    - [ be32, 0x00114cbc, 0x60000000 ] # nop
    - [ be32, 0x00114cc0, 0x33a10070 ] # addic  r29, r1, 0x70
    - [ be32, 0x00114cc4, 0x7c661b78 ] # mr     r6, r3
    - [ be32, 0x00114cc8, 0x7fa3eb78 ] # mr     r3, r29
    - [ be32, 0x00114ccc, 0x7fe4fb78 ] # mr     r4, r31
    - [ be32, 0x00114cd0, 0x7fc5f378 ] # mr     r5, r30
    - [ be32, 0x00114cd4, 0x48ad567f ] # bla    sprintf
    - [ be32, 0x00114cd8, 0x60000000 ] # nop
    - [ be32, 0x00114cdc, 0x48b44a9e ] # ba     branchOffset
    - [ be32, 0x00114ce0, 0x60000000 ] # nop

  # trampoline
    - [ be32, 0x00b44a9c, 0x7fa3eb78 ] # mr     r3, r29
    - [ be32, 0x00b44aa0, 0x48114b77 ] # bla    criFsBindCpk
    - [ be32, 0x00b44aa4, 0x60000000 ] # nop
    - [ be32, 0x00b44aa8, 0x3880000a ] # li     r4, 0xa
    - [ be32, 0x00b44aac, 0x48ab8ed7 ] # bla    criFsBindPatch
    - [ be32, 0x00b44ab0, 0x60000000 ] # nop
    - [ be32, 0x00b44ab4, 0x48114ce6 ] # ba     0x114ca4 + 0x40
    - [ be32, 0x00b44ab8, 0x60000000 ] # nop

  p5_SkipIntro_Author: &p5_SkipIntro_Author
    "TGEnigma"
  p5_SkipIntro_PatVer: &p5_SkipIntro_PatVer 1.0
  p5_SkipIntro: &p5_SkipIntro
    - [ be32, 0x0055ac8c, 0x60000000 ]

  p5_60FPS_Author: &p5_60FPS_Author
    "TGEnigma, rexis"
  p5_60FPS_Notes: &p5_60FPS_Notes
    "Patch may accelerate some game effects by 2x. Updated patch fixes subtitle cut-off in cutscenes."
  p5_60FPS_PatVer: &p5_60FPS_PatVer 1.1
  p5_60FPS: &p5_60FPS
    - [ be32, 0x00010268, 0x9061009c ] # Set update rate to 60 -> r3, 0xe0+var_44(r1)
  #  - [ be32, 0x008fc864, 0x60000000 ] # nop cellGcmSetSecondVFrequency
    - [ bef32, 0x00012484, 0.01666667 ]
    - [ bef32, 0x00045678, 0.01666667 ]
    - [ bef32, 0x000616f0, 0.01666667 ]
    - [ bef32, 0x00073f20, 0.01666667 ]
  #  - [ bef32, 0x000753a0, 0.01666667 ] # Doubles camera speed
    - [ bef32, 0x00077e54, 0.01666667 ]
    - [ bef32, 0x00078a70, 0.01666667 ]
    - [ bef32, 0x0007a238, 0.01666667 ]
    - [ bef32, 0x00081864, 0.01666667 ]
    - [ bef32, 0x000885c8, 0.01666667 ]
    - [ bef32, 0x0008c550, 0.01666667 ]
    - [ bef32, 0x0008d6d0, 0.01666667 ]
    - [ bef32, 0x000d058c, 0.01666667 ]
    - [ bef32, 0x000d0b4c, 0.01666667 ]
    - [ bef32, 0x000e4754, 0.01666667 ]
    - [ bef32, 0x000e50f0, 0.01666667 ]
  #  - [ bef32, 0x000e8190, 0.01666667 ] # Breaks crumpled paper animation
    - [ bef32, 0x000f8b78, 0.01666667 ]
    - [ bef32, 0x00101ce8, 0.01666667 ]
    - [ bef32, 0x001e7344, 0.01666667 ]
    - [ bef32, 0x001eb0d4, 0.01666667 ]
    - [ bef32, 0x001eb328, 0.01666667 ]
    - [ bef32, 0x001eb814, 0.01666667 ]
    - [ bef32, 0x001eb940, 0.01666667 ]
    - [ bef32, 0x001eba04, 0.01666667 ]
    - [ bef32, 0x001ebba0, 0.01666667 ]
    - [ bef32, 0x001ebcd0, 0.01666667 ]
    - [ bef32, 0x001ecca0, 0.01666667 ]
    - [ bef32, 0x00234c64, 0.01666667 ]
    - [ bef32, 0x0023f4bc, 0.01666667 ]
    - [ bef32, 0x002400bc, 0.01666667 ]
    - [ bef32, 0x00240bb0, 0.01666667 ]
    - [ bef32, 0x0029231c, 0.01666667 ]
    - [ bef32, 0x00294a70, 0.01666667 ]
    - [ bef32, 0x002952f8, 0.01666667 ]
  #  - [ bef32, 0x002b027c, 0.01666667 ] # Makes it impossible to run < 60 FPS
    - [ bef32, 0x002b0688, 0.01666667 ]
    - [ bef32, 0x002b6154, 0.01666667 ]
    - [ bef32, 0x002b71f8, 0.01666667 ]
    - [ bef32, 0x002b82c8, 0.01666667 ]
    - [ bef32, 0x002b98f8, 0.01666667 ]
    - [ bef32, 0x002b9f8c, 0.01666667 ]
    - [ bef32, 0x002ba614, 0.01666667 ]
    - [ bef32, 0x002bc84c, 0.01666667 ]
    - [ bef32, 0x002bcd2c, 0.01666667 ]
    - [ bef32, 0x002c550c, 0.01666667 ]
    - [ bef32, 0x002d1328, 0.01666667 ]
  #  - [ bef32, 0x002d230c, 0.01666667 ] # Doubles movement speed
    - [ bef32, 0x002d2ddc, 0.01666667 ]
    - [ bef32, 0x002d8a10, 0.01666667 ]
    - [ bef32, 0x002d8a18, 0.01666667 ]
    - [ bef32, 0x002da46c, 0.01666667 ]
    - [ bef32, 0x002fbb00, 0.01666667 ]
    - [ bef32, 0x0030e258, 0.01666667 ]
    - [ bef32, 0x003181d4, 0.01666667 ]
    - [ bef32, 0x0031ce24, 0.01666667 ]
    - [ bef32, 0x0031dbe0, 0.01666667 ]
    - [ bef32, 0x0033dbd0, 0.01666667 ]
    - [ bef32, 0x00358664, 0.01666667 ]
    - [ bef32, 0x00359020, 0.01666667 ]
    - [ bef32, 0x0035ad10, 0.01666667 ]
    - [ bef32, 0x00364a98, 0.01666667 ]
    - [ bef32, 0x0037429c, 0.01666667 ]
    - [ bef32, 0x00376e7c, 0.01666667 ]
    - [ bef32, 0x00379b08, 0.01666667 ]
    - [ bef32, 0x0037aaac, 0.01666667 ]
    - [ bef32, 0x0037cf54, 0.01666667 ]
    - [ bef32, 0x0037db7c, 0.01666667 ]
    - [ bef32, 0x003803f4, 0.01666667 ]
    - [ bef32, 0x00387a80, 0.01666667 ]
    - [ bef32, 0x00388684, 0.01666667 ]
  #  - [ bef32, 0x003acbc0, 0.01666667 ] # Kaleidoscope speedup
    - [ bef32, 0x003bddd0, 0.01666667 ]
    - [ bef32, 0x003e944c, 0.01666667 ]
    - [ bef32, 0x003f35ec, 0.01666667 ]
    - [ bef32, 0x003f6ff4, 0.01666667 ]
    - [ bef32, 0x0058ce18, 0.01666667 ]
    - [ bef32, 0x0058de64, 0.01666667 ]
    - [ bef32, 0x0058e82c, 0.01666667 ]
    - [ bef32, 0x0058e958, 0.01666667 ]
    - [ bef32, 0x0058f47c, 0.01666667 ]
    - [ bef32, 0x0058fa00, 0.01666667 ]
    - [ bef32, 0x0058fab4, 0.01666667 ]
    - [ bef32, 0x0058fbe4, 0.01666667 ]
    - [ bef32, 0x0058fd2c, 0.01666667 ]
    - [ bef32, 0x0058fe6c, 0.01666667 ]
    - [ bef32, 0x00590a04, 0.01666667 ]
    - [ bef32, 0x005b6914, 0.01666667 ]
    - [ bef32, 0x005f1c6c, 0.01666667 ]
    - [ bef32, 0x0062076c, 0.01666667 ] # Battle related stuff
    - [ bef32, 0x007072bc, 0.01666667 ]
    - [ bef32, 0x00722d7c, 0.01666667 ]
    - [ bef32, 0x0073c840, 0.01666667 ]
    - [ bef32, 0x00772e50, 0.01666667 ]
    - [ bef32, 0x0087b338, 0.01666667 ]
    - [ bef32, 0x00b10110, 0.01666667 ]
    - [ bef32, 0x00b6aa14, 0.01666667 ]
    - [ bef32, 0x00b6aa38, 0.01666667 ]
    - [ bef32, 0x00b70b48, 0.01666667 ]
    - [ bef32, 0x00b70bc8, 0.01666667 ]
    - [ bef32, 0x00b71cf4, 0.01666667 ]
    - [ bef32, 0x00b72f38, 0.01666667 ]
    - [ bef32, 0x00cff46c, 0.01666667 ]
    - [ bef32, 0x00061700, 0.1666667 ]
    - [ bef32, 0x00069aa4, 0.1666667 ]
    - [ bef32, 0x0007a1ec, 0.1666667 ]
    - [ bef32, 0x00081880, 0.1666667 ]
    - [ bef32, 0x000c8258, 0.1666667 ]
    - [ bef32, 0x000c991c, 0.1666667 ]
    - [ bef32, 0x00101ccc, 0.1666667 ]
    - [ bef32, 0x001e2c44, 0.1666667 ]
    - [ bef32, 0x001e61e8, 0.1666667 ]
    - [ bef32, 0x001e7338, 0.1666667 ]
    - [ bef32, 0x00250c50, 0.1666667 ]
    - [ bef32, 0x00256b20, 0.1666667 ]
    - [ bef32, 0x00292100, 0.1666667 ]
    - [ bef32, 0x00294a60, 0.1666667 ]
    - [ bef32, 0x002952e4, 0.1666667 ]
    - [ bef32, 0x0029fd98, 0.1666667 ]
    - [ bef32, 0x002a1bb8, 0.1666667 ]
    - [ bef32, 0x002a41d0, 0.1666667 ]
    - [ bef32, 0x002a6124, 0.1666667 ]
    - [ bef32, 0x002b4ff0, 0.1666667 ]
    - [ bef32, 0x002b60dc, 0.1666667 ]
    - [ bef32, 0x002b7174, 0.1666667 ]
    - [ bef32, 0x002b82f4, 0.1666667 ]
    - [ bef32, 0x002b8e74, 0.1666667 ]
    - [ bef32, 0x002ba600, 0.1666667 ]
    - [ bef32, 0x002bab30, 0.1666667 ]
    - [ bef32, 0x002bb4e0, 0.1666667 ]
    - [ bef32, 0x002bb808, 0.1666667 ]
    - [ bef32, 0x002bc368, 0.1666667 ]
    - [ bef32, 0x002bc844, 0.1666667 ]
    - [ bef32, 0x002bd414, 0.1666667 ]
    - [ bef32, 0x002c4f54, 0.1666667 ]
    - [ bef32, 0x002c4ff0, 0.1666667 ]
    - [ bef32, 0x002c69e4, 0.1666667 ]
    - [ bef32, 0x002d4378, 0.1666667 ]
    - [ bef32, 0x002dd968, 0.1666667 ]
    - [ bef32, 0x002de538, 0.1666667 ]
    - [ bef32, 0x002dea04, 0.1666667 ]
    - [ bef32, 0x0030d7a0, 0.1666667 ]
    - [ bef32, 0x0030e6bc, 0.1666667 ]
    - [ bef32, 0x003181b8, 0.1666667 ]
    - [ bef32, 0x0031afe0, 0.1666667 ]
    - [ bef32, 0x0031ce38, 0.1666667 ]
    - [ bef32, 0x0031dbf0, 0.1666667 ]
    - [ bef32, 0x0031ec74, 0.1666667 ]
    - [ bef32, 0x00322fb4, 0.1666667 ]
    - [ bef32, 0x00356560, 0.1666667 ]
    - [ bef32, 0x003586bc, 0.1666667 ]
    - [ bef32, 0x00358f90, 0.1666667 ]
    - [ bef32, 0x0035a380, 0.1666667 ]
    - [ bef32, 0x0035aa3c, 0.1666667 ]
    - [ bef32, 0x00364a9c, 0.1666667 ]
    - [ bef32, 0x003688c8, 0.1666667 ]
    - [ bef32, 0x00368a88, 0.1666667 ]
    - [ bef32, 0x00368e30, 0.1666667 ]
    - [ bef32, 0x00376fd0, 0.1666667 ]
    - [ bef32, 0x00377538, 0.1666667 ]
    - [ bef32, 0x00377cd8, 0.1666667 ]
    - [ bef32, 0x0037c2b0, 0.1666667 ]
    - [ bef32, 0x0037d310, 0.1666667 ]
    - [ bef32, 0x0037d418, 0.1666667 ]
    - [ bef32, 0x0037d5b4, 0.1666667 ]
    - [ bef32, 0x0037dd08, 0.1666667 ]
    - [ bef32, 0x0037de10, 0.1666667 ]
    - [ bef32, 0x0037df78, 0.1666667 ]
    - [ bef32, 0x00382f38, 0.1666667 ]
    - [ bef32, 0x003845f0, 0.1666667 ]
    - [ bef32, 0x00387a6c, 0.1666667 ]
    - [ bef32, 0x00398208, 0.1666667 ]
    - [ bef32, 0x00398460, 0.1666667 ]
    - [ bef32, 0x003999f8, 0.1666667 ]
    - [ bef32, 0x003a7c64, 0.1666667 ]
    - [ bef32, 0x003aa418, 0.1666667 ]
    - [ bef32, 0x003ae0e4, 0.1666667 ]
    - [ bef32, 0x003ae3a0, 0.1666667 ]
    - [ bef32, 0x003b25d8, 0.1666667 ]
    - [ bef32, 0x003bc448, 0.1666667 ]
    - [ bef32, 0x003c58c0, 0.1666667 ]
    - [ bef32, 0x003c67b0, 0.1666667 ]
    - [ bef32, 0x003c6d6c, 0.1666667 ]
    - [ bef32, 0x003ebc20, 0.1666667 ]
    - [ bef32, 0x003ee5f0, 0.1666667 ]
    - [ bef32, 0x003f1fe0, 0.1666667 ]
    - [ bef32, 0x003f6fc0, 0.1666667 ]
    - [ bef32, 0x004eb808, 0.1666667 ]
    - [ bef32, 0x0055251c, 0.1666667 ]
    - [ bef32, 0x0055ec48, 0.1666667 ]
    - [ bef32, 0x0055f4a8, 0.1666667 ]
    - [ bef32, 0x0057dc08, 0.1666667 ]
    - [ bef32, 0x0057e498, 0.1666667 ]
    - [ bef32, 0x005c5364, 0.1666667 ]
    - [ bef32, 0x00620714, 0.1666667 ]
    - [ bef32, 0x00635cb4, 0.1666667 ]
    - [ bef32, 0x00642b98, 0.1666667 ]
    - [ bef32, 0x00654ee8, 0.1666667 ]
    - [ bef32, 0x00662b04, 0.1666667 ]
    - [ bef32, 0x006aff98, 0.1666667 ]
    - [ bef32, 0x006caa44, 0.1666667 ]
    - [ bef32, 0x006e0224, 0.1666667 ]
    - [ bef32, 0x006e31a0, 0.1666667 ]
    - [ bef32, 0x006fcd3c, 0.1666667 ]
    - [ bef32, 0x00772e54, 0.1666667 ]
    - [ bef32, 0x00797508, 0.1666667 ]
    - [ bef32, 0x00b52e3c, 0.1666667 ]
    - [ bef32, 0x00b6ad00, 0.1666667 ]
    - [ bef32, 0x00b6b71c, 0.1666667 ]
    - [ bef32, 0x00b6e478, 0.1666667 ]
    - [ bef32, 0x00b6e880, 0.1666667 ]
    - [ bef32, 0x00b6e8b8, 0.1666667 ]
    - [ bef32, 0x00b6e8f0, 0.1666667 ]
    - [ bef32, 0x00b6e928, 0.1666667 ]
    - [ bef32, 0x00b6e960, 0.1666667 ]
    - [ bef32, 0x00b6e998, 0.1666667 ]
    - [ bef32, 0x00b6e9d0, 0.1666667 ]
    - [ bef32, 0x00b6ea08, 0.1666667 ]
    - [ bef32, 0x00b6ea40, 0.1666667 ]
    - [ bef32, 0x00b6ea78, 0.1666667 ]
    - [ bef32, 0x00b6eab0, 0.1666667 ]
    - [ bef32, 0x00b6eae8, 0.1666667 ]
    - [ bef32, 0x00b6eb20, 0.1666667 ]
    - [ bef32, 0x00b6eb58, 0.1666667 ]
    - [ bef32, 0x00b6eb90, 0.1666667 ]
    - [ bef32, 0x00b6ebc8, 0.1666667 ]
    - [ bef32, 0x00b6ec00, 0.1666667 ]
    - [ bef32, 0x00b6ec38, 0.1666667 ]
    - [ bef32, 0x00b6ec70, 0.1666667 ]
    - [ bef32, 0x00b6eca8, 0.1666667 ]
    - [ bef32, 0x00b70a54, 0.1666667 ]
    - [ bef32, 0x00b70af0, 0.1666667 ]
    - [ bef32, 0x00b70af8, 0.1666667 ]
    - [ bef32, 0x00b70b00, 0.1666667 ]
    - [ bef32, 0x00b70b08, 0.1666667 ]
    - [ bef32, 0x00b70b10, 0.1666667 ]
    - [ bef32, 0x00b70b20, 0.1666667 ]
    - [ bef32, 0x00b70b78, 0.1666667 ]
    - [ bef32, 0x00b70b88, 0.1666667 ]
    - [ bef32, 0x00b70bb4, 0.1666667 ]
    - [ bef32, 0x00b70bc4, 0.1666667 ]
    - [ bef32, 0x00b70f60, 0.1666667 ]
    - [ bef32, 0x00b71bac, 0.1666667 ]
    - [ bef32, 0x00b71bbc, 0.1666667 ]
    - [ bef32, 0x00b9bd30, 0.1666667 ]
    - [ bef32, 0x00cf96ac, 0.1666667 ]
    - [ bef32, 0x00cfa1e8, 0.1666667 ]
    - [ bef32, 0x00cfa20c, 0.1666667 ]
    - [ bef32, 0x00cfb210, 0.1666667 ]
    - [ bef32, 0x00cfb778, 0.1666667 ]
    - [ bef32, 0x00cfbc30, 0.1666667 ]
    - [ bef32, 0x00cfbca8, 0.1666667 ]
    - [ bef32, 0x00cfbfd4, 0.1666667 ]
    - [ bef32, 0x00cfc0a8, 0.1666667 ]
    - [ bef32, 0x00cff3cc, 0.1666667 ]
    - [ bef32, 0x00cff3d4, 0.1666667 ]
    - [ bef32, 0x00cff470, 0.1666667 ]
    - [ bef32, 0x00cff478, 0.1666667 ]
    - [ bef32, 0x00cff480, 0.1666667 ]
    - [ bef32, 0x00d06840, 0.1666667 ]
    - [ bef32, 0x00d06848, 0.1666667 ]
    - [ be32, 0x000fb71c, 0x3c603c88 ]
    - [ be32, 0x00109b14, 0x3c603c88 ]
    - [ be32, 0x0023fbdc, 0x3ca03c88 ]
    - [ be32, 0x00240620, 0x3ca03c88 ]
    - [ be32, 0x00241258, 0x3c803c88 ]
    - [ be32, 0x003ca4bc, 0x3c603c88 ]
    - [ be32, 0x0087b448, 0x3c603c88 ]
  #  - [ bef32, 0x0009eb60, 0.01666667 ]
  #  - [ bef32, 0x002cb9e8, 0.01666667 ]
  #  - [ bef32, 0x00331ff0, 0.1666667 ]
  #  - [ bef32, 0x003b0520, 0.1666667 ]
  #  - [ bef32, 0x003b05e8, 0.1666667 ]
  #  - [ bef32, 0x003b25cc, 0.1666667 ]
  #  - [ bef32, 0x003bc478, 0.1666667 ]
  #  - [ be32, 0x000a7e6c, 0x3d803c88 ]

    - [ be32, 0x0026dca0, 0x3860001e ] # Batting cages
    - [ be32, 0x0026de4c, 0x3860001e ]
    - [ be32, 0x0026e36c, 0x3860001e ]
    - [ be32, 0x0026fb10, 0x3860001e ]
    - [ be32, 0x0026fb3c, 0x3860001e ]
    - [ be32, 0x0026fb78, 0x3860001e ]
    - [ be32, 0x0026fc30, 0x3860001e ]
    - [ be32, 0x0026fca0, 0x3860001e ]
    - [ be32, 0x0026fd14, 0x3860001e ]
    - [ be32, 0x0026fd50, 0x3860001e ]
    - [ be32, 0x0026fdf4, 0x3860001e ]
    - [ be32, 0x0026fe14, 0x3860001e ]
    - [ be32, 0x0026fe50, 0x3860001e ]
    - [ be32, 0x0026fe9c, 0x3860001e ]
    - [ be32, 0x0026fedc, 0x3860001e ]
    - [ be32, 0x002700e4, 0x3860001e ]
    - [ be32, 0x00270304, 0x3860001e ]
    - [ be32, 0x00288b04, 0x3860001e ] # Party panel
    - [ be32, 0x00288b4c, 0x3860001e ]
    - [ be32, 0x00288b70, 0x3860001e ]
    - [ be32, 0x00288bb0, 0x3860001e ]
    - [ be32, 0x00288bdc, 0x3860001e ]
    - [ be32, 0x00288c18, 0x3860001e ]
    - [ be32, 0x00288c3c, 0x3860001e ]
    - [ be32, 0x002892f0, 0x3860001e ]
    - [ be32, 0x0028931c, 0x3860001e ]
    - [ be32, 0x00289344, 0x3860001e ]
    - [ be32, 0x0028b324, 0x3860001e ]
    - [ be32, 0x0028b4c8, 0x3860001e ]
    - [ be32, 0x0028c1a0, 0x3860001e ]
    - [ be32, 0x0028c1cc, 0x3860001e ]
    - [ be32, 0x0028c1f4, 0x3860001e ]
    - [ be32, 0x0028ea90, 0x3860001e ]
    - [ be32, 0x0028eacc, 0x3860001e ]
    - [ be32, 0x0028eafc, 0x3860001e ]
    - [ be32, 0x0028eb3c, 0x3860001e ]
    - [ be32, 0x0028eb60, 0x3860001e ]
    - [ be32, 0x001cfe60, 0x3860001e ] # Blink anim

  # Removes framerate dependency for both script interpreters
    - [ be32, 0x00b44e00, 0x38600001 ] # li         r3,0x1
    - [ be32, 0x00b44e04, 0x38dd0170 ] # addi       r6,r29,0x170
    - [ be32, 0x00b44e08, 0x48b44e2f ] # bla        0xb44e2c
    - [ be32, 0x00b44e0c, 0x2c040000 ] # cmpwi      r4,0x0
    - [ be32, 0x00b44e10, 0x40820008 ] # bne        +0x8
    - [ be32, 0x00b44e14, 0x481f263a ] # ba         0x1f2638
    - [ be32, 0x00b44e18, 0x7c844014 ] # addc       r4,r4,r8
    - [ be32, 0x00b44e1c, 0x7ca54014 ] # addc       r5,r5,r8
    - [ be32, 0x00b44e20, 0x481f2642 ] # ba         0x1f2640

    - [ be32, 0x00b44e24, 0x3cc000d9 ] # lis        r6,0xd9
    - [ be32, 0x00b44e28, 0x60c6c6ec ] # ori        r6,r6,0xc6ec

    - [ be32, 0x00b44e2c, 0x3ce000ff ] # lis        r7,0xff
    - [ be32, 0x00b44e30, 0x80e7fb50 ] # lwz        r7,-0x4b0(r7)
    - [ be32, 0x00b44e34, 0x81060000 ] # lwz        r8,0(r6)
    - [ be32, 0x00b44e38, 0x90e60000 ] # stw        r7,0(r6)
    - [ be32, 0x00b44e3c, 0x7d083850 ] # subf       r8,r8,r7
    - [ be32, 0x00b44e40, 0x7d09fe70 ] # srawi      r9,r8,0x1f
    - [ be32, 0x00b44e44, 0x7d084850 ] # subf       r8,r8,r9
    - [ be32, 0x00b44e48, 0x55080ffe ] # rlwinm     r8,r8,0x1,0x1f,0x1f
    - [ be32, 0x00b44e4c, 0x5509103a ] # rlwinm     r9,r8,0x2,0x0,0x1d
    - [ be32, 0x00b44e50, 0x4e800020 ] # blr

    - [ be32, 0x001f161c, 0x38600174 ] # li         r3,0x174
    - [ be32, 0x001f1640, 0x38800174 ] # li         r4,0x174
    - [ be32, 0x001f2634, 0x48b44e02 ] # ba         0xb44e00

    - [ be32, 0x00575fb4, 0x48b44e27 ] # bla        0xb44e24
    - [ be32, 0x00576010, 0x48b44e27 ] # bla        0xb44e24
    - [ be32, 0x00576020, 0x7c892010 ] # subfc      r4,r9,r4
    - [ be32, 0x0057602c, 0x7c882010 ] # subfc      r4,r8,r4
    - [ be32, 0x00575fc4, 0x7c892010 ] # subfc      r4,r9,r4
    - [ be32, 0x00575fe0, 0x7c681810 ] # subfc      r3,r8,r3

  p5_DLC_Author: &p5_DLC_Author
    "TGEnigma"
  p5_DLC_PatVer: &p5_DLC_PatVer 1.0
  p5_DLC: &p5_DLC
    - [ be32, 0x00197ae8, 0x4e800020 ]

  p5_DisableBlur_Author: &p5_DisableBlur_Author
    "TGEnigma, ruipin, kd-11"
  p5_DisableBlur_PatVer: &p5_DisableBlur_PatVer 1.0
  p5_DisableBlur: &p5_DisableBlur
    - [ be32, 0x00fee27a, 0x9e001700 ]
    - [ be32, 0x00fee27e, 0xc801001d ]
    - [ be32, 0x00fee282, 0x00000000 ]
    - [ be32, 0x00fee286, 0x00000000 ]
    - [ be32, 0x00fee28a, 0x1e810100 ]
    - [ be32, 0x00fee28e, 0xc800001d ]
    - [ be32, 0x00fee292, 0x00000000 ]
    - [ be32, 0x00fee296, 0x00000000 ]

  p5_DisableDistortion_Author: &p5_DisableDistortion_Author
    "TGEnigma, ruipin, kd-11"
  p5_DisableDistortion_PatVer: &p5_DisableDistortion_PatVer 1.0
  p5_DisableDistortion: &p5_DisableDistortion
    - [ be32, 0x00fe2e28, 0x9e001700 ]
    - [ be32, 0x00fe2e2c, 0xc801001d ]
    - [ be32, 0x00fe2e30, 0x00000000 ]
    - [ be32, 0x00fe2e34, 0x00000000 ]
    - [ be32, 0x00fe2e38, 0x1e810100 ]
    - [ be32, 0x00fe2e3c, 0xc800001d ]
    - [ be32, 0x00fe2e40, 0x00000000 ]
    - [ be32, 0x00fe2e44, 0x00000000 ]

  p5_Disable100PctDistortion_Author: &p5_Disable100PctDistortion_Author
    "TGEnigma, ruipin, kd-11"
  p5_Disable100PctDistortion_PatVer: &p5_Disable100PctDistortion_PatVer 1.0
  p5_Disable100PctDistortion: &p5_Disable100PctDistortion
    - [ be32, 0x00fe31cc, 0x9e001700 ]
    - [ be32, 0x00fe31d0, 0xc801001d ]
    - [ be32, 0x00fe31d4, 0x00000000 ]
    - [ be32, 0x00fe31d8, 0x00000000 ]
    - [ be32, 0x00fe31dc, 0x1e810100 ]
    - [ be32, 0x00fe31e0, 0xc800001d ]
    - [ be32, 0x00fe31e4, 0x00000000 ]
    - [ be32, 0x00fe31e8, 0x00000000 ]

  p5_NoHudLite_Author: &p5_NoHudLite_Author
    "TGEnigma"
  p5_NoHudLite_Notes: &p5_NoHudLite_Notes
    "Elements can be disabled separately by adding/removing their respective lines from the patch."
  p5_NoHudLite_PatVer: &p5_NoHudLite_PatVer 1.0
  p5_NoHudLite: &p5_NoHudLite
    - [ be32, 0x000de4ec, 0x60000000 ] # mission list
    - [ be32, 0x000e83f4, 0x60000000 ] # place pict
    - [ be32, 0x000e5920, 0x60000000 ] # check
    - [ be32, 0x00069cc4, 0x38600001 ] # alert
    - [ be32, 0x0005f678, 0x60000000 ] # date
    - [ be32, 0x0038a0d0, 0x4838a186 ] # misc field hud
    - [ be32, 0x0028fba0, 0x38600000 ] # party panel
    - [ be32, 0x0028fba4, 0x4e800020 ] # party panel
    - [ be32, 0x000d6b48, 0x60000000 ] # mini map
    - [ be32, 0x000d6490, 0x60000000 ] # mini map

  p5_NoHud_Author: &p5_NoHud_Author
    "TGEnigma"
  p5_NoHud_Notes: &p5_NoHud_Notes
    "Disable HUD by disabling rendering of 2D elements entirely. Breaks things."
  p5_NoHud_PatVer: &p5_NoHud_PatVer 1.0
  p5_NoHud: &p5_NoHud
    - [ be32, 0x00116934, 0x4e800020 ]

  p5_BgmOrder_Author: &p5_BgmOrder_Author
    "TGEnigma, lipsum"
  p5_BgmOrder_Notes: &p5_BgmOrder_Notes
    "Plays encounter BGM in file order."
  p5_BgmOrder_PatVer: &p5_BgmOrder_PatVer 1.0
  p5_BgmOrder: &p5_BgmOrder
  # patch SoundManager__SetEquipBgm
  # branch to trampoline
    - [ be32, 0x0006cd68, 0x48b44b52 ] # ba 0x00b44b50

  # trampoline
    - [ be32, 0x00b44b50, 0x3fde3000 ] # addis  r30, r30, 0x3000 -> 0x30b49738
    - [ be32, 0x00b44b54, 0xa07e0000 ] # lhz    r3, 0x0(r30)
    - [ be32, 0x00b44b58, 0x38630001 ] # addi   r3, r3, 0x1
    - [ be32, 0x00b44b5c, 0x2803000b ] # cmplwi r3, 0xb (MaxBgm)

    - [ be16, 0x00b44b5e, 11 ] # bgm_10 -> 11

    - [ be32, 0x00b44b60, 0x41800008 ] # blt    +0x8
    - [ be32, 0x00b44b64, 0x38600000 ] # li     r3, 0x0

  # patch music id
    - [ be32, 0x00b44b68, 0xb07e0000 ] # sth   r3, 0(r30)

  # return
    - [ be32, 0x00b44b6c, 0x2c1e0000 ] # cmpwi r30, 0
    - [ be32, 0x00b44b70, 0x4806cd6e ] # ba    0x0006cd6c

  # patch Btl__PlayBgm
  # branch to trampoline
    - [ be32, 0x0063ace4, 0x48b44b87 ] # bla 0x00b44b84 (trampoline)
    - [ be32, 0x0063ace8, 0x4806ccbb ] # bla 0x0006ccb8 (SoundManager__GetBgmId)

  # trampoline

  # check and return if not normal battle bgm
    - [ be32, 0x00b44b84, 0x2c1f012c ] # cmpwi r31, 300 # normal battle
    - [ be32, 0x00b44b88, 0x41820008 ] # beq   8        # return if not normal battle music
    - [ be32, 0x00b44b8c, 0x4e800020 ] # blr

  # randomize sound bank
    - [ be32, 0x00b44b90, 0x4806cccb ] # bla 0x0006ccc8 (SoundManager__SetEquipBgm)

  # return
    - [ be32, 0x00b44b94, 0x4863acea ] # ba 0x0063ace8

  p5_BgmRandom_Author: &p5_BgmRandom_Author
    "TGEnigma, lipsum"
  p5_BgmRandom_Notes: &p5_BgmRandom_Notes
    "Plays encounter BGM in random order."
  p5_BgmRandom_PatVer: &p5_BgmRandom_PatVer 1.1
  p5_BgmRandom: &p5_BgmRandom
  # patch SoundManager__SetEquipBgm
  # branch to trampoline
    - [ be32, 0x0006cd68, 0x48b44b52 ] # ba 0x00b44b50

  # trampoline
  # Rnd() % MaxBgm
    - [ be32, 0x00b44b50, 0x4891da07 ] # bla   0x0091da04 (Rnd)
    - [ be32, 0x00b44b54, 0x38c0000b ] # li    r6, 11 (MaxBgm)

    - [ be16, 0x00b44b56, 11 ] # bgm_10 -> 11

    - [ be32, 0x00b44b58, 0x30860001 ] # addic r4, r6, 1
    - [ be32, 0x00b44b5c, 0x7c832396 ] # divwu r4, r3, r4
    - [ be32, 0x00b44b60, 0x7ca431d6 ] # mullw r5, r4, r6
    - [ be32, 0x00b44b64, 0x7c852014 ] # addc  r4, r5, r4
    - [ be32, 0x00b44b68, 0x7c641810 ] # subfc r3, r4, r3
    - [ be32, 0x00b44b6c, 0x7c6307b4 ] # extsw r3, r3

  # patch music id
    - [ be32, 0x00b44b70, 0x3fde3000 ] # addis r30, r30, 0x3000 -> 0x30b49738
    - [ be32, 0x00b44b74, 0xb07e0000 ] # sth   r3, 0(r30)

  # return
    - [ be32, 0x00b44b78, 0x2c1e0000 ] # cmpwi r30, 0
    - [ be32, 0x00b44b7c, 0x4806cd6e ] # ba    0x0006cd6c

  # patch Btl__PlayBgm
  # branch to trampoline
    - [ be32, 0x0063ace4, 0x48b44b87 ] # bla 0x00b44b84 (trampoline)
    - [ be32, 0x0063ace8, 0x4806ccbb ] # bla 0x0006ccb8 (SoundManager__GetBgmId)

  # trampoline

  # check and return if not normal battle bgm
    - [ be32, 0x00b44b84, 0x2c1f012c ] # cmpwi r31, 300 # normal battle
    - [ be32, 0x00b44b88, 0x41820008 ] # beq   8        # return if not normal battle music
    - [ be32, 0x00b44b8c, 0x4e800020 ] # blr

  # randomize sound bank
    - [ be32, 0x00b44b90, 0x4806cccb ] # bla 0x0006ccc8 (SoundManager__SetEquipBgm)

  # return
    - [ be32, 0x00b44b94, 0x4863acea ] # ba 0x0063ace8

  p5_NaviLines_Author: &p5_NaviLines_Author
    "lipsum"
  p5_NaviLines_Notes: &p5_NaviLines_Notes
    "Disables Navigator battle lines (voice and message popups)."
  p5_NaviLines_PatVer: &p5_NaviLines_PatVer 1.0
  p5_NaviLines: &p5_NaviLines
    - [ be32, 0x0074a3b4, 0x38a00000 ] # li r5, 0x0 # morgana
    - [ be32, 0x0074a424, 0x38a00000 ] # li r5, 0x0 # futaba

  p5_MaxBullet_Author: &p5_MaxBullet_Author
    "lipsum"
  p5_MaxBullet_Notes: &p5_MaxBullet_Notes
    "To change the maximum bullet counts for each character, edit this patch and input your desired values. By default, this patch retains the game defaults until modified."
  p5_MaxBullet_PatVer: &p5_MaxBullet_PatVer 1.0
  p5_MaxBullet: &p5_MaxBullet
    - [ be16, 0x00d5c188, 0  ] # empty   - base start
    - [ be16, 0x00d5c18a, 16 ] # joker   -- 16
    - [ be16, 0x00d5c18c, 8  ] # ryuji   -- 8
    - [ be16, 0x00d5c18e, 15 ] # morgana -- 15
    - [ be16, 0x00d5c190, 36 ] # ann     -- 36
    - [ be16, 0x00d5c192, 24 ] # yusuke  -- 24
    - [ be16, 0x00d5c194, 12 ] # makoto  -- 12
    - [ be16, 0x00d5c196, 6  ] # haru    -- 6
    - [ be16, 0x00d5c198, 0  ] # futaba  -- 0
    - [ be16, 0x00d5c19a, 12 ] # goro    -- 12
    - [ be16, 0x00d5c19c, 0  ] # empty   - tower rank 5 start
    - [ be16, 0x00d5c19e, 32 ] # joker   -- 32
    - [ be16, 0x00d5c1a0, 16 ] # ryuji   -- 16
    - [ be16, 0x00d5c1a2, 25 ] # morgana -- 25
    - [ be16, 0x00d5c1a4, 60 ] # ann     -- 60
    - [ be16, 0x00d5c1a6, 48 ] # yusuke  -- 48
    - [ be16, 0x00d5c1a8, 24 ] # makoto  -- 24
    - [ be16, 0x00d5c1aa, 12 ] # haru    -- 12
    - [ be16, 0x00d5c1ac, 0  ] # futaba  -- 0
    - [ be16, 0x00d5c1ae, 24 ] # goro    -- 24

  p5_FileAccessLog_Author: &p5_FileAccessLog_Author
    "TGEnigma"
  p5_FileAccessLog_Notes: &p5_FileAccessLog_Notes
    "Prints file paths to the console's TTY Log as they are accessed."
  p5_FileAccessLog_PatVer: &p5_FileAccessLog_PatVer 1.0
  p5_FileAccessLog: &p5_FileAccessLog
  # branch to trampoline
    - [ be32, 0x00ac0a78, 0x48b44abf ] # bla 0xb44abc
    - [ be32, 0x00ac0a7c, 0x60000000 ] # nop
  # trampoline
  # prologue
    - [ be32, 0x00b44abc, 0xf821ff41 ] # stdu    r1, -STACK_SIZE(r1)
    - [ be32, 0x00b44ac0, 0x7c0802a6 ] # mflr    r0
    - [ be32, 0x00b44ac4, 0xf80100d0 ] # std     r0, STACK_SIZE + 0x10(r1)
  # save volatile regs
    - [ be32, 0x00b44ac8, 0xf86100b8 ] # std     r3, STACK_SIZE - 0x08(r1)
    - [ be32, 0x00b44acc, 0xf88100b0 ] # std     r4, STACK_SIZE - 0x10(r1)
    - [ be32, 0x00b44ad0, 0xf8a100a8 ] # std     r5, STACK_SIZE - 0x18(r1)
    - [ be32, 0x00b44ad4, 0xf8c100a0 ] # std     r6, STACK_SIZE - 0x20(r1)
    - [ be32, 0x00b44ad8, 0xf8e10098 ] # std     r7, STACK_SIZE - 0x28(r1)
    - [ be32, 0x00b44adc, 0xf9010090 ] # std     r8, STACK_SIZE - 0x30(r1)
    - [ be32, 0x00b44ae0, 0xf9210088 ] # std     r9, STACK_SIZE - 0x38(r1)
    - [ be32, 0x00b44ae4, 0xf9410080 ] # std     r10, STACK_SIZE - 0x40(r1)
    - [ be32, 0x00b44ae8, 0xf9610078 ] # std     r11, STACK_SIZE - 0x48(r1)
    - [ be32, 0x00b44aec, 0xf9810070 ] # std     r12, STACK_SIZE - 0x50(r1)
  # print file name
    - [ be32, 0x00b44af0, 0x80630004 ] # lwz     r3, 0x04(r3)
    - [ be32, 0x00b44af4, 0x7c6307b4 ] # extsw   r3, r3
    - [ be32, 0x00b44af8, 0x48ad546f ] # bla     PTR_PRINTF
    - [ be32, 0x00b44afc, 0x60000000 ] # nop
  # print newline
    - [ be32, 0x00b44b00, 0x3c6000b9 ] # lis    r3, PTR_NEWLINECHAR@ha
    - [ be32, 0x00b44b04, 0x30631820 ] # addic  r3, r3, PTR_NEWLINECHAR@l
    - [ be32, 0x00b44b08, 0x48ad546f ] # bla    PTR_PRINTF
    - [ be32, 0x00b44b0c, 0x60000000 ] # nop
  # restore volatile regs
    - [ be32, 0x00b44b10, 0xe86100b8 ] # ld     r3, STACK_SIZE - 0x08(r1)
    - [ be32, 0x00b44b14, 0xe88100b0 ] # ld     r4, STACK_SIZE - 0x10(r1)
    - [ be32, 0x00b44b18, 0xe8a100a8 ] # ld     r5, STACK_SIZE - 0x18(r1)
    - [ be32, 0x00b44b1c, 0xe8c100a0 ] # ld     r6, STACK_SIZE - 0x20(r1)
    - [ be32, 0x00b44b20, 0xe8e10098 ] # ld     r7, STACK_SIZE - 0x28(r1)
    - [ be32, 0x00b44b24, 0xe9010090 ] # ld     r8, STACK_SIZE - 0x30(r1)
    - [ be32, 0x00b44b28, 0xe9210088 ] # ld     r9, STACK_SIZE - 0x38(r1)
    - [ be32, 0x00b44b2c, 0xe9410080 ] # ld     r10, STACK_SIZE - 0x40(r1)
    - [ be32, 0x00b44b30, 0xe9610078 ] # ld     r11, STACK_SIZE - 0x48(r1)
    - [ be32, 0x00b44b34, 0xe9810070 ] # ld     r12, STACK_SIZE - 0x50(r1)
  # destroy stack frame
    - [ be32, 0x00b44b38, 0xe80100d0 ] # ld     r0, STACK_SIZE + 0x10(r1)
    - [ be32, 0x00b44b3c, 0x7c0803a6 ] # mtlr   r0
    - [ be32, 0x00b44b40, 0x382100c0 ] # addi   r1, r1, STACK_SIZE
  # return
    - [ be32, 0x00b44b44, 0xfb2100f8 ] # std    r25, 0xf8(r1)
    - [ be32, 0x00b44b48, 0xfaa100d8 ] # std    r21, 0xd8(r1)
    - [ be32, 0x00b44b4c, 0x4e800020 ] # blr

  p5_FixScriptPrintingFunctions_Author: &p5_FixScriptPrintingFunctions_Author
    "TGEnigma"
  p5_FixScriptPrintingFunctions_Notes: &p5_FixScriptPrintingFunctions_Notes
    "Allows flowscripts to print strings to TTY Log."
  p5_FixScriptPrintingFunctions_PatVer: &p5_FixScriptPrintingFunctions_PatVer 1.0
  p5_FixScriptPrintingFunctions: &p5_FixScriptPrintingFunctions
  # ScriptInterpreter_Comm_PUT_Hook
    - [ be32, 0x001e9d10, 0x48b44b9a ]
  # PutInt
    - [ be32, 0x00b44b98, 0x7c641b78 ]
    - [ be32, 0x00b44b9c, 0x3c6000b6 ]
    - [ be32, 0x00b44ba0, 0x3063394c ]
    - [ be32, 0x00b44ba4, 0x48ad546f ]
    - [ be32, 0x00b44ba8, 0x3c6000b9 ]
    - [ be32, 0x00b44bac, 0x30631820 ]
    - [ be32, 0x00b44bb0, 0x48ad546f ]
    - [ be32, 0x00b44bb4, 0x481e9d16 ]
  # ScriptInterpreter_Comm_PUTF_Hook
    - [ be32, 0x001e9d68, 0x48b44bba ]
  # PutFloat
    - [ be32, 0x00b44bb8, 0xfc400890 ]
    - [ be32, 0x00b44bbc, 0x3c6000b6 ]
    - [ be32, 0x00b44bc0, 0x3063397c ]
    - [ be32, 0x00b44bc4, 0x48ad546f ]
    - [ be32, 0x00b44bc8, 0x3c6000b9 ]
    - [ be32, 0x00b44bcc, 0x30631820 ]
    - [ be32, 0x00b44bd0, 0x48ad546f ]
    - [ be32, 0x00b44bd4, 0x481e9d6e ]
  # ScriptInterpreter_Comm_PUTS_Hook
    - [ be32, 0x001e9d3c, 0x48b44bda ]
  # PutString
    - [ be32, 0x00b44bd8, 0x7c641b78 ]
    - [ be32, 0x00b44bdc, 0x3c6000b6 ]
    - [ be32, 0x00b44be0, 0x30633994 ]
    - [ be32, 0x00b44be4, 0x48ad546f ]
    - [ be32, 0x00b44be8, 0x3c6000b9 ]
    - [ be32, 0x00b44bec, 0x30631820 ]
    - [ be32, 0x00b44bf0, 0x48ad546f ]
    - [ be32, 0x00b44bf4, 0x481e9d42 ]

  p5_d0d0d0_Author: &p5_d0d0d0_Author
    "Lipsum"
  p5_d0d0d0_Notes: &p5_d0d0d0_Notes
    "Replaces the red color in the pause menu. Yellow by default."
  p5_d0d0d0_PatVer: &p5_d0d0d0_PatVer 1.0
  p5_d0d0d0: &p5_d0d0d0
    - [ be32, 0x0045a6d8, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x0045a6dc, 0x60842200 ] # ori param_2,param_2,0xd000
    - [ be32, 0x0049c938, 0x3ca0ffff ] # lis param_3,-0x2f30
    - [ be32, 0x0049c93c, 0x60a52200 ] # ori param_3,param_3,0xd000
    - [ be32, 0x0049c978, 0x3ca0ffff ] # lis param_3,-0x2f30
    - [ be32, 0x0049c97c, 0x60a52200 ] # ori param_3,param_3,0xd000
    - [ be32, 0x0049ca6c, 0x3f20ffff ] # lis r25,-0x2f30
    - [ be32, 0x0049ca70, 0x63392200 ] # ori r25,r25,0xd000
    - [ be32, 0x0049caac, 0x3f20ffff ] # lis r25,-0x2f30
    - [ be32, 0x0049cab0, 0x63392200 ] # ori r25,r25,0xd000
    - [ be32, 0x004a02a0, 0x3d20ffff ] # lis param_7,-0x2f30
    - [ be32, 0x004a02c0, 0x61272200 ] # ori param_5,param_7,0xd000
    - [ be32, 0x004a2fe0, 0x3f80ffff ] # lis r28,-0x2f30
    - [ be32, 0x004a2fec, 0x639c2200 ] # ori r28,r28,0xd000
    - [ be32, 0x004a2ff4, 0x3f80ffff ] # lis r28,-0x2f30
    - [ be32, 0x004a3000, 0x639c2200 ] # ori r28,r28,0xd000
    - [ be32, 0x004a4374, 0x3cc0ffff ] # lis param_4,-0x2f30
    - [ be32, 0x004a437c, 0x60c62200 ] # ori param_4,param_4,0xd000
    - [ be32, 0x004a4490, 0x3ce0ffff ] # lis param_5,-0x2f30
    - [ be32, 0x004a4498, 0x60e72200 ] # ori param_5,param_5,0xd000
    - [ be32, 0x004a4bd0, 0x3c60ffff ] # lis param_1,-0x2f30
    - [ be32, 0x004a4bdc, 0x607a2200 ] # ori r26,param_1,0xd000
    - [ be32, 0x004a6304, 0x3c60ffff ] # lis param_1,-0x2f30
    - [ be32, 0x004a6308, 0x60632200 ] # ori param_1,param_1,0xd000
    - [ be32, 0x004ac530, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x004ac538, 0x60842200 ] # ori param_2,param_2,0xd000
    - [ be32, 0x004b3ad4, 0x3fc0ffff ] # lis r30,-0x2f30
    - [ be32, 0x004b3ad8, 0x63de2200 ] # ori r30,r30,0xd000
    - [ be32, 0x004c0f80, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x004c0f88, 0x60842200 ] # ori param_2,param_2,0xd000
    - [ be32, 0x004c1150, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x004c115c, 0x609d2200 ] # ori r29,param_2,0xd000
    - [ be32, 0x004c1154, 0x3ca0ffff ] # lis param_3,-0x2f30
    - [ be32, 0x004c1160, 0x60a32200 ] # ori param_1,param_3,0xd000
    - [ be32, 0x004c3c18, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x004c3c1c, 0x60842200 ] # ori param_2,param_2,0xd000
    - [ be32, 0x004c3c30, 0x3c60ffff ] # lis param_1,-0x2f30
    - [ be32, 0x004c3c38, 0x60632200 ] # ori param_1,param_1,0xd000
    - [ be32, 0x004c5b34, 0x3c60ffff ] # lis param_1,-0x2f30
    - [ be32, 0x004c5b38, 0x606522ff ] # ori param_3,param_1,0xd0ff
    - [ be32, 0x004c5f0c, 0x3c80ffff ] # lis param_2,-0x2f30
    - [ be32, 0x004c5f18, 0x60842200 ] # ori param_2,param_2,0xd000
    - [ be32, 0x0052b1b0, 0x3ca0ffff ] # lis param_3,-0x2f30
    - [ be32, 0x0052b1c4, 0x60a52200 ] # ori param_3,param_3,0xd000

  p5_StopPartyPanel_Author: &p5_StopPartyPanel_Author
    "DeathChaos"
  p5_StopPartyPanel_Notes: &p5_StopPartyPanel_Notes
    "Prevents in combat HP/SP Bar UI from loading for testing purposes."
  p5_StopPartyPanel_PatVer: &p5_StopPartyPanel_PatVer 1.0
  p5_StopPartyPanel: &p5_StopPartyPanel
  # Prevent party_panel from being loaded
    - [ be32, 0x0028fc14, 0x60000000 ]
    - [ be32, 0x0028fc1c, 0x60000000 ]
    - [ be32, 0x0028fc20, 0x60000000 ]
    - [ be32, 0x0028fc34, 0x60000000 ]
    - [ be32, 0x0028fc40, 0x60000000 ]
    - [ be32, 0x0028fc54, 0x60000000 ]

  p5_Title_US: &p5_Title_US
    "Persona 5":
      BLUS31604: [ All ]
      NPUB31848: [ All ]

  p5_Title_EU: &p5_Title_EU
    "Persona 5":
      BLES02247: [ All ]
      NPEB02436: [ All ]

  p5_Title_JP_100: &p5_Title_JP_100
    "Persona 5":
      BLJM61346: [ 01.00 ]

  p5_Title_JP_103: &p5_Title_JP_103
    "Persona 5":
      BLJM61346: [ 01.03 ]

PPU-e72e715d646a94770d1902364bc66fe33b1b6606:
  "Enable Mod Support":
    Games: *p5_Title_US
    Author: *p5_ModSupport_Author
    Notes: *p5_ModSupport_Notes
    Patch Version: *p5_ModSupport_PatVer
    Patch:
      - [ load, *p5_ModSupport ]
  "Skip Intro Videos":
    Games: *p5_Title_US
    Author: *p5_SkipIntro_Author
    Notes:
    Patch Version: *p5_SkipIntro_PatVer
    Patch:
      - [ load, *p5_SkipIntro ]
  "60 FPS":
    Games: *p5_Title_US
    Author: *p5_60FPS_Author
    Notes: *p5_60FPS_Notes
    Patch Version: *p5_60FPS_PatVer
    Patch:
      - [ load, *p5_60FPS ]
  "Disable DLC Unlock Messages":
    Games: *p5_Title_US
    Author: *p5_DLC_Author
    Notes:
    Patch Version: *p5_DLC_PatVer
    Patch:
      - [ load, *p5_DLC ]
  "Disable Blur Filter":
    Games: *p5_Title_US
    Author: *p5_DisableBlur_Author
    Notes:
    Patch Version: *p5_DisableBlur_PatVer
    Patch:
      - [ load, *p5_DisableBlur ]
  "Disable Normal Distortion Filter (<=99% Alert & Velvet Room)":
    Games: *p5_Title_US
    Author: *p5_DisableDistortion_Author
    Notes:
    Patch Version: *p5_DisableDistortion_PatVer
    Patch:
      - [ load, *p5_DisableDistortion ]
  "Disable Angry Distortion Filter (100% Alert)":
    Games: *p5_Title_US
    Author: *p5_Disable100PctDistortion_Author
    Notes:
    Patch Version: *p5_Disable100PctDistortion_PatVer
    Patch:
      - [ load, *p5_Disable100PctDistortion ]
  "Disable HUD Elements":
    Games: *p5_Title_US
    Author: *p5_NoHudLite_Author
    Notes: *p5_NoHudLite_Notes
    Patch Version: *p5_NoHudLite_PatVer
    Patch:
      - [ load, *p5_NoHudLite ]
  "Disable HUD Elements (Aggressive)":
    Games: *p5_Title_US
    Author: *p5_NoHud_Author
    Notes: *p5_NoHud_Notes
    Patch Version: *p5_NoHud_PatVer
    Patch:
      - [ load, *p5_NoHud ]
  "Encounter BGM In Order":
    Games: *p5_Title_US
    Author: *p5_BgmOrder_Author
    Notes: *p5_BgmOrder_Notes
    Patch Version: *p5_BgmOrder_PatVer
    Patch:
      - [ load, *p5_BgmOrder ]
  "Encounter BGM Random Order":
    Games: *p5_Title_US
    Author: *p5_BgmRandom_Author
    Notes: *p5_BgmRandom_Notes
    Patch Version: *p5_BgmRandom_PatVer
    Patch:
      - [ load, *p5_BgmRandom ]
  "Disable Navigator Battle Messages":
    Games: *p5_Title_US
    Author: *p5_NaviLines_Author
    Notes: *p5_NaviLines_Notes
    Patch Version: *p5_NaviLines_PatVer
    Patch:
      - [ load, *p5_NaviLines ]
  "Custom Maximum Bullet Count":
    Games: *p5_Title_US
    Author: *p5_MaxBullet_Author
    Notes: *p5_MaxBullet_Notes
    Patch Version: *p5_MaxBullet_PatVer
    Patch:
      - [ load, *p5_MaxBullet ]
  "File Access Log":
    Games: *p5_Title_US
    Author: *p5_FileAccessLog_Author
    Notes: *p5_FileAccessLog_Notes
    Patch Version: *p5_FileAccessLog_PatVer
    Patch:
      - [ load, *p5_FileAccessLog ]
  "Fix Script Printing Functions":
    Games: *p5_Title_US
    Author: *p5_FixScriptPrintingFunctions_Author
    Notes: *p5_FixScriptPrintingFunctions_Notes
    Patch Version: *p5_FixScriptPrintingFunctions_PatVer
    Patch:
      - [ load, *p5_FixScriptPrintingFunctions ]
  "Replace Color d0d0d0":
    Games: *p5_Title_US
    Author: *p5_d0d0d0_Author
    Notes: *p5_d0d0d0_Notes
    Patch Version: *p5_d0d0d0_PatVer
    Patch:
      - [ load, *p5_d0d0d0 ]
  "Prevent Party Panel From Loading":
    Games: *p5_Title_US
    Author: *p5_StopPartyPanel_Author
    Notes: *p5_StopPartyPanel_Notes
    Patch Version: *p5_StopPartyPanel_PatVer
    Patch:
      - [ load, *p5_StopPartyPanel ]

PPU-b8c34f774adb367761706a7f685d4f8d9d355426:
  "Enable Mod Support":
    Games: *p5_Title_EU
    Author: *p5_ModSupport_Author
    Notes: *p5_ModSupport_Notes
    Patch Version: *p5_ModSupport_PatVer
    Patch:
      - [ load, *p5_ModSupport ]
  "Skip Intro Videos":
    Games: *p5_Title_EU
    Author: *p5_SkipIntro_Author
    Notes:
    Patch Version: *p5_SkipIntro_PatVer
    Patch:
      - [ load, *p5_SkipIntro ]
  "60 FPS":
    Games: *p5_Title_EU
    Author: *p5_60FPS_Author
    Notes: *p5_60FPS_Notes
    Patch Version: *p5_60FPS_PatVer
    Patch:
      - [ load, *p5_60FPS ]
  "Disable DLC Unlock Messages":
    Games: *p5_Title_EU
    Author: *p5_DLC_Author
    Notes:
    Patch Version: *p5_DLC_PatVer
    Patch:
      - [ load, *p5_DLC ]
  "Disable Blur Filter":
    Games: *p5_Title_EU
    Author: *p5_DisableBlur_Author
    Notes:
    Patch Version: *p5_DisableBlur_PatVer
    Patch:
      - [ load, *p5_DisableBlur ]
  "Disable Normal Distortion Filter (<=99% Alert & Velvet Room)":
    Games: *p5_Title_EU
    Author: *p5_DisableDistortion_Author
    Notes:
    Patch Version: *p5_DisableDistortion_PatVer
    Patch:
      - [ load, *p5_DisableDistortion ]
  "Disable Angry Distortion Filter (100% Alert)":
    Games: *p5_Title_EU
    Author: *p5_Disable100PctDistortion_Author
    Notes:
    Patch Version: *p5_Disable100PctDistortion_PatVer
    Patch:
      - [ load, *p5_Disable100PctDistortion ]
  "Disable HUD Elements":
    Games: *p5_Title_EU
    Author: *p5_NoHudLite_Author
    Notes: *p5_NoHudLite_Notes
    Patch Version: *p5_NoHudLite_PatVer
    Patch:
      - [ load, *p5_NoHudLite ]
  "Disable HUD Elements (Aggressive)":
    Games: *p5_Title_EU
    Author: *p5_NoHud_Author
    Notes: *p5_NoHud_Notes
    Patch Version: *p5_NoHud_PatVer
    Patch:
      - [ load, *p5_NoHud ]
  "Encounter BGM In Order":
    Games: *p5_Title_EU
    Author: *p5_BgmOrder_Author
    Notes: *p5_BgmOrder_Notes
    Patch Version: *p5_BgmOrder_PatVer
    Patch:
      - [ load, *p5_BgmOrder ]
  "Encounter BGM Random Order":
    Games: *p5_Title_EU
    Author: *p5_BgmRandom_Author
    Notes: *p5_BgmRandom_Notes
    Patch Version: *p5_BgmRandom_PatVer
    Patch:
      - [ load, *p5_BgmRandom ]
  "Disable Navigator Battle Messages":
    Games: *p5_Title_EU
    Author: *p5_NaviLines_Author
    Notes: *p5_NaviLines_Notes
    Patch Version: *p5_NaviLines_PatVer
    Patch:
      - [ load, *p5_NaviLines ]
  "Custom Maximum Bullet Count":
    Games: *p5_Title_EU
    Author: *p5_MaxBullet_Author
    Notes: *p5_MaxBullet_Notes
    Patch Version: *p5_MaxBullet_PatVer
    Patch:
      - [ load, *p5_MaxBullet ]
  "File Access Log":
    Games: *p5_Title_EU
    Author: *p5_FileAccessLog_Author
    Notes: *p5_FileAccessLog_Notes
    Patch Version: *p5_FileAccessLog_PatVer
    Patch:
      - [ load, *p5_FileAccessLog ]
  "Fix Script Printing Functions":
    Games: *p5_Title_EU
    Author: *p5_FixScriptPrintingFunctions_Author
    Notes: *p5_FixScriptPrintingFunctions_Notes
    Patch Version: *p5_FixScriptPrintingFunctions_PatVer
    Patch:
      - [ load, *p5_FixScriptPrintingFunctions ]
  "Replace Color d0d0d0":
    Games: *p5_Title_EU
    Author: *p5_d0d0d0_Author
    Notes: *p5_d0d0d0_Notes
    Patch Version: *p5_d0d0d0_PatVer
    Patch:
      - [ load, *p5_d0d0d0 ]
  "Prevent Party Panel From Loading":
    Games: *p5_Title_EU
    Author: *p5_StopPartyPanel_Author
    Notes: *p5_StopPartyPanel_Notes
    Patch Version: *p5_StopPartyPanel_PatVer
    Patch:
      - [ load, *p5_StopPartyPanel ]

PPU-3b394da7912181d308bf08505009b3578521c756:
  "Enable Mod Support":
    Games: *p5_Title_JP_100
    Author: *p5_ModSupport_Author
    Notes: *p5_ModSupport_Notes
    Patch Version: *p5_ModSupport_PatVer
    Patch:
      - [ load, *p5_ModSupport ]
  "Skip Intro Videos":
    Games: *p5_Title_JP_100
    Author: *p5_SkipIntro_Author
    Notes:
    Patch Version: *p5_SkipIntro_PatVer
    Patch:
      - [ load, *p5_SkipIntro ]
  "60 FPS":
    Games: *p5_Title_JP_100
    Author: *p5_60FPS_Author
    Notes: *p5_60FPS_Notes
    Patch Version: *p5_60FPS_PatVer
    Patch:
      - [ load, *p5_60FPS ]
  "Disable DLC Unlock Messages":
    Games: *p5_Title_JP_100
    Author: *p5_DLC_Author
    Notes:
    Patch Version: *p5_DLC_PatVer
    Patch:
      - [ load, *p5_DLC ]
  "Disable Blur Filter":
    Games: *p5_Title_JP_100
    Author: *p5_DisableBlur_Author
    Notes:
    Patch Version: *p5_DisableBlur_PatVer
    Patch:
      - [ load, *p5_DisableBlur ]
  "Disable Normal Distortion Filter (<=99% Alert & Velvet Room)":
    Games: *p5_Title_JP_100
    Author: *p5_DisableDistortion_Author
    Notes:
    Patch Version: *p5_DisableDistortion_PatVer
    Patch:
      - [ load, *p5_DisableDistortion ]
  "Disable Angry Distortion Filter (100% Alert)":
    Games: *p5_Title_JP_100
    Author: *p5_Disable100PctDistortion_Author
    Notes:
    Patch Version: *p5_Disable100PctDistortion_PatVer
    Patch:
      - [ load, *p5_Disable100PctDistortion ]
  "Disable HUD Elements":
    Games: *p5_Title_JP_100
    Author: *p5_NoHudLite_Author
    Notes: *p5_NoHudLite_Notes
    Patch Version: *p5_NoHudLite_PatVer
    Patch:
      - [ load, *p5_NoHudLite ]
  "Disable HUD Elements (Aggressive)":
    Games: *p5_Title_JP_100
    Author: *p5_NoHud_Author
    Notes: *p5_NoHud_Notes
    Patch Version: *p5_NoHud_PatVer
    Patch:
      - [ load, *p5_NoHud ]
  "Encounter BGM In Order":
    Games: *p5_Title_JP_100
    Author: *p5_BgmOrder_Author
    Notes: *p5_BgmOrder_Notes
    Patch Version: *p5_BgmOrder_PatVer
    Patch:
      - [ load, *p5_BgmOrder ]
  "Encounter BGM Random Order":
    Games: *p5_Title_JP_100
    Author: *p5_BgmRandom_Author
    Notes: *p5_BgmRandom_Notes
    Patch Version: *p5_BgmRandom_PatVer
    Patch:
      - [ load, *p5_BgmRandom ]
  "Disable Navigator Battle Messages":
    Games: *p5_Title_JP_100
    Author: *p5_NaviLines_Author
    Notes: *p5_NaviLines_Notes
    Patch Version: *p5_NaviLines_PatVer
    Patch:
      - [ load, *p5_NaviLines ]
  "Custom Maximum Bullet Count":
    Games: *p5_Title_JP_100
    Author: *p5_MaxBullet_Author
    Notes: *p5_MaxBullet_Notes
    Patch Version: *p5_MaxBullet_PatVer
    Patch:
      - [ load, *p5_MaxBullet ]
  "File Access Log":
    Games: *p5_Title_JP_100
    Author: *p5_FileAccessLog_Author
    Notes: *p5_FileAccessLog_Notes
    Patch Version: *p5_FileAccessLog_PatVer
    Patch:
      - [ load, *p5_FileAccessLog ]
  "Fix Script Printing Functions":
    Games: *p5_Title_JP_100
    Author: *p5_FixScriptPrintingFunctions_Author
    Notes: *p5_FixScriptPrintingFunctions_Notes
    Patch Version: *p5_FixScriptPrintingFunctions_PatVer
    Patch:
      - [ load, *p5_FixScriptPrintingFunctions ]
  "Replace Color d0d0d0":
    Games: *p5_Title_JP_100
    Author: *p5_d0d0d0_Author
    Notes: *p5_d0d0d0_Notes
    Patch Version: *p5_d0d0d0_PatVer
    Patch:
      - [ load, *p5_d0d0d0 ]
  "Prevent Party Panel From Loading":
    Games: *p5_Title_JP_100
    Author: *p5_StopPartyPanel_Author
    Notes: *p5_StopPartyPanel_Notes
    Patch Version: *p5_StopPartyPanel_PatVer
    Patch:
      - [ load, *p5_StopPartyPanel ]

PPU-9da9b988693598fbe1e2d316d1e927c37ad666bc:
  "Enable Mod Support":
    Games: *p5_Title_JP_103
    Author: *p5_ModSupport_Author
    Notes: *p5_ModSupport_Notes
    Patch Version: *p5_ModSupport_PatVer
    Patch:
      - [ load, *p5_ModSupport ]
  "Skip Intro Videos":
    Games: *p5_Title_JP_103
    Author: *p5_SkipIntro_Author
    Notes:
    Patch Version: *p5_SkipIntro_PatVer
    Patch:
      - [ load, *p5_SkipIntro ]
  "60 FPS":
    Games: *p5_Title_JP_103
    Author: *p5_60FPS_Author
    Notes: *p5_60FPS_Notes
    Patch Version: *p5_60FPS_PatVer
    Patch:
      - [ load, *p5_60FPS ]
  "Disable DLC Unlock Messages":
    Games: *p5_Title_JP_103
    Author: *p5_DLC_Author
    Notes:
    Patch Version: *p5_DLC_PatVer
    Patch:
      - [ load, *p5_DLC ]
  "Disable Blur Filter":
    Games: *p5_Title_JP_103
    Author: *p5_DisableBlur_Author
    Notes:
    Patch Version: *p5_DisableBlur_PatVer
    Patch:
      - [ load, *p5_DisableBlur ]
  "Disable Normal Distortion Filter (<=99% Alert & Velvet Room)":
    Games: *p5_Title_JP_103
    Author: *p5_DisableDistortion_Author
    Notes:
    Patch Version: *p5_DisableDistortion_PatVer
    Patch:
      - [ load, *p5_DisableDistortion ]
  "Disable Angry Distortion Filter (100% Alert)":
    Games: *p5_Title_JP_103
    Author: *p5_Disable100PctDistortion_Author
    Notes:
    Patch Version: *p5_Disable100PctDistortion_PatVer
    Patch:
      - [ load, *p5_Disable100PctDistortion ]
  "Disable HUD Elements":
    Games: *p5_Title_JP_103
    Author: *p5_NoHudLite_Author
    Notes: *p5_NoHudLite_Notes
    Patch Version: *p5_NoHudLite_PatVer
    Patch:
      - [ load, *p5_NoHudLite ]
  "Disable HUD Elements (Aggressive)":
    Games: *p5_Title_JP_103
    Author: *p5_NoHud_Author
    Notes: *p5_NoHud_Notes
    Patch Version: *p5_NoHud_PatVer
    Patch:
      - [ load, *p5_NoHud ]
  "Encounter BGM In Order":
    Games: *p5_Title_JP_103
    Author: *p5_BgmOrder_Author
    Notes: *p5_BgmOrder_Notes
    Patch Version: *p5_BgmOrder_PatVer
    Patch:
      - [ load, *p5_BgmOrder ]
  "Encounter BGM Random Order":
    Games: *p5_Title_JP_103
    Author: *p5_BgmRandom_Author
    Notes: *p5_BgmRandom_Notes
    Patch Version: *p5_BgmRandom_PatVer
    Patch:
      - [ load, *p5_BgmRandom ]
  "Disable Navigator Battle Messages":
    Games: *p5_Title_JP_103
    Author: *p5_NaviLines_Author
    Notes: *p5_NaviLines_Notes
    Patch Version: *p5_NaviLines_PatVer
    Patch:
      - [ load, *p5_NaviLines ]
  "Custom Maximum Bullet Count":
    Games: *p5_Title_JP_103
    Author: *p5_MaxBullet_Author
    Notes: *p5_MaxBullet_Notes
    Patch Version: *p5_MaxBullet_PatVer
    Patch:
      - [ load, *p5_MaxBullet ]
  "File Access Log":
    Games: *p5_Title_JP_103
    Author: *p5_FileAccessLog_Author
    Notes: *p5_FileAccessLog_Notes
    Patch Version: *p5_FileAccessLog_PatVer
    Patch:
      - [ load, *p5_FileAccessLog ]
  "Fix Script Printing Functions":
    Games: *p5_Title_JP_103
    Author: *p5_FixScriptPrintingFunctions_Author
    Notes: *p5_FixScriptPrintingFunctions_Notes
    Patch Version: *p5_FixScriptPrintingFunctions_PatVer
    Patch:
      - [ load, *p5_FixScriptPrintingFunctions ]
  "Replace Color d0d0d0":
    Games: *p5_Title_JP_103
    Author: *p5_d0d0d0_Author
    Notes: *p5_d0d0d0_Notes
    Patch Version: *p5_d0d0d0_PatVer
    Patch:
      - [ load, *p5_d0d0d0 ]
  "Prevent Party Panel From Loading":
    Games: *p5_Title_JP_103
    Author: *p5_StopPartyPanel_Author
    Notes: *p5_StopPartyPanel_Notes
    Patch Version: *p5_StopPartyPanel_PatVer
    Patch:
      - [ load, *p5_StopPartyPanel ]

Anchors:
  r1_fps_notes: &r1_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 33 FPS or 60 FPS depending on the scene."

PPU-0cc2ddc637def2fe22b5e89563f773e4c0cae024: # game.self
  "Unlock FPS":
    Games:
      "Resistance: Fall of Man":
        BCUS98107: [ 01.00 ]
        BCES00001: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *r1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001e5db0, 0x60000000 ]
      - [ bef32, 0x00678ed0, 0.00416666 ] # set minimum timestep size
  "Extended FOV":
    Games:
      "Resistance: Fall of Man":
        BCUS98107: [ 01.00 ]
        BCES00001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x006b6390, 0.7 ]

PPU-a08a187d78dd68ebc15b4c6c34335ea55d8dc0f7: # game.self Updated
  "Unlock FPS":
    Games:
      "Resistance: Fall of Man (Updated)":
        BCUS98107: [ 01.00 ]
        BCES00001: [ 01.00 ]
        BCAS20003: [ 01.00 ]
    Author: "Whatcookie, FlexBy"
    Notes: *r1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001e6f68, 0x60000000 ]
      - [ bef32, 0x00688f00, 0.00416666 ] # set minimum timestep size
  "Extended FOV":
    Games:
      "Resistance: Fall of Man (Updated)":
        BCUS98107: [ 01.00 ]
        BCES00001: [ 01.00 ]
        BCAS20003: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x006c6c3c, 0.7 ]

PPU-82555e0b1aaaa6c62ae8f23057e38d1006b7c19c: # game.self
  "Unlock FPS":
    Games:
      "Resistance: Fall of Man":
        NPEA00430: [ 01.00 ]
    Author: "Whatcookie, illusion"
    Notes: *r1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00418898, 0x4800 ]
      - [ bef32, 0x00768348, 0.00416666 ] # set minimum timestep size
  "Bug Fix: Return to EBOOT.BIN on Quit":
    Games:
      "Resistance: Fall of Man":
        NPEA00430: [ 01.00 ]
    Author: "illusion"
    Notes: "Avoid recompiling unused PPU modules."
    Patch Version: 1.0
    Patch:
      - [ byte, 0x000334d7, 0x2c ]
  "Extended FOV":
    Games:
      "Resistance: Fall of Man":
        NPEA00430: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x007b0494, 0.7 ]

PPU-533d9f764374a5174b4e3c2834e742c4184d7211:
  "Unlock FPS":
    Games:
      "戦国BASARA4 皇 (Sengoku Basara 4: Sumeragi)":
        BLJM61248: [ 01.02 ]
    Author: "Whatcookie"
    Notes: "The game is locked to 60 FPS by default. This patch completely removes the framelimiter, and doesn't need any special settings."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e23160, 0x3860001e ] # li r3, 1e
      - [ be32, 0x00e23178, 0x60000000 ] # nop

PPU-a16e6df2faaf035fb375ce5e61a0e872cf03bfb9:
  "Unlock FPS":
    Games:
      "戦国BASARA4 皇 (Sengoku Basara 4: Sumeragi)":
        NPJB00688: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e20184, 0x60000000 ]
      - [ be32, 0x00e20198, 0x60000000 ]

PPU-120c0bb1328b0b74f9c176e22ecdda83296f210f:
  "Unlock FPS":
    Games:
      "戦国BASARA4 皇 (Sengoku Basara 4: Sumeragi)":
        NPJB00688: [ 01.02 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e21c64, 0x60000000 ]
      - [ be32, 0x00e21c78, 0x60000000 ]

Anchors:
  ShadowsoftheDamned_FPS_notes: &ShadowsoftheDamned_FPS_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 31 FPS."
  ShadowsoftheDamned_FPS: &ShadowsoftheDamned_FPS
    - [ be32, 0x009e0ce4, 0x60000000 ] # nop
    - [ be32, 0x009e0d64, 0x60000000 ] # nop

  ShadowsoftheDamned_DOF_notes: &ShadowsoftheDamned_DOF_notes
    "Disables the DoF effect which doesn't correctly scale with resolution upscaling. This patch may slightly affect the game brightness in some levels."
  ShadowsoftheDamned_DOF: &ShadowsoftheDamned_DOF
    - [ be32, 0x00126960, 0x38a00000 ] # li r5 0
    - [ be32, 0x00325488, 0x38a00000 ] # li r5 0
    - [ be32, 0x003e3050, 0x38a00000 ] # li r5 0

  ShadowsoftheDamned_Grain: &ShadowsoftheDamned_Grain
    - [ be16, 0x003e3398, 0x4800 ] # b 0x3e3410

  ShadowsoftheDamned_Blur: &ShadowsoftheDamned_Blur
    - [ be32, 0x003e3998, 0x38600000 ] # li r3 0

PPU-888f4088d305a6add6f83728bdf917c8245fb72c:
  "Unlock FPS":
    Games:
      "Shadows of the Damned":
        BLUS30653: [ All ]
    Author: "Whatcookie"
    Notes: *ShadowsoftheDamned_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_FPS ]
  "Disable Image Grain":
    Games:
      "Shadows of the Damned":
        BLUS30653: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_Grain ]
  "Disable Low-Resolution Depth of Field":
    Games:
      "Shadows of the Damned":
        BLUS30653: [ All ]
    Author: "boma"
    Notes: *ShadowsoftheDamned_DOF_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_DOF ]
  "Disable Motion Blur":
    Games:
      "Shadows of the Damned":
        BLUS30653: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_Blur ]

PPU-57b3bd94bab3f0db81625c843cdd9bc04d77cd4a:
  "Unlock FPS":
    Games:
      "Shadows of the Damned":
        BLES01276: [ All ]
    Author: "Whatcookie, Dante3732"
    Notes: *ShadowsoftheDamned_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_FPS ]
  "Disable Image Grain":
    Games:
      "Shadows of the Damned":
        BLES01276: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_Grain ]
  "Disable Low-Resolution Depth of Field":
    Games:
      "Shadows of the Damned":
        BLES01276: [ All ]
    Author: "boma"
    Notes: *ShadowsoftheDamned_DOF_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_DOF ]
  "Disable Motion Blur":
    Games:
      "Shadows of the Damned":
        BLES01276: [ All ]
    Author: "boma"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ShadowsoftheDamned_Blur ]

Anchors:
  sly4_mlaa_notes: &sly4_mlaa_notes
    "Disables MLAA, allowing for the use of resolution scaling. Use in conjunction with the SPU MLAA patch for better performance."
  sly4_mlaa_EU: &sly4_mlaa_EU
    - [ be32, 0x00531cc0, 0x38800000 ] # li r4 0x0
  sly4_mlaa_UK: &sly4_mlaa_UK
    - [ be32, 0x00531cb0, 0x38800000 ] # li r4 0x0
  sly4_mlaa_US: &sly4_mlaa_US
    - [ be32, 0x00531d40, 0x38800000 ] # li r4 0x0
  sly4_ar_notes: &sly4_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
  sly4_ar_configurable_values: &sly4_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-5c741b00514f07966c2820d67f395d945a88d79d:
  "Disable MLAA":
    Games:
      "Sly Cooper: Thieves in Time":
        BCES01284: [ 01.00 ]
    Author: "illusion"
    Notes: *sly4_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sly4_mlaa_EU ]

PPU-326bf99e707d7d2be160ec116bb6313ae2f42ebc:
  "Disable MLAA":
    Games:
      "Sly Cooper: Thieves in Time":
        BCES01285: [ 01.00 ]
    Author: "illusion, YuriNator557"
    Notes: *sly4_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sly4_mlaa_UK ]

PPU-69acb9900ff44f7d7a3b25b226b213966955aed4:
  "Disable MLAA":
    Games:
      "Sly Cooper: Thieves in Time":
        BCUS98247: [ 01.00 ]
    Author: "illusion"
    Notes: *sly4_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sly4_mlaa_US ]

PPU-fb1e9e9160613b89047715ce62f2da97201118d1:
  "Disable MLAA":
    Games:
      "Sly Cooper: Thieves in Time":
        NPEA00429: [ 01.00 ]
    Author: "illusion, mew21"
    Notes: *sly4_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sly4_mlaa_EU ]
  "Skip Intro":
    Games:
      "Sly Cooper: Thieves in Time":
        NPEA00429: [ 01.00 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ae9a74, 0x60000000 ]
      - [ be32, 0x00498840, 0x60000000 ]

PPU-cf7f5b0e93e0afb59e8f22fd040086ae554cdbad:
  "Disable MLAA":
    Games:
      "Sly Cooper: Thieves in Time":
        NPUA80875: [ 01.00 ]
    Author: "illusion, mew21"
    Notes: *sly4_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *sly4_mlaa_US ]
  "Aspect Ratio":
    Games:
      "Sly Cooper: Thieves in Time":
        NPUA80875: [ 01.00 ]
    Author: "Virjoinga"
    Notes: *sly4_ar_notes
    Configurable Values: *sly4_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0050F59C, "Aspect Ratio" ]

Anchors:
  SonicAdventure_FullScreen: &SonicAdventure_FullScreen
    - [ be32, 0x00909260, 0x009b1604 ]
    - [ be32, 0x0090e5b0, 0x40a00000 ]
    - [ be32, 0x00909270, 0x40400000 ]
    - [ be32, 0x00909274, 0xc0400000 ]
    - [ be32, 0x00909278, 0xbf400000 ]
    - [ bef32, 0x05043f18, 0.75 ]
    - [ be32, 0x006d0220, 0x60000000 ]

PPU-5fc2b4ea8ae9cd7a4247f28dc6af65ca1a6a9fa4:
  "Full Screen":
    Games:
      "Sonic Adventure":
        NPUB30249: [ All ]
        NPEB00304: [ All ]
    Author: "Esppiral, Margen67"
    Notes: "Removes the borders and makes the game take up the entire screen without stretching. Transitions are still 4:3. Breaks some startup screens."
    Patch Version: 1.0
    Patch:
      - [ load, *SonicAdventure_FullScreen ]
  "Force Japanese Voices":
    Games:
      "Sonic Adventure":
        NPUB30249: [ All ]
        NPEB00304: [ All ]
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x007f4432, "JP" ]

Anchors:
  su_1280x720_notes: &su_1280x720_notes
    "This game originally rendered at a resolution of 880x720. With this patch, it will render at a resolution of 1280x720."

  su_1280x720_Digital: &su_1280x720_Digital
  # Main backbuffer (880x720)
    - [ be16, 0x013d197a, 1280 ]
  # Other buffers
    - [ be16, 0x0144a53e, 1280 ]
    - [ be16, 0x0144a5f6, 1280 ]
    - [ be16, 0x0144a652, 1280 ]

  su_1280x720_USEUPhysical: &su_1280x720_USEUPhysical
  # Main backbuffer (880x720)
    - [ be16, 0x00dd85b6, 1280 ]
  # Other buffers
    - [ be16, 0x013608d6, 1280 ]
    - [ be16, 0x0136098e, 1280 ]
    - [ be16, 0x013609ea, 1280 ]

  swa_1280x720_BLJM60112: &swa_1280x720_BLJM60112
  # Main backbuffer (880x720)
    - [ be16, 0x00dec49e, 1280 ]
  # Other buffers
    - [ be16, 0x013644fe, 1280 ]
    - [ be16, 0x013645b6, 1280 ]
    - [ be16, 0x01364612, 1280 ]

  su_1280x720_v102: &su_1280x720_v102
  # Main backbuffer (880x720)
    - [ be16, 0x00dfd7c6, 1280 ]
  # Other buffers
    - [ be16, 0x01371b8e, 1280 ]
    - [ be16, 0x01371c46, 1280 ]
    - [ be16, 0x01371ca2, 1280 ]

  su_1280x720_NPUB90194_Demo: &su_1280x720_NPUB90194_Demo
  # Main backbuffer (880x720)
    - [ be16, 0x013c4b5a, 1280 ]
  # Other buffers
    - [ be16, 0x01439086, 1280 ]
    - [ be16, 0x0143913e, 1280 ]
    - [ be16, 0x0143919a, 1280 ]

  su_1280x720_NPEB90132_Demo: &su_1280x720_NPEB90132_Demo
  # Main backbuffer (880x720)
    - [ be16, 0x013c4b62, 1280 ]
  # Other buffers
    - [ be16, 0x0143908e, 1280 ]
    - [ be16, 0x01439146, 1280 ]
    - [ be16, 0x014391a2, 1280 ]

  swa_1280x720_NPJB90162_Demo: &swa_1280x720_NPJB90162_Demo
  # Main backbuffer (880x720)
    - [ be16, 0x013c4b56, 1280 ]
  # Other buffers
    - [ be16, 0x01439086, 1280 ]
    - [ be16, 0x0143913e, 1280 ]
    - [ be16, 0x0143919a, 1280 ]

  su_aspectratio_notes: &su_aspectratio_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. UI elements will be stretched."

  su_aspectratio_configurable_values: &su_aspectratio_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25
      # Divide width by height to get the float value.

  su_aspectratio_v102: &su_aspectratio_v102
    - [ bef32, 0x0275db2c, "Aspect Ratio" ]

  su_102_mb: &su_102_mb
    - [ be32, 0x00e234e8, 0x38000000 ]
  su_102_dof: &su_102_dof
    - [ be32, 0x00e5d7c4, 0x38000000 ]
  su_102_ds: &su_102_ds
    - [ be32, 0x00e0464c, 0x38000000 ]
  su_102_re: &su_102_re
    - [ be32, 0x00e1eef0, 0x38000000 ]

  su_digital_all_mb: &su_digital_all_mb
    - [ be32, 0x013c3874, 0x38000000 ]
  su_digital_all_dof: &su_digital_all_dof
    - [ be32, 0x013d76b4, 0x38000000 ]
  su_digital_all_ds: &su_digital_all_ds
    - [ be32, 0x013cc75c, 0x38000000 ]
  su_digital_all_re: &su_digital_all_re
    - [ be32, 0x013cac44, 0x38000000 ]

  su_borked_notes: &su_borked_notes
    "Improves performance at the cost of graphics quality."

PPU-6ebcaf71dc08cd612acb82f8e32738a8693d9347:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.00 ]
        BLES00425: [ 01.00 ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_USEUPhysical ]

PPU-c2911b4248ca2090819299f90d1a2d37f50fd5a8:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_v102 ]
  "Aspect Ratio":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "slashiee"
    Notes: *su_aspectratio_notes
    Configurable Values: *su_aspectratio_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *su_aspectratio_v102 ]
  "Disable Depth of Field":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_dof ]
  "Disable Motion Blur":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_mb ]
  "Disable Dynamic Shadows":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "illusion"
    Notes: *su_borked_notes
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_ds ]
  "Disable Real-time Reflections":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLUS30244: [ 01.02 ]
    Author: "illusion"
    Notes: *su_borked_notes
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_re ]

PPU-dfe27b6a57f3fd01f310e402e97a297836b46ceb:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_v102 ]
  "Aspect Ratio":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "slashiee"
    Notes: *su_aspectratio_notes
    Configurable Values: *su_aspectratio_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *su_aspectratio_v102 ]
  "Disable Depth of Field":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_dof ]
  "Disable Motion Blur":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_mb ]
  "Disable Dynamic Shadows":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "illusion"
    Notes: *su_borked_notes
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_ds ]
  "Disable Real-time Reflections":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLES00425: [ 01.02 ]
    Author: "illusion"
    Notes: *su_borked_notes
    Patch Version: 1.0
    Patch:
      - [ load, *su_102_re ]

PPU-fbb2149d0f9ad51398eed59cbd26db5367d6376e:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLJM60112: [ 01.00 ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *swa_1280x720_BLJM60112 ]

PPU-4b48caf21e1f10d47aa9a20acce8ecd8c055755e:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLJM60112: [ 01.02 ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_v102 ]
  "Aspect Ratio":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        BLJM60112: [ 01.02 ]
    Author: "slashiee"
    Notes: *su_aspectratio_notes
    Configurable Values: *su_aspectratio_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *su_aspectratio_v102 ]

PPU-88b57d524597bbee38df3a452eb0e86c5e789f73:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_Digital ]
  "Aspect Ratio":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "Margen67"
    Notes: *su_aspectratio_notes
    Configurable Values: *su_aspectratio_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0295a108, "Aspect Ratio" ]
  "Disable Real-time Reflections":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "illusion, FlexBy"
    Notes: *su_borked_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_re ]
  "Disable Depth of Field":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_dof ]
  "Disable Motion Blur":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_mb ]
  "Disable Dynamic Shadows":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPUB31204: [ All ]
    Author: "illusion, FlexBy"
    Notes: *su_borked_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_ds ]

PPU-d0bf7a33f1763725609feaa87e0e4d18ab9e8acd:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_Digital ]
  "Aspect Ratio":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "Margen67"
    Notes: *su_aspectratio_notes
    Configurable Values: *su_aspectratio_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0295a108, "Aspect Ratio" ]
  "Disable Real-time Reflections":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "illusion, FlexBy"
    Notes: *su_borked_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_re ]
  "Disable Depth of Field":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_dof ]
  "Disable Motion Blur":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_mb ]
  "Disable Dynamic Shadows":
    Games:
      "Sonic Unleashed (Sonic World Adventure)":
        NPEB01347: [ All ]
    Author: "illusion, FlexBy"
    Notes: *su_borked_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_digital_all_ds ]

PPU-bd76a566ab62386b90443711206c3f5063b5ab38:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure) Demo":
        NPUB90194: [ All ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_NPUB90194_Demo ]

PPU-7d9105cac7fb9c8ebbbd791693c27986b12c98ad:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure) Demo":
        NPEB90132: [ All ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *su_1280x720_NPEB90132_Demo ]

PPU-8bc924308cd72132d78bae70fb9a1fa82af03c19:
  "1280x720 Resolution":
    Games:
      "Sonic Unleashed (Sonic World Adventure) Demo":
        NPJB90162: [ All ]
    Author: "TGEnigma, slashiee"
    Notes: *su_1280x720_notes
    Patch Version: 1.3
    Patch:
      - [ load, *swa_1280x720_NPJB90162_Demo ]

PPU-2f6778a8e97be84833e47ef273ff10cc2bd6809e:
  "21:9 Aspect Ratio":
    Games:
      "Space Channel 5: Part 2":
        NPUB30353: [ All ]
    Author: "Esppiral"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x005839d4, 1.2 ]  # Zoom+ (21:9)
      - [ bef32, 0x0057ef84, 0.75 ] # Vert+ (21:9)

Anchors:
  oblivion_fps_notes: &oblivion_fps_notes
    "Completely unlocks FPS and doesn't require any special settings. Use Framelimit or VSync option to cap the framerate."

PPU-dd7337070bf5a57a46f74c243995009319e2748b:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion GOTY":
        BLUS30087: [ 01.00 ]
        BLES00163: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aaed04, 0x60000000 ]
      #- [ be32, 0x00aaec4c, 0x60000000 ]
      #- [ be32, 0x00682100, 0x60000000 ]
  "Skip Intro":
    Games:
      "The Elder Scrolls IV: Oblivion GOTY":
        BLUS30087: [ 01.00 ]
        BLES00163: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014f10ac, 0x101914a0 ] 
      - [ be32, 0x014f10b0, 0x101914a0 ] # SIntroSequence
      - [ be32, 0x014f10b4, 0x101914a0 ]
      - [ be32, 0x014f10b8, 0x101914a0 ]
      - [ be32, 0x014f10bc, 0x101914a0 ]
      - [ be32, 0x014f10c0, 0x101914a0 ]
      - [ be32, 0x014f10c8, 0x101914a0 ] # SMainMenuMovieIntro
      - [ be32, 0x014f10cc, 0x101914a0 ]
      - [ be32, 0x014f10d0, 0x101914a0 ]
      - [ be32, 0x014f10d4, 0x101914a0 ]
      - [ be32, 0x014f10d8, 0x101914a0 ]
      - [ be32, 0x014f10dc, 0x101914a0 ]
      - [ be32, 0x0068de10, 0x2f800001 ] # auto save warning

PPU-ceb470d5ff22280afed8e29ff86f8cd0633f4cea:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion GOTY":
        BLJS10034: [ 01.01 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a3cd18, 0x60000000 ]

PPU-a628317e186995b96cb7ff072bdd516831be59cd:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion GOTY":
        BLJS10034: [ 02.00 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a3b488, 0x60000000 ]

PPU-439101d29241fc675adf90b9b997373fd404d179:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion":
        BLUS30007: [ 01.00 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aac734, 0x60000000 ]

PPU-613a96da9623ccbcf57eabb9495af3af2e46cb8c:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion":
        BLUS30106: [ 01.00 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aafa94, 0x60000000 ]

PPU-f574a7d5dc1a6d8665b4a8f5278c17791af46f70:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion":
        BLJM60032: [ 01.03 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aefd8c, 0x60000000 ]

PPU-61b3d0e33bdc2bc3ca420a68638460cdf18c9dd5:
  "Unlock FPS":
    Games:
      "The Elder Scrolls IV: Oblivion":
        BLES00048: [ 01.01 ]
    Author: "FlexBy"
    Notes: *oblivion_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aacdc0, 0x60000000 ]

Anchors:
  UT3_FPS_Notes: &UT3_FPS_Notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 58 FPS."
  UT3_FPS: &UT3_FPS
    - [ be32, 0x0057b760, 0x60000000 ]

PPU-d4452078fad5d1d71a6ccb30d8349259749f38e7:
  "Unlock FPS":
    Games:
      "Unreal Tournament 3":
        BLES00200: [ 02.00 ]
    Author: "Whatcookie, illusion"
    Notes: *UT3_FPS_Notes
    Patch Version: 1.1
    Patch:
      - [ load, *UT3_FPS ]

PPU-a14d9bfcebd7226221bc81c9885dab16d688ae5c:
  "Unlock FPS":
    Games:
      "Unreal Tournament 3":
        BLUS30086: [ 02.00 ]
    Author: "Whatcookie, illusion"
    Notes: *UT3_FPS_Notes
    Patch Version: 1.1
    Patch:
      - [ load, *UT3_FPS ]

PPU-9c0d4079af9107fa762bbcba4d2c69478f5484a6: # cod_ps3f.elf
  "Extended FOV":
    Games:
      "Call of Duty 3":
        BLES00016: [ All ] # Needs all tag otherwise patch doesn't get applied even though game version is the same in param.sfo
    Author: "illusion"
    Notes: "Needs testing on other versions."
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x012248e8, 0.64 ]

PPU-7bf98dfa97ff84d8db49fcf198e2ecb9d9975ac6: # bin\s4_g.self
  "60 FPS":
    Games:
      "SOCOM 4: U.S. Navy SEALs (Special Forces)":
        BCES00938: [ 01.00 ]
        BCUS98135: [ 01.00 ]
    Author: "illusion"
    Notes: "Set Clock scale to 200% for 60 FPS.\nIGC might still be double speed."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x016f2ecc, 0x3f00 ]
  "Extended FOV":
    Games:
      "SOCOM 4: U.S. Navy SEALs (Special Forces)":
        BCES00938: [ 01.00 ]
        BCUS98135: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x016efe34, 0.65 ]
  "Disable MLAA":
    Games:
      "SOCOM 4: U.S. Navy SEALs (Special Forces)":
        BCES00938: [ 01.00 ]
        BCUS98135: [ 01.00 ]
    Author: "illusion"
    Notes: "Allows for the use of resolution scaling.\nSome effects like fire, smoke, muzzle flashes and possibly more will be missing due to the particle rendering system being tied into MLAA." # ugh, who thought this would be a good idea
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ec268, 0x38600000 ] # EdgeMlaa3d
      - [ be32, 0x001ec298, 0x38c00000 ]

Anchors:
  ms3_psn_dsr: &ms3_psn_dsr
    - [ be32, 0x00469cf0, 0x38600000 ] # li r3 0x0

  ms3_psn_mb: &ms3_psn_mb
    - [ be32, 0x00469d24, 0x38600000 ] # li r3 0x0

  ms3_psn_ssao: &ms3_psn_ssao
    - [ be32, 0x00469dfc, 0x38600000 ] # li r3 0x0

  ms3_psn_mlaa: &ms3_psn_mlaa
    - [ be32, 0x0044cb14, 0x38800000 ] # li r4 0x0 // EdgePostEffects

  ms3_psn_fps: &ms3_psn_fps
    - [ be32, 0x005ba9dc, 0x38800001 ] # vfps
    - [ be32, 0x005ba514, 0x60000000 ] # target fps

  ms3_100_dsr: &ms3_100_dsr
    - [ be32, 0x004760f0, 0x38600000 ] # li r3 0x0

  ms3_100_mb: &ms3_100_mb
    - [ be32, 0x00476124, 0x38600000 ] # li r3 0x0

  ms3_100_ssao: &ms3_100_ssao
    - [ be32, 0x004761fc, 0x38600000 ] # li r3 0x0

  ms3_100_mlaa: &ms3_100_mlaa
    - [ be32, 0x00456c94, 0x38800000 ] # li r4 0x0 // EdgePostEffects

  ms3_100_fps: &ms3_100_fps
    - [ be32, 0x005ee690, 0x38800001 ] # vfps
    - [ be32, 0x005ee42c, 0x60000000 ] # target fps

  ms3_100_intro: &ms3_100_intro
    - [ be32, 0x007fb744, 0x3084345f ]

  ms3_100_dev: &ms3_100_dev
    - [ utf8, 0x010f3460, "\x00" ]

  ms3_106_dsr: &ms3_106_dsr
    - [ be32, 0x00469e90, 0x38600000 ] # li r3 0x0

  ms3_106_mb: &ms3_106_mb
    - [ be32, 0x00469ec4, 0x38600000 ] # li r3 0x0

  ms3_106_ssao: &ms3_106_ssao
    - [ be32, 0x00469f9c, 0x38600000 ] # li r3 0x0

  ms3_106_mlaa: &ms3_106_mlaa
    - [ be32, 0x0044ccb4, 0x38800000 ] # li r4 0x0 // EdgePostEffects

  ms3_106_fps: &ms3_106_fps
    - [ be32, 0x005bc2ac, 0x38800001 ]
    - [ be32, 0x005bbde4, 0x60000000 ]

  ms3_106_intro: &ms3_106_intro
    - [ utf8, 0x00f965d4, "\x00" ]

  ms3_mlaa_notes: &ms3_mlaa_notes
    "Allows for the use of Resolution Scaling in the title.\nMust be used with Disable Dynamic Resolution Scale patch for proper upscaling and improved performance.\nSet Resolution Scale Threshold to 256x256 Partially fixes screen pattern on bloom when using Resolution Scaling."

  ms3_fps_notes: &ms3_fps_notes
    "Updated with a new version that has correct game speed above 15 FPS.\nIncrease Vblank above 60Hz to go above 60 FPS.\nSome UI elements are still tied to target FPS."

  ms3_ssao_notes: &ms3_ssao_notes
    "Disabling SSAO (Screen Space Ambient Occlusion) does not improve performance, and makes the game look worse. Optional patch for those that wish to use it."

  ms3_drs_notes: &ms3_drs_notes
    "Must be used with the MLAA patch for proper upscaling and improved performance."

PPU-c3a2c4075b9ff3c2b142c2df606bb1663c097d5b:
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_intro ]
  "Enable Dev Menu":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dev ]
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_100_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mlaa ]

PPU-69a95ded717d716cdcd77ed0b51fa90bf1cb4fa3:
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_intro ]
  "Enable Dev Menu":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dev ]
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_100_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mlaa ]

PPU-bc3b923ec314051c7c61d3134ea9c01f24eaf4f7:
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_intro ]
  "Enable Dev Menu":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dev ]
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_100_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_100_mlaa ]

PPU-41644f9f5fda72efc62e7146620db9679969bff6:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_106_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mlaa ]
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCES00484: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_intro ]

PPU-f5136a68b1293dd7341878005674f05ffa5ff16a:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_106_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mlaa ]
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCES01104: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_intro ]

PPU-d39f3ed2bf15a49d28486c7bad52b72c8933cbe8:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_106_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_mlaa ]
  "Skip Intro":
    Games:
      "Motorstorm: Apocalypse":
        BCUS98242: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_106_intro ]

PPU-507b9d34380cff4bc03d7c64ce6342180779c84b:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        NPUA80661: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_psn_fps ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        NPUA80661: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_dsr ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        NPUA80661: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_ssao ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        NPUA80661: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        NPUA80661: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_mlaa ]

PPU-fe5be566e6cf8bb0b405c8f2b6689e33c471b143:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse":
        NPEA00315: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ load, *ms3_psn_fps ]
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse":
        NPEA00315: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_ssao ]
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse":
        NPEA00315: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_dsr ]
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse":
        NPEA00315: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_mb ]
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse":
        NPEA00315: [ 01.06 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ load, *ms3_psn_mlaa ]

PPU-afb6e2e47e170711041775e0280707e503469d85:
  "Unlock FPS":
    Games:
      "Motorstorm: Apocalypse Singleplayer Demo":
        NPEA90090: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x005ea630, 0x60000000 ] # vfps
      - [ be32, 0x005ea3cc, 0x60000000 ] # target fps
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: Apocalypse Singleplayer Demo":
        NPEA90090: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_drs_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00471d40, 0x38600000 ] # li r3 0x0
  "Disable SSAO":
    Games:
      "Motorstorm: Apocalypse Singleplayer Demo":
        NPEA90090: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_ssao_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00471e4c, 0x38600000 ] # li r3 0x0
  "Disable Motion blur":
    Games:
      "Motorstorm: Apocalypse Singleplayer Demo":
        NPEA90090: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00471d74, 0x38600000 ] # li r3 0x0
  "Disable MLAA":
    Games:
      "Motorstorm: Apocalypse Singleplayer Demo":
        NPEA90090: [ 01.00 ]
    Author: "illusion"
    Notes: *ms3_mlaa_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004528e4, 0x38800000 ] # li r4 0x0 // EdgePostEffects

Anchors:
  lis_fps_notes: &lis_fps_notes
    "Removes 62 FPS limit. Maximum framerate with the patch is half the Vblank frequency."

PPU-7b13f30153c465c62995ff4710961f3ae7d2e378:
  "Unlock FPS":
    Games:
      "Life is Strange":
        NPEB02197: [ 01.07 ]
        NPUB31636: [ 01.08 ]
    Author: "illusion"
    Notes: *lis_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0042c4fc, 0x60000000 ]

PPU-9940a863ed7bf977c5a15cff5eec8d0649a8552f:
  "Unlock FPS":
    Games:
      "Life is Strange":
        NPJB00789: [ 01.00 ]
    Author: "illusion"
    Notes: *lis_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0042c1ec, 0x60000000 ]

Anchors:
  modnation_111_us: &modnation_111_us
    "ModNation Racers":
      NPUA80535: [ 01.11 ]
  modnation_111_eu: &modnation_111_eu
    "ModNation Racers":
      NPEA00291: [ 01.11 ]
  modnation_110_eu: &modnation_110_eu
    "ModNation Racers":
      NPEA00291: [ 01.10 ]
  modnation_109_eu: &modnation_109_eu
    "ModNation Racers":
      NPEA00291: [ 01.09 ]
  modnation_beta: &modnation_beta
    "ModNation Racers Beta":
      NPUA70074: [ 01.00 ]
  modnation_closed_beta: &modnation_closed_beta
    "ModNation Racers Beta":
      BCET70020: [ 01.00 ]
  modnation_res_notes: &modnation_res_notes
    "Normally when driving fast enough the resolution becomes 1024x600."
  modnation_res: &modnation_res
    - [ be16, 0x0137e642, 1280 ]
    - [ be16, 0x0137e646, 720 ]
  modnation_res_beta: &modnation_res_beta
    - [ be16, 0x00dc6192, 1280 ]
    - [ be16, 0x00dc6196, 720 ]
  modnation_fov_notes: &modnation_fov_notes
    "Increases FOV to match 16:9. Only for aspect ratios wider than 16:9."
  modnation_fov_configurable_values: &modnation_fov_configurable_values
    "FOV (Aspect Ratio)":
      Type: double_enum
      Value: &32_9_value 1.3755
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 1.178
        "21:9 (3440x1440)": 1.1755
        "21:9 (2560x1080)": 1.1725
  modnation_fov: &modnation_fov
    - [ be32, 0x00555e04, 0x60000000 ]
    - [ be32, 0x00555f30, 0x60000000 ]
    - [ be32, 0x00555f7c, 0x60000000 ]
    - [ be32, 0x00555ff4, 0x60000000 ]
    - [ be32, 0x00556038, 0x60000000 ]
    - [ be32, 0x005560a8, 0x60000000 ]
    - [ bef32, 0x0137e6fc, "FOV (Aspect Ratio)" ]
  modnation_fov_beta: &modnation_fov_beta
    - [ bef32, 0x00dc61e8, "FOV (Aspect Ratio)" ]
  modnation_ar_notes: &modnation_ar_notes
    "Requires \"Hor+ FOV\" patch for wider than 16:9 and \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
  modnation_ar_configurable_values: &modnation_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25
  modnation_ar: &modnation_ar
    - [ be32, 0x00555e0c, 0x60000000 ]
    - [ be32, 0x00555f9c, 0x60000000 ]
    - [ be32, 0x00556050, 0x60000000 ]
    - [ be32, 0x005560b8, 0x60000000 ]
    - [ bef32, 0x0137e6ec, "Aspect Ratio" ]
  modnation_ar_beta: &modnation_ar_beta
    - [ bef32, 0x00dc61d8, "Aspect Ratio" ]
  modnation_disable_cache_notes: &modnation_disable_cache_notes
    "Disables caching textures for karts/mods to prevent texture issues, may cause slower loads"
  modnation_disable_cache: &modnation_disable_cache
    - [ byte, 0x0137ef12, 0 ] # byte, 0
    - [ byte, 0x014f5178, 0 ] # byte, 0
    - [ byte, 0x014f5179, 0 ] # byte, 0

PPU-7ebc891bb46b251f2ae7b7bb5c2d958511b0e84c:
  "Always 1280x720 Resolution":
    Games: *modnation_111_us
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_res ]
  "Aspect Ratio":
    Games: *modnation_111_us
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_ar ]
  "Hor+ FOV":
    Games: *modnation_111_us
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_fov ]
  "Disable Customization Cache":
    Games: *modnation_111_us
    Author: "ennuo"
    Patch Version: 1.0
    Notes: *modnation_disable_cache_notes
    Patch:
      - [ load, *modnation_disable_cache ]

PPU-52e882d71885483e3893eed97de4f7ed86aae5dd:
  "Always 1280x720 Resolution":
    Games: *modnation_111_eu
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_res ]
  "Aspect Ratio":
    Games: *modnation_111_eu
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_ar ]
  "Hor+ FOV":
    Games: *modnation_111_eu
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_fov ]
  "Disable Customization Cache":
    Games: *modnation_111_eu
    Author: "ennuo"
    Patch Version: 1.0
    Notes: *modnation_disable_cache_notes
    Patch:
      - [ load, *modnation_disable_cache ]

PPU-d0e40a676132671ac1777a6a8b38ccd8627d789f:
  "Disable Customization Cache":
    Games:
      "ModNation Racers":
        BCUS98167: [ 01.11 ]
    Author: "ennuo"
    Patch Version: 1.0
    Notes: *modnation_disable_cache_notes
    Patch:
      - [ load, *modnation_disable_cache ]

PPU-d44b69554c35be2f5c08298a40b7115ac7471a30:
  "Disable Customization Cache":
    Games:
      "ModNation Racers":
        BCES00764: [ 01.11 ]
    Author: "ennuo"
    Patch Version: 1.0
    Notes: *modnation_disable_cache_notes
    Patch:
      - [ load, *modnation_disable_cache ]

PPU-a9fde3bf97dd0169b56676552394054e9e2b7b2d:
  "Disable Customization Cache":
    Games:
      "ModNation Racers":
        BCES00701: [ 01.11 ]
    Author: "ennuo"
    Patch Version: 1.0
    Notes: *modnation_disable_cache_notes
    Patch:
      - [ load, *modnation_disable_cache ]

PPU-8666a1d09c0f973ba0887e9c665431e3497a59b6:
  "Always 1280x720 Resolution":
    Games: *modnation_110_eu
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_res ]
  "Aspect Ratio":
    Games: *modnation_110_eu
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_ar ]
  "Hor+ FOV":
    Games: *modnation_110_eu
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_fov ]

PPU-4e133d417a93105b41fa0f3c2030f83a8ea6da59:
  "Always 1280x720 Resolution":
    Games: *modnation_109_eu
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0135abc2, 1280 ]
      - [ be16, 0x0135abc6, 720 ]
  "Aspect Ratio":
    Games: *modnation_109_eu
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00555e40, 0x60000000 ]
      - [ be32, 0x00555d8c, 0x60000000 ]
      - [ be32, 0x00555ea8, 0x60000000 ]
      - [ be32, 0x00555bfc, 0x60000000 ]
      - [ bef32, 0x0135ac6c, "Aspect Ratio" ]
  "Hor+ FOV":
    Games: *modnation_109_eu
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00555d6c, 0x60000000 ]
      - [ be32, 0x00555e28, 0x60000000 ]
      - [ be32, 0x00555d20, 0x60000000 ]
      - [ be32, 0x00555de4, 0x60000000 ]
      - [ be32, 0x00555bf4, 0x60000000 ]
      - [ be32, 0x00555e98, 0x60000000 ]
      - [ bef32, 0x0135ac7c, "FOV (Aspect Ratio)" ]

PPU-44b6c5194c7a5222eb632adde77420fcaf557de3:
  "Always 1280x720 Resolution":
    Games: *modnation_closed_beta
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_res_beta ]
  "Aspect Ratio":
    Games: *modnation_closed_beta
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004807f8, 0x60000000 ]
      - [ be32, 0x00480a00, 0x60000000 ]
      - [ be32, 0x0048088c, 0x60000000 ]
      - [ be32, 0x00480994, 0x60000000 ]
      - [ load, *modnation_ar_beta ]
  "Hor+ FOV":
    Games: *modnation_closed_beta
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0048081c, 0x60000000 ]
      - [ be32, 0x0048087c, 0x60000000 ]
      - [ be32, 0x00480984, 0x60000000 ]
      - [ be32, 0x004809e8, 0x60000000 ]
      - [ load, *modnation_fov_beta ]
  "No beta watermark":
    Games: *modnation_closed_beta
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0041ddf4, 0x4280 ]

PPU-2f4e1dcfe8172b85278271be5aea9dfcdadb8eff:
  "Always 1280x720 Resolution":
    Games: *modnation_beta
    Author: "Margen67"
    Notes: *modnation_res_notes
    Patch Version: 1.0
    Patch:
      - [ load, *modnation_res_beta ]
  "Aspect Ratio":
    Games: *modnation_beta
    Author: "Margen67"
    Notes: *modnation_ar_notes
    Configurable Values: *modnation_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0047fc20, 0x60000000 ]
      - [ be32, 0x0047fe28, 0x60000000 ]
      - [ be32, 0x0047fcb4, 0x60000000 ]
      - [ be32, 0x0047fdbc, 0x60000000 ]
      - [ load, *modnation_ar_beta ]
  "Hor+ FOV":
    Games: *modnation_beta
    Author: "Margen67"
    Notes: *modnation_fov_notes
    Configurable Values: *modnation_fov_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0047fc44, 0x60000000 ]
      - [ be32, 0x0047fdac, 0x60000000 ]
      - [ be32, 0x0047fca4, 0x60000000 ]
      - [ be32, 0x0047fe10, 0x60000000 ]
      - [ load, *modnation_fov_beta ]
  "No beta watermark":
    Games: *modnation_beta
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0041d3bc, 0x4280 ]

Anchors:
  infinite_notes: &infinite_notes
    "Patches server URL to point to Infinite, a custom server run by the Infinite Team.\nCreate an account here: https://lnfinite.site/register \n(The first letter is a lowercase L, not a capital i)\n\nIf you have any crashes or connection issues, restart the game in RPCS3 after authentication."

  infinite_patch: &infinite_patch
    - [ utf8, 0x011ab160, "lbpk.lnfinite.site\0" ] # http server url

PPU-1d6e69213f25e5c4aeca823b8b6942b55e660392:
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Karting":
        BCES01422: [ 01.21 ]
    Author: "Toyo, k7x1e, uh wot"
    Notes: *infinite_notes
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ load, *infinite_patch ]

PPU-7cd3660cf7c89791e1436b0a52de886ad4d3eb4a:
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Karting":
        BCES01423: [ 01.21 ]
    Author: "Toyo, k7x1e, uh wot"
    Notes: *infinite_notes
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ load, *infinite_patch ]

PPU-3786b2a3161aa099e40ac0917e5e0e4ce570446f:
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Karting":
        BCUS98254: [ 01.21 ]
    Author: "Toyo, k7x1e, uh wot"
    Notes: *infinite_notes
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ load, *infinite_patch ]

PPU-ec3deec5674552221e6b0013a19c15b5ef147c0e:
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Karting":
        NPEA00421: [ 01.21 ]
    Author: "Toyo, k7x1e, uh wot"
    Notes: *infinite_notes
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ load, *infinite_patch ]

PPU-6ddd32ae96c9fc68d1f849f965cb60ba1af1eafb:
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Karting":
        NPUA80848: [ 01.20 ]
    Author: "Toyo, k7x1e, uh wot"
    Notes: *infinite_notes
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x011aad80, "lbpk.lnfinite.site\0" ] # http server url, the versions BCAS20205, BCUS99089, BCJS30085 left, unknown PPU

Anchors:
  SHD_unlockfps_notes: &SHD_unlockfps_notes
    "Removes 62 FPS limit.\nMaximum framerate with the patch is half the Vblank frequency."

  SHD_DOF_notes: &SHD_DOF_notes
    "Disables the DoF effect which doesn't correctly scale with resolution upscaling. This patch may slightly affect color-grading and will reduce bloom intensity because those effects share the same shader pipeline with DoF. Additionally, 16x Anisotropic Filtering can now be forced via custom config without causing issues."

  SHD_MLAA_notes: &SHD_MLAA_notes
    "Removes both Morphological Anti-Aliasing (MLAA) and Fast Approximate Anti-Aliasing (FXAA), post-process AA solutions that significantly impact image definition and sharpness. Particularly useful when using resolution upscaling."

  SHD_titles: &SHD_titles
    "Silent Hill Downpour":
      BLES01446: [ 01.01 ]
      BLUS30565: [ 01.01 ]

PPU-11f50d10f4626cdd59837e2fe44b701a9d9bfeac: # SHGAME.SELF
  "Unlock FPS":
    Games: *SHD_titles
    Author: "illusion"
    Notes: *SHD_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002a1250, 0x60000000 ]
  "Disable Low-Resolution Depth of Field":
    Games: *SHD_titles
    Author: "boma"
    Notes: *SHD_DOF_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000fa828, 0x38a00000 ] # li r5, 0x0
      - [ be32, 0x00270c60, 0x38a00000 ] # li r5, 0x0
      - [ be32, 0x00310b28, 0x38a00000 ] # li r5, 0x0
  "Disable MLAA & FXAA":
    Games: *SHD_titles
    Author: "boma"
    Notes: *SHD_MLAA_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00771673, 0x64 ] # cmpwi r3 0x64
      - [ byte, 0x00771674, 0x41 ] # beq
      - [ be32, 0x0077167c, 0x38600000 ] # li r3, 0x0 # SHGame.GlobalPostProcessSettings.ForceFXAA
      - [ be32, 0x0076efb4, 0x38600000 ] # li r3, 0x0 # Engine.MaterialPostProcess.MLAA

PPU-aa5570c4d54fb575f39e4a0067e837056473f4e0: # SHGAME.SELF
  "Unlock FPS":
    Games:
      "Silent Hill Downpour":
        BLJM60391: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes: *SHD_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002a1020, 0x60000000 ]
  "Disable Low-Resolution Depth of Field":
    Games:
      "Silent Hill Downpour":
        BLJM60391: [ 01.00 ]
    Author: "boma, FlexBy"
    Notes: *SHD_DOF_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000fa828, 0x38a00000 ] # li r5, 0x0
      - [ be32, 0x00270a30, 0x38a00000 ] # li r5, 0x0
      - [ be32, 0x003108f8, 0x38a00000 ] # li r5, 0x0
  "Disable MLAA & FXAA":
    Games:
      "Silent Hill Downpour":
        BLJM60391: [ 01.00 ]
    Author: "boma, FlexBy"
    Notes: *SHD_MLAA_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00771723, 0x64 ] # cmpwi r3 0x64
      - [ byte, 0x00771724, 0x41 ] # beq
      - [ be32, 0x0077172c, 0x38600000 ] # li r3, 0x0 # SHGame.GlobalPostProcessSettings.ForceFXAA
      - [ be32, 0x0076f064, 0x38600000 ] # li r3, 0x0 # Engine.MaterialPostProcess.MLAA

Anchors:
  SPU_MLAA_Notes: &SPU_MLAA_Notes
    "Removes Morphological Anti-Aliasing, known as \"MLAA\", a form of post process anti-aliasing which is done using the CELL's SPUs instead of the RSX for extra performance."

  SPU_MLAA_01: &SPU_MLAA_01
    - [ be32, 0x000031f4, 0x40800003 ] # il r3 0

  SPU_MLAA_02: &SPU_MLAA_02
    - [ load, *SPU_MLAA_01 ]
    - [ be32, 0x0000349c, 0x40800017 ] # il r23 0

  SPU_MLAA_03: &SPU_MLAA_03
    - [ load, *SPU_MLAA_01 ]
    - [ be32, 0x000034a4, 0x40800017 ] # il r23 0

  SPU_MLAA_04: &SPU_MLAA_04
    - [ be32, 0x00005948, 0x40800094 ] # il r20 1
    - [ be32, 0x0000690c, 0x40800027 ] # il r39 0

  SPU_MLAA_05: &SPU_MLAA_05
    - [ be32, 0x00004440, 0x40800002 ] # il r2 0
    - [ be32, 0x000056c4, 0x4080008a ] # il r10 0

  SPU_MLAA_06: &SPU_MLAA_06
    - [ be32, 0x000033b0, 0x40800017 ] # il r23 0
    - [ be32, 0x0000373c, 0x4080001f ] # il r31 0

  SPU_MLAA_07: &SPU_MLAA_07
    - [ be32, 0x0000325c, 0x40800003 ] # il r3 0
    - [ be32, 0x00004c00, 0x40800091 ] # il r17 1

  SPU_MLAA_08: &SPU_MLAA_08
    - [ be32, 0x000036d4, 0x4080001d ] # il r29 0
    - [ be32, 0x000033d0, 0x40800005 ] # il r5 0

  SPU_MLAA_09: &SPU_MLAA_09
    - [ be32, 0x00003744, 0x4080001e ] # il r30 0
    - [ be32, 0x00003430, 0x40800006 ] # il r6 0

  SPU_MLAA_10: &SPU_MLAA_10
    - [ be32, 0x000036bc, 0x4080001c ] # il r28 0
    - [ be32, 0x000033c0, 0x40800005 ] # il r5 0

  SPU_MLAA_11: &SPU_MLAA_11
    - [ be32, 0x00003344, 0x40800003 ] # il r3 0
    - [ be32, 0x000037b4, 0x4020007f ] # spu nop

SPU-5177cbc4bf45c8a0a6968c2a722da3a9e6cfb28b: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Prince of Persia series":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nPrince of Persia: The Sands of Time\nPrince of Persia: Warrior Within\nPrince of Persia: The Two Thrones" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_01 ]

SPU-9001b44fd7278b5a6fa5385939fe928a0e549394: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA":
    Games:
      "Puppeteer":
        BCES00935: [ All ]
        BCUS98227: [ All ]
        BCJS30078: [ All ]
        BCAS20281: [ All ]
        NPEA00439: [ All ]
        NPUA80959: [ All ]
        NPJA00098: [ All ]
        NPHA80250: [ All ]
      "Puppeteer: Demo version":
        NPJA90254: [ All ]
        NPEA90125: [ All ]
    Author: "Whatcookie"
    Notes: *SPU_MLAA_Notes
    Group: SPUMLAA
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_01 ]
  "Disable SPU MLAA - Multiple titles":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nBinary Domain\nJourney\nOddworld: Stranger's Wrath HD\nTokyo Jungle\nSoulCalibur Lost Swords\nSoulCalibur V\nYakuza Ishin\nYakuza 5\nFerrari Racing Legends\nPool Nation\nPortal 2\nThe Ratchet & Clank Trilogy" ]
    Group: SPUMLAA
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-931132fd48a40bce0bec28e21f760b1fc6ca4364: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Multiple titles":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nCaptain America: Super Soldier\nYakuza Dead Souls\nNeed for Speed Shift 2 Unleashed\nTransformers Dark of The Moon" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-7b5ea49122ec7f023d4a72452dc7a9208d9d6dbf: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA":
    Games:
      "Dragon Age 2 (Dragon Age II)":
        BLES01084: [ All ]
        BLUS30645: [ All ]
        NPEB00569: [ All ]
        NPUB30476: [ All ]
    Author: "Whatcookie"
    Notes: *SPU_MLAA_Notes
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-df5b1c3353cc36bb2f0fb59197d849bb99c3fecd: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Multiple titles":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nMedieval Moves: Deadmund's Quest\nShadow of the Colossus\nSports Champions 2\n\nExtra note for Shadow of the Colossus:\nThis patch can be used alongside PPU based patch which allows for resolution scaling." ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-45f98378f0837fc6821f63576f65d47d10f9bbcb: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Multiple titles":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nYakuza 0\nYakuza Kiwami\nHandball 16\nHandball 17\nKillAllZombies\nWWE 2k17" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_06 ]

SPU-9c270732b4276ec71df9a5255d5d8a63267de645: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA":
    Games:
      "WWE '12":
        BLES01439: [ All ]
        BLUS30841: [ All ]
        BLJM60436: [ All ]
    Author: "Whatcookie, dio"
    Notes: *SPU_MLAA_Notes
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-6932af7adf79f31116fc28d71aae3e5e165d7f63: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - WWE '13, WWE 2K14":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie, Satan"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nWWE '13\nWWE 2K14" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-ac189d7f87091160a94e69803ac0cff0a8bb7813: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - ICO":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nICO\nThis patch can be used alongside PPU based patch which allows for resolution scaling." ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_02 ]

SPU-794795c449beef176d076816284849d266f55f99: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Macross 30":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nMacross 30" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_03 ]

SPU-e3780fe1dc8953f849ac844ec9688ff4da3ca3ae: # SPUNAME: 'u:\bin_ps3_SNC\edgepost_mlaa_ta'
  "Disable SPU MLAA - Metro Last Light":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nMetro Last Light" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_03 ]

SPU-530c255936b07b25467a58e24ceff5fd4e2960b7: # SPUNAME: 'mlaascanline.PS3_Release/mlaasca'
  "Disable SPU MLAA":
    Games:
      "God of War 3 (God of War III)":
        BCES00510: [ 01.00 ]
        BCES00799: [ 01.00 ]
        BCUS98111: [ 01.00 ]
        BCJS37001: [ 01.00 ]
        BCAS25003: [ 01.00 ]
        BCKS15003: [ 01.00 ]
    Author: "Whatcookie"
    Notes: *SPU_MLAA_Notes
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_04 ]

SPU-2239af4827b17317522bd6323c646b45b34ebf14: # SPUNAME: 'mlaascanline.PS3_Release/mlaasca'
  "Disable SPU MLAA":
    Games:
      "God of War 3 (God of War III)":
        BCES00510: [ 01.03 ]
        BCES00799: [ 01.03 ]
        BCUS98111: [ 01.03 ]
        BCJS37001: [ 01.03 ]
        BCAS25003: [ 01.03 ]
        BCKS15003: [ 01.03 ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nThis patch can be used alongside PPU based patch which allows for resolution scaling." ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_04 ]

SPU-7cd211ff1cbd33163eb0711440dccbb3c1dbcf6c: # SPUNAME: 'z:/export/jenkins/workspace/int6'
  "Disable SPU MLAA - God of War: Ascension":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nGod of War: Ascension" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_05 ]

SPU-1549476fe258150ff9f902229ffaed69a932a9c1: # SPUNAME: 'Z:/output/EURint6/SPUMLAATask/PS'
  "Disable SPU MLAA - God of War: Ascension":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nGod of War: Ascension" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_05 ]

SPU-77ce25dab2a5ca1d96038cc3dc57c50c705ce38c: # SPUNAME: 'Z:/output/USint6/SPUMLAATask/PS3'
  "Disable SPU MLAA - God of War: Ascension":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie, kd-11"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nGod of War: Ascension" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_05 ]

SPU-82b3399c8e6533ba991eedb0e139bf20c7783bac: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - Twisted Metal, Resident Evil: Operation Raccoon City":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nTwisted Metal\nResident Evil: Operation Raccoon City" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_06 ]

SPU-969cf3e9db75f52a6b41074ccbff74106b709854: # SPUNAME: 'objs/release/edgepost-mlaa-task.' # NOTE: has asserts!
  "Disable SPU MLAA - Multiple titles":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nAce Combat: Assault Horizon\nBeyond Good & Evil HD\nDmC Devil May Cry\nMotorStorm: Apocalypse\nMotorStorm RC\nPlayStation Move Heroes\nCarnival Island\nHelldivers\nEscape Dead Island\nI Am Alive\nRed Faction: Armageddon\nFarming Simulator\nSly Cooper: Thieves in Time\n\nExtra note for Sly Cooper: Thieves in Time:\nThis patch can be used alongside PPU based patch which allows for resolution scaling." ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_07 ]

SPU-976d2128f08c362731413b75c934101b76c3d73b: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - LittleBigPlanet 2":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nLittleBigPlanet 2 (early versions)" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_08 ]

SPU-a129a01a270246c85df18eee0e959ef4263b6510: # SPUNAME: 'C:\dev\CW_br2_move_final-output\'
  "Disable SPU MLAA - LittleBigPlanet 2":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nLittleBigPlanet 2 (other early versions)" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_09 ]

SPU-702d0205a89d445d15dc0f96548546c4e2e7a59f: # SPUNAME: 'PS3_Release/edgepost-mlaa-task.s'
  "Disable SPU MLAA - LittleBigPlanet 2, LittleBigPlanet 3, LittleBigPlanet Hub":
    Games:
      All:
        All: [ All ]
    Author: "Whatcookie"
    Notes: [ *SPU_MLAA_Notes, "\n\nKnown to affect:\nLittleBigPlanet 2\nLittleBigPlanet 3\nLittleBigPlanet Hub" ]
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_10 ]

SPU-191fe1c92c8360992b3240348e70ea37d50812d4: # SPUNAME: 'E:\Alice2\Development\Intermedia'
  "Disable SPU MLAA":
    Games:
      "Alice: Madness Returns":
        BLES01265: [ All ]
        BLUS30607: [ All ]
        NPEB00625: [ All ]
        NPUB30545: [ All ]
    Author: "Whatcookie"
    Notes: *SPU_MLAA_Notes
    Patch Version: 1.5
    Patch:
      - [ load, *SPU_MLAA_11 ]

PPU-7a8b0571c168093a30c04ad706040370a17c21b0:
  "Extended FOV":
    Games:
      "The Darkness Demo":
        NPEB90006: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x010aeb44, 1.25 ]

PPU-eb133a3b9430baa45d39e9e00ba8cf9cea89154c:
  "Extended FOV":
    Games:
      "The Darkness":
        BLES00058: [ 01.03 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x010aeaec, 1.25 ]

PPU-9ef94f24f84f5923f9c88557e33c2ffab380fb7b:
  "Extended FOV":
    Games:
      "The Darkness":
        BLUS30035: [ 01.03 ]
    Author: "illusion, Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x010aeaa4, 1.25 ]

Anchors:
  batmanAA_unlockfps_notes: &batmanAA_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

  batmanAA_debugmenu_notes: &batmanAA_debugmenu_notes
    "Press R1 + START in-game to access the Debug Menu (god mode, no clip, etc.)"

  batmanAA_goty_title: &batmanAA_goty_title
    "Batman: Arkham Asylum GOTY":
      BLES00827: [ 01.00 ]
      BLUS30515: [ 01.00 ]

PPU-4050da6fa9d7eed65e7d748b03a6ba89023b90c3:
  "Debug Menu":
    Games: *batmanAA_goty_title
    Author: "dron_3"
    Notes: *batmanAA_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0121dbac, 0x38600000 ]
  "Unlock FPS":
    Games: *batmanAA_goty_title
    Author: "FlexBy"
    Notes: *batmanAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d0a10, 0x60000000 ]

PPU-17c764fa09d201180c094d96282458eeb4e87501:
  "Debug Menu":
    Games:
      "Batman: Arkham Asylum":
        NPEB01156: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes: *batmanAA_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0121d948, 0x38600000 ]
  "Unlock FPS":
    Games:
      "Batman: Arkham Asylum":
        NPEB01156: [ 01.00 ]
    Author: "FlexBy"
    Notes: *batmanAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d1830, 0x60000000 ]

PPU-dc2b7780041c0d03c905129c285af01f01ed58f0:
  "Unlock FPS":
    Games:
      "Batman: Arkham Asylum":
        BLUS30279: [ 01.00 ]
        BLES00503: [ 01.00 ]
    Author: "FlexBy"
    Notes: *batmanAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d1690, 0x60000000 ]

PPU-2e4517a2dc5b9a3905dfb571d72ad5cc7e8ea8f1:
  "Debug Menu":
    Games:
      "Batman: Arkham Asylum Demo":
        NPEB90170: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes: *batmanAA_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01217298, 0x38600000 ]
  "Unlock FPS":
    Games:
      "Batman: Arkham Asylum Demo":
        NPEB90170: [ 01.00 ]
    Author: "FlexBy"
    Notes: *batmanAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d12c8, 0x60000000 ]

PPU-e0b4d39e7f703d6569ece8002fb47bef17fdb50e:
  "Unlock FPS":
    Games:
      "Batman: Arkham Asylum Kiosk Demo":
        NPUB90214: [ 01.00 ]
    Author: "FlexBy"
    Notes: *batmanAA_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00333a08, 0x60000000 ]

Anchors:
  armyoftwotdc_speedup_notes: &armyoftwotdc_speedup_notes
    "Compromises visuals for extra performance."

  armyoftwotdc_101title: &armyoftwotdc_101title
    "Army of TWO The Devil's Cartel":
      BLES01763: [ 01.01 ]
      BLUS31069: [ 01.01 ]
      NPEB01216: [ 01.01 ]
      NPEB01217: [ 01.01 ]
      NPUB30987: [ 01.01 ]

  armyoftwotdc_demotitle: &armyoftwotdc_demotitle
    "Army of TWO The Devil's Cartel Demo":
      NPEB90470: [ 01.00 ]
      NPUB90862: [ 01.00 ]

PPU-17a273d69dad20980377e405809f7d888b6c6dce:
  "Disable MLAA":
    Games: *armyoftwotdc_demotitle
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00512f94, 0x38600000 ] # Ps3EdgeMlaaEnable
      - [ be32, 0x016de8f0, 0x98bf0186 ] # prevent crashing if 83 is disabled first, swapped store byte.
  "Disable Bloom":
    Games: *armyoftwotdc_demotitle
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x016de8f0, 0x98bf0186 ] # duplicate from mlaa patch in case of using without mlaa patch
      - [ be32, 0x016de8fc, 0x98bf0183 ] # bloom/bubble blur, this won't crash anymore. requires 86 to be loaded with 0!
  "Speedup":
    Games: *armyoftwotdc_demotitle
    Author: "ZEROx, illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01732b48, 0x991f ]
      - [ be16, 0x01732b54, 0x991f ]
  "Blocky depth fix":
    Games: *armyoftwotdc_demotitle
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01732a60, 0x991f ]
  "Disable Dynamic Lights":
    Games: *armyoftwotdc_demotitle
    Author: "illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01732b58, 0x991f ]
  "Disable Dynamic Spotlights":
    Games: *armyoftwotdc_demotitle
    Author: "illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01732b5c, 0x991f ]
  "60 FPS":
    Games: *armyoftwotdc_demotitle
    Author: "ZEROx, illusion"
    Notes: "Set VBlank to 120"
    Patch Version: 1.0
    Patch:
      - [ be16, 0x016adafe, 0x4270 ]
      - [ be32, 0x0013bf28, 0x3bc0003c ]
      - [ bef64, 0x01c54a50, 0.0166666666666667 ]
      - [ bef64, 0x01c54a58, 30 ]
      - [ bef64, 0x01c54a60, 0.0166666666666667 ]

PPU-d8376f500c89feb12500754ba0ec1483c4aeb5da:
  "Disable MLAA":
    Games: *armyoftwotdc_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004e51a4, 0x38600000 ] # Ps3EdgeMlaaEnable
      - [ be32, 0x01701bf0, 0x98bf0186 ] # prevent crashing if 83 is disabled first, swapped store byte.
  "Disable Bloom":
    Games: *armyoftwotdc_101title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01701bfc, 0x98bf0183 ] # bloom/bubble blur, this won't crash anymore. requires 86 to be loaded with 0!
  "Speedup":
    Games: *armyoftwotdc_101title
    Author: "ZEROx, illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01755bc8, 0x991f ]
      - [ be16, 0x01755bd4, 0x991f ]
  "Blocky depth fix":
    Games: *armyoftwotdc_101title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01755ae0, 0x991f ]
  "Disable Dynamic Lights":
    Games: *armyoftwotdc_101title
    Author: "illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01755bd8, 0x991f ]
  "Disable Dynamic Spotlights":
    Games: *armyoftwotdc_101title
    Author: "illusion"
    Notes: *armyoftwotdc_speedup_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01755bdc, 0x991f ]
  "60 FPS":
    Games: *armyoftwotdc_101title
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x016e209e, 0x4270 ]
      - [ be32, 0x00140c28, 0x3bc0003c ]
      - [ bef64, 0x01c854b8, 0.0166666666666667 ]
      - [ bef64, 0x01c854c0, 30 ]
      - [ bef64, 0x01c854c8, 0.0166666666666667 ]
      - [ be32, 0x004e9c44, 0x3ba00001 ] # Remove vblank hack requirement

Anchors:
  sirenbc_60fps_notes: &sirenbc_60fps_notes
    "May break above 60 FPS. Accelerates the turns of the character by 2 times. Speeds up the game by 2 times in splitscreen."

PPU-e8d5bbb306b85186133e090b79a5c0fd5d11ccfb: # siren cursed
  "60 FPS":
    Games:
      "Siren Blood Curse":
        NPEA00095: [ 01.00 ]
    Author: "Esppiral, illusion"
    Notes: *sirenbc_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00022d90, 0x60000000 ] # startup
      - [ be32, 0x00022980, 0x60000000 ] # splitscreen

PPU-63351b8a10593b134ccfa1272d310e52254c2a92:
  "60 FPS":
    Games:
      "Siren Blood Curse":
        NPUA80136: [ 01.00 ]
    Author: "Esppiral, illusion, FlexBy"
    Notes: *sirenbc_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00022d70, 0x60000000 ]
      - [ be32, 0x00022960, 0x60000000 ]

Anchors:
  ratchet_trilogy_ar_notes: &ratchet_trilogy_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
  ratchet_trilogy_ar_configurable_values: &ratchet_trilogy_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-ccc559bb969d8a52d00597b7ecc5e76e552c2cb6:
  "R&C 1: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        BCES01503: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x004df144, "Aspect Ratio" ]

PPU-ca24b3c7b5db4bf8e8b9699fc1cbca8341855556:
  "R&C 1: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        NPEA00385: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x004df144, "Aspect Ratio" ]

PPU-f3eccbf6ccf5e2aa99f352b612069e7a20198d68:
  "R&C 1: Aspect Ratio":
    Games:
      "Ratchet & Clank":
        NPUA80643: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x0052cb04, "Aspect Ratio" ]

PPU-2489bccdbafacc6ec3a36aa68ae3dcbe7e9e2d6c:
  "R&C 2: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        BCES01503: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x010b2574, "Aspect Ratio" ]

PPU-1ae9ce11ee33169d01ea18f0b91f0d844e63396f:
  "R&C 2: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        NPEA00386: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x010b2574, "Aspect Ratio" ]

PPU-756536d2feaab9088d1c3cb086d999be20256feb:
  "R&C 2: Aspect Ratio":
    Games:
      "Ratchet & Clank 2":
        NPUA80644: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x010b2f04, "Aspect Ratio" ]

PPU-2b534405de98e28b1368947c8f14d9a386bc53de:
  "R&C 3: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        BCES01503: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x0096f544, "Aspect Ratio" ]

PPU-25754a689f16c96ab071a738b8e46e4e2e12b327:
  "R&C 3: Aspect Ratio":
    Games:
      "The Ratchet & Clank Trilogy":
        NPEA00387: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x0096f0d4, "Aspect Ratio" ]

PPU-835dc9b413a3f538ddb52f24382b93e3fad5164d:
  "R&C 3: Aspect Ratio":
    Games:
      "Ratchet & Clank 3":
        NPUA80645: [ All ]
    Author: "Juhn, Victoria"
    Notes: *ratchet_trilogy_ar_notes
    Configurable Values: *ratchet_trilogy_ar_configurable_values
    Patch Version: 1.2
    Patch:
      - [ bef32, 0x0096c6a4, "Aspect Ratio" ]

Anchors:
  fallout3_60fps_notes: &fallout3_60fps_notes
    "Set the framelimiter to 60, as things will break over 60 FPS."

PPU-ef1de7a2b91566a4b0e2acc177a6c2f1cecdfd7e:
  "Infinite Ammo & Consumables":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Best used with the Infinite Carry Weight Patch; affects many items in the game, not just ammo and consumables. While this patch is enabled, affected items can't be removed from your inventory, and dropping them will duplicate them. Items can be sold for caps, but they do not leave your inventory."
    Patch Version: 1.1
    Patch:
      - [ be32, 0x004140d8, 0x60000000 ]
      - [ be32, 0x004134e8, 0x60000000 ]
  "Infinite Caps":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Essentially permanent if you save with this patch enabled - adds over 1 billion caps to your inventory which will remain after the patch is disabled."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0041de7c, 0x90630004 ]
  "No Weapon Degradation":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Using weapons and armor does not affect their condition. Repairing items brings them to perfect condition."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00386ac8, 0x60000000 ]
  "No Reloading":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Press square to instantly reload single-shot weapons like the Missile Launcher and Fat Man."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0040f980, 0x60000000 ]
  "Infinite Carry Weight":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00420594, 0x903f0008 ]
  "Unlock FPS":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30451: [ 01.00 ]
        BLUS30455: [ 01.00 ]
    Author: "Aphelion, illusion"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00702bcc, 0x60000000 ]

PPU-499ef508be74e55261bf810e07271147e424cfd0:
  "60 FPS":
    Games:
      "Fallout 3 GOTY Edition":
        BLES00737: [ 01.01 ]
      "Fallout 3":
        BLES00334: [ 01.61 ]
        BLES00335: [ 01.61 ]
        BLES00337: [ 01.61 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00702cfc, 0x60000000 ]

PPU-08089ec0ec46d594e8d3d0a8b465acc169591deb:
  "60 FPS":
    Games:
      "Fallout 3":
        BLES00333: [ 01.61 ]
        BLES00336: [ 01.61 ]
        BLES00399: [ 01.61 ]
        BLUS30185: [ 01.61 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00702bac, 0x60000000 ]

PPU-ba9dbb848fd6307475aa956beaef09281199f459:
  "60 FPS":
    Games:
      "Fallout 3":
        BLES00398: [ 01.00 ]
        BLES00335: [ 01.00 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007acf0c, 0x60000000 ]

PPU-a021e45a42df11016a0bc39dbb260924d334abcb:
  "60 FPS":
    Games:
      "Fallout 3 GOTY Edition":
        BLUS30455: [ 01.01 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00702e1c, 0x60000000 ]

PPU-4cb8b80cad908bd0e6f22bb5dd97aca9ad10e572:
  "60 FPS":
    Games:
      "Fallout 3":
        BLUS30234: [ 01.61 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00702cfc, 0x60000000 ]

PPU-14b6b0db50937ac4c1232c029e9c79434dc639bb:
  "60 FPS":
    Games:
      "Fallout 3":
        BLJS10040: [ 01.00 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007ae2cc, 0x60000000 ]

PPU-d62a28e0d514aee88442e6d0bd3c412e53166ab9:
  "60 FPS":
    Games:
      "Fallout 3":
        BLJS10040: [ 01.02 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007b251c, 0x60000000 ]

PPU-04c957554ee00d5f164fb98fd90520a23ec2bf04:
  "60 FPS":
    Games:
      "Fallout 3 GOTY Edition":
        BLJS10068: [ 01.01 ]
      "Fallout 3":
        BLJS10069: [ 01.01 ]
    Author: "FlexBy"
    Notes: *fallout3_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007b5c30, 0x60000000 ]

Anchors:
  border1v107_title: &border1v107_title
    "Borderlands":
      BLUS30386: [ 01.07 ]
      BLES00697: [ 01.07 ]
      NPEB00458: [ 01.07 ]
      NPUB30413: [ 01.07 ]

  border1_fps_notes: &border1_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-3760b7d673fc130e13295fa5071164537880adad:
  "Infinite Ammo":
    Games: *border1v107_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00630d60, 0x60000000 ]
  "Max Cash":
    Games: *border1v107_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005d5c28, 0x976302b8 ]
  "Demigod Mode":
    Games: *border1v107_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0064fc88, 0x80030905 ]
      - [ be32, 0x0064fc8c, 0x60000008 ]
      - [ be32, 0x0064fc90, 0x64008000 ]
      - [ be32, 0x0064fc94, 0x90030905 ]
  "Max Experience on Gain":
    Games: *border1v107_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005f2220, 0x3c007000 ]
  "Max Weapon Damage":
    Games: *border1v107_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006a3fd0, 0xec3f07f2 ]
      - [ be32, 0x006a3fd4, 0xec210072 ]
  "Unlock FPS":
    Games: *border1v107_title
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bcde4, 0x60000000 ]

PPU-ca5a8abf389604437e5e6f38f9ac8c50ae525b56:
  "Unlock FPS":
    Games:
      "Borderlands":
        NPEB00459: [ 01.05 ]
    Author: "FlexBy"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bce34, 0x60000000 ]

PPU-2e842b2ee620434777bcad37d795030f2c4f6062:
  "Unlock FPS":
    Games:
      "Borderlands":
        NPEB00459: [ 01.07 ]
        BLES00698: [ 01.07 ]
    Author: "FlexBy"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bcf04, 0x60000000 ]

PPU-538a971fcb36639b545bf6e1ed0d3e64fec97c9b:
  "Unlock FPS":
    Games:
      "Borderlands":
        NPEB00458: [ 01.05 ]
        NPUB30413: [ 01.05 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bcd20, 0x60000000 ]

PPU-f489955cef0621d25b2077337e251bb3d3be5e72:
  "Unlock FPS":
    Games:
      "Borderlands":
        BLUS30386: [ 01.00 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001f7820, 0x60000000 ]

PPU-0f9d6dc11c22f8b0dc2f0604738267b8f42e0201:
  "Unlock FPS":
    Games:
      "Borderlands":
        BLES00697: [ 01.00 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001f7a14, 0x60000000 ]

PPU-7534ebe5a44cccafc94171ab6a13dd6f2e1bf6d3:
  "Unlock FPS":
    Games:
      "Borderlands":
        BLES00698: [ 01.00 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001f7b50, 0x60000000 ]

PPU-63f13a9c49e7248da48b39b78587100508931fe9:
  "Unlock FPS":
    Games:
      "Borderlands":
        BLJM60279: [ 01.00 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bcdac, 0x60000000 ]

PPU-d32d283b4560339907569c6ce128480510d5deab:
  "Unlock FPS":
    Games:
      "Borderlands":
        BLJM60279: [ 01.04 ]
    Author: "Synchrony"
    Notes: *border1_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bce78, 0x60000000 ]

Anchors:
  border2v115_title: &border2v115_title
    "Borderlands 2":
      BLUS30982: [ 01.15 ]
      BLES01684: [ 01.15 ]
      NPEB01144: [ 01.15 ]
      NPUB30898: [ 01.15 ]

  border2_fps_notes: &border2_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-70ce632c4b8910f8f2d3eb5ed97ae29fae31d5f0:
  "God Mode":
    Games: *border2v115_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001afa04, 0x79200fa4 ]
      - [ be32, 0x001afa0c, 0x7800f846 ]
  "Infinite Ammo":
    Games: *border2v115_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007d3a18, 0x60000000 ]
  "Max Cash":
    Games: *border2v115_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00678504, 0x7d6b4a14 ]
      - [ be32, 0x00678508, 0x3c600600 ]
      - [ be32, 0x0067850c, 0x906b0014 ]
  "Max Experience on Gain":
    Games: *border2v115_title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006a1348, 0x3c007000 ]
  "Unlock FPS":
    Games: *border2v115_title
    Author: "FlexBy"
    Notes: *border2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ef34c, 0x60000000 ]

PPU-4858ad471e6477c1d67943746b4f89982724024b:
  "Unlock FPS":
    Games:
      "Borderlands 2":
        NPEB01144: [ 01.00 ]
    Author: "FlexBy"
    Notes: *border2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ed76c, 0x60000000 ]

Anchors:
  Jak_Resolution_Notes: &Jak_Resolution_Notes
    "Native resolution is 1024x720."

PPU-09312c5359ff001526cd7f817d48cb0961bbf515:
  "Jak 1: 1280x720 Resolution":
    Games:
      "Jak and Daxter Collection":
        BCUS98281: [ 01.00 ]
      "The Jak and Daxter Trilogy":
        BCES01325: [ 01.00 ]
    Author: "Margen67"
    Notes: *Jak_Resolution_Notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0003560a, 1280 ]

PPU-caef4935039b5cd5fb68999ae67aeff688f3a863:
  "1280x720 Resolution":
    Games:
      "Jak and Daxter: The Precursor Legacy":
        NPEA00338: [ 01.00 ]
        NPUA80706: [ 01.00 ]
    Author: "Margen67"
    Notes: *Jak_Resolution_Notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0003569e, 1280 ]

PPU-b583595a7095fcf9b064b4985333fcc296212b85:
  "1280x720 Resolution":
    Games:
      "Toy Story 3":
        NPUB30555: [ 01.01 ]
        NPEB00656: [ 01.01 ]
    Author: "Margen67"
    Notes: "Original resolution is 1152x640."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x001fed2a, 1280 ]
      - [ be16, 0x001fed2e, 720 ]

PPU-9f68cdccee3b1bdd1849b346a472775fab33c2db:
  "Infinite Ammo":
    Games:
      "Armored Core 4":
        BLUS30027: [ 01.01 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00aa1c20, 0x60000000 ]

Anchors:
  bordertps_fps_notes: &bordertps_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-478ad4a2af14cadc8c1275dc7e5209fce95336e2:
  "God Mode":
    Games:
      "Borderlands: The Pre-Sequel":
        BLUS31445: [ 01.07 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00187a94, 0x79200fa4 ]
      - [ be32, 0x00187a9c, 0x7800f846 ]
  "Infinite Ammo":
    Games:
      "Borderlands: The Pre-Sequel":
        BLUS31445: [ 01.07 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007b4e44, 0x60000000 ]
  "Max Cash":
    Games:
      "Borderlands: The Pre-Sequel":
        BLUS31445: [ 01.07 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0063a6c0, 0x7d6b4a14 ]
      - [ be32, 0x0063a6c4, 0x3c600600 ]
      - [ be32, 0x0063a6c8, 0x906b0010 ]
  "Max Experience on Gain":
    Games:
      "Borderlands: The Pre-Sequel":
        BLUS31445: [ 01.07 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0065fe4c, 0x3c007000 ]

PPU-80613947be16e4d7c46e91b6526c81459f456501:
  "Unlock FPS":
    Games:
      "Borderlands: The Pre-Sequel":
        NPEB02061: [ 01.00 ]
    Author: "FlexBy"
    Notes: *bordertps_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bffec, 0x60000000 ]

PPU-6e4f122b76c248c3944b04a71ef1a2288a174eab:
  "Unlock FPS":
    Games:
      "Borderlands: The Pre-Sequel":
        NPEB02061: [ 01.07 ]
    Author: "FlexBy"
    Notes: *bordertps_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001bf91c, 0x60000000 ]

Anchors:
  R3_FPS_Notes: &R3_FPS_Notes
    "Maximum framerate with the patch is proportionate to Vblank frequency. More than 60 Vblank is not recommended as framerates above 75 can cause issues with left analog-stick input detection that are caused by limitations in the game engine. Some in-game actions, namely ladder climbing, may require several attempts to register a proper interaction."
  R3_FPS_v100: &R3_FPS_v100
    - [ be32, 0x007eeac8, 0xc0228dcc ]
    - [ be32, 0x00f02ad4, 0x38d1b717 ]
    - [ be32, 0x00736c44, 0x60000000 ]
  R3_FPS_v105: &R3_FPS_v105
    - [ be32, 0x00817d48, 0xc0228dd4 ]
    - [ be32, 0x00f330fc, 0x38d1b717 ]
    - [ be32, 0x0075fa54, 0x60000000 ]

PPU-2701cf372814d59f26e771dc9394323d4f799682:
  "Unlock FPS":
    Games:
      "Resistance 3":
        BCES01118: [ 01.00 ]
    Author: "Whatcookie, boma"
    Notes: *R3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *R3_FPS_v100 ]
  "Extended FOV":
    Games:
      "Resistance 3":
        BCES01118: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00f0608c, 0.7 ]

PPU-cd72aa19da7e24a00802932d06460034c7d94fc6:
  "Unlock FPS":
    Games:
      "Resistance 3":
        BCES01118: [ 01.05 ]
    Author: "Whatcookie, boma"
    Notes: *R3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *R3_FPS_v105 ]
  "Extended FOV":
    Games:
      "Resistance 3":
        BCES01118: [ 01.05 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00f3668c, 0.7 ]

PPU-502feb2351d2b637a2704d5a50cb44bc1b781532:
  "Unlock FPS":
    Games:
      "Resistance 3":
        BCUS98176: [ 01.00 ]
    Author: "Whatcookie, boma"
    Notes: *R3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *R3_FPS_v100 ]
  "Extended FOV":
    Games:
      "Resistance 3":
        BCUS98176: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00f0608c, 0.7 ]

PPU-4aa1887bfdd285e3026e6a97d65ed617ddcf4789:
  "Unlock FPS":
    Games:
      "Resistance 3":
        BCUS98176: [ 01.05 ]
    Author: "Whatcookie, boma"
    Notes: *R3_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *R3_FPS_v105 ]
  "Extended FOV":
    Games:
      "Resistance 3":
        BCUS98176: [ 01.05 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00f3668c, 0.7 ]

Anchors:
  falloutNV_60fps_notes: &falloutNV_60fps_notes
    "Set the framelimiter to 60, as things will break over 60 FPS."

PPU-43f93d8813c1ab40afc09dfa47c05c943d71334e:
  "Unlock FPS":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0097504c, 0x60000000 ]
  "60 FPS":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLES01475: [ 01.00 ]
    Author: "FlexBy"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00975070, 0x60000000 ]
  "Infinite Ammo & Consumables":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes: "<b>Picking up some objects such as blueprints will freeze the game. Best used temporarily to duplicate the items you want.</b>\n\nAffects many items in the game, not just ammo and consumables. While this patch is enabled, affected items can't be removed from your inventory, and dropping them will duplicate them. Items can be sold for caps, but they do not leave your inventory."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0045bb6c, 0x60000000 ]
      - [ be32, 0x0045ba88, 0x60000000 ]
      - [ be32, 0x0045c578, 0x60000000 ]
  "Infinite Carry Weight":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00469658, 0x90330008 ]
  "Infinite Caps":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Essentially permanent if you save with this patch enabled - adds over 1 billion caps to your inventory which will remain after the patch is disabled."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00466cd8, 0x90630004 ]
  "No Weapon Degradation":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Using weapons and armor does not affect their condition. Repairing items brings them to perfect condition."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d6528, 0x60000000 ]
  "Infinite Health":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000170cc, 0x60000000 ]
  "Force Lock Always Succeeds":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0033da44, 0x60000000 ]
  "Pickpocketing Never Fails":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.02 ]
        BLES01478: [ 01.02 ]
    Author: "gir489"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0031dad4, 0x60000000 ]
  "Any Password Will Hack a Computer":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00333a58, 0x63c50000 ] # mr r5, r30
  "Stealing Has No Effect":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes: "NPCs will not notice you stealing even if they are watching you and you will not lose karma."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00181ff8, 0x4800 ] # b 0x1824bc
  "Bypass Casino Bans":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes: "This only works for 3 casinos on the Strip, the Vikki and Vance and Atomic Wrangler use a script to detect the ban."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0035215c, 0x4800 ] # b 0x352210 Blackjack
      - [ be16, 0x003598dc, 0x4800 ] # b 0x359990 Roulette
      - [ be16, 0x00125268, 0x4800 ] # b 0x1252e4 Slots
  "Super Duper Lucky Slots":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes: "This will cause the slot machine to always pay out as if you hit a 777, although it will never actually show the 777 on the machine."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001266cc, 0x4800011c ] # b 0x1267e8 Branch to the 100x win scenario.
      - [ be32, 0x001268ec, 0x60000000 ] # Fall through to the winning message block.
      - [ be32, 0x001268f8, 0x60000000 ] # Force the "You feel lucky" message. (OhohohoOHdatslapsmeondaknee)
      - [ be32, 0x00126200, 0x4800006c ] # b 0x126268 Branch to the Play GAMESlotsWinJackpot sound scenario.
  "Perfect V.A.T.S. Aiming":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "gir489"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x000928d5, 0x61 ] # f3 register
  "Jump While Aiming":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "lStewieAl"
    Notes: "Allows jumping while aiming"
    Patch Version: 1.0
    Patch:
      - [ be16, 0x000442A8, 0x4800 ] # b 0x44324
  "ActorCause Save Bloat Fix":
    Games:
      "Fallout New Vegas: Ultimate Edition":
        BLUS30888: [ 01.00 ]
        BLES01475: [ 01.00 ]
        BLES01478: [ 01.00 ]
    Author: "lStewieAl"
    Notes: "Fixes an engine bug that saves an unused detecting actors list on all ActorCauses"
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00439D08, 0x4800 ] # b 0x439D40
      - [ be16, 0x00439718, 0x4800 ] # b 0x43974C

PPU-d01110afee86aa2861be1f5f23cb330c88555598:
  "60 FPS":
    Games:
      "Fallout New Vegas":
        BLUS30500: [ 01.06 ]
        BLUS30626: [ 01.06 ]
        BLUS30627: [ 01.06 ]
        BLES00901: [ 01.06 ]
        BLES00902: [ 01.06 ]
        BLES00903: [ 01.06 ]
        BLES00904: [ 01.06 ]
        BLES00905: [ 01.06 ]
        BLES01057: [ 01.06 ]
    Author: "FlexBy"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0098ef1c, 0x60000000 ]

PPU-ac336a37080898ca29e486d4a835e5faef00ce1d:
  "60 FPS":
    Games:
      "Fallout New Vegas":
        BLUS30500: [ 01.07 ]
        BLUS30626: [ 01.07 ]
        BLUS30627: [ 01.07 ]
        BLES00901: [ 01.07 ]
        BLES00902: [ 01.07 ]
        BLES00903: [ 01.07 ]
        BLES00904: [ 01.07 ]
        BLES00905: [ 01.07 ]
        BLES01057: [ 01.07 ]
    Author: "FlexBy"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0098ef1c, 0x60000000 ]

PPU-3c4c7e49b9c45fec037214c28b0b00d01caf6ea5:
  "60 FPS":
    Games:
      "Fallout New Vegas":
        BLUS30500: [ 01.00 ]
    Author: "FlexBy"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x009794fc, 0x60000000 ]

PPU-fdcd04ef929deeb2cf5024635d9803407f667bc4:
  "60 FPS":
    Games:
      "Fallout New Vegas":
        BLJM60282: [ 01.05 ]
    Author: "FlexBy"
    Notes: *falloutNV_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0098e8ec, 0x60000000 ]

PPU-32bc28d20cb2f9a63c8f64abdfee87ef8628b9d5:
  "Unlock FPS":
    Games:
      "Murdered: Soul Suspect":
        NPEB01432: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007cb68c, 0x60000000 ]
      - [ be32, 0x007cb6e0, 0x60000000 ]
      - [ be32, 0x007cb6e4, 0x60000000 ]

Anchors:
  dantesinferno_ar_notes: &dantesinferno_ar_notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. Certain 2D elements are stretched."
  dantesinferno_ar_configurable_values: &dantesinferno_ar_configurable_values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-46bf3c2b3292d77f10d82e3a8729625ab0d3d6c2:
  "Aspect Ratio":
    Games:
      "Dante's Inferno":
        BLUS30405: [ 01.00 ]
        BLES00713: [ 01.00 ]
    Author: "boma"
    Notes: *dantesinferno_ar_notes
    Configurable Values: *dantesinferno_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00f5283c, "Aspect Ratio" ]
      - [ bef32, 0x00f5f3f4, "Aspect Ratio" ]
      - [ bef32, 0x00f63128, "Aspect Ratio" ]

PPU-539a6d42763b06228b136fa70f42070b34d30529:
  "Aspect Ratio":
    Games:
      "Dante's Inferno":
        BLUS30405: [ 01.04 ]
        BLES00713: [ 01.04 ]
    Author: "boma"
    Notes: *dantesinferno_ar_notes
    Configurable Values: *dantesinferno_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x011bfa38, "Aspect Ratio" ]
      - [ bef32, 0x011c3928, "Aspect Ratio" ]
      - [ bef32, 0x011b0ae0, "Aspect Ratio" ]

PPU-8f3e573af22dd5fd077fbe91ac79348eb368f9f6:
  "Infinite Health":
    Games:
      "Final Fantasy X HD Remaster":
        NPUB31247: [ 01.00 ]
    Author: "Aphelion"
    Notes: "Causes a softlock during a fairly easy boss battle about 1/3 of the way through the game. Enemy health will show as 9999/xxxx in battle if you have the Sensor ability."
    Patch Version: 1.1
    Patch:
      - [ be32, 0x002633a0, 0x988305d0 ]
      - [ be32, 0x00268fa0, 0x3860270f ]
      - [ be32, 0x003839e4, 0x3860270f ]
      - [ be32, 0x00383a54, 0x3860270f ]
  "Infinite Mana":
    Games:
      "Final Fantasy X HD Remaster":
        NPUB31247: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.1
    Patch:
      - [ be32, 0x00241efc, 0x909b05d4 ]
      - [ be32, 0x00268fc8, 0x3860270f ]
      - [ be32, 0x00383ad0, 0x3860270f ]
      - [ be32, 0x00383b30, 0x3860270f ]
  "Infinite Gil":
    Games:
      "Final Fantasy X HD Remaster":
        NPUB31247: [ 01.00 ]
    Author: "Aphelion"
    Notes:
    Patch Version: 1.1
    Patch:
      - [ be32, 0x0026f6b4, 0x90833d48 ]

Anchors:
  bfbc_demo_fps: &bfbc_demo_fps
    - [ be32, 0x00010b6c, 0x3c004270 ]
    - [ be32, 0x0004794c, 0x38800001 ]
    - [ be32, 0x00047340, 0x3ba00000 ] # remove vblank requirement

  bfbc_full_v120_fps: &bfbc_full_v120_fps
    - [ be32, 0x00010bd0, 0x3c004270 ]
    - [ be32, 0x0004864c, 0x38800001 ]
    - [ be32, 0x00048040, 0x3ba00000 ] # remove vblank requirement

  bfbc_demo_devmenu: &bfbc_demo_devmenu
    - [ be32, 0x01363828, 0x000000f1 ]

  bfbc_full_v120_devmenu: &bfbc_full_v120_devmenu
    - [ be32, 0x013a3840, 0x000000f1 ]

  bfbc_full_v120_filmgrain: &bfbc_full_v120_filmgrain
    - [ be32, 0x014b2ae8, 0x60000000 ]

  bfbc_full_v120_skipintro: &bfbc_full_v120_skipintro
    - [ be32, 0x013d3600, 0x60000000 ]

  bfbc_fps_notes: &bfbc_fps_notes
    "Patch works fine for Single-player mode, in Multi-player mode gamespeed is doubled."
  bfbc_skipintro_notes: &bfbc_skipintro_notes
    "Breaks menu background video."

PPU-7aa8dc113c7068f4372f239cb9b7cc2c92d9c057:
  "60 FPS":
    Games:
      "Battlefield: Bad Company Demo":
        NPUB90070: [ 01.00 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_demo_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company Demo":
        NPUB90070: [ 01.00 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_demo_devmenu ]

PPU-52c55a2495130940baf49afb06a134175131b73b:
  "60 FPS":
    Games:
      "Battlefield: Bad Company Demo":
        NPEB90073: [ 01.00 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_demo_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company Demo":
        NPEB90073: [ 01.00 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_demo_devmenu ]

PPU-4c3bd27c0a7af517b03322d1826735ae17088826:
  "60 FPS":
    Games:
      "Battlefield: Bad Company Demo":
        NPJB90112: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010b6c, 0x3c004270 ]
      - [ be32, 0x00047824, 0x38800001 ]
      - [ be32, 0x00047218, 0x3ba00000 ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company Demo":
        NPJB90112: [ 01.00 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_demo_devmenu ]

PPU-ad211ac5bcbddc69bf3ad9a897c7777bf65dd64e:
  "60 FPS":
    Games:
      "Battlefield: Bad Company":
        BLUS30118: [ 01.20 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company":
        BLUS30118: [ 01.20 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_devmenu ]
  "No Film Grain":
    Games:
      "Battlefield: Bad Company":
        BLUS30118: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_filmgrain ]
  "Skip Intro":
    Games:
      "Battlefield: Bad Company":
        BLUS30118: [ 01.20 ]
    Author: "FlexBy"
    Notes: *bfbc_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_skipintro ]

PPU-6b45e01ffabee0118e0acdbc71995b8f1f5385d2:
  "60 FPS":
    Games:
      "Battlefield: Bad Company":
        BLES00259: [ 01.20 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company":
        BLES00259: [ 01.20 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_devmenu ]
  "No Film Grain":
    Games:
      "Battlefield: Bad Company":
        BLES00259: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_filmgrain ]
  "Skip Intro":
    Games:
      "Battlefield: Bad Company":
        BLES00259: [ 01.20 ]
    Author: "FlexBy"
    Notes: *bfbc_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_skipintro ]

PPU-4ce97e5717c82e5d38f29375c8853adb2f7b3b80:
  "60 FPS":
    Games:
      "Battlefield: Bad Company":
        BLES00261: [ 01.20 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company":
        BLES00261: [ 01.20 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_devmenu ]
  "No Film Grain":
    Games:
      "Battlefield: Bad Company":
        BLES00261: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014b1158, 0x60000000 ]
  "Skip Intro":
    Games:
      "Battlefield: Bad Company":
        BLES00261: [ 01.20 ]
    Author: "FlexBy"
    Notes: *bfbc_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x013e3238, 0x60000000 ]

PPU-b90983d28f1b1b00390341ea7167ec3067fea57a:
  "60 FPS":
    Games:
      "Battlefield: Bad Company":
        BLUS30121: [ 01.20 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_fps ]
  "Dev Menu":
    Games:
      "Battlefield: Bad Company":
        BLUS30121: [ 01.20 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_devmenu ]
  "No Film Grain":
    Games:
      "Battlefield: Bad Company":
        BLUS30121: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014b1158, 0x60000000 ]
  "Skip Intro":
    Games:
      "Battlefield: Bad Company":
        BLUS30121: [ 01.20 ]
    Author: "FlexBy"
    Notes: *bfbc_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x013e3238, 0x60000000 ]

PPU-ef7e4c1262cbd95d7267ed6d75e981003850f5d6:
  "60 FPS":
    Games:
      "Battlefield: Bad Company":
        BLJM60071: [ 01.20 ]
    Author: "illusion"
    Notes: *bfbc_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010bd0, 0x3c004270 ]
      - [ be32, 0x0004855c, 0x38800001 ]
      - [ be32, 0x00047f50, 0x3ba00000 ] # remove vblank requirement
  "Dev Menu":
    Games:
      "Battlefield: Bad Company":
        BLJM60071: [ 01.20 ]
    Author: "Heico (BFBC2Toolkit), illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc_full_v120_devmenu ]
  "No Film Grain":
    Games:
      "Battlefield: Bad Company":
        BLJM60071: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014b1158, 0x60000000 ]
  "Skip Intro":
    Games:
      "Battlefield: Bad Company":
        BLJM60071: [ 01.20 ]
    Author: "FlexBy"
    Notes: *bfbc_skipintro_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x013e3238, 0x60000000 ]

Anchors:
  bf4120_title: &bf4120_title
    "Battlefield 4":
      BLES01832: [ 01.20 ]
      BLUS31162: [ 01.20 ]
      BLJM61039: [ 01.20 ]
      NPUB31148: [ 01.20 ]
      NPEB01303: [ 01.20 ]

PPU-f7ff4ca5d07f753244f290dc5e54907948e03613:
  "Disable MLAA":
    Games: *bf4120_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0094ec04, 0x38600000 ]
  "Disable Dynamic Lights":
    Games: *bf4120_title
    Author: "illusion"
    Notes: "Compromises visuals for extra performance."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01499ab8, 0x98bf ]
      - [ be16, 0x01499abc, 0x98bf ]
  "Disable Bloom":
    Games: *bf4120_title
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x01487934, 0x98bf ]
      - [ be16, 0x01487938, 0x98bf ]

PPU-482f5eaeff7aaa7fb90dbeafcbff4483280e358e:
  "Unlock FPS":
    Games:
      "Painkiller Hell & Damnation":
        NPEB01390: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008e6b54, 0x60000000 ]
      - [ be32, 0x008e6bb4, 0x60000000 ]
      - [ be32, 0x008e6bb8, 0x60000000 ]

PPU-2845afa9e4dc56df06a61f2e51463468e9a557c7:
  "60 FPS":
    Games:
      "Final Fantasy XIII":
        MRTC00003: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008d2e94, 0x38800001 ] # vsync flip rate 60hz // unlimited freeze at SE screen

Anchors:
  ssx_disc_us_100_titles: &ssx_disc_us_100_titles
    "SSX":
      BLUS30849: [ 01.00 ]
  ssx_disc_us_103_titles: &ssx_disc_updated_titles
    "SSX":
      BLUS30849: [ 01.03 ]
      BLES01437: [ 01.02 ]
  ssx_psn_titles: &ssx_psn_titles
    "SSX":
      NPEB01121: [ 01.02 ]
      NPJB00240: [ 01.03 ]
      NPUB30892: [ 01.03 ]

  ssx_resolution_notes: &ssx_resolution_notes
    "Native resolution is 1120x584."

PPU-7e54736a9aa0a195db2103129972ee0a9a9a4c39:
  "60 FPS":
    Games: *ssx_disc_us_100_titles
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007427d0, 0x4e800020 ] # blr, cellGcmSetFlipMode case switch
  "1280x720 Resolution":
    Games: *ssx_disc_us_100_titles
    Author: "Margen67"
    Notes: *ssx_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00b625ce, 1280 ]
      - [ be16, 0x00b625d2, 720 ]

PPU-3c592821a982e587b06e8b026ece13897eab826f:
  "60 FPS":
    Games: *ssx_disc_updated_titles
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0075b870, 0x4e800020 ] # blr, cellGcmSetFlipMode case switch
  "1280x720 Resolution":
    Games: *ssx_disc_updated_titles
    Author: "Margen67"
    Notes: *ssx_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00b83f8e, 1280 ]
      - [ be16, 0x00b83f92, 720 ]

PPU-e9844aeece4ed8abaffc9ee5966e0750f5747308:
  "60 FPS":
    Games: *ssx_psn_titles
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0075ba00, 0x4e800020 ] # blr, cellGcmSetFlipMode case switch
  "1280x720 Resolution":
    Games: *ssx_psn_titles
    Author: "Margen67"
    Notes: *ssx_resolution_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00b8422e, 1280 ]
      - [ be16, 0x00b84232, 720 ]

PPU-ae7633f0660f4386e11a3d727d54512d7990721b:
  "Unlock All Levels":
    Games:
      "Until Dawn (Beyond)":
        TEST70001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bdbfb8, 0x38600001 ]
  "Enable Debug Menu":
    Games:
      "Until Dawn (Beyond)":
        TEST70001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00ea63d8, "true\x00" ]
  "Disable MLAA(Post-processing On SPU)":
    Games:
      "Until Dawn (Beyond)":
        TEST70001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001c7e90, 0x9b7f009d ]

PPU-1151d488c9033962082b3e65ac64a9b83df10015:
  "Skip Exception handler":
    Games:
      "Until Dawn":
        TEST70001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00071708, 0x4800 ] # Todo: provide aob for use on realhw
  "Disable MLAA(Post-processing On SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games:
      "Until Dawn":
        TEST70001: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x001d4428, 0x937f ]

PPU-fe4eb5ec50711d92f4d693625147e9a6690ffc09:
  "Disable MLAA(Post-processing On SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games:
      "Until Dawn":
        TEST70006: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001e22f0, 0x38800000 ]
  "Extended FOV":
    Games:
      "Until Dawn":
        TEST70006: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0152b930, 0.6 ]
      - [ bef32, 0x0152ba84, 0.6 ]

PPU-e608f6e3e55eda4850e835698d7121caa97b7fa5:
  "Disable MLAA(Post-processing On SPU)": # Gfx.Post.MLAA PostMLAASPU
    Games:
      "Until Dawn":
        BCES01556: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001e1490, 0x38800000 ]

PPU-2d23777ede9d83e1f1dd3fa4fd61a993fa8d9fea:
  "Unlock all songs and modules":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater Extend":
        NPJB00201: [ 01.01 ]
    Author: "nastys"
    Notes: "Unlocks everything. No save data required."
    Patch Version: 1.1
    Patch:
      # Unlock song menu
      - [ be32, 0x003837cc, 0x38600001 ]
      - [ be32, 0x003837d0, 0x4e800020 ]
      # Unlock songs and modules
      - [ be32, 0x002dea18, 0x38600001 ]
      - [ be32, 0x002dea1c, 0x39200001 ]
      - [ be32, 0x002dea24, 0x42800040 ]
      # Unlock PV mode
      - [ be32, 0x002e1968, 0x38000001 ]
  "Full resolution":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater Extend":
        NPJB00201: [ 01.01 ]
    Author: "nastys"
    Notes: "Increases the internal resolution from 1024x576 to 1280x720."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003a6c70, 0x2f890500 ]
      - [ be32, 0x003a6c7c, 0x39200500 ]
      - [ be32, 0x003a6c84, 0x380002d0 ]
      - [ be32, 0x003a6fd0, 0x2f8802d0 ]
      - [ be32, 0x003a6fdc, 0x39200500 ]
      - [ be32, 0x003a6fe4, 0x380002d0 ]
  "Remove watermark":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater Extend":
        NPJB00201: [ 01.01 ]
    Author: "nastys"
    Notes: "Removes the PV watermark."
    Patch Version: 1.0
    Patch:
      # pv_mark
      - [ byte, 0x00833e08, 0x00 ]
  "Skip save data CRC-32 check":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater Extend":
        NPJB00201: [ 01.01 ]
    Author: "nastys"
    Notes: "For easy save data modding."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003b5d60, 0x4280000c ]
      - [ be32, 0x003b5d34, 0x42800020 ]
      - [ be32, 0x003b5d0c, 0x60000000 ]

PPU-f0a175f8e0fe7f939223d821dc05fc646ca22a14:
  "Unlock all songs and modules":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater 2nd":
        NPJB00134: [ 01.01 ]
    Author: "nastys"
    Notes: "Unlocks everything. No save data required."
    Patch Version: 1.1
    Patch:
      # Unlock song menu
      - [ be32, 0x0038fe00, 0x38600001 ]
      - [ be32, 0x0038fe04, 0x4e800020 ]
      # Unlock songs and modules
      - [ be32, 0x002ca200, 0x38600001 ]
      - [ be32, 0x002ca204, 0x39200001 ]
      - [ be32, 0x002ca20c, 0x42800040 ]
      # Unlock PV mode
      - [ be32, 0x002cc8ec, 0x38000001 ]
  "Full resolution":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater 2nd":
        NPJB00134: [ 01.01 ]
    Author: "nastys"
    Notes: "Increases the internal resolution from 1024x576 to 1280x720."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0021e408, 0x2f890500 ]
      - [ be32, 0x0021e416, 0x39200500 ]
      - [ be32, 0x0021e41c, 0x380002d0 ]
      - [ be32, 0x0021e76c, 0x2f8802d0 ]
      - [ be32, 0x0021e778, 0x39200500 ]
      - [ be32, 0x0021e780, 0x380002d0 ]
  "Remove watermark":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater 2nd":
        NPJB00134: [ 01.01 ]
    Author: "nastys"
    Notes: "Removes the PV watermark."
    Patch Version: 1.0
    Patch:
      # pv_mark
      - [ byte, 0x00826790, 0x00 ]
  "Skip save data CRC-32 check":
    Games:
      "Hatsune Miku: Project DIVA Dreamy Theater 2nd":
        NPJB00134: [ 01.01 ]
    Author: "nastys"
    Notes: "For easy save data modding."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c2054, 0x4280000c ]
      - [ be32, 0x003c2148, 0x4280001c ]
      - [ be32, 0x003c2120, 0x60000000 ]

PPU-3c5e08635d6768c273395b9c19e099b25050927b:
  "Unlock FPS":
    Games:
      "Skylanders: SWAP Force":
        BLUS31076: [ 01.01 ]
    Author: "Fro Zen"
    Notes: "Unlocks FPS without additional settings.\nAs a safety measure, set framelimit to 60."
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00520c17, 0x00 ]

PPU-4954615ba4883e0799e933ee8619098b26830416:
  "Flat Lighting":
    Games:
      "Sly Cooper and the Thievius Raccoonus":
        NPUA80663: [ 01.00 ]
    Author: "VelocityRa"
    Notes: "Removes shadows and fog."
    Patch Version: 2.2
    Patch:
      - [ be32, 0x001300a8, 0xeda00024 ]
  "Spooky Lighting":
    Games:
      "Sly Cooper and the Thievius Raccoonus":
        NPUA80663: [ 01.00 ]
    Author: "VelocityRa"
    Notes: "Changes light colors in an unpredictable manner."
    Patch Version: 2.2
    Patch:
      - [ be32, 0x001300a8, 0xedad6824 ]
  "Unskippable Images Intro Skip":
    Games:
      "Sly Cooper and the Thievius Raccoonus":
        NPUA80663: [ 01.00 ]
    Author: "VelocityRa"
    Notes: "Skips the \"Warning\" & Sanzaru logo intro/splash images."
    Patch Version: 2.2
    Patch:
      - [ be32, 0x0039d190, 0x00000000 ]

PPU-d3a99698275b4203d42c7aeccc053299a5811804:
  "Unskippable Images Intro Skip":
    Games:
      "Sly 2: Band of Thieves":
        NPEA00342: [ 01.00 ]
        NPUA80664: [ 01.00 ]
    Author: "VelocityRa"
    Notes: "Skips the \"WARNING\" & Sanzaru logo intro/splash images."
    Patch Version: 2.2
    Patch:
      - [ be32, 0x003fe780, 0x00000000 ]

PPU-3675007cd4110c6e8c2c297e6dde41799e05198c:
  "Infinite Draw Distance":
    Games:
      "Sly 3: Honor Among Thieves":
        NPUA80665: [ 01.00 ]
        NPEA00343: [ 01.00 ]
    Author: "VelocityRa"
    Notes: "Renders all objects, even ones that are far away."
    Patch Version: 2.2
    Patch:
      - [ bef32, 0x0048d148, 0 ]
      - [ be32, 0x00099d94, 0xfc000028 ]
      - [ be32, 0x0004cd24, 0xfc000028 ]
      - [ be32, 0x0005b7d0, 0xfc000028 ]

Anchors:
  3DDGH_FPS_notes_notes: &3DDGH_FPS_notes
    "Fully unlocks framerate. No longer requires to change VBlank."

PPU-b7d282d79e16c88e2307c270406f73bb36d8edab:
  "Unlock FPS":
    Games:
      "3D DOT GAME HEROES":
        BLES00875: [ 01.00 ]
    Author: "FlexBy"
    Notes: *3DDGH_FPS_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0002a6ac, 0x60000000 ]
      - [ be32, 0x00029bf0, 0x60000000 ]

PPU-27a382cebfbaa5e5d271d746f84c683008662106:
  "Unlock FPS":
    Games:
      "3D DOT GAME HEROES":
        BLUS30490: [ 01.01 ]
    Author: "FlexBy"
    Notes: *3DDGH_FPS_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0002a6ac, 0x60000000 ]
      - [ be32, 0x00029bf0, 0x60000000 ]

PPU-db42d5c3edaa63c31c07f22da5a5cd993eff2f62:
  "Unlock FPS":
    Games:
      "3D DOT GAME HEROES":
        BLJM60180: [ 01.20 ]
    Author: "FlexBy"
    Notes: *3DDGH_FPS_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0002a6c4, 0x60000000 ]
      - [ be32, 0x00029c08, 0x60000000 ]

PPU-40cab05bffe7a05eb82b607e09653e432c4e48a4:
  "Unlock FPS":
    Games:
      "3D DOT GAME HEROES Trade Demo":
        BLUD80019: [ 01.00 ]
    Author: "FlexBy"
    Notes: *3DDGH_FPS_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0002a6ac, 0x60000000 ]
      - [ be32, 0x00029bf0, 0x60000000 ]

Anchors:
  maxA_60fps_notes: &maxA_60fps_notes
    "Allows for proper gamespeed at 60 FPS.\nSet VBlank to 120."

PPU-276dafbbd5268abde8c29a68b1fbb660f36909d2:
  "60 FPS":
    Games:
      "Anarchy Reigns (Max Anarchy)":
        NPEB01246: [ 01.00 ]
    Author: "FlexBy"
    Notes: *maxA_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043cd48, 0x3c603c88 ] # mem: 35a41f5c

PPU-fe37cb27c8e9c8090e86a5f214426f1fb2d39b6e:
  "60 FPS":
    Games:
      "Anarchy Reigns (Max Anarchy)":
        BLES01232: [ 01.00 ]
    Author: "FlexBy"
    Notes: *maxA_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043cbc8, 0x3c603c88 ]

PPU-02acc7aec591e5ecc439c73c2431196f0d5ca3df:
  "60 FPS":
    Games:
      "Anarchy Reigns (Max Anarchy)":
        BLUS30632: [ 01.00 ]
    Author: "FlexBy"
    Notes: *maxA_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043cbb8, 0x3c603c88 ]

PPU-7ad783288109f3a70c88b3567a05b62d20eb0819:
  "60 FPS":
    Games:
      "Anarchy Reigns (Max Anarchy)":
        NPUB31096: [ 01.00 ]
    Author: "FlexBy"
    Notes: *maxA_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043cd48, 0x3c603c88 ]

PPU-b1073f20b9fd664da46c6e666539da6626cb2e94:
  "60 FPS":
    Games:
      "Anarchy Reigns (Max Anarchy)":
        NPJB00302: [ 01.00 ]
    Author: "FlexBy"
    Notes: *maxA_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0043cd48, 0x3c603c88 ]

Anchors:
  FixLeftLock: &FixLeftLock
      - [ be32, 0x011FFFA8, 0x7D200026 ]
      - [ be32, 0x011FFFAC, 0x2F9A0000 ]
      - [ be32, 0x011FFFB0, 0x419E0014 ]
      - [ be32, 0x011FFFB4, 0x817B0020 ]
      - [ be32, 0x011FFFB8, 0x2F8B0000 ]
      - [ be32, 0x011FFFBC, 0x409E0008 ]
      - [ be32, 0x011FFFC0, 0x935B0020 ]
      - [ be32, 0x011FFFC4, 0x935B0000 ]
      - [ be32, 0x011FFFC8, 0x7D2FF120 ]
      - [ be32, 0x011FFFD4, 0x7D200026 ]
      - [ be32, 0x011FFFD8, 0x2F9A0000 ]
      - [ be32, 0x011FFFDC, 0x409E0018 ]
      - [ be32, 0x011FFFE0, 0x817BFFE0 ]
      - [ be32, 0x011FFFE4, 0x2F8B0000 ]
      - [ be32, 0x011FFFE8, 0x419E000C ]
      - [ be32, 0x011FFFEC, 0x917B0000 ]
      - [ be32, 0x011FFFF0, 0x48000008 ]
      - [ be32, 0x011FFFF4, 0x935B0000 ]
      - [ be32, 0x011FFFF8, 0x7D2FF120 ]
  
PPU-c67c32700d8419d67b77a1ccfc88d05f37e41fc4:
  "Fix Left Lock":
    Games:
      "ARMORED CORE for Answer":
        BLUS30187: [ All ]
    Author: "BEZEL"
    Patch Version: 1.0
    Group: ""
    Notes: "This patch fixes an issue with left-hand weapon locking in PvP."
    Patch:
      - [ load, *FixLeftLock ]
      - [ be32, 0x00979428, 0x48886B80 ]
      - [ be32, 0x011FFFCC, 0x4B779460 ]
      - [ be32, 0x00979530, 0x48886AA4 ]
      - [ be32, 0x011FFFFC, 0x4B779538 ]

PPU-0bc5d0e97eebf1b3bf933f2e442acb20d3a1d969:
  "Fix Left Lock":
    Games:
      "ARMORED CORE for Answer":
        BLJM60066: [ 01.35 ]
    Author: "BEZEL"
    Patch Version: 1.0
    Group: ""
    Notes: "This patch fixes an issue with left-hand weapon locking in PvP."
    Patch:
      - [ load, *FixLeftLock ]
      - [ be32, 0x00979538, 0x48886A70 ]
      - [ be32, 0x011FFFCC, 0x4B779570 ]
      - [ be32, 0x00979640, 0x48886994 ]
      - [ be32, 0x011FFFFC, 0x4B779648 ]

PPU-321ccf1f115007f3260650828b3c01e7e40775d4:
  "Fix Left Lock":
    Games:
      "ARMORED CORE for Answer":
        BLJM55005: [ All ]
    Author: "BEZEL"
    Patch Version: 1.0
    Group: ""
    Notes: "This patch fixes an issue with left-hand weapon locking in PvP."
    Patch:
      - [ load, *FixLeftLock ]
      - [ be32, 0x00979708, 0x488868A0 ]
      - [ be32, 0x011FFFCC, 0x4B779740 ]
      - [ be32, 0x00979810, 0x488867C4 ]
      - [ be32, 0x011FFFFC, 0x4B779818 ]

PPU-fccf7c4880b7c580c8a15ad2beabd5da59ac0832:
  "Skip intro":
    Games:
      "Assassin's Creed":
        NPEB00393: [ 01.00 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x10044de0, 0x60000000 ]
      - [ be32, 0x10044dc8, 0x60000000 ]
      - [ be32, 0x10044db0, 0x60000000 ]
      - [ be32, 0x10044da0, 0x60000000 ]
      - [ be32, 0x10044d88, 0x60000000 ]

PPU-ae6dc392f80f85bff5fda457856c9123085a7c45:
  "Skip intro":
    Games:
      "Assassin's Creed":
        BLES00158: [ 01.10 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x10044fd0, 0x60000000 ]
      - [ be32, 0x10044fb8, 0x60000000 ]
      - [ be32, 0x10044fa0, 0x60000000 ]
      - [ be32, 0x10044f90, 0x60000000 ]
      - [ be32, 0x10044f78, 0x60000000 ]

PPU-d6b889b6081c0d2942b38b8036809cd8aa7e83c7:
  "Redirect logs to tty":
    Games:
      "Battlefield 1943":
        NPEB00092: [ 01.00 ]
    Author: "Faith"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00bc957c, 0x60000000 ] # nop
      - [ be32, 0x00bc9580, 0x7c832378 ] # or r3, r4, r4
      - [ be32, 0x00bc9584, 0x483a61b5 ] # bl j__printf

Anchors:
  bf3_109_title: &bf3_109_title
    "Battlefield 3":
      BLES01275: [ 01.09 ]
      BLUS30762: [ 01.09 ]
      NPEB00723: [ 01.09 ]

PPU-fbb251a511c29cb38f33da72675bdf041ceadf4e:
  "60 FPS":
    Games: *bf3_109_title
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00012fcb, 0x3c ]
      - [ byte, 0x00013007, 0x3c ]
      - [ be32, 0x00272f58, 0x38a00000 ]
      - [ be32, 0x007d9a98, 0x4ba99501 ] # Call
      - [ be32, 0x00272f98, 0x3cc041f0 ] # r6 = 0x41f00000
      - [ be32, 0x00272f9c, 0x7f833000 ] # cmpw cr7,r3,r6
      - [ be32, 0x00272fa0, 0x419e0008 ] # beq cr7
      - [ be32, 0x00272fa4, 0x90640000 ] # stw r3,0x0(r4)
      - [ be32, 0x00272fa8, 0x4e800020 ] # ret
      - [ be16, 0x0127cf26, 0x4270 ]
      - [ be16, 0x017d3f88, 0x3f91 ]
      - [ be16, 0x017d3f90, 0x404e ]
      - [ be16, 0x017d3f98, 0x3f91 ]

Anchors:
  bfbc2_disc_v105_fps: &bfbc2_disc_v105_fps
    - [ be32, 0x00f47670, 0x3cc04270 ]
    - [ be32, 0x0002446c, 0x60000000 ]

  bfbc2_digital_v105_fps: &bfbc2_digital_v105_fps
    - [ be32, 0x00f47eb0, 0x3cc04270 ]
    - [ be32, 0x000245fc, 0x60000000 ]

  bfbc2_disc_v105_pl: &bfbc2_disc_v105_pl
    - [ be32, 0x001c0614, 0x2c060010 ]
    - [ be32, 0x001c0738, 0x38600007 ]

  bfbc2_disc_v105_intro: &bfbc2_disc_v105_intro
    - [ be32, 0x01222ea0, 0x60000000 ]

  bfbc2_digital_v105_intro: &bfbc2_digital_v105_intro
    - [ be32, 0x01202c60, 0x60000000 ]

  bfbc2_fps_notes: &bfbc2_fps_notes
    "Known Issues:\nDelay after the reload is increased at lower FPS.\nGuns shoots longer at lower FPS.\nDoesn't work in multiplayer."
  bfbc2_pl_notes: &bfbc2_pl_notes
    "Set Console Language to Polish. Replaces Russian Language."

PPU-a0e5fd11cb9d03eccd48e4edb02accc0c5be4bce:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        NPEB00724: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_digital_v105_fps ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        NPEB00724: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_digital_v105_intro ]
  "Redirect logs to tty":
    Games:
      "Battlefield Bad Company 2":
        NPEB00724: [ 01.05 ]
    Author: "Faith"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007e980c, 0x60000000 ] # nop
      - [ be32, 0x007e9810, 0x7c832378 ] # or r3, r4, r4
      - [ be32, 0x007e9814, 0x48227619 ] # bl j__printf
  "Polish Language":
    Games:
      "Battlefield Bad Company 2":
        NPEB00724: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_pl_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x00208a24, 0x2c060010 ]
      - [ be32, 0x00208b48, 0x38600007 ]

PPU-1ccbe2fe6c1687f49ccd2436e0014c8c86365d83:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        NPUB30583: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_digital_v105_fps ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        NPUB30583: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_digital_v105_intro ]

PPU-60ba7685d4d8857640862e92b9e799c72da8e5fd:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        BLES00773: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_fps ]
  "Polish Language":
    Games:
      "Battlefield Bad Company 2":
        BLES00773: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_pl_notes
    Patch Version: 2.0
    Patch:
      - [ load, *bfbc2_disc_v105_pl ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        BLES00773: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_intro ]

PPU-b2e86c6b5376ee547745c7c88f5225d36b1b5b61:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        BLES00779: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_fps ]
  "Polish Language":
    Games:
      "Battlefield Bad Company 2":
        BLES00779: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_pl_notes
    Patch Version: 2.0
    Patch:
      - [ load, *bfbc2_disc_v105_pl ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        BLES00779: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_intro ]

PPU-f3ac28053a7eb0ab988c5cb8d6953da37fb78bea:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        BLJM60197: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_fps ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        BLJM60197: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_intro ]

PPU-674b2b98b4d311a2e0f788f8c0d4865110aaf926:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        BLUS30458: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_fps ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        BLUS30458: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_intro ]

PPU-ac2ade76721b2f72d0c7e9b6889c662e7b9f4224:
  "60 FPS":
    Games:
      "Battlefield Bad Company 2":
        BLUS30517: [ 01.05 ]
    Author: "FlexBy"
    Notes: *bfbc2_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_fps ]
  "Skip Intro":
    Games:
      "Battlefield Bad Company 2":
        BLUS30517: [ 01.05 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *bfbc2_disc_v105_intro ]

PPU-c69ee207d87934a66bf61056f3fc82c25eb6c2fd: # NPWR00318
  "Openspy Online":
    Games:
      "Beijing 2008":
        BLES00286: [ 01.20 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00bb3885, "openspy.net" ]
      - [ utf8, 0x00bb39c1, "openspy.net" ]
      - [ utf8, 0x00bb3eb9, "openspy.net" ]
      - [ utf8, 0x00bb4042, "openspy.net" ]
      - [ utf8, 0x00bb4280, "openspy.net" ]
      - [ utf8, 0x00bb42b8, "openspy.net" ]
      - [ utf8, 0x00bb42d0, "openspy.net" ]
      - [ utf8, 0x00bb42e8, "openspy.net" ]
      - [ utf8, 0x00bb5e10, "openspy.net" ]
      - [ utf8, 0x00bb5eaf, "openspy.net" ]
      - [ utf8, 0x00ce4235, "openspy.net" ]
      - [ utf8, 0x00ce438d, "openspy.net" ]
      - [ utf8, 0x00bb5ac8, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00b7a088, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  BTS_debugmenu_notes: &debugmenunotesBTS
    "L3 = Opens Debug Menu\nL1/R1 = Change pages\nOnly tested on BCUS98298."
  BTS_disc_v100_debugmenu: &BTS_disc_v100_debugmenu
    - [ be32, 0x00d6416c, 0x82fd0008 ]
    - [ be32, 0x00d64170, 0xeb370000 ]
    - [ be32, 0x00d64174, 0x48000020 ]
    - [ be32, 0x00d64194, 0x3f004465 ]
    - [ be32, 0x00d64198, 0x63186275 ]
    - [ be32, 0x00d6419c, 0x7b1807c6 ]
    - [ be32, 0x00d641a0, 0x48000020 ]
    - [ be32, 0x00d641c0, 0x6718674d ]
    - [ be32, 0x00d641c4, 0x6318656e ]
    - [ be32, 0x00d641c8, 0x7fb9c040 ]
    - [ be32, 0x00d641cc, 0x48000020 ]
    - [ be32, 0x00d641ec, 0x409e005c ]
    - [ be32, 0x00d641f0, 0xeb370008 ]
    - [ be32, 0x00d641f4, 0x3f007500 ]
    - [ be32, 0x00d641f8, 0x48000020 ]
    - [ be32, 0x00d64218, 0x7b1807c6 ]
    - [ be32, 0x00d6421c, 0x7fb9c040 ]
    - [ be32, 0x00d64220, 0x409e0028 ]
    - [ be32, 0x00d64224, 0x48000020 ]
    - [ be32, 0x00d64244, 0x38600001 ]
    - [ be32, 0x00d64248, 0x4835b4de ]
    - [ be32, 0x0035b4d8, 0x48d6416e ]

PPU-ec6d9414990cb8ad0adb282f5d16a1af4cb3f956:
  "Debug Menu":
    Games:
      "Beyond: Two Souls":
        BCUS98298: [ 01.00 ]
        BCUS99134: [ 01.00 ]
        BCES01121: [ 01.00 ]
        BCES01123: [ 01.00 ]
        BCAS25017: [ 01.00 ]
        BCJS37009: [ 01.00 ]
    Author: "bungholio"
    Notes: *debugmenunotesBTS
    Patch Version: 1.0
    Patch:
      - [ load, *BTS_disc_v100_debugmenu ]

Anchors:
  blight_openspyonline: &blight_openspyonline
    - [ utf8, 0x01a4a117, "openspy.net" ]
    - [ utf8, 0x01a4a15e, "openspy.net" ]
    - [ utf8, 0x01a66e7e, "openspy.net" ]
    - [ utf8, 0x01a66ece, "openspy.net" ]
    - [ utf8, 0x01a670c8, "openspy.net" ]
    - [ utf8, 0x01a670e0, "openspy.net" ]
    - [ utf8, 0x01a670f8, "openspy.net" ]
    - [ utf8, 0x01a67645, "openspy.net" ]
    - [ utf8, 0x01a676da, "openspy.net" ]
    - [ utf8, 0x01a68737, "openspy.net" ]
    - [ utf8, 0x01a68be8, "openspy.net" ]
    - [ utf8, 0x01a69adc, "openspy.net" ]
    - [ utf8, 0x01a69b5c, "openspy.net" ]
    - [ utf8, 0x01a69d49, "openspy.net" ]
    - [ utf8, 0x01deceb5, "openspy.net" ]
    - [ utf8, 0x01decef5, "openspy.net" ]
    - [ utf8, 0x01a687e0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
    - [ utf8, 0x01986fa0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

  blight_100title: &blight_100title
    "Blacklight: Tango Down":
      NPEB00365: [ 01.00 ]
      NPUB30224: [ 01.00 ]

PPU-9d84d0b2f526213d80b79228a15c521801011807:
  "OpenSpy Online":
    Games: *blight_100title
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ load, *blight_openspyonline ]
  "Unlock FPS":
    Games: *blight_100title
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00531990, 0x60000000 ]

PPU-dc0320a71151f24d72be25d34cd860d3092b074b: # EBOOT_SP.BIN 1.00/1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLUS30072: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6838, 0x60000000 ]
      - [ be32, 0x11e81990, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLUS30072: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10026df0, 0x00 ]
      - [ byte, 0x10026e08, 0x00 ]

PPU-b5f0842fa22a9213c2135946f69b78a7c5fea60c: # EBOOT_SP.BIN 1.00/1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLES00148: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6938, 0x60000000 ]
      - [ be32, 0x11e81a90, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLES00148: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10026df8, 0x00 ]
      - [ byte, 0x10026e10, 0x00 ]

PPU-06f5e139a921135abc274fe6c016e84fd242c5cf: # EBOOT_SP.BIN 1.00/1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLJS10013: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6a78, 0x60000000 ]
      - [ be32, 0x11e81a90, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLJS10013: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10026df0, 0x00 ]
      - [ byte, 0x10026e08, 0x00 ]

PPU-8863ea895efe6d2174884f8791e72469eb82d348: # EBOOT_SP.BIN 1.00/1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLKS20048: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6a78, 0x60000000 ]
      - [ be32, 0x11e81a90, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLKS20048: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10026df0, 0x00 ]
      - [ byte, 0x10026e08, 0x00 ]

PPU-1ef63a154ec16352bce3c013c3a6055a6d55cfe5: # EBOOT_SP.BIN 1.00/1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLES00149: [ All ]
        BLES00154: [ All ]
        BLES00155: [ All ]
        BLES00156: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6a60, 0x60000000 ]
      - [ be32, 0x11e81a90, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        BLES00149: [ All ]
        BLES00154: [ All ]
        BLES00155: [ All ]
        BLES00156: [ All ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10026df0, 0x00 ]
      - [ byte, 0x10026e08, 0x00 ]

PPU-900e4d225f95c89cb7998d2c632f2f326d9b5706: # EBOOT_SP.self
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        NPUB30588: [ 01.40 ]
        NPEB00740: [ 01.40 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d8320, 0x60000000 ]
      - [ be32, 0x11ea1b10, 0x453b8000 ] # memory
  "Skip Intro":
    Games:
      "Call of Duty 4: Modern Warfare (Singleplayer)":
        NPUB30588: [ 01.40 ]
        NPEB00740: [ 01.40 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x10027160, 0x00 ]
      - [ byte, 0x10027178, 0x00 ]

PPU-2e7c33720155d05029ac9e8e25090e38fce458b6: # EBOOT_MP.BIN 1.00
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLUS30072: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f1788, 0x60000000 ]
      - [ be32, 0x12c99e90, 0x453b8000 ] # memory

PPU-24e4051b2802c273d4ea3164f41c8226a16df31b: # EBOOT_MP.BIN 1.00
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLES00148: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f1bc8, 0x60000000 ]
      - [ be32, 0x12c99f10, 0x453b8000 ] # memory

PPU-88314d95eb1bd91e0e2aadade1ebb6da790e3b47: # EBOOT_MP.BIN 1.00
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLJS10013: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f1c98, 0x60000000 ]
      - [ be32, 0x12c99f10, 0x453b8000 ] # memory

PPU-53a0c2265dc3ac779bfe21ef9c806a6cf84a4609: # EBOOT_MP.BIN 1.00
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLKS20048: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f1c98, 0x60000000 ]
      - [ be32, 0x12c99f10, 0x453b8000 ] # memory

PPU-472d71f5cdda8d3ef1421dd95029a9b4624ef3c6: # EBOOT_MP.BIN 1.00
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLES00149: [ 01.00 ]
        BLES00154: [ 01.00 ]
        BLES00155: [ 01.00 ]
        BLES00156: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f1c28, 0x60000000 ]
      - [ be32, 0x12c99f10, 0x453b8000 ] # memory

PPU-258ad55150fc50492609f7f7ea5533fbcc732f9d: # EBOOT_MP.BIN 1.40
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        BLES00148: [ 01.40 ]
        BLES00149: [ 01.40 ]
        BLES00154: [ 01.40 ]
        BLES00155: [ 01.40 ]
        BLES00156: [ 01.40 ]
        BLJS10013: [ 01.40 ]
        BLKS20048: [ 01.40 ]
        BLUS30072: [ 01.40 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002faa88, 0x60000000 ]
      - [ be32, 0x12ca1290, 0x453b8000 ] # memory

PPU-7d2bde7162621321360f5fa570541c72e05013ff: # EBOOT_MP.self
  "Unlock FPS":
    Games:
      "Call of Duty 4: Modern Warfare (Multiplayer)":
        NPUB30588: [ 01.40 ]
        NPEB00740: [ 01.40 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002fafe0, 0x60000000 ]
      - [ be32, 0x12ca1290, 0x453b8000 ] # memory

PPU-ae4813836fefc002f423e6ebc7ff6d008282f4f9: # default.self 1.00
  "1280x720 Resolution":
    Games:
      "Call of Duty: Advanced Warfare (Singleplayer)":
        BLES02077: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Original resolution is 1024x600. Might cause rendering bugs."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x008182be, 1280 ]
      - [ be16, 0x008182c2, 720 ]

PPU-78324d71c201beabe143ea2a2b4b6ab65db8c79c: # t5_ps3f.self
  "Unlock FPS":
    Games:
      "Call of Duty: Black Ops (Singleplayer)":
        BLES01031: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00647970, 0x60000000 ]
      - [ be32, 0x01bf08a4, 0x453b8000 ] # memory

PPU-c5bfb7ce22e587ea94a21dea88fc6729f0754a6f: # t5_ps3f.self
  "Unlock FPS":
    Games:
      "Call of Duty: Black Ops (Singleplayer)":
        BLES01031: [ 01.13 ]
        BLES01032: [ 01.13 ]
        BLES01033: [ 01.13 ]
        BLES01034: [ 01.13 ]
        BLES01035: [ 01.13 ]
        BLES01105: [ 01.13 ]
        BLUS30591: [ 01.13 ]
        BLJM60286: [ 01.13 ]
        BLJM60287: [ 01.13 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00679988, 0x60000000 ]
      - [ be32, 0x01cc0424, 0x453b8000 ] # memory

PPU-8e5f9b6eb28af7d3ba4f6b565287b9689045d070: # default.self 1.00
  "1280x720 Resolution":
    Games:
      "Call of Duty: Ghosts (Singleplayer)":
        BLES01945: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Original resolution is 896x600. Might cause rendering bugs."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x007b438e, 1280 ]
      - [ be16, 0x007b4392, 720 ]

PPU-ef0d788aa8ca2375017221fe1b261922bd41c3aa: # default.self 1.16
  "1280x720 Resolution":
    Games:
      "Call of Duty: Ghosts (Singleplayer)":
        BLES01945: [ 01.16 ]
    Author: "FlexBy"
    Notes: "Original resolution is 896x600. Might cause rendering bugs."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x007f5cc2, 1280 ]
      - [ be16, 0x007f5cc6, 720 ]

PPU-a347f6287acbfaa15ba9af59e1dfed6a5cf47c23: # default.self 1.00
  "1280x720 Resolution":
    Games:
      "Call of Duty: Modern Warfare 2 (Singleplayer)":
        BLES00683: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Original resolution is 1024x600. Might cause rendering bugs."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0071714a, 1280 ]
      - [ be16, 0x0071714e, 720 ]

PPU-9f96803487f5a18dc96d68e398d767fc8717effb: # sp.self 1.00
  "Unlock FPS":
    Games:
      "Call of Duty: World at War (Singleplayer)":
        BLES00457: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0058dbac, 0x60000000 ]
      - [ be32, 0x02998f50, 0x453b8000 ] # memory
      
PPU-11c5751dcf65fa70da7171c96d53e9bebc281ede: # mp.self 1.00
  "Unlock FPS":
    Games:
      "Call of Duty: World at War (Multiplayer)":
        BLES00457: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0055a574, 0x60000000 ]
      - [ be32, 0x031d9ed0, 0x453b8000 ] # memory

PPU-a57a6ec21cefcf2274ac1ed7dd61711da9f85504: # sp.self 1.07/1.08
  "Unlock FPS":
    Games:
      "Call of Duty: World at War (Singleplayer)":
        BLES00354: [ 01.07 ]
        BLES00355: [ 01.07 ]
        BLES00357: [ 01.07 ]
        BLES00404: [ 01.07 ]
        BLUS30192: [ 01.07 ]
        BLKS20098: [ 01.07 ]
        BLES00457: [ 01.08 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005a8e3c, 0x60000000 ]
      - [ be32, 0x02a947d0, 0x453b8000 ] # memory
      
PPU-f1c3d2c0290947f7fbfa0a36c7842e21e7392414: # mp.self 1.07/1.08
  "Unlock FPS":
    Games:
      "Call of Duty: World at War (Multiplayer)":
        BLES00354: [ 01.07 ]
        BLES00355: [ 01.07 ]
        BLES00357: [ 01.07 ]
        BLES00404: [ 01.07 ]
        BLUS30192: [ 01.07 ]
        BLKS20098: [ 01.07 ]
        BLES00457: [ 01.08 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0056ef6c, 0x60000000 ]
      - [ be32, 0x030f1ed0, 0x453b8000 ] # memory

PPU-55575baa2f88d9600f705434bd5de9aea92042da:
  "Developer Menu":
    Games:
      "Call of Juarez: Gunslinger":
        NPEB01214: [ 01.02 ]
        NPUB31079: [ 01.02 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e73718, 0x9be39c8d ]

PPU-d8edc43468f59e453ec1404094e810e487591bfd:
  "Dev Menu":
    Games:
      "Call of Juarez: The Cartel":
        BLUS30795: [ 01.01 ]
        BLES01352: [ 01.00 ]
        BLES01352: [ 01.01 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00614e70, 0x38800001 ]
      - [ be32, 0x00614e74, 0x98830aad ]
      - [ be32, 0x00614e78, 0x60000000 ]

Anchors:
    cars_mnc_ar_notes: &cars_mnc_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
    cars_mnc_ar_configurable_values: &cars_mnc_ar_configurable_values
      "Aspect Ratio":
        Type: double_enum
        Value: &32_9_value 3.555555555555556
        Allowed Values:
          "32:9": *32_9_value
          "21:9 (3840x1600)": 2.4
          "21:9 (3440x1440)": 2.388888888888889
          "21:9 (2560x1080)": 2.37037037037037
          "16:10": 1.6
          "4:3": 1.333333333333333
          "5:4": 1.25

PPU-6c15db5dc3868d140fb638fc586f38426513d2de:
  "Aspect Ratio":
    Games:
      "Cars: Mater-National Championship":
        BLUS30088: [ 01.01 ]
    Author: "Virjoinga"
    Notes: *cars_mnc_ar_notes
    Configurable Values: *cars_mnc_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00546A80, "Aspect Ratio" ]

Anchors:
    cars_ror_ar_notes: &cars_ror_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
    cars_ror_ar_configurable_values: &cars_ror_ar_configurable_values
      "Aspect Ratio":
        Type: double_enum
        Value: &32_9_value 3.555555555555556
        Allowed Values:
          "32:9": *32_9_value
          "21:9 (3840x1600)": 2.4
          "21:9 (3440x1440)": 2.388888888888889
          "21:9 (2560x1080)": 2.37037037037037
          "16:10": 1.6
          "4:3": 1.333333333333333
          "5:4": 1.25

PPU-f80a88d6be7c30f1751d06023d984eab8169efcc:
  "Aspect Ratio":
    Games:
      "Cars: Race-O-Rama":
        BLUS30319: [ 01.00 ]
    Author: "Virjoinga"
    Notes: *cars_ror_ar_notes
    Configurable Values: *cars_ror_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x0070568C, "Aspect Ratio" ]

PPU-1f4ac52b4a75eae0be9c7e4e0922342cafba74da:
  "Unlock FPS":
    Games:
      "Chivalry: Medieval Warfare":
        NPUB31526: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 58 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00929260, 0x60000000 ]
      - [ be32, 0x009292c0, 0x60000000 ]
      - [ be32, 0x009292c4, 0x60000000 ]

PPU-c0ae1b3c0dd6676c510a261948f339ef5e41adfd:
  "Openspy Online":
    Games:
      "Condemned 2: Bloodshot":
        BLES00219: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x10019505, "openspy.net" ]
      - [ utf8, 0x100196a0, "openspy.net" ]
      - [ utf8, 0x100196b8, "openspy.net" ]
      - [ utf8, 0x100196d0, "openspy.net" ]
      - [ utf8, 0x100197fa, "openspy.net" ]
      - [ utf8, 0x10019ae8, "openspy.net" ]
      - [ utf8, 0x100c013d, "openspy.net" ]
      - [ utf8, 0x100c0285, "openspy.net" ]
      - [ utf8, 0x100c0302, "openspy.net" ]

Anchors:
  contrast_unlockfps_notes: &contrast_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."

PPU-1efcaa54695427194aede33645f2f30132a0c98d:
  "Unlock FPS":
    Games:
      "Contrast":
        NPEB01861: [ 01.00 ]
    Author: "FlexBy"
    Notes: *contrast_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00327cdc, 0x60000000 ]

PPU-50a806583e51a32db635cb14edb02841e2cd956d:
  "Unlock FPS":
    Games:
      "Contrast":
        NPEB01861: [ 01.01 ]
    Author: "FlexBy"
    Notes: *contrast_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00327d9c, 0x60000000 ]

PPU-1b9f40bb5ccd04cce20d8a5fccedd0e42324f567:
  "Developer Menu":
    Games:
      "Dead Island":
        NPEB00721: [ 01.00 ]
        BLES00749: [ 01.04 ]
        BLUS30790: [ 01.04 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ff135c, 0x38800001 ]
      - [ be32, 0x00ff1360, 0x988351fd ]
      - [ be32, 0x00ff1364, 0x38600001 ]

PPU-29daccad6db847d9790068762add8ea1de083cde:
  "Developer Menu":
    Games:
      "Dead Island Riptide":
        BLES01739: [ 01.01 ]
        NPUB31145: [ 01.01 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01027fc4, 0x9be3ca81 ]

PPU-aa19cb14cdbc500656b0ef0cfe572efe40977011:
  "Unlock FPS":
    Games:
      "Deadpool":
        NPUB31069: [ 01.00 ]
        NPEB01243: [ 01.00 ]
        BLUS31146: [ 01.00 ]
        BLES01789: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007ed630, 0x60000000 ]

PPU-ac58999f254e8d9dc817426c8c84b068ee8caaea:
  "HTTPS Bypass":
    Games:
      "Destiny":
        BLES01857: [ 01.24 ]
        BLUS31181: [ 01.24 ]
        BCJS35001: [ 01.24 ]
        NPEB02021: [ 01.24 ]
        NPUB31202: [ 01.24 ]
    Author: "cohaereo"
    Notes: "Necessary for the game to connect to unofficial signon servers."
    Patch Version: 0.1
    Patch:
      - [ utf8, 0x012e6328, "http://www%d.%s/%s\0" ]

PPU-e21ab816c8b67f90260b63caccbb2e3a81c68606:
  "Debug Menu":
    Games:
      "Deus Ex: Human Revolution Director's Cut":
        NPEB01805: [ 01.00 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0078b384, 0x3ba00001 ]

PPU-f693265f620e64208e76cc2388d10df1d7b60c95:
  "Debug Menu":
    Games:
      "Deus Ex: Human Revolution":
        NPEB00791: [ 01.01 ]
        NPEB00792: [ 01.01 ]
        NPEB00793: [ 01.01 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00732b94, 0x3ba00001 ]

Anchors:
  ddogma_fps_notes: &ddogma_fps_notes
    "Might slightly improve performance."

PPU-c08ed2a14ae5f13bce19e10a4b97f0b558d51f13:
  "Unlock FPS":
    Games:
      "Dragon's Dogma: Dark Arisen":
        BLES01794: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f5a6c4, 0x60000000 ]
      - [ be32, 0x00f5a6d8, 0x60000000 ]
  "Infinite Health":
    Games:
      "Dragon's Dogma: Dark Arisen":
        BLES01794: [ 01.00 ]
    Author: "xtatu"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00956bc0, 0x40820010 ]

PPU-ec112cfa3c2dae2ea6295d0e091bed942d550ff7:
  "Unlock FPS":
    Games:
      "Dragon's Dogma: Dark Arisen":
        BLES01794: [ 01.02 ]
        BLUS31155: [ 01.02 ]
        BLJM61012: [ 01.02 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f5aab4, 0x60000000 ]
      - [ be32, 0x00f5aac8, 0x60000000 ]

PPU-8be4f485f968b93ff712c670a4f5d89b8e4c6f3c:
  "Unlock FPS":
    Games:
      "Dragon's Dogma: Dark Arisen":
        NPUB31117: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f580c4, 0x60000000 ]
      - [ be32, 0x00f580d8, 0x60000000 ]

PPU-81d844f449c7145f458823338ddbc77628a0f2e1:
  "Unlock FPS":
    Games:
      "Dragon's Dogma: Dark Arisen":
        NPEB01268: [ 01.02 ]
        NPUB31117: [ 01.02 ]
        NPJB00335: [ 01.02 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f584b4, 0x60000000 ]
      - [ be32, 0x00f584c8, 0x60000000 ]

PPU-6aef809b5a3d40948a5b99bd4c6e864edb5fe4f9:
  "Unlock FPS":
    Games:
      "Dragon's Dogma":
        BLES01356: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ee28b4, 0x60000000 ]
      - [ be32, 0x00ee28c8, 0x60000000 ]

PPU-4857369088641f59416100d16b640c744a8b595e:
  "Unlock FPS":
    Games:
      "Dragon's Dogma":
        BLES01356: [ 01.05 ]
        BLUS30720: [ 01.05 ]
        BLJM60379: [ 01.05 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ef0c74, 0x60000000 ]
      - [ be32, 0x00ef0c88, 0x60000000 ]

PPU-adc95646dc0dc85e69b669d437ca160d604f81a0:
  "Unlock FPS":
    Games:
      "Dragon's Dogma Demo":
        NPEB90366: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00dd4cc0, 0x60000000 ]
      - [ be32, 0x00dd4cac, 0x60000000 ]

PPU-b741847e3e310822eb7f2f691f856d92183b77a7:
  "Unlock FPS":
    Games:
      "Dragon's Dogma Demo":
        NPUB90614: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00dd46ec, 0x60000000 ]
      - [ be32, 0x00dd4700, 0x60000000 ]

PPU-93d2bc023fd8f76624315906876039d3cc562026:
  "Unlock FPS":
    Games:
      "Dragon's Dogma Adventure Demo":
        NPEB90439: [ 01.00 ]
        NPJB90524: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f27c2c, 0x60000000 ]
      - [ be32, 0x00f27c40, 0x60000000 ]

PPU-541ea5f3ebee9185055d81ecd8d1f173e0d45714:
  "Unlock FPS":
    Games:
      "Dragon's Dogma Adventure Demo":
        NPUB90813: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f27b5c, 0x60000000 ]
      - [ be32, 0x00f27b70, 0x60000000 ]

PPU-76cb5eb050cabfbc21e40668be9e8b5b3b9d37d3:
  "Unlock FPS":
    Games:
      "Dragon's Dogma: Dark Arisen Adventure Demo":
        NPJB90581: [ 01.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f08684, 0x60000000 ]
      - [ be32, 0x00f08698, 0x60000000 ]

PPU-59a33bedc708ebfb7905fb35b207313711705579:
  "Unlock FPS":
    Games:
      "Dragon's Dogma Preview":
        BLES01356: [ 10.00 ]
    Author: "FlexBy"
    Notes: *ddogma_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f3a85c, 0x60000000 ]
      - [ be32, 0x00f3a870, 0x60000000 ]

Anchors:
  dungeondefenders_openspy_notes: &dungeondefenders_openspy_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
  dungeondefenders_fps_notes: &dungeondefenders_fps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS. "

PPU-9000e418b2842c1c1a9a46e0f58e96df99a248dc:
  "OpenSpy Online":
    Games:
      "Dungeon Defenders":
        NPEB00652: [ 01.00 ]
    Author: "FlexBy"
    Notes: *dungeondefenders_openspy_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013a6d73, "openspy.net" ]
      - [ utf8, 0x013a6dba, "openspy.net" ]
      - [ utf8, 0x013a8cc9, "openspy.net" ]
      - [ utf8, 0x013a9098, "openspy.net" ]
      - [ utf8, 0x013a90b0, "openspy.net" ]
      - [ utf8, 0x013a90c8, "openspy.net" ]
      - [ utf8, 0x013a923c, "openspy.net" ]
      - [ utf8, 0x013a92c6, "openspy.net" ]
      - [ utf8, 0x013a9e2c, "openspy.net" ]
      - [ utf8, 0x013a9e5e, "openspy.net" ]
      - [ utf8, 0x016adb51, "openspy.net" ]
      - [ utf8, 0x016adb95, "openspy.net" ]
      - [ utf8, 0x013a6f84, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x013a6e7a, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
  "Unlock FPS":
    Games:
      "Dungeon Defenders":
        NPEB00652: [ 01.00 ]
    Author: "FlexBy"
    Notes: *dungeondefenders_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0033b968, 0x60000000 ]

PPU-07563921a4e38747ffc7a05e7eeb84e1115ab916:
  "OpenSpy Online":
    Games:
      "Dungeon Defenders":
        NPEB00652: [ 01.03 ]
    Author: "FlexBy"
    Notes: *dungeondefenders_openspy_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013a8333, "openspy.net" ]
      - [ utf8, 0x013a837a, "openspy.net" ]
      - [ utf8, 0x013aa289, "openspy.net" ]
      - [ utf8, 0x013aa658, "openspy.net" ]
      - [ utf8, 0x013aa670, "openspy.net" ]
      - [ utf8, 0x013aa688, "openspy.net" ]
      - [ utf8, 0x013aa7fc, "openspy.net" ]
      - [ utf8, 0x013aa886, "openspy.net" ]
      - [ utf8, 0x013ab3ec, "openspy.net" ]
      - [ utf8, 0x013ab41e, "openspy.net" ]
      - [ utf8, 0x016adb51, "openspy.net" ]
      - [ utf8, 0x016adb95, "openspy.net" ]
      - [ utf8, 0x013a8544, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x013a843a, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
  "Unlock FPS":
    Games:
      "Dungeon Defenders":
        NPEB00652: [ 01.03 ]
    Author: "FlexBy"
    Notes: *dungeondefenders_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0033c6c8, 0x60000000 ]

PPU-25d214ecbfb831e9f2bba796da8982384ced83b4:
  "OpenSpy Online":
    Games:
      "Dungeon Defenders":
        NPUB30251: [ 01.04 ]
    Author: "FridiNaTor"
    Notes: *dungeondefenders_openspy_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x013a9313, "openspy.net" ]
      - [ utf8, 0x013a935a, "openspy.net" ]
      - [ utf8, 0x013ab269, "openspy.net" ]
      - [ utf8, 0x013ab638, "openspy.net" ]
      - [ utf8, 0x013ab650, "openspy.net" ]
      - [ utf8, 0x013ab668, "openspy.net" ]
      - [ utf8, 0x013ab7dc, "openspy.net" ]
      - [ utf8, 0x013ab866, "openspy.net" ]
      - [ utf8, 0x013ac3cc, "openspy.net" ]
      - [ utf8, 0x013ac3fe, "openspy.net" ]
      - [ utf8, 0x016adb49, "openspy.net" ]
      - [ utf8, 0x016adb8d, "openspy.net" ]
      - [ utf8, 0x013a9524, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x013a941a, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
  "Unlock FPS":
    Games:
      "Dungeon Defenders":
        NPUB30251: [ 01.04 ]
    Author: "FlexBy"
    Notes: *dungeondefenders_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0033cd90, 0x60000000 ]

Anchors:
  dust514_unlockfpspatch_notes: &dust514_unlockfpspatch_notes
    "Maximum framerate with the patch is half the Vblank frequency."

PPU-f769dbfcfce5161a4afb15f49495a09376909a4e:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPUB30643: [ 03.00 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00278038, 0x60000000 ]

PPU-b64817bf5226821e325693c21b7072a9642f0801:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPEB00777: [ 03.00 ]
        NPUB30643: [ 03.01 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00271310, 0x60000000 ]

PPU-ba50f5c028b533e4e923def39b9259a464b757b0:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPEB00777: [ 05.01 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002814df, 0x60000000 ]

PPU-6b11972fcc9870611b7800f2d3988454e1ff8c17:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPEB00777: [ 05.12 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00271efc, 0x60000000 ]

PPU-e5e39ab570a2753301e1b4ca7438a1548e842760:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPEB00777: [ 05.13 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00271efc, 0x60000000 ]

PPU-ae3f946dfcb103b782f73f1cc5f90587e652f439:
  "Unlock FPS":
    Games:
      "Dust 514":
        NPJB00313: [ 01.16 ]
        NPJB00313: [ 01.17 ]
        NPUB30643: [ 03.18 ]
        NPUB30643: [ 03.19 ]
        NPEB00777: [ 05.14 ]
        NPHB00520: [ 05.14 ]
        NPEB00777: [ 05.15 ]
        NPHB00520: [ 05.15 ]
    Author: "FlexBy"
    Notes: *dust514_unlockfpspatch_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00271efc, 0x60000000 ]

PPU-588663e46e01d78322f7560598d1a0213323c4dc:
  "Infinite Ammo":
    Games:
      "Earth Defense Force 2025":
        NPEB01336: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0036d904, 0x60000000 ]
  "Infinite Health":
    Games:
      "Earth Defense Force 2025":
        NPEB01336: [ 01.00 ]
    Author: "Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00fd050c, 0x3c004516 ]
      - [ be32, 0x00fd0510, 0x90170008 ]
      - [ be32, 0x00fd0514, 0x9017000c ]
      - [ be32, 0x00fd0518, 0x4e800020 ]
      - [ be32, 0x0034c6c0, 0x48c83e4d ]
  "Infinite Energy":
    Games:
      "Earth Defense Force 2025":
        NPEB01336: [ 01.00 ]
    Author: "Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013807c, 0xc03c0014 ]
      - [ be32, 0x00138080, 0xd03c0018 ]

PPU-cb6805a941b76cd3b479c61bb2fa387b72b7bb0f:
  "Infinite Ammo":
    Games:
      "Earth Defense Force 2025":
        NPUB31164: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0036d904, 0x60000000 ]
  "Infinite Health":
    Games:
      "Earth Defense Force 2025":
        NPUB31164: [ 01.00 ]
    Author: "Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00fd050c, 0x3c004516 ]
      - [ be32, 0x00fd0510, 0x90170008 ]
      - [ be32, 0x00fd0514, 0x9017000c ]
      - [ be32, 0x00fd0518, 0x4e800020 ]
      - [ be32, 0x0034c6c0, 0x48c83e4d ]
  "Infinite Energy":
    Games:
      "Earth Defense Force 2025":
        NPUB31164: [ 01.00 ]
    Author: "Randy97Killa"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013807c, 0xc03c0014 ]
      - [ be32, 0x00138080, 0xd03c0018 ]

Anchors:
  EOTTW_debugmenu_notes: &EOTTW_debugmenu_notes
    "Select + Start = Brings Menu\nL3 + R3 = Debug Camera"

PPU-1f2c7d41f5e0e842fe9ce2bba536f5f2306e5a5c:
  "Debug Menu":
    Games:
      "Enslaved: Odyssey to the West":
        BLES00989: [ 01.00 ]
    Author: "dron_3"
    Notes: *EOTTW_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014fbf54, 0x38600000 ]

PPU-8475f1c335cc3c205dd5567269607a2f119f04c6:
  "Debug Menu":
    Games:
      "Enslaved: Odyssey to the West":
        BLUS30558: [ 01.00 ]
    Author: "dron_3"
    Notes: *EOTTW_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x014fbf54, 0x38600000 ]

PPU-8109b840ad2f8e171be946ed6a79e308b9c733f1:
  "Debug Menu":
    Games:
      "Enslaved: Odyssey to the West":
        BLES00989: [ 01.01 ]
    Author: "dron_3"
    Notes: *EOTTW_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0150bb34, 0x38600000 ]

PPU-7ef6294fa8672f1a7d78b776cbe3f4168b1452dd:
  "Disable Blur-filter":
    Games:
     "F.E.A.R.":
       BLES00035: [ 01.01 ]
    Author: "horkrux"
    Notes: "Disables what the port refers to as Bloom, which only serves to blur the entire screen."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00412f7c, 0x60000000 ]

PPU-340d91a3a46a13aa69ba82b3e371c899cb7a2e77:
  "OpenSpy Online":
    Games:
      "F.E.A.R. 2: Project Origin":
        BLES00464: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x012ccd95, "openspy.net" ]
      - [ utf8, 0x012cd138, "openspy.net" ]
      - [ utf8, 0x012cd150, "openspy.net" ]
      - [ utf8, 0x012cd168, "openspy.net" ]
      - [ utf8, 0x012cd29a, "openspy.net" ]
      - [ utf8, 0x012cd4b8, "openspy.net" ]
      - [ utf8, 0x012cd567, "openspy.net" ]
      - [ utf8, 0x012ce060, "openspy.net" ]
      - [ utf8, 0x012d0c66, "openspy.net" ]
      - [ utf8, 0x014ebc25, "openspy.net" ]
      - [ utf8, 0x014ebd7d, "openspy.net" ]
      - [ utf8, 0x014ebdfa, "openspy.net" ]
      - [ utf8, 0x012cb4a0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x012b1c08, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-c27d2465af2801994cd00cef88f83a043eca059d:
  "OpenSpy Online":
    Games:
      "F.E.A.R. 2: Project Origin":
        BLES00464: [ 01.03 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x012dad5d, "openspy.net" ]
      - [ utf8, 0x012db100, "openspy.net" ]
      - [ utf8, 0x012db118, "openspy.net" ]
      - [ utf8, 0x012db130, "openspy.net" ]
      - [ utf8, 0x012db29a, "openspy.net" ]
      - [ utf8, 0x012db5a0, "openspy.net" ]
      - [ utf8, 0x012db5ff, "openspy.net" ]
      - [ utf8, 0x012dc260, "openspy.net" ]
      - [ utf8, 0x012dee66, "openspy.net" ]
      - [ utf8, 0x014fc8fd, "openspy.net" ]
      - [ utf8, 0x014fca55, "openspy.net" ]
      - [ utf8, 0x014fcad2, "openspy.net" ]
      - [ utf8, 0x012d9458, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x012bfa88, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  fairytale_unlockfps_103: &fairytale_unlockfps_103
    - [ be32, 0x003bcfe8, 0x60000000 ]

  fairytale_onlinepatch_103: &fairytale_onlinepatch_103
    - [ utf8, 0x01a3c9c5, "openspy.net" ]
    - [ utf8, 0x01a3c86d, "openspy.net" ]
    - [ utf8, 0x01736f26, "openspy.net" ]
    - [ utf8, 0x01736ee8, "openspy.net" ]
    - [ utf8, 0x01736217, "openspy.net" ]
    - [ utf8, 0x01735dba, "openspy.net" ]
    - [ utf8, 0x01735c5c, "openspy.net" ]
    - [ utf8, 0x01735bdc, "openspy.net" ]
    - [ utf8, 0x01735a48, "openspy.net" ]
    - [ utf8, 0x01735a30, "openspy.net" ]
    - [ utf8, 0x01735a18, "openspy.net" ]
    - [ utf8, 0x01735585, "openspy.net" ]
    - [ utf8, 0x01733326, "openspy.net" ]
    - [ utf8, 0x017332df, "openspy.net" ]
    - [ utf8, 0x01733690, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
    - [ utf8, 0x01733400, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

  fairytale_onlinepatch_notes: &fairytale_onlinepatch_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."

  fairytale_unlockfps_notes: &fairytale_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-89205f22d731f29080694f55bba3823b4a935026:
  "OpenSpy Online":
    Games:
      "Fairytale Fights":
        BLES00696: [ 01.03 ]
    Author: "FlexBy"
    Notes: *fairytale_onlinepatch_notes
    Patch Version: 1.0
    Patch:
      - [ load, *fairytale_onlinepatch_103 ]
  "Unlock FPS":
    Games:
      "Fairytale Fights":
        BLES00696: [ 01.03 ]
    Author: "FlexBy"
    Notes: *fairytale_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *fairytale_unlockfps_103 ]

PPU-e1b5c427c088ebc38721296a222a6fd73bc514a8:
  "OpenSpy Online":
    Games:
      "Fairytale Fights":
        BLUS30456: [ 01.03 ]
    Author: "FlexBy"
    Notes: *fairytale_onlinepatch_notes
    Patch Version: 1.0
    Patch:
      - [ load, *fairytale_onlinepatch_103 ]
  "Unlock FPS":
    Games:
      "Fairytale Fights":
        BLUS30456: [ 01.03 ]
    Author: "FlexBy"
    Notes: *fairytale_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *fairytale_unlockfps_103 ]

Anchors:
  fatalinertia_onlinepatch_notes: &fatalinertia_onlinepatch_notes
    "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."

PPU-6990c66f91d5802a7867f001920e2907bf1b34e6:
  "OpenSpy Online":
    Games:
      "Fatal Inertia EX":
        NPEB00024: [ 01.03 ]
    Author: "FlexBy"
    Notes: *fatalinertia_onlinepatch_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x019e3d6f, "openspy.net" ]
      - [ utf8, 0x019e3db6, "openspy.net" ]
      - [ utf8, 0x019e613d, "openspy.net" ]
      - [ utf8, 0x019e6478, "openspy.net" ]
      - [ utf8, 0x019e6490, "openspy.net" ]
      - [ utf8, 0x019e64a8, "openspy.net" ]
      - [ utf8, 0x019e66d2, "openspy.net" ]
      - [ utf8, 0x019e6a80, "openspy.net" ]
      - [ utf8, 0x019e82c8, "openspy.net" ]
      - [ utf8, 0x019e8327, "openspy.net" ]
      - [ utf8, 0x019e928e, "openspy.net" ]
      - [ utf8, 0x019e9ed4, "openspy.net" ]
      - [ utf8, 0x019e9f54, "openspy.net" ]
      - [ utf8, 0x01cd94d5, "openspy.net" ]
      - [ utf8, 0x01cd961d, "openspy.net" ]
      - [ utf8, 0x019e9820, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x019e9590, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-6f9ea6e1539089a807cfb2f5ee9c04d8d209576a:
  "OpenSpy Online":
    Games:
      "Fatal Inertia EX":
        NPUB30023: [ 01.02 ]
    Author: "FlexBy"
    Notes: *fatalinertia_onlinepatch_notes
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x01cc949d, "openspy.net" ]
      - [ utf8, 0x01cc9355, "openspy.net" ]
      - [ utf8, 0x019e5d8c, "openspy.net" ]
      - [ utf8, 0x019e5d0c, "openspy.net" ]
      - [ utf8, 0x019e50c6, "openspy.net" ]
      - [ utf8, 0x019e415f, "openspy.net" ]
      - [ utf8, 0x019e4100, "openspy.net" ]
      - [ utf8, 0x019e28b8, "openspy.net" ]
      - [ utf8, 0x019e250a, "openspy.net" ]
      - [ utf8, 0x019e22e0, "openspy.net" ]
      - [ utf8, 0x019e22c8, "openspy.net" ]
      - [ utf8, 0x019e22b0, "openspy.net" ]
      - [ utf8, 0x019e1f75, "openspy.net" ]
      - [ utf8, 0x019dfc46, "openspy.net" ]
      - [ utf8, 0x019dfbff, "openspy.net" ]
      - [ utf8, 0x019e5658, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x019e53c8, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-17e5fb03b4175948179339a71a8edde05b1d626b:
  "Unlock FPS":
    Games:
      "Fight Night Champion":
        BLUS30608: [ 01.02 ]
        BLES01039: [ 01.02 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00752048, 0x4e800020 ]
      - [ bef32, 0x001401d4, 1000.0 ]
  "Restore some debug print to TTY":
    Games:
      "Fight Night Champion":
        BLUS30608: [ 01.02 ]
        BLES01039: [ 01.02 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0074043c, 0x4b8eef00 ]
  "Debug Menu":
    Games:
      "Fight Night Champion":
        BLUS30608: [ 01.02 ]
        BLES01039: [ 01.02 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005ae0c0, 0x38600000 ]
      - [ be32, 0x005ae048, 0x38600001 ]

PPU-afa4136447c25cb9c57487bb8c964b84ce960204:
  "Unlock FPS":
    Games:
      "Fight Night Champion":
        NPEB00730: [ 01.02 ]
    Author: "illusion, FlexBy"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00752788, 0x4e800020 ]
      - [ bef32, 0x001401d4, 1000.0 ]

Anchors:
  fuse_titles: &fuse_titles
    "Fuse":
      NPEB01112: [ 01.00 ]
      NPUB30874: [ 01.00 ]
      BLUS31040: [ 01.00 ]
      BLES01724: [ 01.00 ]

PPU-6fee162e203f4d987915b182a30a1dc8856248b6:
  "Variable FPS":
    Games: *fuse_titles
    Author: "illusion"
    Notes: "Allows up to 1000 FPS without affecting game speed.\nChange vblank to go above 60 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005e4c28, 0x38800001 ]
      - [ be32, 0x005e4c30, 0x38600001 ]
      - [ be32, 0x00615944, 0xc024000c ] # store as double
      - [ be32, 0x005e4b54, 0x3cc03a83 ]
      - [ be32, 0x005e4b58, 0x60c6126f ]
  "1280x720 Resolution":
    Games: *fuse_titles
    Author: "Margen67"
    Notes: "Original resolution is 1152x704."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x005ec4b2, 1280 ]
      - [ be16, 0x005ec4b6, 720 ]

PPU-a55beada9c3d3f474c7c0ac86874bf30d7fe412d:
  "Infinite Ammo":
    Games:
      "Goldeneye 007: Reloaded":
        BLES01292: [ 01.00 ]
        BLES01292: [ 01.02 ]
        BLUS30755: [ 01.00 ]
        BLUS30755: [ 01.02 ]
    Author: "gir489"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00060040, 0x3800ffff ] # li r0, -1

PPU-6025d7dd93c1c395cbcf06806f4b04eb0f875047:
  "OpenSpy Online":
    Games:
      "Hail to the Chimp":
        BLUS30153: [ 01.02 ]
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x01513065, "openspy.net" ]
      - [ utf8, 0x01513082, "openspy.net" ]
      - [ utf8, 0x01513097, "openspy.net" ]
      - [ utf8, 0x015130ad, "openspy.net" ]
      - [ utf8, 0x015130c5, "openspy.net" ]
      - [ utf8, 0x015130e0, "openspy.net" ]
      - [ utf8, 0x0151312f, "openspy.net" ]
      - [ utf8, 0x0151319f, "openspy.net" ]
      - [ utf8, 0x015131e6, "openspy.net" ]
      - [ utf8, 0x015158b5, "openspy.net" ]
      - [ utf8, 0x01515dfa, "openspy.net" ]
      - [ utf8, 0x015161a8, "openspy.net" ]
      - [ utf8, 0x015179f0, "openspy.net" ]
      - [ utf8, 0x01517a4f, "openspy.net" ]
      - [ utf8, 0x015189b6, "openspy.net" ]
      - [ utf8, 0x01519370, "openspy.net" ]
      - [ utf8, 0x01519388, "openspy.net" ]
      - [ utf8, 0x015193a0, "openspy.net" ]
      - [ utf8, 0x01519664, "openspy.net" ]
      - [ utf8, 0x015196e4, "openspy.net" ]
      - [ utf8, 0x017b7b45, "openspy.net" ]
      - [ utf8, 0x017b7c8d, "openspy.net" ]
      - [ utf8, 0x01518f48, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x01518cb8, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]
  "Unlock FPS":
    Games:
      "Hail to the Chimp":
        BLUS30153: [ 01.02 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00494640, 0x60000000 ]

PPU-27c0293b51385f3fbea2bf1a4e2f8c79f55a058e:
  "60 FPS":
    Games:
      "Harry Potter and the Order of the Phoenix":
        BLES00070: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0066b764, 0x38800001 ]

PPU-03fcde41027f6df8f203d00d064638eac725c736:
  "Infinite Ammo":
    Games:
      "Heavy Fire: Afghanistan":
        NPUB30916: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000db780, 0x60000000 ]

PPU-24a5b7e528b1c6f40905e1ae656a2152914202a5:
  "Infinite Health":
    Games:
      "Heavy Fire: Shattered Spear":
        NPJB00291: [ 01.00 ]
    Author: "jgduff1, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000cdd60, 0x7c84f814 ]
      - [ be32, 0x000cdd64, 0x91830000 ]
  "Infinite Ammo":
    Games:
      "Heavy Fire: Shattered Spear":
        NPJB00291: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001173dc, 0x60000000 ]

PPU-e4632b32edcceeb4d241b3f3d8541c70658f5ab1:
  "Infinite Health":
    Games:
      "Heavy Fire: Shattered Spear":
        BLUS31000: [ 01.00 ]
    Author: "jgduff1"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d0f70, 0x7c84f814 ]
      - [ be32, 0x000d0f74, 0x91830000 ]
  "Infinite Ammo":
    Games:
      "Heavy Fire: Shattered Spear":
        BLUS31000: [ 01.00 ]
    Author: "jgduff1"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00119420, 0x30840000 ]
      - [ be32, 0x00119424, 0x909c0018 ]

Anchors:
  HR_debugmenu_notes: &HR_debugmenu_notes
    "L3 = Opens Debug Menu\nL1/R1 = Change pages"

PPU-38638340e904d6ff86ea940082e1930fa842fa2f:
  "Playable Demo Mode":
    Games:
      "Heavy Rain":
        BCUS98164: [ 01.00 ]
    Author: "bungholio"
    Notes: *HR_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00547b6c, 0x38600001 ]
  "Debug Menu":
    Games:
      "Heavy Rain":
        BCUS98164: [ 01.00 ]
    Author: "bungholio"
    Notes: *HR_debugmenu_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000c7f98, 0x38000001 ]
      - [ be32, 0x000c7fa0, 0x98090000 ]

PPU-efbe18803e699a9b0841c5ae11134831cc013cb1:
  "OpenSpy Online":
    Games:
      "Homefront":
        NPEB00671: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x01a5f247, "openspy.net" ]
      - [ utf8, 0x01a5f28e, "openspy.net" ]
      - [ utf8, 0x01a5f7cd, "openspy.net" ]
      - [ utf8, 0x01a5fab2, "openspy.net" ]
      - [ utf8, 0x01a5fe44, "openspy.net" ]
      - [ utf8, 0x01a5fe78, "openspy.net" ]
      - [ utf8, 0x01a5fe90, "openspy.net" ]
      - [ utf8, 0x01a5fea8, "openspy.net" ]
      - [ utf8, 0x01a6285c, "openspy.net" ]
      - [ utf8, 0x01f51dc9, "openspy.net" ]
      - [ utf8, 0x01f51e19, "openspy.net" ]
      - [ utf8, 0x01a6259c, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x01a62492, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-2e587109b46972404e00e477ac5f68734dfbb7d7:
  "Unlock FPS":
    Games:
      "Hyperdimension Neptunia mk2":
        NPUB30799: [ All ]
    Author: "RokkuDayo"
    Notes: "Removes the 60 FPS cap.\nSpecial thanks to Whatcookie for showing how to find the sleeping instruction."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0025b088, 0x60000000 ]

PPU-8469dbfc0e07e930e805e57861f7db38826f0021:
  "Unlock FPS":
    Games:
      "Hyperdimension Neptunia Victory":
        NPUB31389: [ 01.00 ]
    Author: "RokkuDayo"
    Notes: "Removes the 60 FPS cap.\nSet the framelimit to Off in the custom configuration for this to work properly."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004ab4a0, 0x60000000 ]

PPU-98cd3afcfa5471523c8840f583c60017696fb998:
  "Level Browser Menu":
    Games:
      "I Am Alive":
        NPEB00476: [ 01.00 ]
        NPUB30383: [ 01.00 ]
    Author: "FBML"
    Notes: "Unlocks Map and Episode Browser in Pause Menu.\nNot sure if it does anything else."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00915b6c, 0x60000000 ]

Anchors:
  inFam1_PSNalltitle: &Infam1_PSNalltitle
    "inFamous":
      NPUA80480: [ All ]
      NPEA00252: [ All ]
      NPHA80103: [ All ]

  inFam1_EUdiscalltitle: &Infam1_EUdiscalltitle
    "inFamous":
      BCES00220: [ 01.00 ]
      BCES00591: [ All ]
      BCES00609: [ All ]
      
  inFam1_configurable_values: &Infam1_configurable_values
    "FOV":
      Type: double_enum
      Value: &defaultfov 1065353216
      Allowed Values:
         "Heavily Decreased FOV (1.4)": 1068708659 #It's supposed to be bef32
         "Decreased FOV (1.2)": 1067030938
         "Slightly decreased FOV (1.1)": 1066192077
         "Default FOV(1)": *defaultfov
         "Slightly increased FOV (0.9)": 1063675494
         "Increased FOV (0.8)": 1061997773
         "Heavily increased FOV (0.6)": 1058642330

  inFam1_dis_refr: &Infam1_dis_refr
    "Disables broken shifting/refracting effect."

  inFam1_fov: &Infam1_fov
    "Field Of View.\nLower FOV = Less things to render = slightly higher fps"

  inFam1_disable_splim_notes: &Infam1_disable_splim_notes
    "Disables the slow-down effect when having low FPS.\nIncreasing clocks scale allows to speed up the game."

PPU-1fb2d518fd8f29063f45344d1a83735c5094edec:
  "All powers unlocked":
    Games: *Infam1_PSNalltitle
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d6448, 0x60000000 ]
      - [ byte, 0x002d6457, 0x7f ]
  "Disable speed limit":
    Games: *Infam1_PSNalltitle
    Author: "Hasster"
    Notes: *Infam1_disable_splim_notes
    Patch Version: 1.1
    Patch:
      - [ be32, 0x007616b8, 0x3E19999A ] #default - 0.06, increased to 0.15, too high number = game start ignoring emulator's pause.
  "Disable refraction/shifting effect":
    Games: *Infam1_PSNalltitle
    Author: "Hasster"
    Notes: *Infam1_dis_refr
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00786a10, 0x00000000 ]
  "Change FOV":
    Games: *Infam1_PSNalltitle
    Author: "Hasster"
    Notes: *Infam1_fov
    Configurable Values: *Infam1_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007855dc, "FOV" ]

PPU-d0c3e2a107c47d20d3316325ce6f75464a8f4f1d:
  "All powers unlocked":
    Games: *Infam1_EUdiscalltitle
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d59d8, 0x60000000 ]
      - [ byte, 0x002d59e7, 0x7f ]
  "Disable speed limit":
    Games: *Infam1_EUdiscalltitle
    Author: "Hasster"
    Notes: *Infam1_disable_splim_notes
    Patch Version: 1.1
    Patch:
      - [ be32, 0x007615d8, 0x3E19999A ]
  "Disable refraction/shifting effect":
    Games: *Infam1_EUdiscalltitle
    Author: "Hasster"
    Notes: *Infam1_dis_refr
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00786910, 0x00000000 ]
  "Change FOV":
    Games: *Infam1_EUdiscalltitle
    Author: "Hasster"
    Notes: *Infam1_fov
    Configurable Values: *Infam1_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007854dc, "FOV" ]
  "Skip Intro":
    Games: *Infam1_EUdiscalltitle
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005b5320, 0x00000000 ]

PPU-4cf9e6e807b5f270164147ab8f4df3533c7ff1e8:
  "All powers unlocked":
    Games:
      "inFamous":
        BCES00220: [ 01.02 ]
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d5a00, 0x60000000 ]
      - [ byte, 0x002d59bc, 0x7f ]
  "Disable speed limit":
    Games:
      "inFamous":
        BCES00220: [ 01.02 ]
    Author: "Hasster"
    Notes: *Infam1_disable_splim_notes
    Patch Version: 1.1
    Patch:
      - [ be32, 0x007615d8, 0x3E19999A ]
  "Disable refraction/shifting effect":
    Games:
      "inFamous":
        BCES00220: [ 01.02 ]
    Author: "Hasster"
    Notes: *Infam1_dis_refr
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00786910, 0x00000000 ]
  "Change FOV":
    Games:
      "inFamous":
        BCES00220: [ 01.02 ]
    Author: "Hasster"
    Notes: *Infam1_fov
    Configurable Values: *Infam1_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007854dc, "FOV" ]

PPU-412a9bf323b4743de21658a286f71dbe82cad807:
  "All powers unlocked":
    Games:
      "inFamous":
        BCUS98119: [ All ]
    Author: "Scirvir"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002d5948, 0x60000000 ]
      - [ byte, 0x002d5957, 0x7f ]
  "Disable speed limit":
    Games:
      "inFamous":
        BCUS98119: [ All ]
    Author: "Hasster"
    Notes: *Infam1_disable_splim_notes
    Patch Version: 1.1
    Patch:
      - [ be32, 0x00761590, 0x3E19999A ] #default - 0.06, increased to 0.15, too high number = game start ignoring emulator's pause.
  "Disable refraction/shifting effect":
    Games:
      "inFamous":
        BCUS98119: [ All ]
    Author: "Hasster"
    Notes: *Infam1_dis_refr
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007868c0, 0x00000000 ]
  "Change FOV":
    Games:
      "inFamous":
        BCUS98119: [ All ]
    Author: "Hasster"
    Notes: *Infam1_fov
    Configurable Values: *Infam1_configurable_values
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00785494, "FOV" ]

PPU-e27b1dd51632a8712d2bcab7184374fcb5b57ad8:
  "60 FPS":
    Games:
      "Just Cause 2":
        NPUB30606: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004087a8, 0x38600000 ]

PPU-18f780e2743421f51061ffccc74e6658b3d806eb:
  "60 FPS":
    Games:
      "Just Cause 2":
        NPEB00751: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004087a8, 0x38600000 ]

PPU-891a67a5b923b8900a41f9ecb737769a66e44d55:
  "60 FPS":
    Games:
      "Just Cause 2":
        BLES00517: [ 01.02 ]
        BLUS30400: [ 01.02 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0035d3e4, 0x38600000 ]

PPU-64f6b26f9400dae11dd90fc63c1a94e975b52b6e:
  "60 FPS":
    Games:
      "Just Cause 2":
        BLJM60232: [ 01.02 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0040d320, 0x38600000 ]

PPU-69636e34bc388c9cd75e3a9fdefaadec112734fc:
  "Unlock FPS":
    Games:
      "Kamen Rider Summonride!":
        BLJS10288: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00410b84, 0x60000000 ] # 300f1bf54 memory

Anchors:
  kid_fps_notes: &kid_fps_notes
    "Some elements speed is tied to FPS."

  kid_fpsEU: &kid_fpsEU
    - [ be32, 0x00950f20, 0x60000000 ]
    - [ be32, 0x00950f80, 0x60000000 ]
    - [ be32, 0x00950f84, 0x60000000 ]

  kid_fpsUS: &kid_fpsUS
    - [ be32, 0x00950ef0, 0x60000000 ]
    - [ be32, 0x00950f50, 0x60000000 ]
    - [ be32, 0x00950f54, 0x60000000 ]

  kid_fpsJP: &kid_fpsJP
    - [ be32, 0x00950f10, 0x60000000 ]
    - [ be32, 0x00950f70, 0x60000000 ]
    - [ be32, 0x00950f74, 0x60000000 ]

  kid_fpsAS: &kid_fpsAS
    - [ be32, 0x009913b8, 0x60000000 ]
    - [ be32, 0x00991418, 0x60000000 ]
    - [ be32, 0x0099141c, 0x60000000 ]

PPU-45d06382c197f53b92377cf64785818e9ad7b85a:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        NPEB01370: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsEU ]

PPU-5cd0ef555dba279e3314161d06c142b7a4e0c6af:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        NPUB31188: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsUS ]

PPU-289ab841b113be9f04ed76fd7f594b9bc41aaabb:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        BLES01856: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsEU ]

PPU-0f0489773fce71d506bc1d1024f398fb21065a12:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        BLUS31186: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsUS ]

PPU-59016237142d3ea6caeaca5f62852105dc320fd0:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        BLJS10215: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsJP ]

PPU-414babec8910f142628daeb43cefe28e619d27ee:
  "Unlock FPS":
    Games:
      "Killer is Dead":
        BCAS20292: [ 01.00 ]
    Author: "FlexBy"
    Notes: *kid_fps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *kid_fpsAS ]

PPU-37b6841852cf37fc1f3d2c7b005475b2d72ab24d:
  "Skip Rockstar Logo":
    Games:
      "L.A. Noire":
        NPEB00850: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0130d618, 0x00 ]

PPU-434d8a22b239b506b0624d61192d4057d1ddf43e: # NPWR00492_00
  "Unlock FPS":
    Games:
      "Legendary":
        BLES00405: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0075f200, 0x60000000 ]
  "Openspy Online":
    Games:
      "Legendary":
        BLES00405: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x0192885d, "openspy.net" ]
      - [ utf8, 0x01928d92, "openspy.net" ]
      - [ utf8, 0x01929130, "openspy.net" ]
      - [ utf8, 0x0192b3a8, "openspy.net" ]
      - [ utf8, 0x0192b3c0, "openspy.net" ]
      - [ utf8, 0x0192b3d8, "openspy.net" ]
      - [ utf8, 0x0192b69c, "openspy.net" ]
      - [ utf8, 0x0192b71c, "openspy.net" ]
      - [ utf8, 0x01ce6b2d, "openspy.net" ]
      - [ utf8, 0x01ce6c75, "openspy.net" ]
      - [ utf8, 0x0192af98, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x0192ad08, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  lostd_fps_notes: &lostd_fps_notes
    "Set Frame limit to 60. Gamespeed is affected above 60 FPS."

PPU-e97880add718a73c2ac6254d74e89dc7b43cb02b:
  "60 FPS":
    Games:
      "Lost Dimension":
        BLES02197: [ 01.00 ]
    Author: "FlexBy"
    Notes: *lostd_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00170cc8, 0x60000000 ]

PPU-427ff8be3761618ff0b30d232f99a97012a63328:
  "60 FPS":
    Games:
      "Lost Dimension":
        BLUS31554: [ 01.00 ]
        NPUB31711: [ 01.00 ]
    Author: "FlexBy"
    Notes: *lostd_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00170cc8, 0x60000000 ]

PPU-90fac48fae025222ecac429b898055467f40748f:
  "60 FPS":
    Games:
      "Lost Dimension":
        BLJM61166: [ 01.00 ]
    Author: "FlexBy"
    Notes: *lostd_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00171300, 0x60000000 ]

PPU-a937df5db4e5d72d641c8d023d11949b4d6af05c:
  "60 FPS":
    Games:
      "Lost Dimension":
        BLJM61166: [ 01.02 ]
    Author: "FlexBy"
    Notes: *lostd_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00170cc8, 0x60000000 ]

PPU-9d347c5f479995fd3510a3d266befde01fb47966:
  "Unlock FPS":
    Games:
      "LOST PLANET 2":
        MRTC00002: [ 01.00 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x01394bb8, 0x60000000 ]
      - [ be32, 0x01394bc4, 0x60000000 ]

PPU-fa74a09587b54ffd9ea096983ba9206ec55b0c42:
  "Unlock FPS":
    Games:
      "LOST PLANET 2":
        MRTC00002: [ 01.02 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x013dc518, 0x60000000 ]
      - [ be32, 0x013dc524, 0x60000000 ]

Anchors:
  lostp3_unlockfps_notes: &lostp3_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-ecfbb6781dc8fe8de152d1a9bc46dacab4a5dc38:
  "Unlock FPS":
    Games:
      "Lost Planet 3":
        BLES01685: [ 01.00 ]
    Author: "FlexBy"
    Notes: *lostp3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ffa20, 0x60000000 ]

PPU-a39f34246687484f82c5da4c2d247b5e5d6fefe7:
  "Unlock FPS":
    Games:
      "Lost Planet 3":
        BLES01685: [ 01.01 ]
    Author: "FlexBy"
    Notes: *lostp3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ffc90, 0x60000000 ]

PPU-348ff1bbf4eb9595b4dbc9dc2358bc1db79dbe72:
  "Unlock FPS":
    Games:
      "Lost Planet 3":
        BLES01685: [ 01.02 ]
        BLUS31020: [ 01.02 ]
        BLJM60490: [ 01.02 ]
        NPEB01043: [ 01.02 ]
        NPUB31125: [ 01.02 ]
        NPJB00311: [ 01.02 ]
    Author: "FlexBy"
    Notes: *lostp3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002ff5f0, 0x60000000 ]

PPU-bc4b7b4c45dd73d59fcb54ad47143baf07c5521b:
  "Unlock FPS":
    Games:
      "Marvel Ultimate Alliance":
        BLUS30010: [ 01.00 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00013300, 0x60000000 ]
  "OpenSpy Online":
    Games:
      "Marvel Ultimate Alliance":
        BLUS30010: [ 01.00 ]
    Author: "Ninetime"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x10024925, "openspy.net" ]
      - [ utf8, 0x100250d1, "openspy.net" ]
      - [ utf8, 0x10025190, "openspy.net" ]
      - [ utf8, 0x100251a8, "openspy.net" ]
      - [ utf8, 0x100251d2, "openspy.net" ]
      - [ utf8, 0x10025818, "openspy.net" ]

Anchors:
  meffect2_unlockfps_105: &meffect2_unlockfps_105
    - [ be32, 0x002faab8, 0x60000000 ]

  meffect2_unlockfps_notes: &meffect2_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 58 FPS."

PPU-55c789aa9457821e2b843ce5979feadb6beb2f36:
  "Unlock FPS":
    Games:
      "Mass Effect 2":
        BLES01133: [ 01.05 ]
        BLUS30650: [ 01.05 ]
        BLJM60332: [ 01.02 ]
        NPEB00503: [ 01.06 ]
        NPUB30447: [ 01.05 ]
    Author: "FlexBy"
    Notes: *meffect2_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *meffect2_unlockfps_105 ]

PPU-65bdbb13769e1ed75b7e5133e0f895f425e165c6:
  "Unlock FPS":
    Games:
      "Mass Effect 2 Demo":
        NPUB90506: [ 01.00 ]
    Author: "FlexBy"
    Notes: *meffect2_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002f5f18, 0x60000000 ]

Anchors:
  meffect3_unlockfps_109: &meffect3_unlockfps_109
    - [ be32, 0x002a9928, 0x60000000 ]

  meffect3_unlockfps_notes: &meffect3_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 58 FPS."

PPU-8642d38e1ad2d36beeda071aad226384f742c239:
  "Unlock FPS":
    Games:
      "Mass Effect 3":
        NPEB00865: [ 01.09 ]
        NPUB30710: [ 01.10 ]
    Author: "FlexBy"
    Notes: *meffect3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *meffect3_unlockfps_109 ]

PPU-6644a506138a075bcb77d44afce4f5e9c37260c3:
  "Unlock FPS":
    Games:
      "Mass Effect 3":
        BLES01462: [ 01.09 ]
        BLJM60427: [ 01.09 ]
        BLUS30853: [ 01.10 ]
    Author: "FlexBy"
    Notes: *meffect3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ load, *meffect3_unlockfps_109 ]

PPU-87b65547be9e5efe8f540cbda75dfb9a21698a8b:
  "Unlock FPS":
    Games:
      "Mass Effect 3 Demo":
        NPEB90387: [ 01.00 ]
    Author: "FlexBy"
    Notes: *meffect3_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002a6e40, 0x60000000 ]

PPU-205b154e801acbf1f0d96b5c5c5275ef9d4cac3f:
  "Unlock FPS":
    Games:
      "Medal of Honor (Single-Player)":
        BLUS30436: [ 01.02 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010470e0, 0x60000000 ]

Anchors:
  mgrr_disc_eu_titles: &mgrr_disc_eu_titles
    "Metal Gear Rising: Revengeance":
      BLES01750: [ 01.00 ]

  mgrr_psn_eu_titles: &mgrr_psn_eu_titles
    "Metal Gear Rising: Revengeance":
      NPEB01228: [ 01.00 ]
  mgrr_godmode_notes: &mgrr_godmode_notes
    "Don't enable it for first fight with Sam or you will get soft-locked."

PPU-15011f960541d24709d0f5691708e8ebbd7e01d2:
  "1-Hit Kills":
    Games: *mgrr_disc_eu_titles
    Author: "CodeUnique3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004a25d4, 0x38800000 ]
  "Infinite Health":
    Games: *mgrr_disc_eu_titles
    Author: "CodeUnique3"
    Notes: *mgrr_godmode_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0063f36c, 0x38a00000 ]
  "Max FC on Gain":
    Games: *mgrr_disc_eu_titles
    Author: "CodeUnique3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005edff8, 0xd0230004 ]
  "Max BP on Gain":
    Games: *mgrr_disc_eu_titles
    Author: "CodeUnique3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006beb38, 0x7ce6292d ]

PPU-d944608b757f50c6207f4147db21df0f8f05e65e:
  "Infinite Health":
    Games: *mgrr_psn_eu_titles
    Author: "CodeUnique3, FlexBy"
    Notes: *mgrr_godmode_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0063f6dc, 0x38a00000 ]
  "Max FC on Gain":
    Games: *mgrr_psn_eu_titles
    Author: "CodeUnique3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005ee368, 0xd0230004 ]
  "Max BP on Gain":
    Games: *mgrr_psn_eu_titles
    Author: "CodeUnique3, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006beea8, 0x7ce6292d ]

PPU-fbed5d1b1dd40b43ebba9c5ec4812c9a44533165:
  "Infinite Health":
    Games:
      "Metal Gear Rising: Revengeance":
        NPEB01228: [ 01.04 ]
    Author: "FlexBy"
    Notes: *mgrr_godmode_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a82844, 0x38a00000 ]
  "Can Always Use Ripper Mode":
    Games:
      "Metal Gear Rising: Revengeance":
        NPEB01228: [ 01.04 ]
    Author: "bungholio, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a33fd8, 0x38600001 ]

Anchors:
  minecraft_100: &minecraft_100
    "Minecraft":
      NPEB01899: [ 01.00 ]
      NPUB31419: [ 01.00 ]
  minecraft_184: &minecraft_184
    "Minecraft":
      NPEB01899: [ 01.84 ]
      NPJB00549: [ 01.84 ]
      NPUB31419: [ 01.84 ]
      BLUS31426: [ 01.84 ]
      BLES01976: [ 01.84 ]

  minecraft_fov_notes: &minecraft_fov_notes
    "Increases the FOV from the default 70. Also affects viewmodels. FOV is decreased when in water."

PPU-544fcc57bf587323d6347b6b695f73f99f76ec55:
  "90 FOV":
    Games: *minecraft_100
    Author: "Margen67"
    Notes: *minecraft_fov_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0012f82a, 0x42b4 ]

PPU-cada3232afafb29325ffdd5d79a865fbf3ac0fc7:
  "90 FOV":
    Games: *minecraft_184
    Author: "Margen67"
    Notes: *minecraft_fov_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00a940fe, 0x42b4 ]
  "Don't decrease FOV underwater":
    Games: *minecraft_184
    Author: "Margen67"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00a970dc, 0x4280 ] # b
  "Any item in offhand":
    Games: *minecraft_184
    Author: "Bagieta"
    Notes: "Allows to place any item in offhand."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0034ad50, 0x38600001 ] # li r3, 1
      - [ be32, 0x0034ad54, 0x4e800020 ] # blr
  "Items Advanced Tooltip":
    Games: *minecraft_184
    Author: "Bagieta"
    Notes: "Enables Items advanced Tooltips"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00977198, 0x38600001 ] # li r3, 1
      - [ be32, 0x0097719c, 0x4e800020 ] # blr
  "Bigger Size world":
    Games: *minecraft_184
    Author: "Bagieta"
    Notes: "Bigger world size (it's only 80 blocks difference but setting it to anything beyond 64 chunks makes Minecraft unplayable)"
    Patch Version: 1.0
    Patch:
      - [ byte, 0x0133897f, 0x40 ]
      - [ be32, 0x001da730, 0x38600040 ]
      - [ be32, 0x001da734, 0x4e800020 ]
      - [ be32, 0x003d567c, 0x38600040 ]
      - [ be32, 0x003d5680, 0x4e800020 ]

PPU-565327e8098ac4e0cf0df7ca74d97332a7f26e2b:
  "OpenSpy Online":
    Games:
      "Monster Madness Grave Danger":
        BLES00255: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x014ca25d, "openspy.net" ]
      - [ utf8, 0x014ca58c, "openspy.net" ]
      - [ utf8, 0x014ca60c, "openspy.net" ]
      - [ utf8, 0x014ca73a, "openspy.net" ]
      - [ utf8, 0x014cab00, "openspy.net" ]
      - [ utf8, 0x014cab5f, "openspy.net" ]
      - [ utf8, 0x014cb7c0, "openspy.net" ]
      - [ utf8, 0x014cbf88, "openspy.net" ]
      - [ utf8, 0x014cbfa0, "openspy.net" ]
      - [ utf8, 0x014cbfb8, "openspy.net" ]
      - [ utf8, 0x014cc18e, "openspy.net" ]
      - [ utf8, 0x0170699d, "openspy.net" ]
      - [ utf8, 0x01706af5, "openspy.net" ]
      - [ utf8, 0x014c8958, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x01450be8, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-069afd5bd7f8cb83c2962ea1575da8b3be6c7e57:
  "OpenSpy Online":
    Games:
      "Monster Madness Grave Danger Demo":
        NPEB90076: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x014d72f5, "openspy.net" ]
      - [ utf8, 0x014d7624, "openspy.net" ]
      - [ utf8, 0x014d76a4, "openspy.net" ]
      - [ utf8, 0x014d77d2, "openspy.net" ]
      - [ utf8, 0x014d7b98, "openspy.net" ]
      - [ utf8, 0x014d7bf7, "openspy.net" ]
      - [ utf8, 0x014d8858, "openspy.net" ]
      - [ utf8, 0x014d9020, "openspy.net" ]
      - [ utf8, 0x014d9038, "openspy.net" ]
      - [ utf8, 0x014d9050, "openspy.net" ]
      - [ utf8, 0x014d9226, "openspy.net" ]
      - [ utf8, 0x0171699d, "openspy.net" ]
      - [ utf8, 0x01716af5, "openspy.net" ]
      - [ utf8, 0x014d59f0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x0145dd68, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  moond_100_title: &moond_100_title
    "Moon Diver":
      NPEB00375: [ 01.00 ]
      NPUB30345: [ 01.00 ]
      NPJB00100: [ 01.00 ]
    "Moon Diver Demo":
      NPEB90290: [ 01.00 ]
      NPUB90511: [ 01.00 ]
      NPJB90309: [ 01.00 ]

PPU-6a4b73e5f6892bb54e0c11c568f5ae4ec887f3b0:
  "Unlock All Chapters":
    Games: *moond_100_title
    Author: "GuitarMan"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00043e24, 0x7c831b78 ]
  "Unlock All Characters":
    Games: *moond_100_title
    Author: "GuitarMan"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000a2968, 0x30630000 ]
  "Unlock All Skills":
    Games: *moond_100_title
    Author: "GuitarMan"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000a3dd4, 0x7c842b78 ]
      - [ be32, 0x0009e704, 0x7c831b78 ]

PPU-8d6a779351566fa3f379a875bdd722e8dac8284e:
  "Openspy Online":
    Games:
      "Mortal Kombat vs. DC Universe":
        NPUB30594: [ 01.01 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x01512712, "openspy.net" ]
      - [ utf8, 0x01512b79, "openspy.net" ]
      - [ utf8, 0x01514b89, "openspy.net" ]
      - [ utf8, 0x01535e55, "openspy.net" ]
      - [ utf8, 0x01537e50, "openspy.net" ]
      - [ utf8, 0x01537e68, "openspy.net" ]
      - [ utf8, 0x01537e80, "openspy.net" ]
      - [ utf8, 0x015380bc, "openspy.net" ]
      - [ utf8, 0x0153813c, "openspy.net" ]
      - [ utf8, 0x015382fa, "openspy.net" ]
      - [ utf8, 0x01538528, "openspy.net" ]
      - [ utf8, 0x018370ad, "openspy.net" ]
      - [ utf8, 0x0183720d, "openspy.net" ]
      - [ utf8, 0x01837259, "openspy.net" ]
      - [ utf8, 0x018374f2, "openspy.net" ]
      - [ utf8, 0x01837549, "openspy.net" ]
      - [ utf8, 0x01538640, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x014e82b0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-db1d23f1a43f79ec37c12e8aaa1f6b034b20a237:
  "Disable MLAA":
    Games:
      "Motorstorm: RC":
        NPUA80678: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001991cc, 0x9a83e858 ] # stb r20,-0x17a8(r3) // mlaa
  "Unlock FPS":
    Games:
      "Motorstorm: RC":
        NPUA80678: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bda78, 0x38800001 ] # li r4,0x1 // deltatime
      - [ be32, 0x000bda98, 0x38800000 ] # li r4,0x0 // flipmode
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: RC":
        NPUA80678: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001aa470, 0x4e800020 ] # blr

PPU-fdb7654ca4841bce76aa659936ec1e176d463749:
  "Disable MLAA":
    Games:
      "Motorstorm: RC":
        NPEA00333: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001990ac, 0x9a83e858 ] # stb r20,-0x17a8(r3) // mlaa
  "Unlock FPS":
    Games:
      "Motorstorm: RC":
        NPEA00333: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bd9d8, 0x38800001 ] # li r4,0x1 // deltatime
      - [ be32, 0x000bd9f8, 0x38800000 ] # li r4,0x0 // flipmode
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: RC":
        NPEA00333: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001aa350, 0x4e800020 ] # blr

PPU-fb31e0129048429ab673de2555c75da329760af7:
  "Disable MLAA":
    Games:
      "Motorstorm: RC":
        NPJA00077: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001990ac, 0x9a83e858 ] # stb r20,-0x17a8(r3) // mlaa
  "Unlock FPS":
    Games:
      "Motorstorm: RC":
        NPJA00077: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bd9d8, 0x38800001 ] # li r4,0x1 // deltatime
      - [ be32, 0x000bd9f8, 0x38800000 ] # li r4,0x0 // flipmode
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: RC":
        NPJA00077: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001aa350, 0x4e800020 ] # blr

PPU-9d5d9b6d775a7046cae292b7f56126034a5da095:
  "Disable MLAA":
    Games:
      "Motorstorm: RC":
        NPHA80190: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001990ac, 0x9a83e858 ] # stb r20,-0x17a8(r3) // mlaa
  "Unlock FPS":
    Games:
      "Motorstorm: RC":
        NPHA80190: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000bd9d8, 0x38800001 ] # li r4,0x1 // deltatime
      - [ be32, 0x000bd9f8, 0x38800000 ] # li r4,0x0 // flipmode
  "Disable Dynamic Resolution Scaling":
    Games:
      "Motorstorm: RC":
        NPHA80190: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001aa350, 0x4e800020 ] # blr

PPU-6e6ba58008dd4c9642436fe6ee0e80e12bde5750:
  "OpenSpy Online":
    Games:
      "MUD - FIM Motocross World Championship":
        NPEB00925: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x01934bf1, "openspy.net" ]
      - [ utf8, 0x01934c0c, "openspy.net" ]
      - [ utf8, 0x01934c24, "openspy.net" ]
      - [ utf8, 0x01934c3c, "openspy.net" ]
      - [ utf8, 0x01934c56, "openspy.net" ]
      - [ utf8, 0x01934ca5, "openspy.net" ]
      - [ utf8, 0x01935116, "openspy.net" ]
      - [ utf8, 0x019354cc, "openspy.net" ]
      - [ utf8, 0x019354fc, "openspy.net" ]
      - [ utf8, 0x01935514, "openspy.net" ]
      - [ utf8, 0x0193552c, "openspy.net" ]
      - [ utf8, 0x01935567, "openspy.net" ]
      - [ utf8, 0x019355d3, "openspy.net" ]
      - [ utf8, 0x019357db, "openspy.net" ]
      - [ utf8, 0x019384e0, "openspy.net" ]
      - [ utf8, 0x0193854c, "openspy.net" ]
      - [ utf8, 0x01938a6e, "openspy.net" ]
      - [ utf8, 0x01938abe, "openspy.net" ]
      - [ utf8, 0x01b72159, "openspy.net" ]
      - [ utf8, 0x01b722a1, "openspy.net" ]
      - [ utf8, 0x01937fd4, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x01937eca, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  nhssk_unlockfps_notes: &nhssk_unlockfps_notes
    "Videos won't play above 60 FPS."

PPU-6551bbc6cf33856c380ec58d58b45220b94b85e4:
  "Unlock FPS":
    Games:
      "夏色ハイスクル青春白書 (Natsuiro High School Seishun Hakusho)":
        BLJS10273: [ 01.00 ]
    Author: "FlexBy"
    Notes: *nhssk_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00357698, 0x60000000 ]

PPU-2148aebced6aef02fbe8bac15c4d4292017d517f:
  "Unlock FPS":
    Games:
      "夏色ハイスクル青春白書 (Natsuiro High School Seishun Hakusho)":
        BLJS10273: [ 01.02 ]
    Author: "FlexBy"
    Notes: *nhssk_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0035bed0, 0x60000000 ]

PPU-51041694dec760554ffa13dbfeba9f52a5379bdd: # NPWR00167
  "Openspy Online":
    Games:
      "NBA Ballers: Chosen One":
        BLUS30135: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x1008c2d5, "openspy.net" ]
      - [ utf8, 0x1008e1c4, "openspy.net" ]
      - [ utf8, 0x1008e234, "openspy.net" ]
      - [ utf8, 0x1008f149, "openspy.net" ]
      - [ utf8, 0x1008f19a, "openspy.net" ]
      - [ utf8, 0x100b5249, "openspy.net" ]
      - [ utf8, 0x100b5680, "openspy.net" ]
      - [ utf8, 0x100b5698, "openspy.net" ]
      - [ utf8, 0x100b56b0, "openspy.net" ]
      - [ utf8, 0x100b57a9, "openspy.net" ]
      - [ utf8, 0x100b594a, "openspy.net" ]
      - [ utf8, 0x100b5c88, "openspy.net" ]
      - [ utf8, 0x103b1085, "openspy.net" ]
      - [ utf8, 0x103b11dd, "openspy.net" ]
      - [ utf8, 0x103b3d8a, "openspy.net" ]
      - [ utf8, 0x1008de00, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x1000ed18, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  neverdead_100: &neverdead_100
    "NeverDead":
      BLUS30654: [ 01.00 ]

PPU-9237d62716d77a3bfcbd1dae8cd17ea6d8d5977a:
  "1280x720 Resolution":
    Games: *neverdead_100
    Author: "Margen67"
    Notes: "Original resolution is 1120x630."
    Patch Version: 1.0
    Patch:
      - [ be16, 0x003b49c6, 720 ]
      - [ be16, 0x003b49ee, 1280 ]
      - [ be16, 0x003b49fe, 720 ]
      - [ be16, 0x003c973e, 1280 ]
      - [ be16, 0x003c9746, 1280 ]
      - [ be16, 0x003c9752, 720 ]
  "60 FPS":
    Games: *neverdead_100
    Author: "Margen67"
    Notes: "Goes slightly above 60 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005261c8, 0x60000000 ]

PPU-0a1d4f333831bfa502e7255c3ebce9ff8d0fa2f9:
  "Online Logs TTY":
    Games:
      "NHL 10":
        BLES00567: [ 01.00 ]
    Author: "Kaap0"
    Notes: "Displays live Blaze logs in TTY"
    Patch Version: 1.0
    Patch:
      - [be32, 0x00958840, 0x7C641B78] # mr r4, r3
      - [be32, 0x00958844, 0x7C862378] # mr r6, r4
      - [be32, 0x00958848, 0x38A00000] # li r5, 0
      - [be32, 0x0095884C, 0x88E60000] # lbz r7, 0(r6)
      - [be32, 0x00958850, 0x2C07000A] # cmpwi cr0,r7,0xa
      - [be32, 0x00958854, 0x41820010] # beq cr0,0x958864
      - [be32, 0x00958858, 0x38C60001] # addi r6,1(r6)
      - [be32, 0x0095885C, 0x38A50001] # addi r5,1,(r5)
      - [be32, 0x00958860, 0x4BFFFFEC] # b 0x95884c
      - [be32, 0x00958864, 0x38A50001] # addi r5,1(r5)
      - [be32, 0x00958868, 0x38600001] # li r3,1
      - [be32, 0x0095886C, 0x38C00000] # li r6,0
      - [be32, 0x00958870, 0x39600193] # li r11,0x193
      - [be32, 0x00958874, 0x44000002] # sc
      - [be32, 0x00958878, 0x4E800020] # blr

PPU-9ee543aff769e702526f67713c776247929abeb3:
  "Unlock FPS":
    Games:
      "Planet 51: The game":
        BLES00584: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c3c930, 0x60000000 ]

Anchors:
  portal2_US_digital_100: &portal2_US_digital_100
    "Portal 2":
      NPUB31077: [ 01.00 ]

  portal2_US_digital_102: &portal2_US_digital_102
    "Portal 2":
      NPUB31077: [ 01.02 ]

PRX-8iypkEj8Gc6WjyUGu68r0LfFsrwb-0: # materialsystem_ps3.sprx
  "Disable MLAA":
    Games: *portal2_US_digital_100
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00008234, 0x30a50060 ]

PRX-Yc1uYTbj71aRuvXa7npS6ZfSRE2u-0: # engine_ps3.sprx 1.00
  "60 FPS":
    Games: *portal2_US_digital_100
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00208528, 0x60000000 ]
  "Skip Intro":
    Games: *portal2_US_digital_100
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004a023c, 0x60000000 ]

PRX-QhxkMJz3z67mmKpuEmEAiwjVfmvz-0:
  "Disable MLAA":
    Games: *portal2_US_digital_102
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00008bcc, 0x60000000 ]

PRX-1hvJejUCVVhUC6QZ8iVMMEh9qYQQ-0:
  "60 FPS":
    Games: *portal2_US_digital_102
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00232cdc, 0x60000000 ]
  "Skip Intro":
    Games: *portal2_US_digital_102
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0050c008, 0x60000000 ]

PPU-d8fe04c58a5a46feda0b6f2192613064ec996584:
  "Unlock FPS":
    Games:
      "Prince of Persia: Warrior Within":
        BLUS30754: [ 01.00 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00824e10, 0x60000000 ]
PPU-edea73dbe476dabd4ba7170169184ae3968e6321:
  "Unlock FPS":
    Games:
      "Prince of Persia: The Two Thrones":
        BLUS30754: [ 01.00 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0009381c, 0x60000000 ]

Anchors:
  prototype1_debug_notes: &prototype1_debug_notes
    "Press SELECT in Pause Menu."

PPU-258ac2ba1ae25c2e6e330fcb8979cb6fe878b9d2:
  "Debug Menu":
    Games:
      "Prototype":
        NPUB30389: [ 02.00 ]
    Author: "dron_3, FlexBy"
    Notes: *prototype1_debug_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010bae04, 0x52454c45 ]
      - [ be32, 0x010bae08, 0x41534500 ]

PPU-f1f27b74ed9ec9fd2a4769aa020a21cf67775bc2:
  "Debug Menu":
    Games:
      "Prototype":
        BLES00269: [ 01.01 ]
    Author: "dron_3, FlexBy"
    Notes: *prototype1_debug_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010b5ae4, 0x52454c45 ]
      - [ be32, 0x010b5ae8, 0x41534500 ]

PPU-30b4f543be1ab4183d61ba6430be511320d0052b:
  "Debug Menu":
    Games:
      "Prototype":
        BLUS30145: [ 01.01 ]
    Author: "dron_3, FlexBy"
    Notes: *prototype1_debug_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x010b57e4, 0x52454c45 ]
      - [ be32, 0x010b57e8, 0x41534500 ]

Anchors:
  proto2_debug_notes: &proto2_debug_notes
    "Press L3 or R3 on Map Screen."

  proto2_debug_disc: &proto2_debug_disc
    - [ be32, 0x00cc24e4, 0x52454c45 ]
    - [ be32, 0x00cc24e8, 0x41534500 ]

PPU-a5d824beed8564ebf5b19e09f94c7610c067295e:
  "Debug Menu":
    Games:
      "Prototype 2":
        NPUB30801: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes: *proto2_debug_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00cc22e4, 0x52454c45 ]
      - [ be32, 0x00cc22e8, 0x41534500 ]

PPU-d4fa1c0793eee29ed365a68716e092b0eadae85a:
  "Debug Menu":
    Games:
      "Prototype 2":
        BLUS30756: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes: *proto2_debug_notes
    Patch Version: 1.0
    Patch:
      - [ load, *proto2_debug_disc ]

PPU-5998c62186c45f4c29984af67df305136357b4cb:
  "Debug Menu":
    Games:
      "Prototype 2":
        BLES01534: [ 01.00 ]
    Author: "dron_3, FlexBy"
    Notes: *proto2_debug_notes
    Patch Version: 1.0
    Patch:
      - [ load, *proto2_debug_disc ]

Anchors:
  puppeteer_psn_us_titles: &puppeteer_psn_us_titles
    "Puppeteer":
      NPUA80959: [ All ]

  puppeteer_psn_eu_titles: &puppeteer_psn_eu_titles
    "Puppeteer":
      NPEA00439: [ All ]

  puppeteer_psn_jp_titles: &puppeteer_psn_jp_titles
    "Puppeteer":
      NPJA00098: [ All ]

  puppeteer_psn_as_titles: &puppeteer_psn_as_titles
    "Puppeteer":
      NPHA80250: [ All ]

  puppeteer_psn_60fps: &puppeteer_psn_60fps
    - [ be32, 0x000431dc, 0x38800001 ] # 60 FPS
    - [ bef32, 0x00084690, 1 ] # Avoid double game speed

  puppeteer_psn_mlaa: &puppeteer_psn_mlaa
    - [ be16, 0x00050c84, 0x9107 ]
    - [ be16, 0x00050d20, 0x9907 ]

  puppeteer_disc_jp_titles: &puppeteer_disc_jp_titles
    "Puppeteer":
      BCJS30078: [ All ]

  puppeteer_disc_eu_titles: &puppeteer_disc_eu_titles
    "Puppeteer":
      BCES00935: [ All ]

  puppeteer_disc_us_titles: &puppeteer_disc_us_titles
    "Puppeteer":
      BCUS98227: [ All ]

  puppeteer_disc_60fps: &puppeteer_disc_60fps
    - [ be32, 0x00042a2c, 0x38800001 ] # 60 FPS
    - [ bef32, 0x00083df8, 1 ] # Avoid double game speed

  puppeteer_disc_mlaa: &puppeteer_disc_mlaa
    - [ be16, 0x000504d4, 0x9107 ]
    - [ be16, 0x00050570, 0x9907 ]

  puppeteer_demo_eu_titles: &puppeteer_demo_eu_titles
    "Puppeteer: Demo version":
      NPEA90125: [ 01.00 ]

PPU-72bca3e03b4433e16b0b485d4ab685d3d4c63845:
  "60 FPS":
    Games: *puppeteer_psn_us_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_60fps ]
  "Disable MLAA":
    Games: *puppeteer_psn_us_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_mlaa ]

PPU-d245f5e6784b3b7bbeec69adf9e9e6a112ef7058:
  "60 FPS":
    Games: *puppeteer_psn_eu_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_60fps ]
  "Disable MLAA":
    Games: *puppeteer_psn_eu_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_mlaa ]

PPU-fd8fae56d54da45220633541e5d55a371dfc4002:
  "60 FPS":
    Games: *puppeteer_psn_jp_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_60fps ]
  "Disable MLAA":
    Games: *puppeteer_psn_jp_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_mlaa ]

PPU-13e613eb05269b92ff3b9f1af80d39d06ef27a8e:
  "60 FPS":
    Games: *puppeteer_psn_as_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_60fps ]
  "Disable MLAA":
    Games: *puppeteer_psn_as_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_psn_mlaa ]

PPU-a35283e496aaade410bce3883e61041aac08de7f:
  "60 FPS":
    Games: *puppeteer_disc_jp_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_60fps ]
  "Disable MLAA":
    Games: *puppeteer_disc_jp_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_mlaa ]

PPU-db9cef9215ebe29a73ca63ef69481de39f112b16:
  "60 FPS":
    Games: *puppeteer_disc_eu_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_60fps ]
  "Disable MLAA":
    Games: *puppeteer_disc_eu_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_mlaa ]

PPU-7b04ebca68e72a66b86043b9a1d30ad5d561f3c8:
  "60 FPS":
    Games: *puppeteer_disc_us_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_60fps ]
  "Disable MLAA":
    Games: *puppeteer_disc_us_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_mlaa ]


PPU-6128299b57af7439d897966bae85f2e133cd7dc3:
  "60 FPS":
    Games:
      "Puppeteer":
        BCAS20281: [ All ]
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_60fps ]
  "Disable MLAA":
    Games:
      "Puppeteer":
        BCAS20281: [ All ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *puppeteer_disc_mlaa ]

PPU-6bb3fcddb5a54466743452c64407c76739955825:
  "60 FPS":
    Games: *puppeteer_demo_eu_titles
    Author: "ZEROx, illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00042f9c, 0x38800001 ] # 60 FPS
      - [ bef32, 0x00083f78, 1 ]         # Avoid double game speed
  "Disable MLAA":
    Games: *puppeteer_demo_eu_titles
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00050cb4, 0x9107 ]
      - [ be16, 0x00050d50, 0x9907 ]

PPU-763f80de93cc5525a558dd31828d8a055e605de5:
  "60 FPS":
    Games:
      "Rambo: The Video Game":
        BLES01963: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0060f759, 0x48494748 ] # USRDIR\data\quality_settings.lua
  "Infinite Health":
    Games:
      "Rambo: The Video Game":
        BLES01963: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001eb384, 0x60000000 ]
  "Infinite Ammo":
    Games:
      "Rambo: The Video Game":
        BLES01963: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0018201c, 0x60000000 ]
  "Infinite Grenades":
    Games:
      "Rambo: The Video Game":
        BLES01963: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00176624, 0x60000000 ]

PPU-2b5fc7bc96dadad04a3445bd0ebfec53ae61e6c2:
  "60 FPS":
    Games:
      "Rambo: The Video Game":
        BLUS31387: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0060f899, 0x48494748 ] # USRDIR\data\quality_settings.lua
  "Infinite Health":
    Games:
      "Rambo: The Video Game":
        BLUS31387: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001eb384, 0x60000000 ]
  "Infinite Ammo":
    Games:
      "Rambo: The Video Game":
        BLUS31387: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0018201c, 0x60000000 ]
  "Infinite Grenades":
    Games:
      "Rambo: The Video Game":
        BLUS31387: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00176624, 0x60000000 ]

Anchors:
  ratchet_ffa_unlockfps_notes: &ratchet_ffa_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency.\n\nIncreasing the framerate causes the cutscene before levels to be black, but it can still be waited out, or skipped with Start+Cross."

PPU-747008575f7585fc5e5449e0ff81ed0c5b3f0f69:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Full Frontal Assault":
        NPUA80642: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_ffa_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x003252b2, 0x3a83 ] # level load (low bits)
      - [ be16, 0x003252be, 0x126f ] # level load (high bits)
      - [ bef64, 0x007943d8, 0.001 ] # init/level load

PPU-e45e4660a1cc27abac589853f026680900bec54c:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: QForce":
        NPEA00378: [ 01.00 ]
    Author: "illusion"
    Notes: *ratchet_ffa_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00325362, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032536e, 0x126f ] # level load (high bits)
      - [ bef64, 0x007948d8, 0.001 ] # init/level load

PPU-fcbff915be00510f154438ad4ddf5f2aff1cbb44:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: QForce":
        NPEA00378: [ 01.04 ]
    Author: "illusion"
    Notes: *ratchet_ffa_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032b02e, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032b03a, 0x126f ] # level load (high bits)
      - [ bef64, 0x007a20b0, 0.001 ] # init/level load

PPU-a6cf430925b076125e5349a62dc6d646cb342a30:
  "Unlock FPS":
    Games:
      "Ratchet & Clank: Full Frontal Assault":
        BCUS98380: [ 01.05 ]
        NPUA80642: [ 01.05 ]
      "Ratchet & Clank: QForce":
        BCES01594: [ 01.05 ]
        NPEA00378: [ 01.05 ]
    Author: "illusion"
    Notes: *ratchet_ffa_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0032bca6, 0x3a83 ] # level load (low bits)
      - [ be16, 0x0032bcb2, 0x126f ] # level load (high bits)
      - [ bef64, 0x007a53b0, 0.001 ] # init/level load

Anchors:
  residentevil_fps_notes: &residentevil_fps_notes
    "Cutscene speed is affected. Slightly improves performance."

PPU-1ffa6b11961fe83613cbd7055b757c1877e2e8b6:
  "Unlock FPS":
    Games:
      "Resident Evil (BioHazard)":
        NPEB02076: [ 01.00 ]
        NPUB31552: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007c77a4, 0x60000000 ]
      - [ be32, 0x007c77b8, 0x60000000 ]

PPU-ccf82dae3366291d9fe53ba6d87cc5ede63b6557:
  "Unlock FPS":
    Games:
      "Resident Evil (BioHazard)":
        NPJB00653: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007ceeb4, 0x60000000 ]
      - [ be32, 0x007ceec8, 0x60000000 ]

PPU-bf9bd8f3f76e3bc53cbec32434510ce738936224:
  "Unlock FPS":
    Games:
      "Resident Evil (BioHazard)":
        BLJM61211: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007d23b4, 0x60000000 ]
      - [ be32, 0x007d23c8, 0x60000000 ]

Anchors:
  residentevil0_fps_notes: &residentevil0_fps_notes
    "Slightly improves performance."

PPU-08816f4c41c2c351ab86d74f8be68fa1f35463e3:
  "Unlock FPS":
    Games:
      "Resident Evil 0 (BioHazard 0)":
        NPEB02226: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil0_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x003c2790, 0x60000000 ]

PPU-1c17ceefd7d33372d1eb73d26afd149186950114:
  "Unlock FPS":
    Games:
      "Resident Evil 0 (BioHazard 0)":
        NPUB31689: [ 01.00 ]
        NPJB00726: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil0_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x003c26b0, 0x60000000 ]

PPU-0cfd47dd8d08216086672b22794d946416ac8640:
  "Unlock FPS":
    Games:
      "Resident Evil 0 (BioHazard 0)":
        BLJM61272: [ 01.00 ]
    Author: "FlexBy"
    Notes: *residentevil0_fps_notes
    Patch Version: 2.0
    Patch:
      - [ be32, 0x003c34f0, 0x60000000 ]

PPU-1656535f9f43b65a3623f85db15c8ea88907dcdd:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Gold Edition (BioHazard 5 Gold Edition)":
        BLES00816: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c2726c, 0x60000000 ]
      - [ be32, 0x00c27278, 0x60000000 ]

PPU-a9b0ce57ebd318bd02879751067ceca83b508dd1:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Gold Edition (BioHazard 5 Gold Edition)":
        BLUS30491: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c27cac, 0x60000000 ]
      - [ be32, 0x00c27cb8, 0x60000000 ]

PPU-091f777fa6b19cf25ac4490bd01104abd190ced4:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Gold Edition (BioHazard 5 Gold Edition)":
        BLES00816: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c27cac, 0x60000000 ]
      - [ be32, 0x00c27cb8, 0x60000000 ]

PPU-0988cb2564d83bdb160b24b3f1bce7f2544d40fa:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Gold Edition (BioHazard 5 Alternative Edition)":
        BLJM60199: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c27cc4, 0x60000000 ]
      - [ be32, 0x00c27cd0, 0x60000000 ]

PPU-99898486660374bdcd35c53669c1eed83294c718:
  "Unlock FPS":
    Games:
      "Resident Evil 5 (BioHazard 5)":
        BLES00485: [ 02.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c27964, 0x60000000 ]
      - [ be32, 0x00c27970, 0x60000000 ]

PPU-c471d26455e17aa8bac7523d5df272934b723ae4:
  "Unlock FPS":
    Games:
      "Resident Evil 5 (BioHazard 5)":
        BLUS30270: [ 02.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00c27964, 0x60000000 ]
      - [ be32, 0x00c27970, 0x60000000 ]

PPU-5c0ac77b1169e0cb232548b83f638015b0b3979b:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Demo (BioHazard 5 Demo)":
        NPEB90124: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ce4eb4, 0x60000000 ]
      - [ be32, 0x00ce4ec0, 0x60000000 ]

PPU-091faaec5b2f609620744e254b9032e4a3b0f600:
  "Unlock FPS":
    Games:
      "Resident Evil 5 Preview":
        BHPE00000: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00d1762c, 0x60000000 ]
      - [ be32, 0x00d17638, 0x60000000 ]

PPU-5b1fe8f0b8eab817078b6db007de327653bc65dc: # BIOHAZARD CODE: Veronica 完全版 (JP)
  "Remove Door Animations":
    Games:
      "BIOHAZARD CODE: Veronica 完全版":
        NPJB00135: [ 01.00 ]
    Author: "Kapdap"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ae304, 0x38600000 ]

PPU-37f854495138eeb5afdc2db9d4cf6a2d4918beb6: # BIOHAZARD CODE: Veronica 完全版 (JP)
  "Remove Door Animations":
    Games:
      "BIOHAZARD CODE: Veronica 完全版":
        NPJB00135: [ 01.00 ]
    Author: "Kapdap"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ae304, 0x38600000 ]

PPU-b4b1ebe7a069782537a13d5bdbc15d6e900ceb25: # RESIDENT EVIL CODE: Veronica X (US)
  "Remove Door Animations":
    Games:
      "RESIDENT EVIL CODE: Veronica X":
        NPUB30467: [ 01.00 ]
    Author: "Kapdap"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001ae25c, 0x38600000 ]

PPU-df822d7d47de09c5672201db8cc633009037f54f: # RESIDENT EVIL CODE: Veronica X (EU)
  "Remove Door Animations":
    Games:
      "RESIDENT EVIL CODE: Veronica X":
        NPEB00553: [ 01.00 ]
    Author: "Kapdap"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001afccc, 0x38600000 ]

PPU-03113012259d6e81365dc426ae5787f172921e1c:
  "Unlock FPS":
    Games:
      "Resident Evil: Revelations":
        BLES01773: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b73910, 0x60000000 ]
      - [ be32, 0x00b73924, 0x60000000 ]

PPU-77a6b2ce9093b262e75992c025bb63a5f952daae:
  "Unlock FPS":
    Games:
      "Resident Evil: Revelations":
        BLUS31051: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b73920, 0x60000000 ]
      - [ be32, 0x00b73934, 0x60000000 ]

PPU-46eeb0ddb1a94aa133b472325bfdd094b7c7f2c1:
  "Unlock FPS":
    Games:
      "Resident Evil: Revelations Demo":
        NPEB90478: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b4bb70, 0x60000000 ]
      - [ be32, 0x00b4bb84, 0x60000000 ]

PPU-90b8a54ae1e6c47727ce80b310d531a5a1386e1d:
  "Unlock FPS":
    Games:
      "Ride to Hell: Retribution":
        NPEB01376: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008926b4, 0x60000000 ]
      - [ be32, 0x00892714, 0x60000000 ]
      - [ be32, 0x00892718, 0x60000000 ]

PPU-4c226eb3070b34abf224f7563762111596209884:
  "Unlock FPS":
    Games:
      "Rogue Warrior":
        BLES00582: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00330d44, 0x60000000 ] # 006c07a0 memory
      - [ be32, 0x0033d468, 0x60000000 ]

PPU-006863604864c5530a65ebf862456d6d36428b99:
  "Unlock FPS":
    Games:
      "Rush'N Attack Ex-Patriot":
        NPEB00299: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0049b690, 0x60000000 ]

PPU-e3a3a4cef5c6e04bdc3e94207b1d9ab1312df5ea:
  "Unlock FPS":
    Games:
      "Sanctum 2":
        NPEB01374: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008de6b4, 0x60000000 ]
      - [ be32, 0x008de714, 0x60000000 ]
      - [ be32, 0x008de718, 0x60000000 ]

PPU-a4dcf344984de15594ca18e72b9898bfe414a7a5:
  "Unlock FPS":
    Games:
      "SAW":
        BLES00676: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS. Some actions are impossible to do at high FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x004afbac, 0x60000000 ]

PPU-c04db7566575cfee77a9a4dc5852ab38d315642b:
  "Unlock FPS":
    Games:
      "SAW II: Flesh & Blood":
        BLES01050: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005366fc, 0x60000000 ]

PPU-e96fe9d95b96355d4a1e8a26fb45c48576a0043e:
  "OpenSpy Online":
    Games:
      "SBK X Superbike World Championship":
        BLES00774: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer."
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00ec4d5d, "openspy.net" ]
      - [ utf8, 0x00ec4d78, "openspy.net" ]
      - [ utf8, 0x00ec4d90, "openspy.net" ]
      - [ utf8, 0x00ec4da8, "openspy.net" ]
      - [ utf8, 0x00ec4dc2, "openspy.net" ]
      - [ utf8, 0x00ec4e05, "openspy.net" ]
      - [ utf8, 0x00ec5276, "openspy.net" ]
      - [ utf8, 0x00ec562c, "openspy.net" ]
      - [ utf8, 0x00ec565c, "openspy.net" ]
      - [ utf8, 0x00ec5674, "openspy.net" ]
      - [ utf8, 0x00ec568c, "openspy.net" ]
      - [ utf8, 0x00ec56c7, "openspy.net" ]
      - [ utf8, 0x00ec5733, "openspy.net" ]
      - [ utf8, 0x00ec593b, "openspy.net" ]
      - [ utf8, 0x00ec7f94, "openspy.net" ]
      - [ utf8, 0x00ec8000, "openspy.net" ]
      - [ utf8, 0x00ec8412, "openspy.net" ]
      - [ utf8, 0x00f82759, "openspy.net" ]
      - [ utf8, 0x00f828ad, "openspy.net" ]
      - [ utf8, 0x00ec7be8, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00ec7ade, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-f89b6fc155bf75951c41f50e251c2c0629979966:
  "Unlock FPS":
    Games:
      "戦国BASARA 真田幸村伝 (Sengoku Basara: Sanada Yukimura-Den)":
        NPJB00805: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e3d544, 0x60000000 ]
      - [ be32, 0x00e3d558, 0x60000000 ]

PPU-9aed957ed218dec8c0eaa3cfc47efb40f16bbb9b:
  "Unlock FPS":
    Games:
      "Serious Sam 3: BFE":
        NPEB01318: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00622b68, 0x60000000 ]

PPU-e6239716dcf0073e89daf296571da42da6937b9f:
  "Unlock FPS":
    Games:
      "Serious Sam 3: BFE":
        NPEB01318: [ 01.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00622be0, 0x60000000 ]

PPU-1b6aed1259c8364f62bba2c66a650d2a81dc995f: # NPWR00195_00
  "Openspy Online":
    Games:
      "Sid Meier's Civilization Revolution":
        BLES00238: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x016e50a7, "openspy.net" ]
      - [ utf8, 0x016e50ff, "openspy.net" ]
      - [ utf8, 0x016e5140, "openspy.net" ]
      - [ utf8, 0x016e518a, "openspy.net" ]
      - [ utf8, 0x0174c755, "openspy.net" ]
      - [ utf8, 0x0174dc70, "openspy.net" ]
      - [ utf8, 0x0174dc88, "openspy.net" ]
      - [ utf8, 0x0174dca0, "openspy.net" ]
      - [ utf8, 0x0174dda9, "openspy.net" ]
      - [ utf8, 0x0174e268, "openspy.net" ]
      - [ utf8, 0x0174e3df, "openspy.net" ]
      - [ utf8, 0x0174ec26, "openspy.net" ]
      - [ utf8, 0x01970645, "openspy.net" ]
      - [ utf8, 0x0197079d, "openspy.net" ]
      - [ utf8, 0x0174f0f8, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x0174ef50, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-da67f750c395556c1fce35ec62639eb95ca44a2d:
  "60 FPS":
    Games:
      "Silent Hill: Homecoming":
        BLES00460: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005a6bc, 0x38000001 ]
  "No Film Grain":
    Games:
      "Silent Hill: Homecoming":
        BLES00460: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a4220c, 0x38600001 ]

PPU-2f4038f42107d475048cc0f80dd21971d31eac09:
  "60 FPS":
    Games:
      "Silent Hill: Homecoming":
        BLES00307: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005a6bc, 0x38000001 ]
  "No Film Grain":
    Games:
      "Silent Hill: Homecoming":
        BLES00307: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a42424, 0x38600001 ]

PPU-c423a041b450bd0b19e95958733a99c1b95e5b41:
  "60 FPS":
    Games:
      "Silent Hill: Homecoming":
        BLUS30169: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0005a36c, 0x38000001 ]
  "No Film Grain":
    Games:
      "Silent Hill: Homecoming":
        BLUS30169: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00a415dc, 0x38600001 ]

PPU-9b19fb66a4c30d586e4f98e04eab4730bdd4148e:
  "Developer Menu":
    Games:
      "Sniper: Ghost Warrior":
        BLES01281: [ 01.01 ]
        BLES01286: [ 01.01 ]
        BLUS30796: [ 01.01 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00acad10, 0x38000001 ]
      - [ be32, 0x00acad14, 0x98090000 ]

Anchors:
  soniccd_filter_notes: &soniccd_filter_notes
    "Game normally starts with smooth filter."

PPU-c081cd32886db63ae77928063579c7b0601835e1:
  "Start with nostalgia filter":
    Games:
      "SONIC CD":
        NPUB30624: [ 01.00 ]
    Author: "Margen67"
    Notes: *soniccd_filter_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00023c6f, 2 ]
PPU-ed6f26aa6f0b494a9af4f67261fc27b2343da9e1:
  "Start with nostalgia filter":
    Games:
      "SONIC CD":
        NPEB00787: [ 01.00 ]
    Author: "Margen67"
    Notes: *soniccd_filter_notes
    Patch Version: 1.0
    Patch:
      - [ byte, 0x00023c37, 2 ]

PPU-49aa433a899d78438decde97c4e1b79a473148a1:
  "True 16:9":
    Games:
      "Sonic the Fighters":
        NPUB30927: [ 01.00 ]
        NPEB01162: [ 01.00 ]
        NPJB00250: [ 01.00 ]
    Author: "illusion, Margen67"
    Notes: "\"Screen Size\" must be set to Full in the game settings. UI elements will be stretched.\nPillar/letterboxed or stretched 4:3 is the normal aspect ratio without the patch."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002797bc, 0x4807fbc4 ] # b 0x002f9380
      - [ be32, 0x002f9380, 0x3c0042d2 ] # lis r0,0x42d2
      - [ be32, 0x002f9384, 0x60008000 ] # ori r0,r0,0x8000
      - [ be32, 0x002f9388, 0x900300ec ] # stw r0,0xec(r3)
      - [ be32, 0x002f938c, 0xd04300f0 ] # stfs f2,0xf0(r3)
      - [ be32, 0x002f9390, 0x38000001 ] # li r0,0x1
      - [ be32, 0x002f9394, 0x980300ac ] # stb r0,0xac(r3)
      - [ be32, 0x002f9398, 0x4e800020 ] # blr

PPU-b67e07a140a8378f61e94bc73b33b18e676c8121:
  "Unlock FPS":
    Games:
      "Sorcery":
        NPUA80796: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00766d28, 0x60000000 ]
      - [ be32, 0x00766d7c, 0x60000000 ]
      - [ be32, 0x00766d80, 0x60000000 ]

PPU-4c4f931f2bbce4b1f15a980da0665222d4f73730:
  "Skip Intro":
    Games:
      "South Park: The Stick of Truth":
        NPEB01125: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00e6fd04, 0x00000000 ]

PPU-0e747cbf4d807d363b085d983fff749c2c9cbdee:
  "60 FPS":
    Games:
      "Splatterhouse":
        BLES01120: [ 01.00 ]
        BLUS30335: [ 01.00 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00819294, 0x9b9f00ee ]
      - [ be32, 0x010b4608, 0x3c888889 ]
      - [ be32, 0x011178d0, 0x3c888889 ]
      - [ be32, 0x011178d4, 0x3c888889 ]

PPU-ef6211c404f5dc3730dac42900aff0661860e34c:
  "Unlock FPS":
    Games:
      "Stranglehold":
        BLES00144: [ 01.01 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b9d904, 0x60000000 ]

PPU-e858695881e5b51131342ccda7991c4134fa4aa0:
  "Unlock FPS":
    Games:
      "Stranglehold":
        BLES00144: [ 01.20 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b9ff70, 0x60000000 ]

PPU-fa64011f95a179b4d79b1e48410b39fa38ff73f9:
  "Unlock FPS":
    Games:
      "Stranglehold":
        BLES00145: [ 01.20 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b9f818, 0x60000000 ]

PPU-f3572e67d24492c905f68fa58852106093d6f360:
  "Unlock FPS":
    Games:
      "Stranglehold":
        BLUS30080: [ 01.20 ]
        BLUS30081: [ 01.20 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00b9ff70, 0x60000000 ]

PPU-3f8da13ffc1c9c8a99b71af47ebb3f830c45693d:
  "Developer menu":
    Games:
      "Syndicate":
        BLUS30804: [ 01.00 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005f6f74, 0x38600001 ]

PPU-cc96d5ee9c63d01a2be28bc251777650184a9999:
  "Developer menu":
    Games:
      "Syndicate":
        BLES01371: [ 01.00 ]
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005f6f74, 0x38600001 ]

PPU-cae78b97db380c30e81b865584303c31a56930b8:
  "Unlock FPS":
    Games:
      "Teenage Mutant Ninja Turtles: Out of the Shadows":
        NPEB01425: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0091e3c4, 0x60000000 ]
      - [ be32, 0x0091e424, 0x60000000 ]
      - [ be32, 0x0091e428, 0x60000000 ]

Anchors:
  skyrim_titleid: &skyrim_titleid
    "The Elder Scrolls V: Skyrim":
      BLUS30778: [ 01.09 ]
      BLES01329: [ 02.09 ]
      BLES01330: [ 02.09 ]

  skyrimLE_titleid: &skyrimLE_titleid
    "The Elder Scrolls V: Skyrim Legendary Edition":
      BLES01885: [ 01.00 ]
      BLES01886: [ 01.00 ]
      BLUS31202: [ 01.00 ]

  skyrim_shout_notes: &skyrim_shout_notes
    "Allows you and enemies to shout without a resting period. Becomes Never shout again for all characters on screen that are in a resting period."

  skyrim_60fps_notes: &skyrim_60fps_notes
    "Camera sensitivity gets increased while having 60+ FPS."

  skyrim_trainerlvlup_notes: &skyrim_trainerlvlup_notes
    "Removes 5 per level limit."

  skyrim_persistentcarryweight_notes: &skyrim_persistentcarryweight_notes
    "Apply this patch while you can still run. Unless you prefer being over-encumbered."

  skyrim_alwayslvlup_notes: &skyrim_alwayslvlup_notes
    "Level up every skill level up. Quick way to unlock perks without unnecessarily making your skills Legendary."

PPU-8854da0c79e5c5bf386cb32e280f83c89cab40ff:
  "60 FPS":
    Games: *skyrim_titleid
    Author: "illusion"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008edb64, 0xf8051c60 ]
  "Infinite Shout":
    Games: *skyrim_titleid
    Author: "Medo"
    Notes: *skyrim_shout_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0008ea00, 0x60000000 ]
  "Can Always Level Up At Trainers":
    Games: *skyrim_titleid
    Author: "Medo"
    Notes: *skyrim_trainerlvlup_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00308d30, 0x60000000 ]
  "Carry Weight Never Changes":
    Games: *skyrim_titleid
    Author: "Medo"
    Notes: *skyrim_persistentcarryweight_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00414fcc, 0x60000000 ]
  "Quick Main Level Up":
    Games: *skyrim_titleid
    Author: "Medo"
    Notes: *skyrim_alwayslvlup_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x001d8e9c, 0xc0230004 ]

PPU-ce80647b91654477032788d990641cde6412a74f:
  "60 FPS":
    Games: *skyrimLE_titleid
    Author: "illusion"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008edb64, 0xf8051c60 ]
  "Infinite Shout":
    Games: *skyrimLE_titleid
    Author: "Medo"
    Notes: *skyrim_shout_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x0008ea00, 0x60000000 ]
  "Can Always Level Up At Trainers":
    Games: *skyrimLE_titleid
    Author: "Medo"
    Notes: *skyrim_trainerlvlup_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00308d30, 0x60000000 ]
  "Carry Weight Never Changes":
    Games: *skyrimLE_titleid
    Author: "Medo"
    Notes: *skyrim_persistentcarryweight_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x00414fcc, 0x60000000 ]
  "Quick Main Level Up":
    Games: *skyrimLE_titleid
    Author: "Medo"
    Notes: *skyrim_alwayslvlup_notes
    Patch Version: 1.2
    Patch:
      - [ be32, 0x001d8e9c, 0xc0230004 ]

PPU-7f8ba47068ed869a17e7050047669f51cb468c15:
  "60 FPS":
    Games:
      "The Elder Scrolls V: Skyrim":
        BLAS50546: [ 01.00 ]
    Author: "illusion, FlexBy"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008f0fd4, 0xf8051c60 ]

PPU-4c4a3b2aaaba32152ef940610bd8079bb85d8086:
  "60 FPS":
    Games:
      "The Elder Scrolls V: Skyrim":
        BLAS50546: [ 01.09 ]
    Author: "illusion, FlexBy"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008ede14, 0xf8051c60 ]

PPU-5ca4dd04162bc51987b2613d21961a6db6816870:
  "60 FPS":
    Games:
      "The Elder Scrolls V: Skyrim":
        BLJM60413: [ 01.09 ]
    Author: "illusion, FlexBy"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008edee4, 0xf8051c60 ]

PPU-5055e0288f6c75fd8341b3c6b4b4223fd417e82d:
  "60 FPS":
    Games:
      "The Elder Scrolls V: Skyrim":
        BLES01329: [ 02.00 ]
    Author: "illusion, FlexBy"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008f8bc8, 0xf8051c60 ]

PPU-336bdd5d924742e981105232d0cbaf7c035a1517:
  "60 FPS":
    Games:
      "The Elder Scrolls V: Skyrim":
        BLES01329: [ 02.05 ]
        BLES01330: [ 02.05 ]
    Author: "illusion, FlexBy"
    Notes: *skyrim_60fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x008dfe40, 0xf8051c60 ]

PPU-0e3b811c5b38bec743417c3b2b3a0741fe72d21c: # EBOOT.BIN/APP_CHOOSER.SELF 1.10
  "Skip Intro":
    Games:
      "The Orange Box":
        BLES00153: [ 01.10 ]
    Author: "Margen67, FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0008fa30, 0x4e800020 ]
      - [ be32, 0x10030084, 0x00000000 ]
      - [ be32, 0x100010a8, 0x00000000 ]

PPU-5a3915210fabc7e0fb6474be2293ef211e11adb6: # EBOOT.BIN/APP_CHOOSER.SELF 1.10
  "Skip Intro":
    Games:
      "The Orange Box":
        BLES00172: [ 01.10 ]
    Author: "Margen67, FlexBy"
    Notes:
    Patch Version: 2.0
    Patch:
      - [ be32, 0x0008fb68, 0x4e800020 ]
      - [ be32, 0x100010c0, 0x00000000 ]
      - [ be32, 0x100010f0, 0x00000000 ]

PPU-12b113060842a3b1c37b8326961cdec076d2a0f7: # HL2.SELF 1.00
  "Unlock FPS":
    Games:
      "Half-Life 2":
        BLES00153: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x00c471c4, 0x60000000 ] # 1033467C memory

PPU-fb868689bfa86fcaaa4d73d1ea41970e69a38420: # EPISODIC.SELF & EP2.SELF 1.00
  "Unlock FPS":
    Games:
      "Half-Life 2: Episodes":
        BLES00153: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x011535dc, 0x60000000 ]

PPU-6b9ef8f85065d62dc280b7a349a95a9567d9db33: # PORTAL.SELF 1.00
  "Unlock FPS":
    Games:
      "Portal":
        BLES00153: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x003a310c, 0x60000000 ] # 102EE874 memory

PPU-c2a64315dd85e22cfcaa9e05748c7131bca40e48: # HL2.SELF 1.10
  "Unlock FPS":
    Games:
      "Half-Life 2":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x00c477f4, 0x60000000 ]
  "Infinite Aux Power":
    Games:
      "Half-Life 2":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x00568ae4, 0x60000000 ]
  "Infinite Ammo":
    Games:
      "Half-Life 2":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x00177a94, 0x60000000 ] # pistol
    - [ be32, 0x0074ea1c, 0x60000000 ] # revolver
    - [ be32, 0x0050e528, 0x60000000 ] # smg, ar
    - [ be32, 0x00798090, 0x60000000 ] # shotgun
    - [ be32, 0x00797348, 0x60000000 ] # shotgun alt, yes it's a seperate instruction bruh
    - [ be32, 0x0016806c, 0x60000000 ] # grenade, rpg?, crossbow?, alt smg/ar

PPU-1d3b8ccf7be0b00da663235b508e49ae575204d8: # EPISODIC.SELF 1.10
  "Unlock FPS":
    Games:
      "Half-Life 2: Episodes":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x01153c4c, 0x60000000 ]

PPU-4cd0fcb2692dae3fbee0d7f05bc6bd9398354c6a: # PORTAL.SELF 1.10
  "Unlock FPS":
    Games:
      "Portal":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x003a373c, 0x60000000 ]

PPU-a4304e835c5dde6a2be32351a0db9d0e7600bc8c: # TF.SELF 1.10
  "Unlock FPS":
    Games:
      "Team Fortress 2":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
    - [ be32, 0x009170d4, 0x60000000 ]
  "Bypass SSL":
    Games:
      "Team Fortress 2":
        BLES00153: [ 01.10 ]
        BLUS30055: [ 01.10 ]
    Author: "faith"
    Notes: "Skip SSL certificate validation"
    Patch Version: 1.0
    Patch:
    - [be32, 0x0165fcf8, 0x38000015]

Anchors:
  tpnm_unlockfps_notes: &tpnm_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-7645ca368c9abe2ecbb919ae2049b99be1913491:
  "Unlock FPS":
    Games:
      "The Punisher: No Mercy":
        NPEB00098: [ 01.00 ]
    Author: "FlexBy"
    Notes: *tpnm_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00ce2b90, 0x60000000 ]

PPU-56f1f916c6387c5af7a262f9bbc8f60d5c59eb86:
  "Unlock FPS":
    Games:
      "The Punisher: No Mercy":
        NPEB00098: [ 01.02 ]
    Author: "FlexBy"
    Notes: *tpnm_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00cf5358, 0x60000000 ]

PPU-cfa4d1b380b8ebfa5acd59fa9378c50e3059865c:
  "60 FPS":
    Games:
      "The Simpsons Game":
        BLES00142: [ 01.00 ]
        BLES00146: [ 01.00 ]
        BLUS30065: [ 01.00 ]
    Author: "illusion"
    Notes: "Known Issues:\nPlayer's might fall through the T-rex in the second mission.\nMarshmallow trampolines may not work as intended."
    Patch Version: 1.0
    Patch:
      - [ byte, 0x005b4ebf, 0x01 ]
  "Invincibility":
    Games:
      "The Simpsons Game":
        BLES00142: [ 01.00 ]
        BLES00146: [ 01.00 ]
        BLUS30065: [ 01.00 ]
    Author: "Jonathan44062"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00285028, 0x38600001 ]

PPU-e9aaed0f182d2505da70e1b9ec8741ca843fe0dd:
  "Skip Intro":
    Games:
      "The Walking Dead: Survival Instinct":
        NPEB01215: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x009cd970, 0x60000000 ] # acti logo
      - [ be32, 0x009cd9b8, 0x60000000 ] # tr logo
      - [ be32, 0x009cd9a0, 0x60000000 ] # dolby logo

PPU-4c896694c84b7013a24e8b3d7038b3e6e4934d3a:
  "60 FPS":
    Games:
      "Time and Eternity":
        BLUS31173: [ 01.00 ]
        BLES01848: [ 01.00 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003838fc, 0x38600001 ]

PPU-b0b1d7267608ee6ed8c797b9588a5d53bbe50736:
  "60 FPS":
    Games:
      "時と永遠〜トキトワ〜 (Toki to Eien Tokitowa)":
        BLJS10181: [ 01.00 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00364ebc, 0x38600001 ]

PPU-54246d3cd421815744de78306800c65708727e73:
  "OpenSpy Online":
    Games:
      "TimeShift":
        BLES00159: [ 01.00 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x1000537d, "openspy.net" ]
      - [ utf8, 0x10005670, "openspy.net" ]
      - [ utf8, 0x100056ba, "openspy.net" ]
      - [ utf8, 0x10005850, "openspy.net" ]
      - [ utf8, 0x10005868, "openspy.net" ]
      - [ utf8, 0x10005880, "openspy.net" ]
      - [ utf8, 0x10005d44, "openspy.net" ]
      - [ utf8, 0x10005dc4, "openspy.net" ]

Anchors:
  TokyoJungleMLAAPSN: &TokyoJungleMLAAPSN
    - [ be32, 0x00018d64, 0x60000000 ]
  TokyoJungleMLAADisc: &TokyoJungleMLAADisc
    - [ be32, 0x00018d70, 0x60000000 ]

PPU-c96c9d2780b5482e91b3cdc190f289431cc1acb6:
  "Disable MLAA":
    Games:
      "Tokyo Jungle":
        BCAS20233: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *TokyoJungleMLAADisc ]

PPU-8e5a991fb9548d762b192aa27ee598e3b75cc13c:
  "Disable MLAA":
    Games:
      "Tokyo Jungle":
        BCJS30069: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *TokyoJungleMLAADisc ]

PPU-9a6d7c2cba6d2966f2f0425ff6851588e86c15a9:
  "Disable MLAA":
    Games:
      "Tokyo Jungle":
        NPEA00275: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *TokyoJungleMLAAPSN ]

PPU-7463d188a1c5a87560e8e4aa29a3f723a09ec29a:
  "Disable MLAA":
    Games:
      "Tokyo Jungle":
        NPJA00075: [ 01.02 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *TokyoJungleMLAAPSN ]

PPU-93fde720a66a93fb46990b32b51beb8c2960cea8:
  "Disable MLAA":
    Games:
      "Tokyo Jungle":
        NPUA80523: [ 01.01 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *TokyoJungleMLAAPSN ]

PPU-e219c746e09c57aa7acd83172537d367c62ae928:
  "Unlock FPS":
    Games:
      "Tom Clancy's Splinter Cell Chaos Theory":
        NPEB00557: [ 01.02 ]
        BLUS30761: [ 01.01 ]
    Author: "Jao"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000107f4, 0x4800006c ]

Anchors:
  thpsHD_unlockfps_notes: &thpsHD_unlockfps_notes
    "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."

PPU-c32353303c5d0779f39fb497259e56bd0ea793e3:
  "Unlock FPS":
    Games:
      "Tony Hawk's Pro Skater HD":
        NPEB01028: [ 01.00 ]
    Author: "FlexBy"
    Notes: *thpsHD_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032e978, 0x60000000 ]

PPU-5e4a312f2ff7f2b4875691775d111250793d7553:
  "Unlock FPS":
    Games:
      "Tony Hawk's Pro Skater HD":
        NPEB01028: [ 01.01 ]
    Author: "FlexBy"
    Notes: *thpsHD_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032ec68, 0x60000000 ]

PPU-c69b266c1146881c8785e4fcbaa578a5c02d75e2:
  "Unlock FPS":
    Games:
      "Tony Hawk's Pro Skater HD":
        NPUB30732: [ 01.01 ]
    Author: "FlexBy"
    Notes: *thpsHD_unlockfps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0032ec68, 0x60000000 ]

Anchors:
  THP8_FPS_notes_notes: &THP8_FPS_notes_notes
    "Removes the 30FPS lock in gameplay and cutscenes, with proper working physics, set \"Frame limit\" to \"Off\" to increase the maximum framerate however physics become broken"

PPU-de89165d4428c218f9ade10050ea093f7bde9e8d:
  "Unlock FPS":
    Games:
      "Tony Hawk's Project 8":
        BLUS30011: [ All ]
    Author: "fcanudo"
    Patch Version: 1.1
    Notes: *THP8_FPS_notes_notes
    Patch:
      - [ be32, 0x0056658c, 0x60000000 ]
      - [ be32, 0x005c1a40, 0x60000000 ]

PPU-8e3dac62ddc476bb956fe2b2b2fde7d1232245da:
  "Unlock FPS":
    Games:
      "Tony Hawk's Project 8":
        BLJM60030: [ All ]
    Author: "fcanudo"
    Patch Version: 1.1
    Notes: *THP8_FPS_notes_notes
    Patch:
      - [ be32, 0x00567028, 0x60000000 ]
      - [ be32, 0x005c2678, 0x60000000 ]

PPU-56ab7ebdcb5bd36aaae8564d45b3ecc5a9f0695d:
  "Unlock FPS":
    Games:
      "Tony Hawk's Project 8":
        BLES00014: [ All ]
    Author: "fcanudo"
    Patch Version: 1.1
    Notes: *THP8_FPS_notes_notes
    Patch:
      - [ be32, 0x00567450, 0x60000000 ]
      - [ be32, 0x005c28c8, 0x60000000 ]

Anchors:
  THPG_FPS_notes_notes: &THPG_FPS_notes_notes
    "Removes the 30FPS lock, cutscenes work properly and physics too, it's not possible to go above 60FPS other than changing the vblank, if done so cutscenes and physics break."

PPU-2068986df69c2907b1c6c4050236e92ad049cdc3:
  "Unlock FPS":
    Games:
      "Tony Hawk's Proving Ground":
        BLUS30071: [ All ]
    Author: "fcanudo"
    Patch Version: 1.0
    Notes: *THPG_FPS_notes_notes
    Patch:
      - [ be32, 0x005a40b4, 0x60000000 ]
      - [ be32, 0x00606138, 0x60000000 ]

PPU-6dc0887c81ae3f883d20e17428f3cc89940543bf:
  "Unlock FPS":
    Games:
      "Tony Hawk's Proving Ground":
        BLES00130: [ All ]
    Author: "fcanudo"
    Patch Version: 1.0
    Notes: *THPG_FPS_notes_notes
    Patch:
      - [ be32, 0x005a40b4, 0x60000000 ]
      - [ be32, 0x00606138, 0x60000000 ]

PPU-c15ca5b52f71ad0fa0a727eb289a2f95aa1ba217:
  "Unlock FPS":
    Games:
      "Tony Hawk's Pro Skater 5":
        NPEB02319: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency. Without the patch, adjusting Vblank frequency increases the maximum framerate up to about 62 FPS."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002cc070, 0x60000000 ]

PPU-6ce87977985acc3f114b29968939e035f806dc7c:
  "Unlock FPS":
    Games:
      "Transformers: War for Cybertron":
        BLUS30357: [ 01.00 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00200de4, 0xc03f0bb8 ] # lfs f1, 0xbb8 (r31)

PPU-54853538c1d5083369c46b16304ad8e51fdc77d3:
  "Unlock FPS":
    Games:
      "Transformers: War for Cybertron":
        BLUS30357: [ 01.01 ]
        BLES00833: [ 01.01 ]
    Author: "FlexBy"
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0020099c, 0xc03f0bb8 ] # lfs f1, 0xbb8 (r31)

PPU-6bb4db395550102f567fb7b1dbbf81583417150f:
  "60 FPS":
    Games:
      "Twisted Metal":
        BCUS98106: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0065dbac, 0x9383 ]

PPU-513044b01c6672954bbeb1e09f74a1bc848da9e7:
  "60 FPS":
    Games:
      "Twisted Metal":
        NPUA80079: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0065e16c, 0x9383 ]

PPU-3918c0b580c357ac035694ab5035297d21cd096f:
  "60 FPS":
    Games:
      "Twisted Metal":
        NPEA00362: [ 01.06 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0065dbac, 0x9383 ]

PPU-93a03e014f798af85c849023f1307eaa9aa573fd:
  "60 FPS":
    Games:
      "Twisted Metal Demo":
        NPUA70192: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be16, 0x0063342c, 0x9383 ]
      # info for anyone wanting to try to remove mlaa
      # US Demo only
      # start test for mlaa
      # 011b623b mlaa byte
      # remove post fx for testing
      # # - [ be32, 0x006402a4, 0x60000000 ]
      # # - [ be32, 0x006402e0, 0x60000000 ]
      # # - [ be32, 0x00640374, 0x60000000 ]
      # # - [ be32, 0x006403b0, 0x60000000 ]
      # # - [ be32, 0x006403f4, 0x60000000 ]
      # # - [ be32, 0x00640404, 0x60000000 ]
      # # - [ be32, 0x00640410, 0x60000000 ]
      # # - [ be32, 0x0064041c, 0x60000000 ]
      # # - [ be32, 0x00640428, 0x60000000 ]
      # # - [ be32, 0x00640434, 0x60000000 ]
      # # - [ be32, 0x00640440, 0x60000000 ]
      # # - [ be32, 0x0064044c, 0x60000000 ]
      # # - [ be32, 0x00640458, 0x60000000 ]
      # # - [ be32, 0x00640464, 0x60000000 ]
      # # - [ be32, 0x0064049c, 0x60000000 ]
      # # - [ be32, 0x006404b8, 0x60000000 ]
      # # test 2
      # - [ be32, 0x006468e8, 0x60000000 ]
      # - [ be32, 0x00646918, 0x60000000 ]
      # - [ be32, 0x006468a4, 0x480000c0 ]
      # - [ be32, 0x00646918, 0x60000000 ]
  "DEBUG: Restore Debug Printout":
    Games:
      "Twisted Metal Demo":
        NPUA70192: [ 01.00 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00968f34, 0x4bfeab94 ]
      - [ be32, 0x009690a0, 0x4bca92a0 ]

PPU-b9c74fb35c83fb86268e79532966761d30a0b98e:
  "Openspy Online":
    Games:
      "UFC Undisputed 2010":
        BLES00842 : [ 01.36 ]
    Author: "FlexBy"
    Notes: "Updates references from gamespy.com to openspy.net. Allows to play multiplayer. UNTESTED"
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x010e6615, "openspy.net" ]
      - [ utf8, 0x010e818f, "openspy.net" ]
      - [ utf8, 0x010e81f7, "openspy.net" ]
      - [ utf8, 0x010e827f, "openspy.net" ]
      - [ utf8, 0x010e9f54, "openspy.net" ]
      - [ utf8, 0x010e9fad, "openspy.net" ]
      - [ utf8, 0x010ea356, "openspy.net" ]
      - [ utf8, 0x0130588d, "openspy.net" ]
      - [ utf8, 0x013058f5, "openspy.net" ]
      - [ utf8, 0x010e8ff0, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00f14400, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

Anchors:
  ukiyo_disc_101: &ukiyo_disc_101
    "Ukiyo No Shishi":
      BLJS10301: [ 01.01 ]

PPU-fbf7ca2e5248cd47b06a7b406a9fc696033e5e0c:
  "60 FPS":
    Games: *ukiyo_disc_101
    Author: "FlexBy"
    Notes: "Set FPS Limit to 60. Some stuff is still 2x speed."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x006bac64, 0x60000000 ]
      - [ be32, 0x012a115c, 0x3c888889 ] # set gamespeed to 1/60
      - [ bef32, 0x01297828, 15 ] # walking animation speed # default value is 30
  "Money Multiplier":
    Games: *ukiyo_disc_101
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x002430c0, 0x1c8403e8 ] # 1000x
      - [ be32, 0x002430c4, 0x7ca02214 ]
  "Items Never Decrease":
    Games: *ukiyo_disc_101
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e069c, 0x380b0000 ]
  "Materials Never Decrease":
    Games: *ukiyo_disc_101
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e0c10, 0x60000000 ]
  "Infinite Stamina":
    Games: *ukiyo_disc_101
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00145d08, 0x60000000 ]

PPU-0e774c4d110cbee22a4afc20197c99203f46800c:
  "60 FPS":
    Games:
      "Warhawk":
        NPUA80077: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010728, 0x3ba00001 ]
  "Disable Motion Blur":
    Games:
      "Warhawk":
        NPUA80077: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c21f8, 0x38600000 ]
  "Remove Clouds":
    Games:
      "Warhawk":
        NPUA80077: [01.50]
    Author: "Score"
    Patch Version: 1.0
    Group: ""
    Notes: "Hijack the texture loading function and override the clouds being rendered."
    Patch:
      - [be64, 0x00747E94, 0xF821FFF1F9C10008]
      - [be64, 0x00747E9C, 0x2C0900BC4082004C]
      - [be64, 0x00747EA4, 0x2C0A003240820044]
      - [be64, 0x00747EAC, 0x2C1A00074082003C]
      - [be64, 0x00747EB4, 0x3DC000BB61CEF0B0]
      - [be64, 0x00747EBC, 0x7C0670004082002C]
      - [be64, 0x00747EC4, 0x3DC0000461CE1D08]
      - [be64, 0x00747ECC, 0x7C0770004082001C]
      - [be64, 0x00747ED4, 0x3DC0001461CE1EFC]
      - [be64, 0x00747EDC, 0x7C0870004082000C]
      - [be64, 0x00747EE4, 0x3860000048000008]
      - [be64, 0x00747EEC, 0xA0640000E9C10008]
      - [be64, 0x00747EF4, 0x382100104BCC20BC]
      - [be32, 0x00409FB0, 0x4833DEE4]

PPU-8b103b01ea3f394a508efb140b1476da59a839a8:
  "60 FPS":
    Games:
      "Warhawk":
        NPEA00017: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010748, 0x3ba00001 ]
  "Disable Motion Blur":
    Games:
      "Warhawk":
        NPEA00017: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c2268, 0x38600000 ]
  "Remove Clouds":
    Games:
      "Warhawk":
        NPEA00017: [01.50]
    Author: "Score"
    Patch Version: 1.0
    Group: ""
    Notes: "Hijack the texture loading function and override the clouds being rendered."
    Patch:
      - [be64, 0x00747E94, 0xF821FFF1F9C10008]
      - [be64, 0x00747E9C, 0x2C0900BC4082004C]
      - [be64, 0x00747EA4, 0x2C0A003240820044]
      - [be64, 0x00747EAC, 0x2C1A00074082003C]
      - [be64, 0x00747EB4, 0x3DC000BB61CEF0B0]
      - [be64, 0x00747EBC, 0x7C0670004082002C]
      - [be64, 0x00747EC4, 0x3DC0000461CE1D08]
      - [be64, 0x00747ECC, 0x7C0770004082001C]
      - [be64, 0x00747ED4, 0x3DC0001461CE1EFC]
      - [be64, 0x00747EDC, 0x7C0870004082000C]
      - [be64, 0x00747EE4, 0x3860000048000008]
      - [be64, 0x00747EEC, 0xA0640000E9C10008]
      - [be64, 0x00747EF4, 0x382100104BCC212C]
      - [be32, 0x0040A020, 0x4833DE74]

PPU-33a28c181e111855d1b024650a313e85610d5d84:
  "60 FPS":
    Games:
      "Warhawk":
        BCUS98117: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010728, 0x3ba00001 ]
  "Disable Motion Blur":
    Games:
      "Warhawk":
        BCUS98117: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c2208, 0x38600000 ]
  "Remove Clouds":
    Games:
      "Warhawk":
        BCUS98117: [01.50]
    Author: "Score"
    Patch Version: 1.0
    Group: ""
    Notes: "Hijack the texture loading function and override the clouds being rendered."
    Patch:
      - [be64, 0x00747E94, 0xF821FFF1F9C10008]
      - [be64, 0x00747E9C, 0x2C0900BC4082004C]
      - [be64, 0x00747EA4, 0x2C0A003240820044]
      - [be64, 0x00747EAC, 0x2C1A00074082003C]
      - [be64, 0x00747EB4, 0x3DC000BB61CEF0B0]
      - [be64, 0x00747EBC, 0x7C0670004082002C]
      - [be64, 0x00747EC4, 0x3DC0000461CE1D08]
      - [be64, 0x00747ECC, 0x7C0770004082001C]
      - [be64, 0x00747ED4, 0x3DC0001461CE1EFC]
      - [be64, 0x00747EDC, 0x7C0870004082000C]
      - [be64, 0x00747EE4, 0x3860000048000008]
      - [be64, 0x00747EEC, 0xA0640000E9C10008]
      - [be64, 0x00747EF4, 0x382100104BCC20BC]
      - [be32, 0x00409FB0, 0x4833DEE4]

PPU-0eb6367a3c104c729305bec4d15ccb85147688bd:
  "60 FPS":
    Games:
      "Warhawk":
        BCES00008: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010748, 0x3ba00001 ]
  "Disable Motion Blur":
    Games:
      "Warhawk":
        BCES00008: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c2268, 0x38600000 ]
  "Remove Clouds":
    Games:
      "Warhawk":
        BCES00008: [01.50]
    Author: "Score"
    Patch Version: 1.0
    Group: ""
    Notes: "Hijack the texture loading function and override the clouds being rendered."
    Patch:
      - [be64, 0x00747E94, 0xF821FFF1F9C10008]
      - [be64, 0x00747E9C, 0x2C0900BC4082004C]
      - [be64, 0x00747EA4, 0x2C0A003240820044]
      - [be64, 0x00747EAC, 0x2C1A00074082003C]
      - [be64, 0x00747EB4, 0x3DC000BB61CEF0B0]
      - [be64, 0x00747EBC, 0x7C0670004082002C]
      - [be64, 0x00747EC4, 0x3DC0000461CE1D08]
      - [be64, 0x00747ECC, 0x7C0770004082001C]
      - [be64, 0x00747ED4, 0x3DC0001461CE1EFC]
      - [be64, 0x00747EDC, 0x7C0870004082000C]
      - [be64, 0x00747EE4, 0x3860000048000008]
      - [be64, 0x00747EEC, 0xA0640000E9C10008]
      - [be64, 0x00747EF4, 0x382100104BCC212C]
      - [be32, 0x0040A020, 0x4833DE74]

PPU-3f6269a9a2f732c90c0017c963fb52722e6b08a8:
  "60 FPS":
    Games:
      "Warhawk":
        BCAS20015: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00010730, 0x3ba00001 ]
  "Disable Motion Blur":
    Games:
      "Warhawk":
        BCAS20015: [ 01.50 ]
    Author: "illusion"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c2208, 0x38600000 ]
  "Remove Clouds":
    Games:
      "Warhawk":
        BCAS20015: [01.50]
    Author: "Score"
    Patch Version: 1.0
    Group: ""
    Notes: "Hijack the texture loading function and override the clouds being rendered."
    Patch:
      - [be64, 0x00747E94, 0xF821FFF1F9C10008]
      - [be64, 0x00747E9C, 0x2C0900BC4082004C]
      - [be64, 0x00747EA4, 0x2C0A003240820044]
      - [be64, 0x00747EAC, 0x2C1A00074082003C]
      - [be64, 0x00747EB4, 0x3DC000BB61CEF0B0]
      - [be64, 0x00747EBC, 0x7C0670004082002C]
      - [be64, 0x00747EC4, 0x3DC0000461CE1D08]
      - [be64, 0x00747ECC, 0x7C0770004082001C]
      - [be64, 0x00747ED4, 0x3DC0001461CE1EFC]
      - [be64, 0x00747EDC, 0x7C0870004082000C]
      - [be64, 0x00747EE4, 0x3860000048000008]
      - [be64, 0x00747EEC, 0xA0640000E9C10008]
      - [be64, 0x00747EF4, 0x382100104BCC20CC]
      - [be32, 0x00409FC0, 0x4833DED4]

PPU-eb633143c2ad46e28e8b2d2374b0a331168c2c66:
  "Infinite Health":
    Games:
      "Wolfenstein":
        BLUS30298: [ 01.02 ]
    Author: "bungholio"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0052315c, 0x3c007f80 ]
      - [ be32, 0x00523160, 0x901f00d8 ]
      - [ be32, 0x00523164, 0x901f00dc ]
      - [ be32, 0x00ef7b80, 0x3c0078f0 ]
      - [ be32, 0x00ef7b84, 0x901b00d8 ]
      - [ be32, 0x00ef7b88, 0x901b00dc ]
      - [ be32, 0x00ef7b8c, 0x48000020 ]
      - [ be32, 0x00ef7bac, 0xc1bb00d8 ]
      - [ be32, 0x00ef7bb0, 0x4b62486c ]
      - [ be32, 0x0051c418, 0x489db768 ]

PPU-d6002ede44b3b68ed3e96d0aab9633784939b8ef:
  "60 FPS":
    Games:
      "Wangan Midnight":
        BLJM60028: [ 01.02 ]
    Author: "illusion"
    Notes: "Videos play at double speed and in-game timers clock twice as fast."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007a91d0, 0x3c888889 ]
      - [ be32, 0x002142d4, 0x38000001 ]

PPU-16d92d4b3a73bc5c99ae17d054069106a5a163ad:
  "OpenSpy Online":
    Games:
      "High Stakes on the Vegas Strip: Poker Edition":
        NPEB00009: [ 02.01 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00306808, "openspy.net" ]
      - [ utf8, 0x0030756d, "openspy.net" ]
      - [ utf8, 0x00308df8, "openspy.net" ]
      - [ utf8, 0x00308e10, "openspy.net" ]
      - [ utf8, 0x00308e28, "openspy.net" ]
      - [ utf8, 0x00308f42, "openspy.net" ]
      - [ utf8, 0x00309238, "openspy.net" ]
      - [ utf8, 0x00309774, "openspy.net" ]
      - [ utf8, 0x0030983c, "openspy.net" ]
      - [ utf8, 0x00377835, "openspy.net" ]
      - [ utf8, 0x0037797d, "openspy.net" ]
      - [ utf8, 0x00377c12, "openspy.net" ]
      - [ utf8, 0x00309970, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x002f1728, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-855588e1e87c4f982199bd6bf010413e7fa48040: # NPWR00244_00
  "Bypass sceNpCommerce":
    Games:
      "WWE SmackDown vs. RAW 2009":
        BLES00361: [ 01.07 ]
    Author: "FlexBy"
    Notes: "Fixes soft-lock when going into Online."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003bbb98, 0x2f830001 ]
  "Openspy Online":
    Games:
      "WWE SmackDown vs. RAW 2009":
        BLES00361: [ 01.07 ]
    Author: "FlexBy"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00a92aad, "openspy.net" ]
      - [ utf8, 0x00a955b8, "openspy.net" ]
      - [ utf8, 0x00a95657, "openspy.net" ]
      - [ utf8, 0x00a97296, "openspy.net" ]
      - [ utf8, 0x00c459bd, "openspy.net" ]
      - [ utf8, 0x00c45b1d, "openspy.net" ]
      - [ utf8, 0x00a96410, "http://%s.auth.pubsvs.openspy.net/AuthService/AuthService.asmx\0" ]
      - [ utf8, 0x00a6e0a0, "afb5818995b3708d0656a5bdd20760aee76537907625f6d23f40bf17029e56808d36966c0804e1d797e310fedd8c06e6c4121d963863d765811fc9baeb2315c9a6eaeb125fad694d9ea4d4a928f223d9f4514533f18a5432dd0435c5c6ac8e276cf29489cb5ac880f16b0d7832ee927d4e27d622d6a450cd1560d7fa882c6c13" ]

PPU-cf8528c5a94d26438e19d8e4272b85cd1671088c:
  "Disable MLAA":
    Games:
      "PlayStation: Home":
        NPIA00010: [ 01.86 ]
    Author: "illusion"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x005c59f4, 0x38000000 ]

PPU-8aaf3d8c1d18650967013d128f848327a91b5fe0:
  "Disable MLAA":
    Games:
      "PlayStation: Home":
        NPIA00005: [ 01.87 ]
    Author: "Knight"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0003bcb0, 0x38000000 ]

Anchors:
    wet_ar_notes: &wet_ar_notes
      "Requires \"Stretch To Display Area\" checked in the GPU settings."
    wet_ar_configurable_values: &wet_ar_configurable_values
      "Aspect Ratio":
        Type: double_enum
        Value: &32_9_value 3.555555555555556
        Allowed Values:
          "32:9": *32_9_value
          "21:9 (3840x1600)": 2.4
          "21:9 (3440x1440)": 2.388888888888889
          "21:9 (2560x1080)": 2.37037037037037
          "16:10": 1.6
          "4:3": 1.333333333333333
          "5:4": 1.25

PPU-0f2d26bd793596ce336a74f645fcb8f1441f9041:
  "Aspect Ratio":
    Games:
      "WET":
        BLUS30403: [ 01.00 ]
        BLES00707: [ 01.00 ]
    Author: "Virjoinga"
    Notes: *wet_ar_notes
    Configurable Values: *wet_ar_configurable_values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x013310dc, "Aspect Ratio" ]

Anchors:
  godfather_60fps: &godfather_60fps
    - [ byte, 0x0002343b, 0x01 ] # FPS mode 1
    - [ bef32, 0x10060170, 60 ] # Max FPS

PPU-4c79de253c0d2167b0ea9d03884f27d83db03fad:
  "60 FPS":
    Games:
      "The GodFather: The Don's Edition":
        BLES00043: [ 01.01 ]
        BLES00044: [ 01.01 ]
        BLES00045: [ 01.01 ]
        BLES00046: [ 01.01 ]
        BLES00047: [ 01.01 ]
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *godfather_60fps ]
PPU-b86a6fb6b4f5cf3572b3132391e5c4b02045d870:
  "60 FPS":
    Games:
      "The GodFather: The Don's Edition":
        BLUS30023: [ 01.00 ]
    Author: "ZEROx"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *godfather_60fps ]

PPU-7f72fca497cb710939e9ad13c412c78a1ff72438:
  "Debug Menu":
    Games:
      "XCOM: Enemy Within":
        BLUS31180: [ 01.00 ]
        BLES01851: [ 01.00 ]
    Author: "dron_3"
    Notes: "L1 + R1 = Brings menu during missions"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0138e400, 0x38800001 ]
      - [ be32, 0x0138e404, 0x3ce00178 ]
      - [ be32, 0x0138e408, 0x90878490 ]
      - [ be32, 0x0138e40c, 0x80e30060 ]
      - [ be32, 0x0138e410, 0x64e70002 ]
      - [ be32, 0x0138e414, 0x90e30060 ]
      - [ be32, 0x0138e418, 0x80e3005c ]
      - [ be32, 0x0138e41c, 0x2c070000 ]
      - [ be32, 0x0138e420, 0x41820010 ]
      - [ be32, 0x0138e424, 0x80870224 ]
      - [ be32, 0x0138e428, 0x64840400 ]
      - [ be32, 0x0138e42c, 0x90870224 ]
      - [ be32, 0x0138e430, 0x80e30000 ]
      - [ be32, 0x0138e434, 0x4b035738 ]
      - [ be32, 0x003c3b68, 0x48fca898 ]

PPU-e0d1cb983c09ccdad4cb91335287bfd47e6afb44:
  "Unlock FPS":
    Games:
      "Yaiba: Ninja Gaiden Z":
        BLJM61163: [ 01.00 ]
    Author: "FlexBy"
    Notes: "Maximum framerate with the patch is half the Vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x007f5a48, 0x60000000 ]
      - [ be32, 0x007f5a9c, 0x60000000 ]
      - [ be32, 0x007f5aa0, 0x60000000 ]

Anchors:
  LBPH_AR_Configurable_Values: &LBPH_AR_Configurable_Values
    "Aspect Ratio":
      Type: double_enum
      Value: &32_9_value 3.555555555555556
      Allowed Values:
        "32:9": *32_9_value
        "21:9 (3840x1600)": 2.4
        "21:9 (3440x1440)": 2.388888888888889
        "21:9 (2560x1080)": 2.37037037037037
        "16:10": 1.6
        "4:3": 1.333333333333333
        "5:4": 1.25

PPU-18cc71253bf487257baff903ad2fecb599741669:
  "Aspect Ratio":
    Games:
      "LittleBigPlanet Hub Internal Beta":
        BCET70055: [ 01.25 ]
    Author: "FlexBy"
    Notes:
    Configurable Values: *LBPH_AR_Configurable_Values
    Patch Version: 1.0
    Patch:
      - [ bef32, 0x00cc06c4, "Aspect Ratio" ]
  "Beacon Custom Server":
    Games:
      "LittleBigPlanet Hub Internal Beta":
        BCET70055: [ 01.25 ]
    Author: "FlexBy, uh wot"
    Notes:
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00b744c0, "http://lighthouse.lbpunion.com/LITTLEBIGPLANETPS3_XML\0" ] # https #flexby
      - [ utf8, 0x00b749e8, "http://lighthouse.lbpunion.com/LITTLEBIGPLANETPS3_XML\0" ] # http
      - [ utf8, 0x00bd0168, "!?/*hjk7duOZ1f@daX" ] # digest key #uh wot
  "Infinite Custom Server":
    Games:
      "LittleBigPlanet Hub Internal Beta":
        BCET70055: [ 01.25 ]
    Author: "Toyo, uh wot"
    Notes: "Patches server URL to point to Infinite, a custom server run by the Infinite Team.\nCreate an account here: https://lnfinite.site/register \n(The first letter is a lowercase L, not a capital i)\n\nIf you have any crashes or connection issues, restart the game in RPCS3 after authentication.\n\nThanks to @uh wot for locating the addresses."
    Group: CustomServer
    Patch Version: 1.0
    Patch:
      - [ utf8, 0x00b749e8, "http://lnfinite.site/LITTLEBIGPLANETPS3_XML\0" ] # https server url
      - [ utf8, 0x00b744c0, "http://lnfinite.site/LITTLEBIGPLANETPS3_XML\0" ] # http server url
      - [ utf8, 0x00bd0168, "!?/*hjk7duOZ1f@daX" ]
