Metal Gear Solid 4: Guns of the Patriots: Difference between revisions

From RPCS3 Wiki
m (Text replacement - "|anisotropic filter = <!-- Automatic, Disabled, 2x, 4x, 8x, 16x --> |anisotropic filter notes = " to "|anisotropic filter = <!-- Auto, 2x, 4x, 8x, 16x --> |anisotropic filter notes = ")
(130 intermediate revisions by 25 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:MGS4.jpg}}|300px]]
|developer = Kojima Productions
|developer = Kojima Productions
|publisher = Konami
|publisher = Konami
Line 7: Line 8:
|genre    = Action, Adventure, Stealth
|genre    = Action, Adventure, Stealth
|modes    = Single-player<!-- Choose all relevant options: Single-player, Co-op, Multiplayer -->
|modes    = Single-player<!-- Choose all relevant options: Single-player, Co-op, Multiplayer -->
|gameid    = {{gameid|id=BLES00246, BLJM67001, BLUS30109, NPEB02182, NPUB31633|ird=Yes}}<br>'''''Demo'''''<br>{{gameid|id=NPEB90116, NPJB90149, NPUB90176|ird=NA}}
|gameid    = {{gameid|id=BLES00246, BLUS30109, BLJM67001, NPEB02182, NPUB31633|ird=Yes}}, {{gameid|oid=BLAS55002, BLAS55004, NPJB00698|ird=No}}<br>'''''Demo'''''<br>{{gameid|id=NPEB90116, NPUB90176, NPJB90149, NPHB00065, NPHB00067|ird=NA}}<br>'''''Database'''''<br>{{gameid|id=NPEB00027, NPUB90126, NPJB90113|ird=NA}}
|wikipedia = <!-- delete if not applicable -->
|internal resolution = 1024x768
|vndb      = <!-- delete if not applicable -->
|title    = <!-- Used only in niche scenarios. Delete if not applicable -->
}}
}}


<!-- Give a brief description about the game -->
'''''Metal Gear Solid 4: Guns of the Patriots''''' is the sixth Metal Gear game directed by Hideo Kojima and is set five years after the events of [[Metal Gear Solid 2: Sons of Liberty - HD Edition|Metal Gear Solid 2: Sons of Liberty]], the story centers around a prematurely aged ''Solid Snake'', now known as ''Old Snake'', as he goes on one last mission to assassinate his nemesis ''Liquid Snake'', who now inhabits the body of his former henchman ''Revolver Ocelot'' under the guise of ''Liquid Ocelot'', before he takes control of the ''Sons of the Patriots'', an A.I. system that controls the activities of PMCs worldwide. The game received universal acclaim, garnering perfect reviews and Game of the Year awards from several major gaming publications, including GameSpot, which claimed that the game was "technically flawless". The game has been considered one of the best games of the seventh generation of console gaming and among the greatest of all time. Its release caused a boost in sales of the PlayStation 3, where it sold over six million copies worldwide.


