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

From RPCS3 Wiki
m (Text replacement - "==Configuration== <!-- Only enter mandatory non-default settings to be used. Delete parameters which are not applicable -->{{config <!-- CPU configuration --> |ppu decoder = <!-- Interpreter (precise), Interpreter (fast), LLVM Recompiler --> |ppu decoder notes = |spu decoder = <!-- Interpreter (precise), Interpreter (fast), ASMJIT Recompiler, LLVM Recompiler --> |spu decoder notes = |pref...)
m (Text replacement - "==Configuration== <!-- Enter mandatory non-default settings to be used. Recommendatory or default settings can be entered only on exceptional basis. -->{{config <!-- CPU configuration --> |ppu decoder = <!-- Interpreter (precise), Interpreter (fast), Recompiler (LLVM) --> |ppu decoder notes = |spu decoder = <!-- Interpreter (precise), Interpreter (fast), Recompiler (ASMJIT), Recompiler (LLVM) --> |spu...)
 
(8 intermediate revisions by 4 users not shown)
Line 7: Line 7:
 
|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, BLJM67001, BLUS30109, NPEB02182, NPUB31633|ird=Yes}}<br>'''''Demo'''''<br>{{gameid|id=NPEB90116, NPJB90149, NPUB90176|ird=NA}}<br>'''''Database'''''<br>{{gameid|id=NPEB00027, NPUB90126|ird=NA}}
|wikipedia = <!-- delete if not applicable -->
 
|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 (precise), Interpreter (fast), Recompiler (LLVM) -->
 
|ppu decoder notes                    =  
 
|ppu decoder notes                    =  
|spu decoder                          = <!-- Interpreter (precise), Interpreter (fast), ASMJIT Recompiler, LLVM Recompiler -->
+
|spu decoder                          = <!-- Interpreter (precise), Interpreter (fast), 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) -->
Line 39: Line 36:
 
|tsx instructions notes                =  
 
|tsx instructions notes                =  
 
<!-- GPU configuration -->
 
<!-- GPU configuration -->
|renderer                              = Vulkan <!-- OpenGL, Vulkan, Disabled -->
+
|renderer                              = <!-- OpenGL, Vulkan, Disabled -->
|renderer notes                        = Recommended to get the best performance.
+
|renderer notes                        =  
 
|aspect ratio                          = <!-- 4:3, 16:9 -->
 
|aspect ratio                          = <!-- 4:3, 16:9 -->
 
|aspect ratio notes                    =  
 
|aspect ratio notes                    =  
Line 55: Line 52:
 
|resolution scale threshold            = <!-- Value between 1 to 1024 in the format 16 x 16 -->
 
|resolution scale threshold            = <!-- Value between 1 to 1024 in the format 16 x 16 -->
 
|resolution scale threshold notes      =  
 
|resolution scale threshold notes      =  
 +
|shader mode                          = <!-- Legacy (singlethreaded), Async (multithreaded), Async with Shader Interpreter, Shader Interpreter only -->
 +
|shader mode notes                    =
 
|write color buffers                  = <!-- On, Off -->
 
|write color buffers                  = <!-- On, Off -->
 
|write color buffers notes            =  
 
|write color buffers notes            =  
Line 63: Line 62:
 
|stretch to display area              = <!-- On, Off -->
 
|stretch to display area              = <!-- On, Off -->
 
|stretch to display area notes        =  
 
|stretch to display area notes        =  
 +
|enable 3d                            = <!-- On, Off -->
 +
|enable 3d notes                      =
 
|disable vertex cache                  = <!-- On, Off -->
 
|disable vertex cache                  = <!-- On, Off -->
 
|disable vertex cache notes            =  
 
|disable vertex cache notes            =  
 
|multithreaded rsx                    = <!-- On, Off -->
 
|multithreaded rsx                    = <!-- On, Off -->
 
|multithreaded rsx notes              =  
 
|multithreaded rsx notes              =  
|disable async shader compiler        = <!-- On, Off -->
 
|disable async shader compiler notes  =
 
 
<!-- Audio configuration -->
 
<!-- Audio configuration -->
 
|audio out windows                    = <!-- XAudio2, OpenAL, Disabled -->
 
|audio out windows                    = <!-- XAudio2, OpenAL, Disabled -->
Line 74: Line 73:
 
|audio out linux                      = <!-- OpenAL, PulseAudio, ALSA, Disabled -->
 
|audio out linux                      = <!-- OpenAL, PulseAudio, ALSA, Disabled -->
 
|audio out linux notes                =  
 
|audio out linux notes                =  
 +
|audio channels                        = <!-- Surround 7.1, Downmix to Stereo, Downmix to 5.1 -->
 +
|audio channels notes                  =
 
