Uncharted 3: Drake's Deception: Difference between revisions

From RPCS3 Wiki
(→‎Special Notes: use anchors for titles + small fixups)
(UC3(1.10 & 1.19): Bloom and broken shadow patches.)
Line 271: Line 271:
     - [ be32, 0x0063e014, 0x60000000 ] # nop byte write on 00 9c
     - [ be32, 0x0063e014, 0x60000000 ] # nop byte write on 00 9c
     - [ be16, 0x0094d850, 0x9b83 ]    # store 0
     - [ be16, 0x0094d850, 0x9b83 ]    # store 0
  #- [ be32, 0x00728cac, 0x480009ac ] # unconditonally branch to disable MLAA
    #- [ 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
   uc3_110_mb: &uc3_110_mb
Line 321: Line 357:
   uc3_110_spulighting: &uc3_110_spulighting
   uc3_110_spulighting: &uc3_110_spulighting
     - [ be32, 0x00754da0, 0x48000010 ]
     - [ be32, 0x00754da0, 0x48000010 ]
  uc3_110_torch: &uc3_110_torch
    - [ be32, 0x00763d30, 0x60000000 ] #Torch light disable


   uc3_119_FPS: &uc3_119_FPS
   uc3_119_FPS: &uc3_119_FPS
Line 329: Line 368:
     - [ be32, 0x0064df28, 0x60000000 ] # nop byte write on 00 9c
     - [ be32, 0x0064df28, 0x60000000 ] # nop byte write on 00 9c
     - [ be16, 0x0096eaa0, 0x9b83 ]    # store 0
     - [ be16, 0x0096eaa0, 0x9b83 ]    # store 0
  #- [ be32, 0x0073a1d8, 0x480009ac ] # unconditonally branch to disable MLAA
    #- [ 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
   uc3_119_mb: &uc3_119_mb
Line 379: Line 454:
   uc3_119_spulighting: &uc3_119_spulighting
   uc3_119_spulighting: &uc3_119_spulighting
     - [ be32, 0x007653c0, 0x48000010 ]
     - [ be32, 0x007653c0, 0x48000010 ]
  uc3_119_torch: &uc3_119_torch
    - [ be32, 0x00774350, 0x60000000 ] # Torch light disable


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


   uc3mlaanotes: &uc3mlaanotes "Allows for the use of Resolution Scaling in the title and also improves performance. However, please note that this patch causes a few issues such as incorrect bloom effect.\nThis issue can be addressed with the post-processing patch below."
   uc3mlaanotes: &uc3mlaanotes "Allows for the use of Resolution Scaling in the title and also improves performance.\nVersion 2.0 Fixes high levels of Bloom in some areas. (1.10 and 1.19 Only)"
 
  uc3gpulightingnotes: &uc3gpulightingnotes "Uses GPU (RSX) path for lighting effects.\nThis path is incomplete, results in some missing effects. (Volumetric lighting)"


   uc3_119title: &uc3_119title
   uc3_119title: &uc3_119title
Line 461: Line 541:
     Patch:
     Patch:
       - [ load, *uc3_100_dbf ]
       - [ load, *uc3_100_dbf ]
   Depth Buffer:
   Enable GPU Lighting:
     Games: *uc3_100title
     Games: *uc3_100title
     Author: ZEROx, illusion
     Author: ZEROx, illusion
     Notes:  
     Notes: *uc3gpulightingnotes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
Line 556: Line 636:
     Patch:
     Patch:
       - [ load, *uc3_JP_100_dbf ]
       - [ load, *uc3_JP_100_dbf ]
   Depth Buffer:
   Enable GPU Lighting:
     Games:
     Games:
       "Uncharted 3: Drake's Deception":
       "Uncharted 3: Drake's Deception":
         BCJS37004: [ 01.00 ]
         BCJS37004: [ 01.00 ]
     Author: ZEROx, illusion
     Author: ZEROx, illusion
     Notes:  
     Notes: *uc3gpulightingnotes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
Line 589: Line 669:
       "Uncharted 3: Drake's Deception":
       "Uncharted 3: Drake's Deception":
         BCES01670: [ 01.10 ]
         BCES01670: [ 01.10 ]
     Author: Whatcookie
     Author: Whatcookie, ZEROx
     Notes: *uc3mlaanotes
     Notes: *uc3mlaanotes
     Patch Version: 1.0
     Patch Version: 2.0
     Patch:
     Patch:
       - [ load, *uc3_110_mlaa ]
       - [ load, *uc3_110_mlaa ]