==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), LLVM Recompiler -->
|ppu decoder                           = <!-- Interpreter (static), Interpreter (dynamic), Recompiler (LLVM) -->
|ppu decoder notes                   =  
|ppu decoder notes                     =  
|spu decoder                         = <!-- Interpreter (precise), Interpreter (fast), ASMJIT Recompiler, LLVM Recompiler -->
|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 -->
|enable spu loop detection             = <!-- On, Off -->
|lower spu thread priority notes    =  
|enable spu loop detection notes       =  
|enable spu loop detection           = <!-- On, Off -->
|spu xfloat accuracy                  = <!-- Accurate, Approximate, Relaxed -->
|enable spu loop detection notes     =  
|spu xfloat accuracy notes             =  
|spu cache                          = <!-- On, Off -->
|spu block size                       = <!-- Safe, Mega, Giga -->
|spu cache notes                    =
|spu block size notes                 =  
|accurate xfloat                    = <!-- On, Off -->
|tsx instructions                     = <!-- Enabled, Disabled, Forced -->
|accurate xfloat notes               =  
|tsx instructions notes               =  
|spu block size                     = <!-- Safe, Mega, Giga -->
|spu block size notes               =  
|tsx instructions                   = <!-- Enabled, Disabled, Forced -->
|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                           = 60<!-- Off, 50, 60, 30, Auto, PS3 Native, Infinite -->
|framelimit notes                   =  
|framelimit notes                     = Cutscenes, specifically pre-recorded cutscenes, are difficult to skip if the FPS is too high. When pausing to skip a cutscene it unpauses very quickly on its own. Capping the FPS to 60 fixes this issue.
|anisotropic filter                 = <!-- Auto, 2x, 4x, 8x, 16x -->
|anisotropic filter                   = <!-- Auto, 2x, 4x, 8x, 16x -->
|anisotropic filter notes           =  
|anisotropic filter notes             =  
|anti-aliasing                       = <!-- Auto, Disabled -->
|anti-aliasing                         = <!-- Auto, Disabled -->
|anti-aliasing notes                 =  
|anti-aliasing notes                   =
|default resolution                 = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|zcull accuracy                        = Relaxed<!-- Precise, Approximate, Relaxed -->
|default resolution notes           =  
|zcull accuracy notes                  = Improves performance.
|resolution scale                   = <!-- Value between 50% to 800% -->
|default resolution                   = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|resolution scale notes             =  
|default resolution notes             =  
|resolution scale threshold         = <!-- Value between 1 to 1024 in the format 16 x 16 -->
|resolution scale                     = <!-- Value between 50% to 800% -->
|resolution scale threshold notes   =  
|resolution scale notes               =  
|write color buffers                 = <!-- On, Off -->
|resolution scale threshold           = <!-- Value between 1 to 1024 in the format 16 x 16 -->
|write color buffers notes           =  
|resolution scale threshold notes     =
|strict rendering mode               = <!-- On, Off -->
|shader mode                          = <!-- Legacy (singlethreaded), Async (multithreaded), Async with Shader Interpreter, Shader Interpreter only -->
|strict rendering mode notes         =  
|shader mode notes                    =  
|vsync                               = <!-- On, Off -->
|write color buffers                   = On<!-- On, Off -->
|vsync notes                         =  
|write color buffers notes             = Fixes bright scenes while in-game, but expect a small performance hit.
|stretch to display area             = <!-- On, Off -->
|strict rendering mode                 = <!-- On, Off -->
|stretch to display area notes       =
|strict rendering mode notes           =  
|disable vertex cache                = <!-- On, Off -->
|vsync                                 = <!-- On, Off -->
|disable vertex cache notes          =  
|vsync notes                           =  
|multithreaded rsx                   = <!-- On, Off -->
|stretch to display area               = <!-- On, Off -->
|multithreaded rsx notes             =  
|stretch to display area notes         =  
|disable async shader compiler      = <!-- On, Off -->
|multithreaded rsx                     = <!-- On, Off -->
|disable async shader compiler notes =  
|multithreaded rsx notes               =  
|asynchronous texture streaming        = <!-- On, Off -->
|asynchronous texture streaming notes =  
<!-- Audio configuration -->
<!-- Audio configuration -->
|audio out windows                   = <!-- XAudio2, OpenAL -->
|audio out windows                     = <!-- Cubeb, XAudio2, Disabled -->
|audio out windows notes             =  
|audio out windows notes               =  
|audio out linux                     = <!-- OpenAL, PulseAudio, ALSA -->
|audio out linux                       = <!-- Cubeb, FAudio, Disabled -->
|audio out linux notes               =  
|audio out linux notes                 =  
|dump to file                        = <!-- On, Off -->
|audio format                          = <!-- Stereo, Surround 5.1, Surround 7.1, Automatic, Manual -->
|dump to file notes                 =  
|audio format notes                   =  
|convert to 16-bit                  = <!-- On, Off -->
|dump to file                          = <!-- On, Off -->
|convert to 16-bit notes             =  
|dump to file notes                   =  
|downmix to stereo                  = <!-- On, Off -->
|convert to 16-bit                    = <!-- On, Off -->
|downmix to stereo notes             =  
|convert to 16-bit notes               =  
|volume                             = <!-- Value between 0% to 200% -->
|volume                               = <!-- Value between 0% to 200% -->
|volume notes                       =  
|volume notes                         =  
|enable buffering                   = <!-- On, Off -->
|enable buffering                     = <!-- On, Off -->
|enable buffering notes             =  
|enable buffering notes               =  
|audio buffer duration               = <!-- Value between 20ms to 250ms -->
|audio buffer duration                 = <!-- Value between 20ms to 250ms -->
|audio buffer duration notes         =  
|audio buffer duration notes           =  
|enable time stretching             = <!-- On, Off -->
|enable time stretching               = <!-- On, Off -->
|enable time stretching notes       =  
|enable time stretching notes         =  
|time stretching threshold           = <!-- Value between 0% to 100% -->
|time stretching threshold             = <!-- Value between 0% to 100% -->
|time stretching threshold notes     =  
|time stretching threshold notes       =  
|microphone type                     = <!-- Disabled, Standard, SingStar, Real SingStar, Rocksmith -->
|microphone type                       = <!-- Disabled, Standard, SingStar, Real SingStar, Rocksmith -->
|microphone type notes               =  
|microphone type notes                 =  
<!-- I/O configuration -->
<!-- I/O configuration -->
|keyboard handler                   = <!-- Null, Basic -->
|keyboard handler                     = <!-- Null, Basic -->
|keyboard handler notes             =  
|keyboard handler notes               =  
|mouse handler                       = <!-- Null, Basic -->
|mouse handler                         = <!-- Null, Basic -->
|mouse handler notes                 =  
|mouse handler notes                   =  
|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 -->
|debug console mode notes           =  
|debug console mode notes             =
|silence all logs                   = <!-- On, Off -->
|accurate llvm dfma                    = <!-- On, Off -->
|silence all logs notes             =  
|accurate llvm dfma notes              =
|sleep timers accuracy               = <!-- As Host, Usleep Only, All Timers -->
|accurate rsx reservation access      = On<!-- On, Off -->
|sleep timers accuracy notes         =  
|accurate rsx reservation access notes = Improves performance, and should help with stability.
|maximum spurs threads               = <!-- Unlimited, Single digit between 0 to 5 (e.g. 3) -->
|ppu llvm accurate vector nans        = <!-- On, Off -->
|maximum spurs threads notes         =  
|ppu llvm accurate vector nans notes  =  
|firmware settings                  = <!-- 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 -->
|silence all logs                     = <!-- On, Off -->
|firmware settings notes             = <!-- Where libraries are manually selected, mention the list of libraries to be selected here -->
|silence all logs notes               =  
|read depth buffers                 = <!-- On, Off -->
|sleep timers accuracy                 = <!-- As Host, Usleep Only, All Timers -->
|read depth buffers notes           =  
|sleep timers accuracy notes           =  
|write depth buffers                 = <!-- On, Off -->
|maximum spurs threads                 = <!-- Unlimited, Single digit between 0 to 5 (e.g. 3) -->
|write depth buffers notes           =  
|maximum spurs threads notes           =  
|read color buffers                 = <!-- On, Off -->
|firmware libraries                    = Switch to LLE<!-- Switch to LLE, Switch to HLE -->
|read color buffers notes           =  
|firmware libraries notes             = libvdec (required to properly play FMV cutscenes)<!-- Mention the libraries to be manually selected here -->
|disable on-disk shader cache       = <!-- On, Off -->
|read depth buffers                   = <!-- On, Off -->
|disable on-disk shader cache notes =  
|read depth buffers notes             =
|relaxed zcull sync                  = <!-- On, Off -->
|rsx fifo accuracy                    = Atomic<!-- Fast, Atomic, Ordered & Atomic -->
|relaxed zcull sync notes           =  
|rsx fifo accuracy notes              = Helps with stability, eliminates RSX violation crashes.
|driver wake-up delay               = <!-- Value between 0 to 7000 -->
|write depth buffers                   = <!-- On, Off -->
|driver wake-up delay notes         =  
|write depth buffers notes             =  
|vblank rate                         = <!-- Value between 1 to 500 -->
|read color buffers                   = <!-- On, Off -->
|vblank rate notes                   =  
|read color buffers notes             =  
|clocks scale                       = <!-- Value between 10 to 1000 -->
|disable on-disk shader cache         = <!-- On, Off -->
|clocks scale notes                 =  
|disable on-disk shader cache notes   =  
|disable native float16 support        = <!-- On, Off -->
|disable native float16 support notes =  
|driver wake-up delay                 = <!-- Value between 0 to 7000 -->
|driver wake-up delay notes           =
|vblank rate                           = <!-- Value between 1 to 500 -->
|vblank rate notes                     =  
|clocks scale                         = <!-- Value between 10 to 1000 -->
|clocks scale notes                   =  
<!-- Debug configuration -->
<!-- Debug configuration -->
|force cpu blit emulation           = <!-- On, Off -->
|disable zcull occlusion queries      = <!-- On, Off -->
|force cpu blit emulation notes     =  
|disable zcull occlusion queries notes =
|use gpu texture scaling            = <!-- On, Off -->
|force cpu blit emulation             = <!-- On, Off -->
|use gpu texture scaling notes      =  
|force cpu blit emulation notes       =  
|accurate getllar                    = <!-- On, Off -->
|force gpu texture scaling            = <!-- On, Off -->
|accurate getllar notes             =  
|force gpu texture scaling notes      =  
|accurate putlluc                    = <!-- On, Off -->
|hook static functions                = <!-- On, Off -->
|accurate putlluc notes              =  
|hook static functions notes           =  
|hook static functions              = <!-- On, Off -->
|accurate ppu 128 reservations        = <!-- Always Enabled, Disabled, Value between 1 to 8 -->
|hook static functions notes         =  
|accurate ppu 128 reservations notes  =
|ppu thread count                      = <!-- Value between 1 to 8 -->
|ppu thread count notes               =
<!-- Recommended patches -->
|highly recommended patch             = <!-- Mention patch names -->
|highly recommended patch notes        =  
|recommended patch                    = Unlock FPS<!-- Mention patch names -->
|recommended patch notes               = Unlocks the FPS + can offer better FPS.
}}
}}


