Uncharted 2: Among Thieves: Difference between revisions

From RPCS3 Wiki
mNo edit summary
m (Remove whitespace)
Line 129: Line 129:
|read depth buffers notes              = Fixes flickering while using Async Texture Streaming
|read depth buffers notes              = Fixes flickering while using Async Texture Streaming
|rsx fifo accuracy                    = Atomic <!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy                    = Atomic <!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy notes              = Helps with stability.  
|rsx fifo accuracy notes              = Helps with stability.
|write depth buffers                  = <!-- On, Off -->
|write depth buffers                  = <!-- On, Off -->
|write depth buffers notes            =  
|write depth buffers notes            =  
Line 189: Line 189:
   uc2_Disc_100_60FPS: &uc2_Disc_100_60FPS
   uc2_Disc_100_60FPS: &uc2_Disc_100_60FPS
     - [ be16, 0x000c9250, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9B5FB)
     - [ be16, 0x000c9250, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9B5FB)
 
 
   uc2_Disc_100_UnlockFPS: &uc2_Disc_100_UnlockFPS
   uc2_Disc_100_UnlockFPS: &uc2_Disc_100_UnlockFPS
     - [ be16, 0x000c9250, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9B5FB)
     - [ be16, 0x000c9250, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9B5FB)
 
 
   uc2_Disc_100_ssao: &uc2_Disc_100_ssao
   uc2_Disc_100_ssao: &uc2_Disc_100_ssao
     - [ be16, 0x000c9370, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9B642)
     - [ be16, 0x000c9370, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9B642)
 
 
   uc2_Disc_100_dof: &uc2_Disc_100_dof
   uc2_Disc_100_dof: &uc2_Disc_100_dof
     - [ be16, 0x000c93c4, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9B651)
     - [ be16, 0x000c93c4, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9B651)
 
 
   uc2_Disc_100_post: &uc2_Disc_100_post
   uc2_Disc_100_post: &uc2_Disc_100_post
     - [ be16, 0x000c93ec, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9B668)
     - [ be16, 0x000c93ec, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9B668)
 
 
   uc2_Disc_100_light: &uc2_Disc_100_light
   uc2_Disc_100_light: &uc2_Disc_100_light
     - [ be16, 0x000c962c, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9B964)
     - [ be16, 0x000c962c, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9B964)