Line 603: Line 683:
     Patch:
     Patch:
       - [ load, *uc3_110_mb ]
       - [ load, *uc3_110_mb ]
   Post-processing Modes:
   Disable Bloom:
     Games:
     Games:
       "Uncharted 3: Drake's Deception":
       "Uncharted 3: Drake's Deception":
Line 666: Line 746:
     Patch:
     Patch:
       - [ load, *uc3_110_dbf ]
       - [ load, *uc3_110_dbf ]
   Depth Buffer:
   Enable GPU Lighting:
     Games:
     Games:
       "Uncharted 3: Drake's Deception":
       "Uncharted 3: Drake's Deception":
         BCES01670: [ 01.10 ]
         BCES01670: [ 01.10 ]
     Author: ZEROx, illusion
     Author: ZEROx, illusion
     Notes:  
     Notes: *uc3gpulightingnotes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
Line 684: Line 764:
     Patch:
     Patch:
       - [ load, *uc3_110_spulighting ]
       - [ load, *uc3_110_spulighting ]
  Disable Torch shadow maps:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx
    Notes: Disables incorrectly rendered type of shadow maps.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_torch ]
   Debug Menu:
   Debug Menu:
     Games:
     Games:
Line 704: Line 793:
   Disable in-built MLAA:
   Disable in-built MLAA:
     Games: *uc3_119title
     Games: *uc3_119title
     Author: Whatcookie
     Author: Whatcookie, ZEROx
     Notes: *uc3mlaanotes
     Notes: *uc3mlaanotes
     Patch Version: 1.0
     Patch Version: 2.0
     Patch:
     Patch:
       - [ load, *uc3_119_mlaa ]
       - [ load, *uc3_119_mlaa ]
Line 716: Line 805:
     Patch:
     Patch:
       - [ load, *uc3_119_mb ]
       - [ load, *uc3_119_mb ]
   Post-processing Modes:
   Disable Bloom:
     Games: *uc3_119title
     Games: *uc3_119title
     Author: ZEROx, illusion
     Author: ZEROx, illusion
Line 765: Line 854:
     Patch:
     Patch:
       - [ load, *uc3_119_dbf ]
       - [ load, *uc3_119_dbf ]
   Depth Buffer:
   Enable GPU Lighting:
     Games: *uc3_119title
     Games: *uc3_119title
     Author: ZEROx, illusion
     Author: ZEROx, illusion
     Notes:  
     Notes: *uc3gpulightingnotes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
Line 779: Line 868:
     Patch:
     Patch:
       - [ load, *uc3_119_spulighting ]
       - [ load, *uc3_119_spulighting ]
  Disable Torch shadow maps:
    Games: *uc3_119title
    Author: ZEROx
    Notes: Disables incorrectly rendered type of shadow maps.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_torch ]
   Debug Menu:
   Debug Menu:
     Games: *uc3_119title
     Games: *uc3_119title

Revision as of 13:02, 15 January 2021

Uncharted 3: Drake's Deception
Developer(s) Naughty Dog
Publisher(s) Sony Computer Entertainment
Series Uncharted
GameID(s)
Quick links Check Compatibility
Open Issues
Search Google
Wikipedia Page


Configuration

Options that deviate from RPCS3's default settings and provide the best experience with this title are listed below.

GPU configuration

Setting Option Notes
Resolution scale 100 Resolution scaling is only supported when the MLAA patch is enabled.
Write color buffers On Fixes where some scenes are too bright.

Advanced configuration

Setting Option Notes
Accurate RSX reservation access On To be enabled on systems that do not have TSX.

Known Issues

There are no reported issues with this title.

Special Notes