|dump to file                          = <!-- On, Off -->
 
|dump to file                          = <!-- On, Off -->
 
|dump to file notes                    =  
 
|dump to file notes                    =  
 
|convert to 16-bit                    = <!-- On, Off -->
 
|convert to 16-bit                    = <!-- On, Off -->
 
|convert to 16-bit notes              =  
 
|convert to 16-bit notes              =  
|downmix to stereo                    = <!-- On, Off -->
 
|downmix to stereo notes              =
 
 
|volume                                = <!-- Value between 0% to 200% -->
 
|volume                                = <!-- Value between 0% to 200% -->
 
|volume notes                          =  
 
|volume notes                          =  
Line 106: Line 105:
 
|debug console mode                    = <!-- On, Off -->
 
|debug console mode                    = <!-- On, Off -->
 
|debug console mode notes              =  
 
|debug console mode notes              =  
 +
|accurate llvm dfma                    = <!-- On, Off -->
 +
|accurate llvm dfma notes              =
 +
|accurate rsx reservation access      = <!-- On, Off -->
 +
|accurate rsx reservation access notes =
 +
|ppu llvm accurate vector nans        = <!-- On, Off -->
 +
|ppu llvm accurate vector nans notes  =
 
|silence all logs                      = <!-- On, Off -->
 
|silence all logs                      = <!-- On, Off -->
 
|silence all logs notes                =  
 
|silence all logs notes                =  
Line 122: Line 127:
 
|disable on-disk shader cache          = <!-- On, Off -->
 
|disable on-disk shader cache          = <!-- On, Off -->
 
|disable on-disk shader cache notes    =  
 
|disable on-disk shader cache notes    =  
 +
|disable native float16 support        = <!-- On, Off -->
 +
|disable native float16 support notes  =
 
|relaxed zcull sync                    = <!-- On, Off -->
 
|relaxed zcull sync                    = <!-- On, Off -->
 
|relaxed zcull sync notes              =  
 
|relaxed zcull sync notes              =  
Line 131: Line 138:
 
|clocks scale notes                    =  
 
|clocks scale notes                    =  
 
<!-- Debug configuration -->
 
<!-- Debug configuration -->
 +
|disable zcull occlusion queries      = <!-- On, Off -->
 +
|disable zcull occlusion queries notes =
 
|force cpu blit emulation              = <!-- On, Off -->
 
|force cpu blit emulation              = <!-- On, Off -->
 
|force cpu blit emulation notes        =  
 
|force cpu blit emulation notes        =  
Line 137: Line 146:
 
|accurate getllar                      = <!-- On, Off -->
 
|accurate getllar                      = <!-- On, Off -->
 
|accurate getllar notes                =  
 
|accurate getllar notes                =  
|accurate putlluc                      = <!-- On, Off -->
 
|accurate putlluc notes                =
 
|accurate rsx reservation access      = <!-- On, Off -->
 
|accurate rsx reservation access notes =
 
 
|hook static functions                = <!-- On, Off -->
 
|hook static functions                = <!-- On, Off -->
 
|hook static functions notes          =  
 
|hook static functions notes          =  
 +
|accurate ppu 128 reservations        = <!-- Always Enabled, Disabled, Value between 1 to 8 -->
 +
|accurate ppu 128 reservations notes  =
 
}}
 
}}
  
 
==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 even when using SPU LLVM & Accurate Xfloat Off.
  
- No audio
+
===No audio===
 
When using anything other than SPU LLVM Recompiler and Accurate Xfloat OFF, the game will have no/some sound only.
 
When using anything other than SPU LLVM Recompiler and Accurate Xfloat OFF, the game will have no/some sound only.
 
  
 
==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 -->
 +
===Custom MGS4 builds===
 +
For this game, use [https://github.com/illusion0001 illusion's] rebase of the Rajkosto build that have additional hacks to improve stability and performance of this title. You can find the builds of this fork [https://github.com/illusion0001/rpcs3/releases here].

Latest revision as of 09:58, 2 October 2020

Metal Gear Solid 4: Guns of the Patriots
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), BLJM67001 (IRD), BLUS30109 (IRD), NPEB02182, NPUB31633
Demo
NPEB90116, NPJB90149, NPUB90176
Database
NPEB00027, NPUB90126
See also... 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

No options that deviate from the default configuration are recommended for this title. The full list of default options is available here.

Known Issues

Freezes/softlocks

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

No audio

When using anything other than SPU LLVM Recompiler and Accurate Xfloat OFF, the game will have no/some sound only.

Special Notes

Custom MGS4 builds

For this game, use illusion's rebase of the Rajkosto build that have additional hacks to improve stability and performance of this title. You can find the builds of this fork here.