==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." -->
- Freezes/softlocks
===Freezes/softlocks===
The game is very unstable and will frequently crash within seconds even when using SPU LLVM & Accurate Xfloat Off. The most stable settings are currently ASMJIT Recompiler under SPU, though you'll get no sound and reduced performance.
*The game is very unstable and will frequently crash within seconds without a special patch outlined in the Special Notes section below.


- No audio
===Precompilation Bug===
When using anything other than SPU LLVM Recompiler and Accurate Xfloat OFF, the game will have no/some sound only.
* {{issue|12320}}: Initial release versions of the game (1.00) updated to 2.00 will ignore precompiled modules. It's recommended to disable PPU/SPU LLVM Precompilation in Advanced Tab to avoid this and just play the game, it'll compile in each loading screen throughout the game. Digital, 25th Anniversary and Legacy Collection versions of the game aren't affected by this.


===Missing audio===
*{{issue|10148}}: To fix this problem, the solution is to downgrade RPCS3 to [https://github.com/RPCS3/rpcs3-binaries-win/releases/download/build-95725bf7fcce4ae46c75c89fb093bc36d6e34f96/rpcs3-v0.0.15-12054-95725bf7_win64.7z this version] by copy pasting the contents of the archive to your current RPCS3 folder. After downgrading, delete the gamedata folder for the game (/dev_hdd0/game/YOURGAMESERIALHERE), relaunch the game, let it reinstall the gamedata, then finally when that's finished, close the game and update RPCS3 back to the latest version.
===Missing character models throughout the game ===
*If some character models start to disappear in certain parts of the early-game, this can be resolved by setting the SPU Xfloat accuracy to Accurate, but this will greatly hurt performance and audio, do not use this setting unless absolutely required


==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 -->
* Be sure to enable the following Canary patches: '''cellSpurs urgent commands hack''' (mitigates freezes), '''Crash fix''' (addresses crashes related to error code 0x68). Canary patches like these need to be added manually then enabled via RPCS3's patch manager. You'll find instructions on how to apply canary patches [https://wiki.rpcs3.net/index.php?title=Help:Game_Patches#Manually_adding_custom_patches here]. Note that the cellSpurs patch is only compatible with PS3 Firmware versions 4.87 to 4.91. There's also a canary patch '''Flickering textures fix''', consider enabling this too if you're experiencing this issue. Though it should be noted that this particular patch is known to cause crashes for some users, if you're experiencing them avoid using it.
* Previously we recommended adjusting VBlank to improve performance in this game, you no longer have to do that. Now you can simply enable the '''Unlock FPS''' patch in patch manager to get the same outcome.
=== Workaround for non-PlayStation controllers ===
The game has a segment requiring use of the SIXAXIS tilt functionality, which is currently only usable with actual PlayStation controllers. You may be able to work around this on a non-PlayStation controller, such as an Xbox controller, by moving the right analog stick in circles when the game tells you to tilt/shake the controller.
{{netplay
|gamever        = 2.00
|rpcs3 version  = 0.0.31-16237
|connect        = Yes<!-- Yes, No, Partial, Untested, N/A -->
|lobbies        = N/A<!-- Yes, No, Partial, Untested, N/A -->
|match          = N/A<!-- Yes, No, Partial, Untested, N/A -->
|features      = Yes<!-- Yes, No, Partial, Untested, N/A -->
|custom servers = Available<!-- Available, Not available, Not required, Untested -->
|notes          = Set DNS to '''142.171.43.167'''
}}
{{patch
|type    = PPU
|version = 1.2
|content =
Anchors:
  MGS4_Widescreen_Notes: &MGS4_Widescreen_Notes
    "Requires \"Stretch To Display Area\" checked in the GPU settings. The interface will be stretched and cutscenes will use the standard field of view."
  MGS4_Widescreen_NotesEx: &MGS4_Widescreen_NotesEx
    "Requires \"Stretch To Display Area\" checked in the GPU settings. The interface will be stretched and cutscenes will use an increased field of view which may cause visual bugs."
  MGS4_Disableshadows_Notes: &MGS4_Disableshadows_Notes
    "Can give a significant performance boost."
  MGS4_Removefog_Notes: &MGS4_Removefog_Notes
    "Does not provide any performance benefit."
  MGS4_Reducestagequality_Notes: &MGS4_Reducestagequality_Notes
    "Removes some transparency related effects from stages. Provides a small performance boost, but causes monitor visuals to break in-game."
  MGS4_RemoveHUD_Notes: &MGS4_RemoveHUD_Notes
    "Removes the ingame HUD. Useful for videos and screenshots."
  MGS4_RemoveEffects_Notes: &MGS4_RemoveEffects_Notes
    "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
  MGS4_FPS_Notes: &MGS4_FPS_Notes
    "Allows you to play the game at 60 FPS or higher without modifying the vblank frequency."
  MGS4_DisableFilters_Notes: &MGS4_DisableFilters_Notes
    "Removes all viewport filters including color grading and the night vision goggles effect."
  mgs4_us_disc200title: &mgs4_us_disc200title
    "Metal Gear Solid 4: Guns of the Patriots":
      BLUS30109: [ 02.00 ]
  mgs4_eu_disc200title: &mgs4_eu_disc200title
    "Metal Gear Solid 4: Guns of the Patriots":
      BLES00246: [ 02.00 ]
  mgs4_us_psn200title: &mgs4_us_psn200title
    "Metal Gear Solid 4: Guns of the Patriots":
      NPUB31633: [ 02.00 ]
  mgs4_eu_psn200title: &mgs4_eu_psn200title
    "Metal Gear Solid 4: Guns of the Patriots":
      NPEB02182: [ 02.00 ]
  mgs4_219AR_v200_disc: &mgs4_219AR_v200_disc
    - [ be32, 0x003d426c, 0x3ff0a3d7 ]
    - [ be32, 0x003d4274, 0xbff0a3d7 ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3fa3126f ]
  mgs4_219AR_v200_psn: &mgs4_219AR_v200_psn
    - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
    - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3fa3126f ]
  mgs4_219ARC_v200_disc: &mgs4_219ARC_v200_disc
    - [ be32, 0x003d426c, 0x3ff0a3d7 ]
    - [ be32, 0x003d4274, 0xbff0a3d7 ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x000f1b6c, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3fa3126f ]
  mgs4_219ARC_v200_psn: &mgs4_219ARC_v200_psn
    - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
    - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x000f042c, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3fa3126f ]
  mgs4_329AR_v200_disc: &mgs4_329AR_v200_disc
    - [ be32, 0x003d426c, 0x4039999a ]
    - [ be32, 0x003d4274, 0xc039999a ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3f52b021 ]
  mgs4_329AR_v200_psn: &mgs4_329AR_v200_psn
    - [ be32, 0x003c3edc, 0x4039999a ]
    - [ be32, 0x003c3ee4, 0xc039999a ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3f52b021 ]
  mgs4_329ARC_v200_disc: &mgs4_329ARC_v200_disc
    - [ be32, 0x003d426c, 0x4039999a ]
    - [ be32, 0x003d4274, 0xc039999a ]
    - [ be32, 0x000f1230, 0xc1be8040 ]
    - [ be32, 0x000f1b6c, 0xc1be8040 ]
    - [ be32, 0x003d4020, 0x3f52b021 ]
  mgs4_329ARC_v200_psn: &mgs4_329ARC_v200_psn
    - [ be32, 0x003c3edc, 0x4039999a ]
    - [ be32, 0x003c3ee4, 0xc039999a ]
    - [ be32, 0x000efaf0, 0xc1be8040 ]
    - [ be32, 0x000f042c, 0xc1be8040 ]
    - [ be32, 0x003c3c90, 0x3f52b021 ]
  mgs4_maxcamo_v200_disc: &mgs4_maxcamo_v200_disc
    - [ be32, 0x00076564, 0x38000064 ]
    - [ be32, 0x00076568, 0x38600064 ]
    - [ be32, 0x000765b4, 0x3ba00064 ]
  mgs4_rstagequality_v200_disc: &mgs4_rstagequality_v200_disc
    - [ be32, 0x000fa7ec, 0x4e800020 ]
    - [ be32, 0x0010faec, 0x4e800020 ]
  mgs4_rstagequality_v200_psn: &mgs4_rstagequality_v200_psn
    - [ be32, 0x000f90ac, 0x4e800020 ]
    - [ be32, 0x0010e3ac, 0x4e800020 ]
  mgs4_dshadows_v200_disc: &mgs4_dshadows_v200_disc
    - [ be32, 0x00132354, 0x4e800020 ]
  mgs4_dshadows_v200_psn: &mgs4_dshadows_v200_psn
    - [ be32, 0x00130bf4, 0x4e800020 ]
  mgs4_dfog_v200_disc: &mgs4_dfog_v200_disc
    - [ be32, 0x000eaa08, 0x4e800020 ]
  mgs4_dfog_v200_psn: &mgs4_dfog_v200_psn
    - [ be32, 0x000e92c8, 0x4e800020 ]
  mgs4_dhud_v200_disc: &mgs4_dhud_v200_disc
    - [ be32, 0x000f0410, 0x60000000 ]
  mgs4_dhud_v200_psn: &mgs4_dhud_v200_psn
    - [ be32, 0x000eecd0, 0x60000000 ]
  mgs4_dspawnedeffects_v200_disc: &mgs4_dspawnedeffects_v200_disc
    - [ be32, 0x0012bcfc, 0x2b8a0004 ]
  mgs4_dspawnedeffects_v200_psn: &mgs4_dspawnedeffects_v200_psn
    - [ be32, 0x0012a59c, 0x2b8a0004 ]
  mgs4_dfilters_v200_disc: &mgs4_dfilters_v200_disc
    - [ be32, 0xf0458, 0x60000000 ]
  mgs4_unlockfps_v200_disc: &mgs4_unlockfps_v200_disc
    - [ be32, 0x000db720, 0x4e800020 ]
  mgs4_unlockfps_v200_psn: &mgs4_unlockfps_v200_psn
    - [ be32, 0x000d9fe0, 0x4e800020 ]
  mgs4_infiniteammo_v200_disc: &mgs4_infiniteammo_v200_disc
    - [ be32, 0x0008c578, 0x60000000 ]
  mgs4_noreload_v200_disc: &mgs4_noreload_v200_disc
    - [ be32, 0x0008c4dc, 0x7d004378 ]
PPU-9712144d93487f0b62e39f55e175af783b58af72:
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 01.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001358b8, 0x4e800020 ]
PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "21:9 Aspect Ratio":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_disc ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_disc ]
  "32:9 Aspect Ratio":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_disc ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_disc ]
  "Disable shadows":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_disc ]
  "Remove fog":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_disc ]
  "Reduce stage quality":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_disc ]
  "Disable HUD":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_disc ]
  "Disable spawned effects":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_disc ]
  "Unlock FPS":
    Games: *mgs4_us_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_disc ]
  "Infinite Ammo":
    Games: *mgs4_us_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_disc ]
  "No Reload":
    Games: *mgs4_us_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_disc ]
  "Max Camo":
    Games: *mgs4_us_disc200title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_disc ]
  "Disable Filters":
    Games: *mgs4_us_disc200title
    Author: TriggerHappy
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_disc ]
PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "21:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]
PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "21:9 Aspect Ratio":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_disc ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_disc ]
  "32:9 Aspect Ratio":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_disc ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_disc ]
  "Disable shadows":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_disc ]
  "Remove fog":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_disc ]
  "Reduce stage quality":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_disc ]
  "Disable HUD":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_disc ]
  "Disable spawned effects":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_disc ]
  "Unlock FPS":
    Games: *mgs4_eu_disc200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_disc ]
  "Infinite Ammo":
    Games: *mgs4_eu_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_infiniteammo_v200_disc ]
  "No Reload":
    Games: *mgs4_eu_disc200title
    Author: "games24.blog.fc2.com"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_noreload_v200_disc ]
  "Max Camo":
    Games: *mgs4_eu_disc200title
    Author: "dron_3"
    Notes:
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_maxcamo_v200_disc ]
  "Disable Filters":
    Games: *mgs4_eu_disc200title
    Author: TriggerHappy
    Notes: *MGS4_DisableFilters_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfilters_v200_disc ]
