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

From RPCS3 Wiki
No edit summary
m (Remove whitespace, make addresses 4 bytes, lowercase hex, fix typos)
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]]
|image    = [[File:{{#setmainimage:MGS4.jpg}}|300px]]
|developer = Kojima Productions
|developer = Kojima Productions
|publisher = Konami
|publisher = Konami
Line 11: Line 11:
}}
}}


'''''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.  
'''''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==
Line 41: Line 41:
|aspect ratio                          = <!-- 4:3, 16:9 -->
|aspect ratio                          = <!-- 4:3, 16:9 -->
|aspect ratio notes                    =  
|aspect ratio notes                    =  
|framelimit                            = 60 <!-- Off, 59.94, 50, 60, 30, Auto -->
|framelimit                            = 60<!-- Off, 59.94, 50, 60, 30, Auto -->
|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 will fix this issue.
|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                  =  
|zcull accuracy                        = Relaxed <!-- Precise, Approximate, Relaxed -->
|zcull accuracy                        = Relaxed<!-- Precise, Approximate, Relaxed -->
|zcull accuracy notes                  = Improves performance.
|zcull accuracy notes                  = Improves performance.
|default resolution                    = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|default resolution                    = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
Line 57: Line 57:
|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 bright scenes while in-game, expect a small performance hit.  
|write color buffers notes            = Fixes bright scenes while in-game, but expect a small performance hit.
|strict rendering mode                = <!-- On, Off -->
|strict rendering mode                = <!-- On, Off -->
|strict rendering mode notes          =  
|strict rendering mode notes          =  
Line 122: Line 122:
|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 libraries                    = Switch to LLE <!-- Switch to LLE, Switch to HLE -->
|firmware libraries                    = Switch to LLE<!-- Switch to LLE, Switch to HLE -->
|firmware libraries notes              = libvdec (required to properly play FMV cutscenes) <!-- Mention the libraries to be manually selected here -->
|firmware libraries notes              = libvdec (required to properly play FMV cutscenes)<!-- Mention the libraries to be manually selected here -->
|read depth buffers                    = <!-- On, Off -->
|read depth buffers                    = <!-- On, Off -->
|read depth buffers notes              =  
|read depth buffers notes              =  
|rsx fifo accuracy                    = Atomic <!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy                    = Atomic<!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy notes              = Helps with stability, eliminates RSX violation crashes.
|rsx fifo accuracy notes              = Helps with stability, eliminates RSX violation crashes.
|write depth buffers                  = <!-- On, Off -->
|write depth buffers                  = <!-- On, Off -->
Line 138: Line 138:
|driver wake-up delay                  = <!-- Value between 0 to 7000 -->
|driver wake-up delay                  = <!-- Value between 0 to 7000 -->
|driver wake-up delay notes            =
|driver wake-up delay notes            =
|vblank rate                          = 240 <!-- Value between 1 to 500 -->
|vblank rate                          = 240<!-- Value between 1 to 500 -->
|vblank rate notes                    = Improves performance. Maxing out the vblank slider in this game has no effect on game speed, feel free to experiment with the values. Going past 600hz tends to have negligible fps gains while increasing the rate of crashes, so best to not go past 600hz.  
|vblank rate notes                    = Improves performance. Maxing out the vblank slider in this game has no effect on game speed, feel free to experiment with the values. Going past 600Hz tends to have negligible FPS gains while increasing the rate of crashes, so best to not go past 600Hz.
|clocks scale                          = <!-- Value between 10 to 1000 -->
|clocks scale                          = <!-- Value between 10 to 1000 -->
|clocks scale notes                    =  
|clocks scale notes                    =  
Line 163: Line 163:
===Freezes/softlocks===
===Freezes/softlocks===
The game is very unstable and will frequently crash within seconds even when using SPU LLVM & Accurate Xfloat Off.
The game is very unstable and will frequently crash within seconds even when using SPU LLVM & Accurate Xfloat Off.
==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 -->
Line 175: Line 176:
|version = 1.2
|version = 1.2
|content =  
|content =  
Anchors:
Anchors:
   MGS4_Widescreen_Notes: &MGS4_Widescreen_Notes "Enable \"Stretch to Display Area\" option to take advantage of this patch. The interface will be stretched and cutscenes will use the standard field of view."
   MGS4_Widescreen_Notes: &MGS4_Widescreen_Notes "Enable \"Stretch to Display Area\" option to take advantage of this patch. The interface will be stretched and cutscenes will use the standard field of view."
