Uncharted 2: Among Thieves: Difference between revisions

From RPCS3 Wiki
m (Fix-up)
 
(117 intermediate revisions by 13 users not shown)
Line 1: Line 1:
<!-- please read the wiki conventions page and documentation for templates before creating a new game page -->{{vginfobox
<!-- please read the wiki conventions page and documentation for templates before creating a new game page -->{{vginfobox
|image    = [[File:{{#setmainimage:UC2 Cover.jpg}}|300px]]
|developer = Naughty Dog
|developer = Naughty Dog
|publisher = Sony Computer Entertainment
|publisher = Sony Computer Entertainment
|series    = Uncharted
|series    = Uncharted
|date      = {{vgregion|NA=October 13, 2009|AU=October 15, 2009}}{{vgregion|EU=October 15, 2009}}
|date      = {{vgregion|NA=October 13, 2009|AU=October 15, 2009}}{{vgregion|EU=October 16, 2009}}
|release  = PlayStation exclusive <!-- Choose one of the following: PlayStation 3 exclusive, PlayStation exclusive, Console exclusive, Multi-platform -->
|release  = PlayStation exclusive<!-- Choose one of the following: PlayStation 3 exclusive, PlayStation exclusive, Console exclusive, Multi-platform -->
|genre    = Action, Adventure, Third-person shooter, Platform
|genre    = Action, Adventure, Third-person shooter, Platform
|modes    = Single-player, Co-op, Multiplayer <!-- Choose all relevant options: Single-player, Co-op, Multiplayer -->
|modes    = Single-player, Co-op, Multiplayer<!-- Choose all relevant options: Single-player, Co-op, Multiplayer -->
|gameid    = {{gameid|id=BCES00509, BCES00757, BCUS98123, NPEA00365, NPUA80698|ird=Yes}}<br>'''''Demo'''''<br>{{gameid|id=NPEA90055, NPJA90127|ird=NA}}
|gameid    = {{gameid|id=BCES00509, BCES00727, BCES00757, BCUS98123, BCJS30035, BCAS20097, NPEA00364, NPEA00365, NPUA80698, NPHA80194|ird=Yes}}, {{gameid|oid=BCKS10086, NPEA00369|ird=No}}<br>'''''Demo'''''<br>{{gameid|id=NPEA90055, NPUA70092, NPJA90127|ird=NA}}<br>'''''Beta'''''<br>{{gameid|id=BCET70015, NPUA70051|oid=NPUA70049|ird=NA}}
|internal resolution = 1280x720
}}
}}


Line 17: Line 19:


==Configuration==
==Configuration==
<!-- Only enter mandatory non-default settings to be used. Delete parameters which are not applicable -->{{config
<!-- Enter mandatory non-default settings to be used. Recommendatory or default settings can be entered only on exceptional basis. -->{{config
<!-- CPU configuration -->
<!-- CPU configuration -->
|ppu decoder                          = <!-- Interpreter (precise), Interpreter (fast), Recompiler (LLVM) -->
|ppu decoder                          = <!-- Interpreter (static), Interpreter (dynamic), Recompiler (LLVM) -->
|ppu decoder notes                    =  
|ppu decoder notes                    =  
|spu decoder                          = <!-- Interpreter (precise), Interpreter (fast), Recompiler (ASMJIT), Recompiler (LLVM) -->
|spu decoder                          = <!-- Interpreter (static), Interpreter (dynamic), Recompiler (ASMJIT), Recompiler (LLVM) -->
|spu decoder notes                    =  
|spu decoder notes                    =  
|preferred spu threads                = <!-- Auto, Single digit between 1 to 6 (e.g. 3), Range between 1 to 6 (e.g. 1 - 3) -->
|preferred spu threads                = <!-- Auto, Single digit between 1 to 6 (e.g. 3), Range between 1 to 6 (e.g. 1 - 3) -->
|preferred spu threads notes          =  
|preferred spu threads notes          =  
|enable thread scheduler               = <!-- On, Off -->
|thread scheduler                     = <!-- Operating System, RPCS3 Scheduler, RPCS3 Alternative Scheduler -->
|enable thread scheduler notes         =
|thread scheduler notes               =  
|lower spu thread priority            = <!-- On, Off -->
|lower spu thread priority notes      =  
|enable spu loop detection            = <!-- On, Off -->
|enable spu loop detection            = <!-- On, Off -->
|enable spu loop detection notes      =  
|enable spu loop detection notes      =  
|spu cache                            = <!-- On, Off -->
|spu xfloat accuracy                  = <!-- Accurate, Approximate, Relaxed -->
|spu cache notes                      =
|spu xfloat accuracy notes             =  
|accurate xfloat                      = <!-- On, Off -->
|accurate xfloat notes                 =  
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size notes                  =  
|spu block size notes                  =  
Line 40: Line 38:
|tsx instructions notes                =  
|tsx instructions notes                =  
<!-- GPU configuration -->
<!-- GPU configuration -->
|renderer                              = Vulkan <!-- OpenGL, Vulkan, Disabled -->
|renderer                              = <!-- OpenGL, Vulkan, Disabled -->
|renderer notes                        = Recommended to get the best performance.
|renderer notes                        =  
|aspect ratio                          = <!-- 4:3, 16:9 -->
|aspect ratio                          = <!-- 4:3, 16:9 -->
|aspect ratio notes                    =  
|aspect ratio notes                    =  
|framelimit                            = <!-- Off, 59.94, 50, 60, 30, Auto -->
|framelimit                            = <!-- Off, 50, 60, 30, Auto, PS3 Native, Infinite -->
|framelimit notes                      =  
|framelimit notes                      =  
|anisotropic filter                    = <!-- Auto, 2x, 4x, 8x, 16x -->
|anisotropic filter                    = Auto<!-- Auto, 2x, 4x, 8x, 16x -->
|anisotropic filter notes              =  
|anisotropic filter notes              = Changing to anything other than Auto causes graphical issues.
|anti-aliasing                        = <!-- Auto, Disabled -->
|anti-aliasing                        = <!-- Auto, Disabled -->
|anti-aliasing notes                  =  
|anti-aliasing notes                  =  
|zcull accuracy                        = <!-- Precise, Approximate, Relaxed -->
|zcull accuracy notes                  =
|shader quality                        = <!-- High, Low, Auto -->
|shader quality notes                  =
|3d rendering mode                    = <!-- Disabled, Anaglyph, Side-by-side, Over-under -->
|3d rendering mode notes              =
|default resolution                    = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|default resolution                    = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|default resolution notes              =  
|default resolution notes              =  
|resolution scale                      = 100 <!-- Value between 50% to 800% -->
|resolution scale                      = <!-- Value between 50% to 800% -->
|resolution scale notes                = Resolution scaling is only supported when Post Processing on SPU is disabled.
|resolution scale notes                = Resolution scaling will only work if you use the patch (Manage > Game Patches) to disable Post Processing on the SPU.
|resolution scale threshold            = 1x1 <!-- Value between 1 to 1024 in the format 16 x 16 -->
|resolution scale threshold            = 160 x 160<!-- Value between 1 to 1024 in the format 16 x 16 -->
|resolution scale threshold notes      = When using Resolution scaling above 100%, this must be set to 1x1 otherwise some effects like lens flare wil be missing, and all Treasures will be invisible.
|resolution scale threshold notes      = Fixes bloom artifacts when using Resolution scaling above 100%.
|shader mode                          = <!-- Legacy (singlethreaded), Async (multithreaded), Async with Shader Interpreter, Shader Interpreter only -->
|shader mode                          = <!-- Legacy (singlethreaded), Async (multithreaded), Async with Shader Interpreter, Shader Interpreter only -->
|shader mode notes                    =  
|shader mode notes                    =  
|write color buffers                  = On <!-- On, Off -->
|write color buffers                  = On<!-- On, Off -->
|write color buffers notes            = Fixes where some scenes are too bright.
|write color buffers notes            = Fixes some overly bright scenes.
|strict rendering mode                = <!-- On, Off -->
|strict rendering mode                = <!-- On, Off -->
|strict rendering mode notes          =  
|strict rendering mode notes          =  
Line 66: Line 70:
|stretch to display area              = <!-- On, Off -->
|stretch to display area              = <!-- On, Off -->
|stretch to display area notes        =  
|stretch to display area notes        =  
|enable 3d                            = <!-- On, Off -->
|enable 3d notes                      =
|disable vertex cache                  = <!-- On, Off -->
|disable vertex cache                  = <!-- On, Off -->
|disable vertex cache notes            =  
|disable vertex cache notes            =  
|multithreaded rsx                    = <!-- On, Off -->
|multithreaded rsx                    = On<!-- On, Off -->
|multithreaded rsx notes              =  
|multithreaded rsx notes              = Improves performance.
|asynchronous texture streaming        = On<!-- On, Off -->
|asynchronous texture streaming notes  = Improves performance depending on the GPU. Causes graphical issues without Read Depth Buffers enabled.
<!-- Audio configuration -->
<!-- Audio configuration -->
|audio out windows                    = <!-- XAudio2, OpenAL, Disabled -->
|audio out windows                    = <!-- Cubeb, XAudio2, Disabled -->
|audio out windows notes              =  
|audio out windows notes              =  
|audio out linux                      = <!-- OpenAL, PulseAudio, ALSA, Disabled -->
|audio out linux                      = <!-- Cubeb, FAudio, Disabled -->
|audio out linux notes                =  
|audio out linux notes                =  
|audio format                          = <!-- Stereo, Surround 5.1, Surround 7.1, Automatic, Manual -->
|audio format notes                    =
|dump to file                          = <!-- On, Off -->
|dump to file                          = <!-- On, Off -->
|dump to file notes                    =  
|dump to file notes                    =  
|convert to 16-bit                    = <!-- On, Off -->
|convert to 16-bit                    = <!-- On, Off -->
|convert to 16-bit notes              =  
|convert to 16-bit notes              =  
|downmix to stereo                    = <!-- On, Off -->
|downmix to stereo notes              =
|volume                                = <!-- Value between 0% to 200% -->
|volume                                = <!-- Value between 0% to 200% -->
|volume notes                          =  
|volume notes                          =  
Line 100: Line 108:
|camera input                          = <!-- Unknown, EyeToy, PS Eye, UVC 1.1 -->
|camera input                          = <!-- Unknown, EyeToy, PS Eye, UVC 1.1 -->
|camera input notes                    =  
|camera input notes                    =  
|camera settings                      = <!-- Null, Fake -->
|camera settings                      = <!-- Null, Fake, Qt -->
|camera settings notes                =  
|camera settings notes                =  
|move handler                          = <!-- Null, Fake, Mouse -->
|move handler                          = <!-- Null, Fake, Mouse -->
|move handler notes                    =  
|move handler notes                    =  
<!-- Network configuration -->
|network status                        = <!-- Disconnected, Connected -->
|network status notes                  =
|psn status                            = <!-- Disconnected, Simulated, RPCN -->
|psn status notes                      =
<!-- Advanced configuration -->
<!-- Advanced configuration -->
|debug console mode                    = <!-- On, Off -->
|debug console mode                    = <!-- On, Off -->
Line 109: Line 122:
|accurate llvm dfma                    = <!-- On, Off -->
|accurate llvm dfma                    = <!-- On, Off -->
|accurate llvm dfma notes              =  
|accurate llvm dfma notes              =  
|accurate rsx reservation access      = On<!-- On, Off -->
|accurate rsx reservation access notes = Prevents random freezing/crashing while playing the game.
|ppu llvm accurate vector nans        = <!-- On, Off -->
|ppu llvm accurate vector nans notes  =
|silence all logs                      = <!-- On, Off -->
|silence all logs                      = <!-- On, Off -->
|silence all logs notes                =  
|silence all logs notes                =  
Line 115: Line 132:
|maximum spurs threads                = <!-- Unlimited, Single digit between 0 to 5 (e.g. 3) -->
|maximum spurs threads                = <!-- Unlimited, Single digit between 0 to 5 (e.g. 3) -->
|maximum spurs threads notes          =  
|maximum spurs threads notes          =  
|firmware settings                    = Load automatic and manual selection <!-- Manually load selected libraries, Load automatic and manual selection, Load liblv2.sprx only, Load liblv2.sprx and manual selection, Load liblv2.sprx and strict selection -->
|firmware libraries                    = <!-- Switch to LLE, Switch to HLE -->
|firmware settings notes               = libvdec <!-- Where libraries are manually selected, mention the list of libraries to be selected here -->
|firmware libraries notes             = <!-- Mention the libraries to be manually selected here -->
|read depth buffers                    = <!-- On, Off -->
|read depth buffers                    = On<!-- On, Off -->
|read depth buffers notes              =  
|read depth buffers notes              = Fixes flickering. Required only if you are using Async Texture Streaming.
|rsx fifo accuracy                    = Atomic<!-- Fast, Atomic, Ordered & Atomic -->
|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 125: Line 144:
|disable on-disk shader cache          = <!-- On, Off -->
|disable on-disk shader cache          = <!-- On, Off -->
|disable on-disk shader cache notes    =  
|disable on-disk shader cache notes    =  
|disable native float16 support        = <!-- On, Off -->
|disable native float16 support notes  =
|relaxed zcull sync                    = <!-- On, Off -->
|relaxed zcull sync                    = <!-- On, Off -->
|relaxed zcull sync notes              =  
|relaxed zcull sync notes              =  
Line 131: Line 152:
|vblank rate                          = <!-- Value between 1 to 500 -->
|vblank rate                          = <!-- Value between 1 to 500 -->
|vblank rate notes                    =  
|vblank rate notes                    =  
|vblank ntsc fixup                    = <!-- On, Off -->
|vblank ntsc fixup notes              =
|clocks scale                          = <!-- Value between 10 to 1000 -->
|clocks scale                          = <!-- Value between 10 to 1000 -->
|clocks scale notes                    =  
|clocks scale notes                    =  
<!-- Debug configuration -->
<!-- Debug configuration -->
|disable zcull occlusion queries      = <!-- On, Off -->
|disable zcull occlusion queries notes =
|force cpu blit emulation              = <!-- On, Off -->
|force cpu blit emulation              = <!-- On, Off -->
|force cpu blit emulation notes        =  
|force cpu blit emulation notes        =  
|use gpu texture scaling               = <!-- On, Off -->
|force gpu texture scaling             = <!-- On, Off -->
|use gpu texture scaling notes         =
|force gpu texture scaling notes      =  
|accurate getllar                      = <!-- On, Off -->
|accurate getllar notes                =
|accurate putlluc                      = <!-- On, Off -->
|accurate putlluc notes                =
|accurate rsx reservation access       = On <!-- On, Off -->
|accurate rsx reservation access notes = To be enabled on systems that do not have TSX.
|hook static functions                = <!-- On, Off -->
|hook static functions                = <!-- On, Off -->
|hook static functions notes          =  
|hook static functions notes          =  
|accurate ppu 128 reservations        = <!-- Always Enabled, Disabled, Value between 1 to 8 -->
|accurate ppu 128 reservations notes  =
|ppu llvm java mode handling          = <!-- On, Off -->
|ppu llvm java mode handling notes    =
<!-- Recommended patches -->
|highly recommended patch              = Disable SPU Post-processing, Disable Mesh Trimming, Enable GPU Lighting<!-- Mention patch names -->
|highly recommended patch notes        = Improves performance and allows Resolution Scaling to work properly.
|recommended patch                    = Disable Motion Blur, Skip Intro<!-- Mention patch names -->
|recommended patch notes              =
}}
}}


==Known Issues==
==Known Issues==
<!-- Mention any known issues relating to the game. Use the issue and PR template if necessary. If no notable issues are present, mention "There are no reported issues with this title." -->
<!-- Mention any known issues relating to the game. Use the issue and PR template if necessary. If no notable issues are present, mention "There are no reported issues with this title." -->
This title is currently not playable.
There are no reported issues with this title.


==Special Notes==
==Special Notes==
<!-- Mention any additional notes if necessary. If no special notes are required, remove this section -->
<!-- Mention any additional notes if necessary. If no special notes are required, remove this section -->
===Patches===
* Upscaling in this game can be quite GPU intensive. If you have a weak GPU (for example 1050, 1050ti, 1650 etc), it is recommended to play the game at default resolution scaling. Expect lower FPS if upscaling above 100% on such GPUs.
<pre class="mw-collapsible mw-collapsed">
* White boxes will appear on the screen if the patch '''Disable SPU Post-processing''' is enabled and resolution scale is left at 100%. Only use the patch if you're upscaling.
 
{{netplay
|gamever        = 1.09
|rpcs3 version  = N/A
|connect        = No<!-- Yes, No, Partial, Untested, N/A -->
|lobbies        = No<!-- Yes, No, Partial, Untested, N/A -->
|match          = No<!-- Yes, No, Partial, Untested, N/A -->
|features      = No<!-- Yes, No, Partial, Untested, N/A -->
|custom servers = Not available<!-- Available, Not available, Not required, Untested -->
|notes    =
}}
 
{{patch
|type    = PPU
|version = 1.2
|content =
Anchors:
Anchors:
   # 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.
  # Since we only change store reg, no need to patch the rest.
   uc2_Disc_100_60FPS: &uc2_Disc_100_60FPS
   uc2_Disc_100_60FPS: &uc2_Disc_100_60FPS
     - [ be32, 0x000c9250, 0x91630008 ] # 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
     - [ be32, 0x000c9250, 0x91830008 ] # 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
     - [ be32, 0x000c9370, 0x9b830052 ] # 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
     - [ be32, 0x000c93c4, 0x9b830061 ] # 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
     - [ be32, 0x000c93ec, 0x9b830078 ] # 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
     - [ be32, 0x000c962c, 0x9b830374 ] # Disable Spu lighting                    (mem address: 0x0E9B964)
     - [ be16, 0x000c962c, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9b964)
 
     - [ be16, 0x000c9630, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9b965)
  uc2_Disc_100_stencil: &uc2_Disc_100_stencil
 
     - [ be32, 0x000c9630, 0x9b630375 ] # Enable stencil buffer for gpu lighting  (mem address: 0x0E9B965)
 
   uc2_Disc_100_mesh: &uc2_Disc_100_mesh
   uc2_Disc_100_mesh: &uc2_Disc_100_mesh
     - [ be32, 0x0072ec3c, 0x99490004 ] # Disable mesh trimming                  (mem address: 0x0F995D0)
     - [ 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
   uc2_Disc_100_mb: &uc2_Disc_100_mb
     - [ be32, 0x000c93c0, 0x9b83005f ] # Disable Motion blur                     (mem address: 0x0E9B64F)
     - [ byte, 0x0075a7e4, 0x41 ] #Motion blur                               (mem address: 0x0e9b64f)
 
    - [ byte, 0x0075b454, 0x40 ]
 
   uc2_Disc_100_vmb: &uc2_Disc_100_vmb
   uc2_Disc_100_vmb: &uc2_Disc_100_vmb
     - [ be32, 0x000c961c, 0x9b8302a4 ] # 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
     - [ be32, 0x000c26f0, 0x91630008 ] # 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
     - [ be32, 0x000c26f0, 0x91830008 ] # 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
     - [ be32, 0x000c2810, 0x9b830052 ] # 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
     - [ be32, 0x000c2864, 0x9b830061 ] # 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
     - [ be32, 0x000c288c, 0x9b830078 ] # 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
     - [ be32, 0x000c2ad0, 0x9b830374 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
     - [ be16, 0x000c2ad0, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9c564)
 
     - [ be16, 0x000c2ad4, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9c565)
  uc2_Disc_109_stencil: &uc2_Disc_109_stencil
 
     - [ be32, 0x000c2ad4, 0x9b630375 ] # Enable stencil buffer for gpu lighting  (mem address: 0x0E9C565)
 
   uc2_Disc_109_mesh: &uc2_Disc_109_mesh
   uc2_Disc_109_mesh: &uc2_Disc_109_mesh
     - [ be32, 0x0072d44c, 0x99490004 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
     - [ 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
   uc2_Disc_109_mb: &uc2_Disc_109_mb
     - [ be32, 0x000c2860, 0x9b83005f ] # Disable Motion blur                     (mem address: 0x0E9C24F)
     - [ byte, 0x00758ff4, 0x41 ] #Motion blur                               (mem address: 0x0e9c24f)
 
    - [ byte, 0x00759c64, 0x40 ]
 
   uc2_Disc_109_vmb: &uc2_Disc_109_vmb
   uc2_Disc_109_vmb: &uc2_Disc_109_vmb
     - [ be32, 0x000c2ac0, 0x9b8302a4 ] # 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
     - [ be32, 0x000c2bb8, 0x91630008 ] # 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
     - [ be32, 0x000c2bb8, 0x91830008 ] # 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
     - [ be32, 0x000c2cd8, 0x9b830052 ] # 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
     - [ be32, 0x000c2d2c, 0x9b830061 ] # 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
     - [ be32, 0x000c2d54, 0x9b830078 ] # 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
     - [ be32, 0x000c2f98, 0x9b830374 ] # Disable Spu lighting                    (mem address: 0x0E9C564)
     - [ be16, 0x000c2f98, 0x9b83 ] # Disable SPU lighting                    (mem address: 0x0e9c564)
 
     - [ be16, 0x000c2f9c, 0x9b63 ] # Enable stencil buffer for GPU lighting  (mem address: 0x0e9c565)
  uc2_PSN_stencil: &uc2_PSN_stencil
 
     - [ be32, 0x00c2f9c, 0x9b630375 ] # Enable stencil buffer for gpu lighting  (mem address: 0x0E9C565)
 
   uc2_PSN_mesh: &uc2_PSN_mesh
   uc2_PSN_mesh: &uc2_PSN_mesh
     - [ be32, 0x0072d394, 0x99490004 ] # Disable mesh trimming                  (mem address: 0x0F9BFD0)
     - [ 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
   uc2_PSN_mb: &uc2_PSN_mb
     - [ be32, 0x000c2d28, 0x9b83005f ] # Disable Motion blur                     (mem address: 0x0E9C24F)
     - [ byte, 0x00758f74, 0x41 ] #Motion blur                               (mem address: 0x0e9c24f)
 
    - [ byte, 0x00759be4, 0x40 ]
 
   uc2_PSN_vmb: &uc2_PSN_vmb
   uc2_PSN_vmb: &uc2_PSN_vmb
     - [ be32, 0x000c2f88, 0x9b8302a4 ] # 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
     - [ be32, 0x000c94a0, 0x91630008 ] # 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
     - [ be32, 0x000c94a0, 0x91830008 ] # 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
     - [ be32, 0x000c95c0, 0x9b830052 ] # Disable SSAO
     - [ be16, 0x000c95c0, 0x9b83 ] # Disable SSAO
 
 
   uc2_Demo_dof: &uc2_Demo_dof
   uc2_Demo_dof: &uc2_Demo_dof
     - [ be32, 0x000c9614, 0x9b830061 ] # Disable depth of field
     - [ be16, 0x000c9614, 0x9b83 ] # Disable depth of field
 
 
   uc2_Demo_post: &uc2_Demo_post
   uc2_Demo_post: &uc2_Demo_post
     - [ be32, 0x000c963c, 0x9b830078 ] # Disable Post on SPU
     - [ be16, 0x000c963c, 0x9b83 ] # Disable Post on SPU
 
 
   uc2_Demo_light: &uc2_Demo_light
   uc2_Demo_light: &uc2_Demo_light
     - [ be32, 0x000c987c, 0x9b830374 ] # Disable Spu lighting
     - [ be16, 0x000c987c, 0x9b83 ] # Disable SPU lighting
 
     - [ be16, 0x000c9880, 0x9b63 ] # Enable stencil buffer for GPU lighting
  uc2_Demo_stencil: &uc2_Demo_stencil
 
     - [ be32, 0x000c9880, 0x9b630375 ] # Enable stencil buffer for gpu lighting
 
   uc2_Demo_mesh: &uc2_Demo_mesh
   uc2_Demo_mesh: &uc2_Demo_mesh
     - [ be32, 0x0030624c, 0x99490004 ] # Disable mesh trimming
     - [ be16, 0x0030624c, 0x9949 ] # Disable mesh trimming
 
 
   uc2_Demo_mb: &uc2_Demo_mb
   uc2_Demo_mb: &uc2_Demo_mb
     - [ be32, 0x000c9610, 0x9b83005f ] # Motion blur
     - [ be16, 0x000c9610, 0x9b83 ] # Motion blur
 
 
   uc2_Demo_vmb: &uc2_Demo_vmb
   uc2_Demo_vmb: &uc2_Demo_vmb
     - [ be32, 0x000c986c, 0x9b8302a4 ] # Velocity motion blur
     - [ 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:
PPU-7b8a70c24456205b776915643a2acacb6ef6ea56:
   60 FPS:
   "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:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: Raise maximum framerate cap to 60FPS.
     Notes: *uc2_60fps_notes
    Group: FPS
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_60FPS ]
       - [ load, *uc2_Disc_100_60FPS ]
   Unlock FPS:
   "Unlock FPS":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: Completely removes maximum framerate cap.
     Notes: *uc2_unlockedfps_notes
    Group: FPS
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_UnlockFPS ]
       - [ load, *uc2_Disc_100_UnlockFPS ]
   Disable SSAO:
   "Disable SSAO":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_ssao ]
       - [ load, *uc2_Disc_100_ssao ]
   Disable Depth of Field:
   "Disable Depth of Field":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_dof ]
       - [ load, *uc2_Disc_100_dof ]
   Disable SPU Post-processing:
   "Disable SPU Post-processing":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: To use scaling correctly for this game you must set Resolution Scale Threshold to 1x1, otherwise some effects like lens flare wil be missing, and all Treasures will be invisible.
     Notes: *uc2_spupost_notes
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_post ]
       - [ load, *uc2_Disc_100_post ]
   Disable SPU Lighting:
   "Enable GPU Lighting":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes: *uc2_spulighting_notes
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_light ]
       - [ load, *uc2_Disc_100_light ]
   Enable Stencil Buffer for GPU Lighting:
   "Disable Mesh Trimming":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_stencil ]
       - [ be16, 0x0072ec54, 0x9949 ]
   Disable Mesh Trimming:
   "Disable Motion Blur":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_mesh ]
       - [ load, *uc2_Disc_100_mb ]
   Disable Motion Blur:
   "Disable Velocity Motion Blur":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_mb ]
       - [ load, *uc2_Disc_100_vmb ]
   Disable Velocity Motion Blur:
   "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:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves":
        BCES00509: [ 01.00 ]
        BCES00757: [ 01.00 ]
         BCUS98123: [ 01.00 ]
         BCUS98123: [ 01.00 ]
     Author: ZEROx, illusion
     Author: "illusion, ZEROx"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.0
     Patch:
     Patch:
       - [ load, *uc2_Disc_100_vmb ]
       - [ be32, 0x00026dc4, 0x48000e50 ]


PPU-a3a5789c12711291dfe16a7d5d81c906d2b4c0c2:
PPU-a3a5789c12711291dfe16a7d5d81c906d2b4c0c2:
   60 FPS:
   "60 FPS":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes: *uc2_60fps_notes
        BCES00757: [ 01.09 ]
    Group: FPS
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes: Raise maximum framerate cap to 60FPS.
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_60FPS ]
       - [ load, *uc2_Disc_109_60FPS ]
   Unlock FPS:
   "Unlock FPS":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes: *uc2_unlockedfps_notes
        BCES00757: [ 01.09 ]
    Group: FPS
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes: Completely removes maximum framerate cap.
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_UnlockFPS ]
       - [ load, *uc2_Disc_109_UnlockFPS ]
   Disable SSAO:
   "Disable SSAO":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes:
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_ssao ]
       - [ load, *uc2_Disc_109_ssao ]
   Disable Depth of Field:
   "Disable Depth of Field":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes:
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_dof ]
       - [ load, *uc2_Disc_109_dof ]
   Disable SPU Post-processing:
   "Disable SPU Post-processing":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes: *uc2_spupost_notes
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes: To use scaling correctly for this game you must set Resolution Scale Threshold to 1x1, otherwise some effects like lens flare wil be missing, and all Treasures will be invisible.
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_post ]
       - [ load, *uc2_Disc_109_post ]
   Disable SPU Lighting:
   "Enable GPU Lighting":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes: *uc2_spulighting_notes
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_light ]
       - [ load, *uc2_Disc_109_light ]
   Enable Stencil Buffer for GPU Lighting:
   "Disable Mesh Trimming":
    Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes:
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
    Author: ZEROx, illusion
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_Disc_109_stencil ]
  Disable Mesh Trimming:
     Games:
      "Uncharted 2: Among Thieves":
        BCES00509: [ 01.09 ]
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_mesh ]
       - [ load, *uc2_Disc_109_mesh ]
   Disable Motion Blur:
   "Disable Motion Blur":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes:
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_mb ]
       - [ load, *uc2_Disc_109_mb ]
   Disable Velocity Motion Blur:
   "Disable Velocity Motion Blur":
     Games:
     Games: *uc2_disc109title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        BCES00509: [ 01.09 ]
     Notes:
        BCES00757: [ 01.09 ]
        BCUS98123: [ 01.09 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Disc_109_vmb ]
       - [ 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:
PPU-599461c6c88935ff0ed26ef20e649c8c38b7be9c:
   60 FPS:
   "60 FPS":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes: *uc2_60fps_notes
        NPUA80698: [ 01.10 ]
    Group: FPS
     Author: ZEROx, illusion
     Notes: Raise maximum framerate cap to 60FPS.
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_PSN_60FPS ]
       - [ load, *uc2_PSN_60FPS ]
   Unlock FPS:
   "Unlock FPS":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes: *uc2_unlockedfps_notes
        NPUA80698: [ 01.10 ]
    Group: FPS
     Author: ZEROx, illusion
     Notes: Completely removes maximum framerate cap.
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_PSN_UnlockFPS ]
       - [ load, *uc2_PSN_UnlockFPS ]
   Disable SSAO:
   "Disable SSAO":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes:
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_ssao ]
       - [ load, *uc2_PSN_ssao ]
   Disable Depth of Field:
   "Disable Depth of Field":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes:
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_dof ]
       - [ load, *uc2_PSN_dof ]
   Disable SPU Post-processing:
   "Disable SPU Post-processing":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes: *uc2_spupost_notes
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes: To use scaling correctly for this game you must set Resolution Scale Threshold to 1x1, otherwise some effects like lens flare wil be missing, and all Treasures will be invisible.
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_post ]
       - [ load, *uc2_PSN_post ]
   Disable SPU Lighting:
   "Enable GPU Lighting":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes: *uc2_spulighting_notes
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_light ]
       - [ load, *uc2_PSN_light ]
   Enable Stencil Buffer for GPU Lighting:
   "Disable Mesh Trimming":
    Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes:
        NPUA80698: [ 01.10 ]
    Author: ZEROx, illusion
    Notes:
    Patch Version: 1.2
    Patch:
      - [ load, *uc2_PSN_stencil ]
  Disable Mesh Trimming:
     Games:
      "Uncharted 2: Among Thieves":
        NPEA00365: [ 01.10 ]
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_mesh ]
       - [ load, *uc2_PSN_mesh ]
   Disable Motion Blur:
   "Disable Motion Blur":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes:
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_mb ]
       - [ load, *uc2_PSN_mb ]
   Disable Velocity Motion Blur:
   "Disable Velocity Motion Blur":
     Games:
     Games: *uc2_PSN110title
      "Uncharted 2: Among Thieves":
     Author: "ZEROx, illusion"
        NPEA00365: [ 01.10 ]
     Notes:
        NPUA80698: [ 01.10 ]
     Author: ZEROx, illusion
     Notes:  
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_PSN_vmb ]
       - [ 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:
PPU-bfee77256ce53064051a6b0ec9d292e75284aad4:
   60 FPS:
   "60 FPS":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: Raise maximum framerate cap to 60FPS.
     Notes: *uc2_60fps_notes
    Group: FPS
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Demo_60FPS ]
       - [ load, *uc2_Demo_60FPS ]
   Unlock FPS:
   "Unlock FPS":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: Completely removes maximum framerate cap.
     Notes: *uc2_unlockedfps_notes
    Group: FPS
     Patch Version: 1.2
     Patch Version: 1.2
    Group: FPS
     Patch:
     Patch:
       - [ load, *uc2_Demo_UnlockFPS ]
       - [ load, *uc2_Demo_UnlockFPS ]
   Disable SSAO:
   "Disable SSAO":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_ssao ]
       - [ load, *uc2_Demo_ssao ]
   Disable Depth of Field:
   "Disable Depth of Field":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_dof ]
       - [ load, *uc2_Demo_dof ]
   Disable SPU Post-processing:
   "Disable SPU Post-processing":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes: To use scaling correctly for this game you must set Resolution Scale Threshold to 1x1, otherwise some effects like lens flare wil be missing, and all Treasures will be invisible.
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_post ]
       - [ load, *uc2_Demo_post ]
   Disable SPU Lighting:
   "Enable GPU Lighting":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes: *uc2_spulighting_notes
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_light ]
       - [ load, *uc2_Demo_light ]
   Enable Stencil Buffer for GPU Lighting:
   "Disable Mesh Trimming":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_stencil ]
       - [ load, *uc2_Demo_mesh ]
   Disable Mesh Trimming:
   "Disable Motion Blur":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_mesh ]
       - [ load, *uc2_Demo_mb ]
   Disable Motion Blur:
   "Disable Velocity Motion Blur":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "ZEROx, illusion"
     Notes:  
     Notes:
     Patch Version: 1.2
     Patch Version: 1.2
     Patch:
     Patch:
       - [ load, *uc2_Demo_mb ]
       - [ load, *uc2_Demo_vmb ]
   Disable Velocity Motion Blur:
   "Debug Menu":
     Games:
     Games:
       "Uncharted 2: Among Thieves":
       "Uncharted 2: Among Thieves Demo":
         NPEA90055: [ All ]
         NPEA90055: [ All ]
     Author: ZEROx, illusion
     Author: "dron_3, HdHereidme, illusion"
     Notes:  
     Notes: *uc2_debugmenu_notes
     Patch Version: 1.2
     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:
     Patch:
       - [ load, *uc2_Demo_vmb ]
       - [ be16, 0x00023c1c, 0x419e ]