PPU-6886ae8f4270fe3fa4c7cf4299307044ad4ce989:
  "21:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]
OVL-a86de0a3c096dc8299a8b8a50b8feb6fa1e1d2ea:
  "Disable snow effect":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes the heavy snow effect on the Shadow Moses stage."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x302a1400, 0x4e800020 ]
}}
{{patch
|type    = Canary
|version = 1.2
|content =
Anchors:
  MGS4_All_Games: &MGS4_All_Games
    "Metal Gear Solid 4: Guns of the Patriots":
      BLES00246: [ All ]
      BLUS30109: [ All ]
      BLJM67001: [ All ]
      NPUB31633: [ All ]
      NPEB02182: [ All ]
      NPJB00698: [ All ]
  MGS4_CrashWorkaround_Notes: &MGS4_CrashWorkaround_Notes
    "Workaround for 0x68 crash."
  MGS4_FlickerWorkaround_Notes: &MGS4_FlickerWorkaround_Notes
    "Workaround for flickering ground textures."
  MGS4_SpursHack_Notes_1: &MGS4_SpursHack_Notes_1
    "Workaround for freezes in Metal Gear Solid 4.\nThis patch applies to a firmware file for all games!\nUsage outside of Metal Gear Solid 4 is for debug purposes only.\nYou must have firmware version "
  MGS4_SpursHack_Notes_2: &MGS4_SpursHack_Notes_2
    " in order to use it.\n\nKnown to affect:\n Metal Gear Solid 4"
PRX-rbYkgZMgx8Prd7WUAA39oYAdWcNo-0:
  "cellSpurs urgent commands hack - 4.87":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.87", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]
PRX-oM7itnHHZPcaVx6KRGhZcv0o4gJj-0:
  "cellSpurs urgent commands hack - 4.88":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.88", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]
PRX-WHnKAK6U9UApL2YMgjU3c5ozpTUM-0:
  "cellSpurs urgent commands hack - 4.89":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.89", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]
PRX-8bLHVe7P8raRkpC7kUiH9os9vU4s-0:
  "cellSpurs urgent commands hack - 4.90":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.90", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000181ac, 0x38000002 ]
PRX-j2763QiCPH9PyZRxoHtyUyZykTaw-0:
  "cellSpurs urgent commands hack - 4.91":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.91", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]
PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001409f8, 0x60000000 ]
      - [ be32, 0x00140a10, 0x60000000 ]
      - [ be32, 0x00140a44, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaac8, 0x60003000 ]
PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001409f8, 0x60000000 ]
      - [ be32, 0x00140a10, 0x60000000 ]
      - [ be32, 0x00140a44, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaac8, 0x60003000 ]
PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013f298, 0x60000000 ]
      - [ be32, 0x0013f2b0, 0x60000000 ]
      - [ be32, 0x0013f2e4, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e9388, 0x60003000 ]
PPU-6886ae8f4270fe3fa4c7cf4299307044ad4ce989:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPEB02182: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013f298, 0x60000000 ]
      - [ be32, 0x0013f2b0, 0x60000000 ]
      - [ be32, 0x0013f2e4, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPEB02182: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e9388, 0x60003000 ]
}}

Revision as of 10:12, 5 May 2024

Metal Gear Solid 4: Guns of the Patriots
MGS4.jpg
Developer(s) Kojima Productions
Publisher(s) Konami
Series Metal Gear
Release date(s) June 12, 2008
Release type PlayStation 3 exclusive
Genre(s) Action, Adventure, Stealth
Mode(s) Single-player
GameID(s) BLES00246 (IRD), BLUS30109 (IRD), BLJM67001 (IRD), NPEB02182, NPUB31633, BLAS55002, BLAS55004, NPJB00698
Demo
NPEB90116, NPUB90176, NPJB90149, NPHB00065, NPHB00067
Database
NPEB00027, NPUB90126, NPJB90113
Internal resolution 1024x768
Quick links Check Compatibility
Open Issues
Search Google
Wikipedia Page