Line 185: Line 185:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 01.00 ]
         BLUS30109: [ 01.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Disabling shadows can give a significant performance boost."
     Notes: "Can give a significant performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x1358B8, 0x4E800020 ]
       - [ be32, 0x001358b8, 0x4e800020 ]


PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
Line 196: Line 196:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x3FF0A3D7 ]
       - [ be32, 0x003d426c, 0x3ff0a3d7 ]
       - [ be32, 0x3D4274, 0xBFF0A3D7 ]
       - [ be32, 0x003d4274, 0xbff0a3d7 ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3FA3126F ]
       - [ be32, 0x003d4020, 0x3fa3126f ]
   "21:9 Aspect Ratio (Cutscenes)":
   "21:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x3FF0A3D7 ]
       - [ be32, 0x003d426c, 0x3ff0a3d7 ]
       - [ be32, 0x3D4274, 0xBFF0A3D7 ]
       - [ be32, 0x003d4274, 0xbff0a3d7 ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x0F1B6C, 0xC1BE8040 ]
       - [ be32, 0x000f1b6c, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3FA3126F ]
       - [ be32, 0x003d4020, 0x3fa3126f ]
   "32:9 Aspect Ratio":
   "32:9 Aspect Ratio":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x4039999A ]
       - [ be32, 0x003d426c, 0x4039999a ]
       - [ be32, 0x3D4274, 0xC039999A ]
       - [ be32, 0x003d4274, 0xc039999a ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3F52B021 ]
       - [ be32, 0x003d4020, 0x3f52b021 ]
   "32:9 Aspect Ratio (Cutscenes)":
   "32:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x4039999A ]
       - [ be32, 0x003d426c, 0x4039999a ]
       - [ be32, 0x3D4274, 0xC039999A ]
       - [ be32, 0x003d4274, 0xc039999a ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x0F1B6C, 0xC1BE8040 ]
       - [ be32, 0x000f1b6c, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3F52B021 ]
       - [ be32, 0x003d4020, 0x3f52b021 ]
   "Disable shadows":
   "Disable shadows":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Disabling shadows can give a significant performance boost."
     Notes: "Can give a significant performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x132354, 0x4E800020 ]
       - [ be32, 0x00132354, 0x4e800020 ]
   "Remove fog":
   "Remove fog":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Does not provide any performance benefit."
     Notes: "Does not provide any performance benefit."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xEAA08, 0x4E800020 ]
       - [ be32, 0x000eaa08, 0x4e800020 ]
   "Reduce stage quality":
   "Reduce stage quality":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xFA7EC, 0x4E800020 ]
       - [ be32, 0x000fa7ec, 0x4e800020 ]
       - [ be32, 0x10FAEC, 0x4E800020 ]
       - [ be32, 0x0010faec, 0x4e800020 ]
   "Disable HUD":
   "Disable HUD":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xF0410, 0x60000000 ]
       - [ be32, 0x000f0410, 0x60000000 ]
   "Disable spawned effects":
   "Disable spawned effects":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x12BCFC, 0x2B8A0004 ]
       - [ be32, 0x0012bcfc, 0x2b8a0004 ]
   "Unlock FPS":
   "Unlock FPS":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Allows you to play the game at 60fps or higher without modyfing the vblank frequency."
     Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xDB720, 0x4E800020 ]
       - [ be32, 0x000db720, 0x4e800020 ]


PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
Line 303: Line 303:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3C3EDC, 0x3FF0A3D7 ]
       - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
       - [ be32, 0x3C3EE4, 0xBFF0A3D7 ]
       - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
       - [ be32, 0x0EFAF0, 0xC1BE8040 ]
       - [ be32, 0x000efaf0, 0xc1be8040 ]
       - [ be32, 0x3C3C90, 0x3FA3126F ]
       - [ be32, 0x003c3c90, 0x3fa3126f ]
   "21:9 Aspect Ratio (Cutscenes)":
   "21:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3C3EDC, 0x3FF0A3D7 ]
       - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
       - [ be32, 0x3C3EE4, 0xBFF0A3D7 ]
       - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
       - [ be32, 0x0EFAF0, 0xC1BE8040 ]
       - [ be32, 0x000efaf0, 0xc1be8040 ]
       - [ be32, 0x0F042C, 0xC1BE8040 ]
       - [ be32, 0x000f042c, 0xc1be8040 ]
       - [ be32, 0x3C3C90, 0x3FA3126F ]
       - [ be32, 0x003c3c90, 0x3fa3126f ]
   "32:9 Aspect Ratio":
   "32:9 Aspect Ratio":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3C3EDC, 0x4039999A ]
       - [ be32, 0x003c3edc, 0x4039999a ]
       - [ be32, 0x3C3EE4, 0xC039999A ]
       - [ be32, 0x003c3ee4, 0xc039999a ]
       - [ be32, 0x0EFAF0, 0xC1BE8040 ]
       - [ be32, 0x000efaf0, 0xc1be8040 ]
       - [ be32, 0x3C3C90, 0x3F52B021 ]
       - [ be32, 0x003c3c90, 0x3f52b021 ]
   "32:9 Aspect Ratio (Cutscenes)":
   "32:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3C3EDC, 0x4039999A ]
       - [ be32, 0x003c3edc, 0x4039999a ]
       - [ be32, 0x3C3EE4, 0xC039999A ]
       - [ be32, 0x003c3ee4, 0xc039999a ]
       - [ be32, 0x0EFAF0, 0xC1BE8040 ]
       - [ be32, 0x000efaf0, 0xc1be8040 ]
       - [ be32, 0x0F042C, 0xC1BE8040 ]
       - [ be32, 0x000f042c, 0xc1be8040 ]
       - [ be32, 0x3C3C90, 0x3F52B021 ]
       - [ be32, 0x003c3c90, 0x3f52b021 ]
   "Disable shadows":
   "Disable shadows":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Disabling shadows can give a significant performance boost."
     Notes: "Disabling shadows can give a significant performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x130BF4, 0x4E800020 ]
       - [ be32, 0x00130bf4, 0x4e800020 ]
   "Remove fog":
   "Remove fog":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Does not provide any performance benefit."
     Notes: "Does not provide any performance benefit."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xE92C8, 0x4E800020 ]
       - [ be32, 0x000e92c8, 0x4e800020 ]
   "Reduce stage quality":
   "Reduce stage quality":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xF90AC, 0x4E800020 ]
       - [ be32, 0x000f90ac, 0x4e800020 ]
       - [ be32, 0x10E3AC, 0x4E800020 ]
       - [ be32, 0x0010e3ac, 0x4e800020 ]
   "Disable HUD":
   "Disable HUD":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xEECD0, 0x60000000 ]
       - [ be32, 0x000eecd0, 0x60000000 ]
   "Disable spawned effects":
   "Disable spawned effects":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x12A59C, 0x2B8A0004 ]
       - [ be32, 0x0012a59c, 0x2b8a0004 ]
   "Unlock FPS":
   "Unlock FPS":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Allows you to play the game at 60fps or higher without modyfing the vblank frequency."
     Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x000d9fe0, 0x4E800020 ]
       - [ be32, 0x000d9fe0, 0x4e800020 ]


PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
Line 410: Line 410:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x3FF0A3D7 ]
       - [ be32, 0x003d426c, 0x3ff0a3d7 ]
       - [ be32, 0x3D4274, 0xBFF0A3D7 ]
       - [ be32, 0x003d4274, 0xbff0a3d7 ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3FA3126F ]
       - [ be32, 0x003d4020, 0x3fa3126f ]
   "21:9 Aspect Ratio (Cutscenes)":
   "21:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x3FF0A3D7 ]
       - [ be32, 0x003d426c, 0x3ff0a3d7 ]
       - [ be32, 0x3D4274, 0xBFF0A3D7 ]
       - [ be32, 0x003d4274, 0xbff0a3d7 ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x0F1B6C, 0xC1BE8040 ]
       - [ be32, 0x000f1b6c, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3FA3126F ]
       - [ be32, 0x003d4020, 0x3fa3126f ]
   "32:9 Aspect Ratio":
   "32:9 Aspect Ratio":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_Notes
     Notes: *MGS4_Widescreen_Notes
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x4039999A ]
       - [ be32, 0x003d426c, 0x4039999a ]
       - [ be32, 0x3D4274, 0xC039999A ]
       - [ be32, 0x003d4274, 0xc039999a ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3F52B021 ]
       - [ be32, 0x003d4020, 0x3f52b021 ]
   "32:9 Aspect Ratio (Cutscenes)":
   "32:9 Aspect Ratio (Cutscenes)":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: *MGS4_Widescreen_NotesEx
     Notes: *MGS4_Widescreen_NotesEx
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x3D426C, 0x4039999A ]
       - [ be32, 0x003d426c, 0x4039999a ]
       - [ be32, 0x3D4274, 0xC039999A ]
       - [ be32, 0x003d4274, 0xc039999a ]
       - [ be32, 0x0F1230, 0xC1BE8040 ]
       - [ be32, 0x000f1230, 0xc1be8040 ]
       - [ be32, 0x0F1B6C, 0xC1BE8040 ]
       - [ be32, 0x000f1b6c, 0xc1be8040 ]
       - [ be32, 0x3D4020, 0x3F52B021 ]
       - [ be32, 0x003d4020, 0x3f52b021 ]
   "Disable shadows":
   "Disable shadows":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Disabling shadows can give a significant performance boost."
     Notes: "Disabling shadows can give a significant performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x132354, 0x4E800020 ]
       - [ be32, 0x00132354, 0x4e800020 ]
   "Remove fog":
   "Remove fog":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Does not provide any performance benefit."
     Notes: "Does not provide any performance benefit."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xEAA08, 0x4E800020 ]
       - [ be32, 0x000eaa08, 0x4e800020 ]
   "Reduce stage quality":
   "Reduce stage quality":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xFA7EC, 0x4E800020 ]
       - [ be32, 0x000fa7ec, 0x4e800020 ]
       - [ be32, 0x10FAEC, 0x4E800020 ]
       - [ be32, 0x0010faec, 0x4e800020 ]
   "Disable HUD":
   "Disable HUD":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Notes: "Removes the ingame HUD. Useful for videos and screenshots."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xF0410, 0x60000000 ]
       - [ be32, 0x000f0410, 0x60000000 ]
   "Disable spawned effects":
   "Disable spawned effects":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x12BCFC, 0x2B8A0004 ]
       - [ be32, 0x0012bcfc, 0x2b8a0004 ]
   "Unlock FPS":
   "Unlock FPS":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Allows you to play the game at 60fps or higher without modyfing the vblank frequency."
     Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0xDB720, 0x4E800020 ]
       - [ be32, 0x000db720, 0x4e800020 ]


OVL-a86de0a3c096dc8299a8b8a50b8feb6fa1e1d2ea:
OVL-a86de0a3c096dc8299a8b8a50b8feb6fa1e1d2ea:
Line 517: Line 517:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Removes the heavy snow effect on the shadow moses stage."
     Notes: "Removes the heavy snow effect on the shadow moses stage."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
          - [ be32, 0x302A1400, 0x4E800020 ]
      - [ be32, 0x302a1400, 0x4e800020 ]
}}
}}