Patches

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_100_spulighting: &uc3_100_spulighting
    - [ be32, 0x0074c2f8, 0x48000010 ]

  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_JP_100_spulighting: &uc3_JP_100_spulighting
    - [ be32, 0x0074c320, 0x48000010 ]

  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, 0x00779ff0, 0x480008b0 ] # Disable
    - [ be32, 0x0077aacc, 0x480000c4 ] # motion
    - [ be32, 0x00a411ac, 0x480001a4 ] # 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_110_spulighting: &uc3_110_spulighting
    - [ be32, 0x00754da0, 0x48000010 ]

  uc3_110_torch: &uc3_110_torch
    - [ be32, 0x00763d30, 0x60000000 ] #Torch light disable

  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, 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, 0x0078a608, 0x480008b0 ] # Disable
    - [ be32, 0x0078b0e4, 0x480000c4 ] # motion
    - [ be32, 0x00a6b8e8, 0x480001a4 ] # 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_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_spulighting: &uc3_119_spulighting
    - [ be32, 0x007653c0, 0x48000010 ]

  uc3_119_torch: &uc3_119_torch
    - [ be32, 0x00774350, 0x60000000 ] # Torch light disable

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

  uc3mlaanotes: &uc3mlaanotes "Allows for the use of Resolution Scaling in the title and also improves performance.\nVersion 2.0 Fixes high levels of Bloom in some areas. (1.10 and 1.19 Only)"

  uc3gpulightingnotes: &uc3gpulightingnotes "Uses GPU (RSX) path for lighting effects.\nThis path is incomplete, results in some missing effects. (Volumetric lighting)"

  uc3_119title: &uc3_119title
      "Uncharted 3: Drake's Deception":
        BCES01175: [ 01.19 ]
        BCES01670: [ 01.19 ]
        BCUS98233: [ 01.19 ]
        BCJS37004: [ 02.17 ]
        NPEA00422: [ 01.19 ]

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

PPU-49c96996b6f3c0b32422375978c41e0c7ed95183:
  Unlock FPS:
    Games: *uc3_100title
    Author: superepic31
    Notes: Haven't tested how this affects cutscenes.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_FPS ]
  Disable in-built MLAA:
    Games: *uc3_100title
    Author: Whatcookie
    Notes: *uc3mlaanotes
    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: Enable this patch if you are using "Write Color Buffers" to restore performance.
    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: *uc3gpulightingnotes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_db ]
  Disable SPU Lighting:
    Games: *uc3_100title
    Author: ZEROx
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_100_spulighting ]
  Debug Menu:
    Games: *uc3_100title
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC3
    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: *uc3mlaanotes
    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: Enable this patch if you are using "Write Color Buffers" to restore performance.
    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: *uc3gpulightingnotes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_db ]
  Disable SPU Lighting:
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_JP_100_spulighting ]
  Debug Menu:
    Games:
      "Uncharted 3: Drake's Deception":
        BCJS37004: [ 01.00 ]
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC3
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00041e34, 0x419e ]

PPU-664fb0e4a94c62c15a6474841c202fb2bf80ce16:
  Disable in-built MLAA:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: Whatcookie, ZEROx
    Notes: *uc3mlaanotes
    Patch Version: 2.0
    Patch:
      - [ load, *uc3_110_mlaa ]
  Disable Motion Blur:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_mb ]
  Disable Bloom:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_post ]
  Disable Mesh Trimming:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_mesh ]
  Disable SSAO:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_ssao ]
  Disable Depth of Field:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dof ]
  Performance (WCB):
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: Enable this patch if you are using "Write Color Buffers" to restore performance.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_speed ]
  Depth Buffer Viewport:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dbv ]
  Depth Border Fix:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_dbf ]
  Enable GPU Lighting:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: *uc3gpulightingnotes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_db ]
  Disable SPU Lighting:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_spulighting ]
  Disable Torch shadow maps:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: ZEROx
    Notes: Disables incorrectly rendered type of shadow maps.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_110_torch ]
  Debug Menu:
    Games:
      "Uncharted 3: Drake's Deception":
        BCES01670: [ 01.10 ]
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC3
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00042624, 0x419e ]

PPU-02a88c3c6cd415b0bb81f1606bc743835881a4ba:
  Unlock FPS:
    Games: *uc3_119title
    Author: superepic31
    Notes: Haven't tested how this affects cutscenes.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_FPS ]
  Disable in-built MLAA:
    Games: *uc3_119title
    Author: Whatcookie, ZEROx
    Notes: *uc3mlaanotes
    Patch Version: 2.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: Enable this patch if you are using "Write Color Buffers" to restore performance.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_speed ]
  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: *uc3gpulightingnotes
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_db ]
  Disable SPU Lighting:
    Games: *uc3_119title
    Author: ZEROx
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_spulighting ]
  Disable Torch shadow maps:
    Games: *uc3_119title
    Author: ZEROx
    Notes: Disables incorrectly rendered type of shadow maps.
    Patch Version: 1.0
    Patch:
      - [ load, *uc3_119_torch ]
  Debug Menu:
    Games: *uc3_119title
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC3
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00042814, 0x419e ]