Metal Gear Solid 4: Guns of the Patriots is the sixth Metal Gear game directed by Hideo Kojima and is set five years after the events of Metal Gear Solid 2: Sons of Liberty, the story centers around a prematurely aged Solid Snake, now known as Old Snake, as he goes on one last mission to assassinate his nemesis Liquid Snake, who now inhabits the body of his former henchman Revolver Ocelot under the guise of Liquid Ocelot, before he takes control of the Sons of the Patriots, an A.I. system that controls the activities of PMCs worldwide. The game received universal acclaim, garnering perfect reviews and Game of the Year awards from several major gaming publications, including GameSpot, which claimed that the game was "technically flawless". The game has been considered one of the best games of the seventh generation of console gaming and among the greatest of all time. Its release caused a boost in sales of the PlayStation 3, where it sold over six million copies worldwide.

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
Framelimit 60 Cutscenes, specifically pre-recorded cutscenes, are difficult to skip if the FPS is too high. When pausing to skip a cutscene it unpauses very quickly on its own. Capping the FPS to 60 fixes this issue.
ZCULL accuracy Relaxed Improves performance.
Write color buffers On Fixes bright scenes while in-game, but expect a small performance hit.

Advanced configuration

Setting Option Notes
Accurate RSX reservation access On Improves performance, and should help with stability.
Firmware libraries Switch to LLE libvdec (required to properly play FMV cutscenes)
RSX FIFO accuracy Atomic Helps with stability, eliminates RSX violation crashes.

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
Recommended patch Unlock FPS Unlocks the FPS + can offer better FPS.