Line 537: Line 537:
         NPUB31633: [ All ]
         NPUB31633: [ All ]
         NPEB02182: [ All ]
         NPEB02182: [ All ]
     Author: elad335
     Author: "elad335"
     Notes: "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 of exactly 4.87 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Notes: "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 of exactly 4.87 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x182B8, 0x38000002 ]
       - [ be32, 0x000182b8, 0x38000002 ]


PRX-oM7itnHHZPcaVx6KRGhZcv0o4gJj-0:
PRX-oM7itnHHZPcaVx6KRGhZcv0o4gJj-0:
Line 552: Line 552:
         NPUB31633: [ All ]
         NPUB31633: [ All ]
         NPEB02182: [ All ]
         NPEB02182: [ All ]
     Author: elad335
     Author: "elad335"
     Notes: "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 of exactly 4.88 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Notes: "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 of exactly 4.88 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x182B8, 0x38000002 ]
       - [ be32, 0x000182b8, 0x38000002 ]


PRX-WHnKAK6U9UApL2YMgjU3c5ozpTUM-0:
PRX-WHnKAK6U9UApL2YMgjU3c5ozpTUM-0:
Line 567: Line 567:
         NPUB31633: [ All ]
         NPUB31633: [ All ]
         NPEB02182: [ All ]
         NPEB02182: [ All ]
     Author: elad335
     Author: "elad335"
     Notes: "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 of exactly 4.89 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Notes: "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 of exactly 4.89 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x182B8, 0x38000002 ]
       - [ be32, 0x000182b8, 0x38000002 ]


PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
Line 578: Line 578:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "workaround for 0x68 crash"
     Notes: "Workaround for 0x68 crash."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x1409F8, 0x60000000 ]
       - [ be32, 0x001409f8, 0x60000000 ]
       - [ be32, 0x140A10, 0x60000000 ]
       - [ be32, 0x00140a10, 0x60000000 ]
       - [ be32, 0x140A44, 0x60000000 ]
       - [ be32, 0x00140a44, 0x60000000 ]
   "Flickering textures fix":
   "Flickering textures fix":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLUS30109: [ 02.00 ]
         BLUS30109: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Workaround for flickering ground textures"
     Notes: "Workaround for flickering ground textures."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x0EAAC8, 0x60003000 ]
       - [ be32, 0x000eaac8, 0x60003000 ]


PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
Line 600: Line 600:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "workaround for 0x68 crash"
     Notes: "workaround for 0x68 crash"
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x1409F8, 0x60000000 ]
       - [ be32, 0x001409f8, 0x60000000 ]
       - [ be32, 0x140A10, 0x60000000 ]
       - [ be32, 0x00140a10, 0x60000000 ]
       - [ be32, 0x140A44, 0x60000000 ]
       - [ be32, 0x00140a44, 0x60000000 ]
   "Flickering textures fix":
   "Flickering textures fix":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         BLES00246: [ 02.00 ]
         BLES00246: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Workaround for flickering ground textures"
     Notes: "Workaround for flickering ground textures."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x0EAAC8, 0x60003000 ]
       - [ be32, 0x000eaac8, 0x60003000 ]
     
 
PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
   "Crash fix":
   "Crash fix":
Line 622: Line 622:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "workaround for 0x68 crash"
     Notes: "Workaround for 0x68 crash."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x13F298, 0x60000000 ]
       - [ be32, 0x0013f298, 0x60000000 ]
       - [ be32, 0x13F2B0, 0x60000000 ]
       - [ be32, 0x0013f2b0, 0x60000000 ]
       - [ be32, 0x13F2E4, 0x60000000 ]
       - [ be32, 0x0013f2e4, 0x60000000 ]
   "Flickering textures fix":
   "Flickering textures fix":
     Games:
     Games:
       "Metal Gear Solid 4: Guns of the Patriots":
       "Metal Gear Solid 4: Guns of the Patriots":
         NPUB31633: [ 02.00 ]
         NPUB31633: [ 02.00 ]
     Author: TriggerHappy
     Author: "TriggerHappy"
     Notes: "Workaround for flickering ground textures"
     Notes: "Workaround for flickering ground textures."
     Patch Version: 1.0
     Patch Version: 1.0
     Patch:
     Patch:
       - [ be32, 0x0E9388, 0x60003000 ]
       - [ be32, 0x000e9388, 0x60003000 ]
}}
}}