Line 208: Line 208:
   uc2_Disc_100_mesh: &uc2_Disc_100_mesh
   uc2_Disc_100_mesh: &uc2_Disc_100_mesh
     - [ be16, 0x0072ec3c, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F995D0)
     - [ be16, 0x0072ec3c, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F995D0)
 
 
   uc2_Disc_100_mb: &uc2_Disc_100_mb
   uc2_Disc_100_mb: &uc2_Disc_100_mb
     - [ be16, 0x000c93c0, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9B64F)
     - [ be16, 0x000c93c0, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9B64F)
 
 
   uc2_Disc_100_vmb: &uc2_Disc_100_vmb
   uc2_Disc_100_vmb: &uc2_Disc_100_vmb
     - [ be16, 0x000c961c, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9B894)
     - [ be16, 0x000c961c, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9B894)
 
 
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   uc2_Disc_109_60FPS: &uc2_Disc_109_60FPS
   uc2_Disc_109_60FPS: &uc2_Disc_109_60FPS
     - [ be16, 0x000c26f0, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9C1FB)
     - [ be16, 0x000c26f0, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9C1FB)
 
 
   uc2_Disc_109_UnlockFPS: &uc2_Disc_109_UnlockFPS
   uc2_Disc_109_UnlockFPS: &uc2_Disc_109_UnlockFPS
     - [ be16, 0x000c26f0, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9C1FB)
     - [ be16, 0x000c26f0, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9C1FB)
 
 
   uc2_Disc_109_ssao: &uc2_Disc_109_ssao
   uc2_Disc_109_ssao: &uc2_Disc_109_ssao
     - [ be16, 0x000c2810, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9C242)
     - [ be16, 0x000c2810, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9C242)
 
 
   uc2_Disc_109_dof: &uc2_Disc_109_dof
   uc2_Disc_109_dof: &uc2_Disc_109_dof
     - [ be16, 0x000c2864, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9C251)
     - [ be16, 0x000c2864, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9C251)
 
 
   uc2_Disc_109_post: &uc2_Disc_109_post
   uc2_Disc_109_post: &uc2_Disc_109_post
     - [ be16, 0x000c288c, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9C268)
     - [ be16, 0x000c288c, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9C268)
 
 
   uc2_Disc_109_light: &uc2_Disc_109_light
   uc2_Disc_109_light: &uc2_Disc_109_light
     - [ be16, 0x000c2ad0, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
     - [ be16, 0x000c2ad0, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
Line 237: Line 237:
   uc2_Disc_109_mesh: &uc2_Disc_109_mesh
   uc2_Disc_109_mesh: &uc2_Disc_109_mesh
     - [ be16, 0x0072d44c, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
     - [ be16, 0x0072d44c, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
 
 
   uc2_Disc_109_mb: &uc2_Disc_109_mb
   uc2_Disc_109_mb: &uc2_Disc_109_mb
     - [ be16, 0x000c2860, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9C24F)
     - [ be16, 0x000c2860, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9C24F)
 
 
   uc2_Disc_109_vmb: &uc2_Disc_109_vmb
   uc2_Disc_109_vmb: &uc2_Disc_109_vmb
     - [ be16, 0x000c2ac0, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9C494)
     - [ be16, 0x000c2ac0, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9C494)
 
 
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   uc2_PSN_60FPS: &uc2_PSN_60FPS
   uc2_PSN_60FPS: &uc2_PSN_60FPS
     - [ be16, 0x000c2bb8, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9C1FB)
     - [ be16, 0x000c2bb8, 0x9163 ] # Framelock: 1 (60 FPS Limit)            (mem address: 0x0E9C1FB)
 
 
   uc2_PSN_UnlockFPS: &uc2_PSN_UnlockFPS
   uc2_PSN_UnlockFPS: &uc2_PSN_UnlockFPS
     - [ be16, 0x000c2bb8, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9C1FB)
     - [ be16, 0x000c2bb8, 0x9183 ] # Framelock: 0 (No FPS Limit)            (mem address: 0x0E9C1FB)
 
 
   uc2_PSN_ssao: &uc2_PSN_ssao
   uc2_PSN_ssao: &uc2_PSN_ssao
     - [ be16, 0x000c2cd8, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9C242)
     - [ be16, 0x000c2cd8, 0x9b83 ] # Disable SSAO                            (mem address: 0x0E9C242)
 
 
   uc2_PSN_dof: &uc2_PSN_dof
   uc2_PSN_dof: &uc2_PSN_dof
     - [ be16, 0x000c2d2c, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9C251)
     - [ be16, 0x000c2d2c, 0x9b83 ] # Disable depth of field                  (mem address: 0x0E9C251)
 
 
   uc2_PSN_post: &uc2_PSN_post
   uc2_PSN_post: &uc2_PSN_post
     - [ be16, 0x000c2d54, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9C268)
     - [ be16, 0x000c2d54, 0x9b83 ] # Disable Post on SPU                    (mem address: 0x0E9C268)
 
 
   uc2_PSN_light: &uc2_PSN_light
   uc2_PSN_light: &uc2_PSN_light
     - [ be16, 0x000c2f98, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
     - [ be16, 0x000c2f98, 0x9b83 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
Line 266: Line 266:
   uc2_PSN_mesh: &uc2_PSN_mesh
   uc2_PSN_mesh: &uc2_PSN_mesh
     - [ be16, 0x0072d394, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
     - [ be16, 0x0072d394, 0x9949 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
 
 
   uc2_PSN_mb: &uc2_PSN_mb
   uc2_PSN_mb: &uc2_PSN_mb
     - [ be16, 0x000c2d28, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9C24F)
     - [ be16, 0x000c2d28, 0x9b83 ] # Disable Motion blur                    (mem address: 0x0E9C24F)
 
 
   uc2_PSN_vmb: &uc2_PSN_vmb
   uc2_PSN_vmb: &uc2_PSN_vmb
     - [ be16, 0x000c2f88, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9C494)
     - [ be16, 0x000c2f88, 0x9b83 ] # Disable Velocity motion blur            (mem address: 0x0E9C494)
 
 
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   # Note: Unlike Uncharted 3 and TLoU, Uncharted 2 doesn't change the initial address.
   uc2_Demo_60FPS: &uc2_Demo_60FPS
   uc2_Demo_60FPS: &uc2_Demo_60FPS
     - [ be16, 0x000c94a0, 0x9163 ] # Framelock: 1 (60 FPS Limit)
     - [ be16, 0x000c94a0, 0x9163 ] # Framelock: 1 (60 FPS Limit)
 
 
   uc2_Demo_UnlockFPS: &uc2_Demo_UnlockFPS
   uc2_Demo_UnlockFPS: &uc2_Demo_UnlockFPS
     - [ be16, 0x000c94a0, 0x9183 ] # Framelock: 0 (No FPS Limit)
     - [ be16, 0x000c94a0, 0x9183 ] # Framelock: 0 (No FPS Limit)
 
 
   uc2_Demo_ssao: &uc2_Demo_ssao
   uc2_Demo_ssao: &uc2_Demo_ssao
     - [ be16, 0x000c95c0, 0x9b83 ] # Disable SSAO
     - [ be16, 0x000c95c0, 0x9b83 ] # Disable SSAO
 
 
   uc2_Demo_dof: &uc2_Demo_dof
   uc2_Demo_dof: &uc2_Demo_dof
     - [ be16, 0x000c9614, 0x9b83 ] # Disable depth of field
     - [ be16, 0x000c9614, 0x9b83 ] # Disable depth of field
 
 
   uc2_Demo_post: &uc2_Demo_post
   uc2_Demo_post: &uc2_Demo_post
     - [ be16, 0x000c963c, 0x9b83 ] # Disable Post on SPU
     - [ be16, 0x000c963c, 0x9b83 ] # Disable Post on SPU
 
 
   uc2_Demo_light: &uc2_Demo_light
   uc2_Demo_light: &uc2_Demo_light
     - [ be16, 0x000c987c, 0x9b83 ] # Disable Spu lighting
     - [ be16, 0x000c987c, 0x9b83 ] # Disable Spu lighting
Line 295: Line 295:
   uc2_Demo_mesh: &uc2_Demo_mesh
   uc2_Demo_mesh: &uc2_Demo_mesh
     - [ be16, 0x0030624c, 0x9949 ] # Disable mesh trimming
     - [ be16, 0x0030624c, 0x9949 ] # Disable mesh trimming
 
 
   uc2_Demo_mb: &uc2_Demo_mb
   uc2_Demo_mb: &uc2_Demo_mb
     - [ be16, 0x000c9610, 0x9b83 ] # Motion blur
     - [ be16, 0x000c9610, 0x9b83 ] # Motion blur
 
 
   uc2_Demo_vmb: &uc2_Demo_vmb
   uc2_Demo_vmb: &uc2_Demo_vmb
     - [ be16, 0x000c986c, 0x9b83 ] # Velocity motion blur
     - [ be16, 0x000c986c, 0x9b83 ] # Velocity motion blur
Line 431: Line 431:
     Patch:
     Patch:
       - [ be16, 0x00023c64, 0x419e ]
       - [ be16, 0x00023c64, 0x419e ]
       - [ be32, 0x00062e10, 0x60000000 ] #Don't pause on Select button  
       - [ be32, 0x00062e10, 0x60000000 ] #Don't pause on Select button
   "Bug Fix: Quit to Menu Crash": # TODO: port to PSN ver
   "Bug Fix: Quit to Menu Crash": # TODO: port to PSN ver
     Games:
     Games:

Revision as of 11:48, 24 January 2023

Uncharted 2: Among Thieves
UC2 Cover.jpg
Developer(s) Naughty Dog
Publisher(s) Sony Computer Entertainment
Series Uncharted
Release date(s) NA October 13, 2009
AU October 15, 2009
EU October 16, 2009
Release type PlayStation exclusive
Genre(s) Action, Adventure, Third-person shooter, Platform
Mode(s) Single-player, Co-op, Multiplayer
GameID(s) BCES00509 (IRD), BCES00727 (IRD), BCES00757 (IRD), BCUS98123 (IRD), BCJS30035 (IRD), NPEA00365, NPUA80698, BCAS20097 (IRD), NPEA00364, NPEA00369
Demo
NPEA90055, NPUA70092, NPJA90127
Beta
BCET70015, NPUA70051
Quick links Check Compatibility
Open Issues
Search Google
Wikipedia Page

Uncharted 2: Among Thieves is the second game in the Uncharted series, and is set two years after the events of Uncharted: Drake's Fortune. The single-player story follows Nathan Drake, who partners with Chloe Frazer and Elena Fisher, as they search for the Cintamani Stone and Shambhala, whilst battling a mercenary group led by Zoran Lazarević and Harry Flynn.

Development for game began immediately following the critical and commercial success of the first entry. The development team drew inspiration from explorer Marco Polo, and specifically, from his expeditions through archipelagos and eastern Asia. Naughty Dog also aimed to improve the game's proprietary engine, creating the game to run exclusively on the company's Naughty Engine 2.0 system. This allowed the developers to record extensive motion capture and more in-game cinematic sequences, as well as include an online multiplayer component; a first for the series.

The game received universal acclaim from critics for its elaborate set pieces, character design, storytelling, graphics, technical innovation, and gameplay mechanics. It received Game of the Year accolades from numerous publications and award events, and is considered to be one of the greatest video games ever made, and among the most significant titles for the seventh console generation. It also enjoyed great commercial success, with over six million copies sold worldwide. The game was followed by a sequel titled Uncharted 3: Drake's Deception in 2011, and was re-released on PlayStation 4 as part of Uncharted: The Nathan Drake Collection.

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
Anisotropic filter Auto Changing to anything other than Auto causes graphical issues.
Resolution scale threshold 160x160 Fixes bloom artifacts when using Resolution scaling above 100%
Write color buffers On Fixes where some scenes are too bright
Multithreaded RSX On Improves performance with Async Texture Streaming
Asynchronous texture streaming On Improves performance, Causes graphical issues without Read Depth Buffers enabled

Advanced configuration

Setting Option Notes
Accurate RSX reservation access On To be enabled on systems that do not have TSX.
Read depth buffers On Fixes flickering while using Async Texture Streaming
RSX FIFO accuracy Atomic Helps with stability.

Known Issues

There are no reported issues with this title.

Special Notes

Netplay testing

For the complete list of games tested with RPCN, please check the RPCN Compatibility List.

Game Version RPCS3 Version Connects? Create/Join lobbies? Match with others? Online features working? Requires custom servers? Notes
1.09 Yes No No No Requires Custom server

Patches

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)

  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_mb: &uc2_Disc_100_mb
    - [ be16, 0x000c93c0, 0x9b83 ] # Disable Motion blur                     (mem address: 0x0E9B64F)

  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)

  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_mb: &uc2_Disc_109_mb
    - [ be16, 0x000c2860, 0x9b83 ] # Disable Motion blur                     (mem address: 0x0E9C24F)

  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)

  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_mb: &uc2_PSN_mb
    - [ be16, 0x000c2d28, 0x9b83 ] # Disable Motion blur                     (mem address: 0x0E9C24F)

  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

  debugmenunotesUC2: &debugmenunotesUC2 "Enable Debug Console mode to unlock full menu (DECR Console)\nL3 + Start = Dev Menu\nL3 + Select = Quick Menu\nL3 + Triangle = Debug Text\nL2 + R2 = Debug Fly"
  uc2spupostnotes: &uc2spupostnotes "Fixes green graphics when using Resolution Scaling"
  uc260fpsnotes: &uc260fpsnotes "Allows framerates of up to 60 FPS"
  uc2unlockedfpsnotes: &uc2unlockedfpsnotes "Completely unlocks Uncharted 2's framerate"
  uc2spulightingnotes: &uc2spulightingnotes "Improves performance slightly by using GPU path for lighting.\nFixes lighting issues in Chapter 9 when shining the beams of light onto the statues"

PPU-7b8a70c24456205b776915643a2acacb6ef6ea56:
  60 FPS:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: *uc260fpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_Disc_100_60FPS ]
  Unlock FPS:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: *uc2unlockedfpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_Disc_100_UnlockFPS ]
  Disable SSAO:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 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":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 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":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: *uc2spupostnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_post ]
  Enable GPU Lighting:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: *uc2spulightingnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_light ]
  Disable Mesh Trimming:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_mesh ]
  Disable Motion Blur:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 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":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_100_vmb ]
  Debug Menu:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC2
    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 ver
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: "Last modified: 16 Feb 2021\n\nFixed a rare bug when quitting to menu causes a game crash."
    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:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00727: [ 01.00 ]
        BCES00757: [ 01.00 ]
        BCJS30035: [ 01.00 ]
    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: *uc260fpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_Disc_100_60FPS ]
  Unlock FPS:
    Games:
      "Uncharted 2: Among Thieves":
        BCUS98123: [ 01.00 ]
    Author: ZEROx, illusion
    Notes: *uc2unlockedfpsnotes
    Patch Version: 1.2
    Group: FPS
    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: *uc2spupostnotes
    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: *uc2spulightingnotes
    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, 0x072ec54, 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: *debugmenunotesUC2
    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:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: *uc260fpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_Disc_109_60FPS ]
  Unlock FPS:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: *uc2unlockedfpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_Disc_109_UnlockFPS ]
  Disable SSAO:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_ssao ]
  Disable Depth of Field:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_dof ]
  Disable SPU Post-processing:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: *uc2spupostnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_post ]
  Enable GPU Lighting:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: *uc2spulightingnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_light ]
  Disable Mesh Trimming:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_mesh ]
  Disable Motion Blur:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_mb ]
  Disable Velocity Motion Blur:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_vmb ]
  Debug Menu:
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: dron_3, HdHereidme
    Notes: *debugmenunotesUC2
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00023c0c, 0x419e ]
  "Bug Fix: Quit to Menu Crash": # TODO: port to PSN ver
    Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: ZEROx, illusion
    Notes: "Last modified: 16 Feb 2021\n\nFixed a rare bug when quitting to menu causes a game crash."
    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:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00727: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
        BCJS30035: [ 01.09 ]
    Author: illusion, ZEROx
    Notes: 
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00026e08, 0x48000e40 ]

PPU-599461c6c88935ff0ed26ef20e649c8c38b7be9c:
  60 FPS:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: *uc260fpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_PSN_60FPS ]
  Unlock FPS:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: *uc2unlockedfpsnotes
    Patch Version: 1.2
    Group: FPS
    Patch:
      - [ load, *uc2_PSN_UnlockFPS ]
  Disable SSAO:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_ssao ]
  Disable Depth of Field:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_dof ]
  Disable SPU Post-processing:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: *uc2spupostnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_post ]
  Enable GPU Lighting:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: *uc2spulightingnotes
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_light ]
  Disable Mesh Trimming:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_mesh ]
  Disable Motion Blur:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_mb ]
  Disable Velocity Motion Blur:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes: 
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_vmb ]
  Debug Menu:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: dron_3, HdHereidme, illusion
    Notes: *debugmenunotesUC2
    Patch Version: 1.0
    Patch:
      - [ be16, 0x000244e0, 0x419e ]
  Skip Intro:
    Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
    Author: illusion, ZEROx
    Patch Version: 1.0
    Patch:
      - [ be16, 0x00094a50, 0x98e3 ]

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