Known Issues

Freezes/softlocks

  • The game is very unstable and will frequently crash within seconds without a special patch outlined in the Special Notes section below.

Precompilation Bug

  • Issue 12320: Initial release versions of the game (1.00) updated to 2.00 will ignore precompiled modules. It's recommended to disable PPU/SPU LLVM Precompilation in Advanced Tab to avoid this and just play the game, it'll compile in each loading screen throughout the game. Digital, 25th Anniversary and Legacy Collection versions of the game aren't affected by this.

Missing audio

  • Issue 10148: To fix this problem, the solution is to downgrade RPCS3 to this version by copy pasting the contents of the archive to your current RPCS3 folder. After downgrading, delete the gamedata folder for the game (/dev_hdd0/game/YOURGAMESERIALHERE), relaunch the game, let it reinstall the gamedata, then finally when that's finished, close the game and update RPCS3 back to the latest version.

Missing character models throughout the game

  • If some character models start to disappear in certain parts of the early-game, this can be resolved by setting the SPU Xfloat accuracy to Accurate, but this will greatly hurt performance and audio, do not use this setting unless absolutely required

Special Notes

  • Be sure to enable the following Canary patches: cellSpurs urgent commands hack (mitigates freezes), Crash fix (addresses crashes related to error code 0x68). Canary patches like these need to be added manually then enabled via RPCS3's patch manager. You'll find instructions on how to apply canary patches here. Note that the cellSpurs patch is only compatible with PS3 Firmware versions 4.87 to 4.91. There's also a canary patch Flickering textures fix, consider enabling this too if you're experiencing this issue. Though it should be noted that this particular patch is known to cause crashes for some users, if you're experiencing them avoid using it.
  • Previously we recommended adjusting VBlank to improve performance in this game, you no longer have to do that. Now you can simply enable the Unlock FPS patch in patch manager to get the same outcome.