Revision as of 09:27, 20 February 2023

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, BLKS25002, NPJB00698
Demo
NPEB90116, NPUB90176, NPJB90149, NPHB00065, NPHB00067
Database
NPEB00027, NPUB90126, NPJB90113
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.
Vblank rate 240 Improves performance. Maxing out the vblank slider in this game has no effect on game speed, feel free to experiment with the values. Going past 600Hz tends to have negligible FPS gains while increasing the rate of crashes, so best to not go past 600Hz.

Known Issues

Freezes/softlocks

The game is very unstable and will frequently crash within seconds even when using SPU LLVM & Accurate Xfloat Off.

Special Notes

In order to mitigate the freezes while in-game you'll need to add the cellSpurs urgent commands hack canary patch manually and enable it via RPCS3's patch manager. You'll find instructions on how to apply canary patches here, this patch is only compatible with PS3 Firmware version 4.87, 4.88 and 4.89. There's also a canary patch Crash fix that addresses crashes related to error code 0x68, consider enabling that too if you're experiencing them.

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.

Patches

Anchors:
  MGS4_Widescreen_Notes: &MGS4_Widescreen_Notes "Enable \"Stretch to Display Area\" option to take advantage of this patch. The interface will be stretched and cutscenes will use the standard field of view."
  MGS4_Widescreen_NotesEx: &MGS4_Widescreen_NotesEx "Enable \"Stretch to Display Area\" option to take advantage of this patch. The interface will be stretched and cutscenes will use the increased of view which may cause visual bugs."

PPU-9712144d93487f0b62e39f55e175af783b58af72:
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 01.00 ]
    Author: "TriggerHappy"
    Notes: "Can give a significant performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x001358b8, 0x4e800020 ]

PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "21:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x3ff0a3d7 ]
      - [ be32, 0x003d4274, 0xbff0a3d7 ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3fa3126f ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x3ff0a3d7 ]
      - [ be32, 0x003d4274, 0xbff0a3d7 ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x000f1b6c, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3fa3126f ]
  "32:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x4039999a ]
      - [ be32, 0x003d4274, 0xc039999a ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3f52b021 ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x4039999a ]
      - [ be32, 0x003d4274, 0xc039999a ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x000f1b6c, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3f52b021 ]
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Can give a significant performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00132354, 0x4e800020 ]
  "Remove fog":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Does not provide any performance benefit."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaa08, 0x4e800020 ]
  "Reduce stage quality":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000fa7ec, 0x4e800020 ]
      - [ be32, 0x0010faec, 0x4e800020 ]
  "Disable HUD":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes the ingame HUD. Useful for videos and screenshots."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000f0410, 0x60000000 ]
  "Disable spawned effects":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0012bcfc, 0x2b8a0004 ]
  "Unlock FPS":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000db720, 0x4e800020 ]

PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "21:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
      - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
      - [ be32, 0x000efaf0, 0xc1be8040 ]
      - [ be32, 0x003c3c90, 0x3fa3126f ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c3edc, 0x3ff0a3d7 ]
      - [ be32, 0x003c3ee4, 0xbff0a3d7 ]
      - [ be32, 0x000efaf0, 0xc1be8040 ]
      - [ be32, 0x000f042c, 0xc1be8040 ]
      - [ be32, 0x003c3c90, 0x3fa3126f ]
  "32:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c3edc, 0x4039999a ]
      - [ be32, 0x003c3ee4, 0xc039999a ]
      - [ be32, 0x000efaf0, 0xc1be8040 ]
      - [ be32, 0x003c3c90, 0x3f52b021 ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003c3edc, 0x4039999a ]
      - [ be32, 0x003c3ee4, 0xc039999a ]
      - [ be32, 0x000efaf0, 0xc1be8040 ]
      - [ be32, 0x000f042c, 0xc1be8040 ]
      - [ be32, 0x003c3c90, 0x3f52b021 ]
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Disabling shadows can give a significant performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00130bf4, 0x4e800020 ]
  "Remove fog":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Does not provide any performance benefit."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e92c8, 0x4e800020 ]
  "Reduce stage quality":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000f90ac, 0x4e800020 ]
      - [ be32, 0x0010e3ac, 0x4e800020 ]
  "Disable HUD":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes the ingame HUD. Useful for videos and screenshots."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eecd0, 0x60000000 ]
  "Disable spawned effects":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0012a59c, 0x2b8a0004 ]
  "Unlock FPS":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        NPUB31633: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000d9fe0, 0x4e800020 ]

PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "21:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x3ff0a3d7 ]
      - [ be32, 0x003d4274, 0xbff0a3d7 ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3fa3126f ]
  "21:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x3ff0a3d7 ]
      - [ be32, 0x003d4274, 0xbff0a3d7 ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x000f1b6c, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3fa3126f ]
  "32:9 Aspect Ratio":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_Notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x4039999a ]
      - [ be32, 0x003d4274, 0xc039999a ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3f52b021 ]
  "32:9 Aspect Ratio (Cutscenes)":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: *MGS4_Widescreen_NotesEx
    Patch Version: 1.0
    Patch:
      - [ be32, 0x003d426c, 0x4039999a ]
      - [ be32, 0x003d4274, 0xc039999a ]
      - [ be32, 0x000f1230, 0xc1be8040 ]
      - [ be32, 0x000f1b6c, 0xc1be8040 ]
      - [ be32, 0x003d4020, 0x3f52b021 ]
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Disabling shadows can give a significant performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00132354, 0x4e800020 ]
  "Remove fog":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Does not provide any performance benefit."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000eaa08, 0x4e800020 ]
  "Reduce stage quality":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some transparency related effects from stages. Provides a small performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000fa7ec, 0x4e800020 ]
      - [ be32, 0x0010faec, 0x4e800020 ]
  "Disable HUD":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes the ingame HUD. Useful for videos and screenshots."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000f0410, 0x60000000 ]
  "Disable spawned effects":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Removes some effects such as explosions and smoke. Provides a moderate performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x0012bcfc, 0x2b8a0004 ]
  "Unlock FPS":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ 02.00 ]
    Author: "TriggerHappy"
    Notes: "Allows you to play the game at 60 FPS or higher without modyfing the vblank frequency."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000db720, 0x4e800020 ]

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

PRX-rbYkgZMgx8Prd7WUAA39oYAdWcNo-0:
  "cellSpurs urgent commands hack - 4.87":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ All ]
        BLUS30109: [ All ]
        BLJM67001: [ All ]
        NPUB31633: [ All ]
        NPEB02182: [ All ]
    Author: "elad335"
    Notes: "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 of exactly 4.87 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PRX-oM7itnHHZPcaVx6KRGhZcv0o4gJj-0:
  "cellSpurs urgent commands hack - 4.88":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ All ]
        BLUS30109: [ All ]
        BLJM67001: [ All ]
        NPUB31633: [ All ]
        NPEB02182: [ All ]
    Author: "elad335"
    Notes: "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 of exactly 4.88 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000182b8, 0x38000002 ]

PRX-WHnKAK6U9UApL2YMgjU3c5ozpTUM-0:
  "cellSpurs urgent commands hack - 4.89":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLES00246: [ All ]
        BLUS30109: [ All ]
        BLJM67001: [ All ]
        NPUB31633: [ All ]
        NPEB02182: [ All ]
    Author: "elad335"
    Notes: "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 of exactly 4.89 in order to use it.\n\nKnown to affect:\nMetal Gear Solid 4"
    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: "Workaround for 0x68 crash."
    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: "Workaround for flickering ground textures."
    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: "workaround for 0x68 crash"
    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: "Workaround for flickering ground textures."
    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: "Workaround for 0x68 crash."
    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: "Workaround for flickering ground textures."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x000e9388, 0x60003000 ]