</pre>
}}

Latest revision as of 12:26, 10 March 2024

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), BCAS20097 (IRD), NPEA00364, NPEA00365, NPUA80698, NPHA80194, BCKS10086, NPEA00369
Demo
NPEA90055, NPUA70092, NPJA90127
Beta
BCET70015, NPUA70051, NPUA70049
Internal resolution 1280x720
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 160 x 160 Fixes bloom artifacts when using Resolution scaling above 100%.
Write color buffers On Fixes some overly bright scenes.
Multithreaded RSX On Improves performance.
Asynchronous texture streaming On Improves performance depending on the GPU. Causes graphical issues without Read Depth Buffers enabled.

Advanced configuration

Setting Option Notes
Accurate RSX reservation access On Prevents random freezing/crashing while playing the game.
Read depth buffers On Fixes flickering. Required only if you are using Async Texture Streaming.
RSX FIFO accuracy Atomic Helps with stability.

Recommended patches

Game patches are available through the RPCS3 Patch Manager. To enable them, right-click a game in RPCS3 then select "Manage Game Patches". Game Patches are created by RPCS3's community, and can alter how a game runs. More information can be found here.

Recommendation Patch name Notes
Highly recommended patch Disable SPU Post-processing, Disable Mesh Trimming, Enable GPU Lighting Improves performance and allows Resolution Scaling to work properly.
Recommended patch Disable Motion Blur, Skip Intro

Known Issues

There are no reported issues with this title.

Special Notes

  • Upscaling in this game can be quite GPU intensive. If you have a weak GPU (for example 1050, 1050ti, 1650 etc), it is recommended to play the game at default resolution scaling. Expect lower FPS if upscaling above 100% on such GPUs.
  • White boxes will appear on the screen if the patch Disable SPU Post-processing is enabled and resolution scale is left at 100%. Only use the patch if you're upscaling.

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 N/A No No No No Not available

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_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)

  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)

  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 ]