Workaround for non-PlayStation controllers

The game has a segment requiring use of the SIXAXIS tilt functionality, which is currently only usable with actual PlayStation controllers. You may be able to work around this on a non-PlayStation controller, such as an Xbox controller, by moving the right analog stick in circles when the game tells you to tilt/shake the controller.

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
2.00 0.0.31-16237 Yes N/A N/A Yes Available Set DNS to 142.171.43.167

Patches

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "21:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_us_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]

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

PPU-6886ae8f4270fe3fa4c7cf4299307044ad4ce989:
  "21:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219AR_v200_psn ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_219ARC_v200_psn ]
  "32:9 Aspect Ratio":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329AR_v200_psn ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Group: AR
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_329ARC_v200_psn ]
  "Disable shadows":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Disableshadows_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dshadows_v200_psn ]
  "Remove fog":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Removefog_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dfog_v200_psn ]
  "Reduce stage quality":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_Reducestagequality_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_rstagequality_v200_psn ]
  "Disable HUD":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveHUD_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dhud_v200_psn ]
  "Disable spawned effects":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_RemoveEffects_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_dspawnedeffects_v200_psn ]
  "Unlock FPS":
    Games: *mgs4_eu_psn200title
    Author: "TriggerHappy"
    Notes: *MGS4_FPS_Notes
    Patch Version: 1.0
    Patch:
      - [ load, *mgs4_unlockfps_v200_psn ]

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

Canary Patches

Anchors:
  MGS4_All_Games: &MGS4_All_Games
    "Metal Gear Solid 4: Guns of the Patriots":
      BLES00246: [ All ]
      BLUS30109: [ All ]
      BLJM67001: [ All ]
      NPUB31633: [ All ]
      NPEB02182: [ All ]
      NPJB00698: [ All ]

  MGS4_CrashWorkaround_Notes: &MGS4_CrashWorkaround_Notes
    "Workaround for 0x68 crash."

  MGS4_FlickerWorkaround_Notes: &MGS4_FlickerWorkaround_Notes
    "Workaround for flickering ground textures."

  MGS4_SpursHack_Notes_1: &MGS4_SpursHack_Notes_1
    "Workaround for freezes in Metal Gear Solid 4.\nThis patch applies to a firmware file for all games!\nUsage outside of Metal Gear Solid 4 is for debug purposes only.\nYou must have firmware version "
  MGS4_SpursHack_Notes_2: &MGS4_SpursHack_Notes_2
    " in order to use it.\n\nKnown to affect:\n Metal Gear Solid 4"

PRX-rbYkgZMgx8Prd7WUAA39oYAdWcNo-0:
  "cellSpurs urgent commands hack - 4.87":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.87", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PRX-oM7itnHHZPcaVx6KRGhZcv0o4gJj-0:
  "cellSpurs urgent commands hack - 4.88":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.88", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PRX-WHnKAK6U9UApL2YMgjU3c5ozpTUM-0:
  "cellSpurs urgent commands hack - 4.89":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.89", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PRX-8bLHVe7P8raRkpC7kUiH9os9vU4s-0:
  "cellSpurs urgent commands hack - 4.90":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.90", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000181ac, 0x38000002 ]

PRX-j2763QiCPH9PyZRxoHtyUyZykTaw-0:
  "cellSpurs urgent commands hack - 4.91":
    Games: *MGS4_All_Games
    Author: "elad335"
    Notes: [ *MGS4_SpursHack_Notes_1, "4.91", *MGS4_SpursHack_Notes_2 ]
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001409f8, 0x60000000 ]
      - [ be32, 0x00140a10, 0x60000000 ]
      - [ be32, 0x00140a44, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaac8, 0x60003000 ]

PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001409f8, 0x60000000 ]
      - [ be32, 0x00140a10, 0x60000000 ]
      - [ be32, 0x00140a44, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaac8, 0x60003000 ]

PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013f298, 0x60000000 ]
      - [ be32, 0x0013f2b0, 0x60000000 ]
      - [ be32, 0x0013f2e4, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e9388, 0x60003000 ]

PPU-6886ae8f4270fe3fa4c7cf4299307044ad4ce989:
  "Crash fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPEB02182: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_CrashWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0013f298, 0x60000000 ]
      - [ be32, 0x0013f2b0, 0x60000000 ]
      - [ be32, 0x0013f2e4, 0x60000000 ]
  "Flickering textures fix":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPEB02182: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_FlickerWorkaround_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e9388, 0x60003000 ]