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

From RPCS3 Wiki
m
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...)
 
(22 intermediate revisions by 5 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) -->
|preferred spu threads notes         =
+
|preferred spu threads notes           =  
|firmware settings                  = <!-- Automatically load required libraries, Manually load selected libraries, Load automatic and manual selection, Load liblv2.sprx only -->
+
|enable thread scheduler               = <!-- On, Off -->
|firmware settings notes            = <!-- Where Manually load selected libraries or Load automatic and manual selection options is selected, mention the list of libraries to be selected in this parameter -->
+
|enable thread scheduler notes         =  
|enable thread scheduler             = <!-- On, Off -->
+
|lower spu thread priority             = <!-- On, Off -->
|enable thread scheduler notes       =  
+
|lower spu thread priority 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 cache                             = <!-- On, Off -->
|enable spu loop detection notes     =  
+
|spu cache notes                       =  
|spu cache                           = <!-- On, Off -->
+
|accurate xfloat                       = <!-- On, Off -->
|spu cache notes                     =  
+
|accurate xfloat notes                 =  
|accurate xfloat                     = <!-- On, Off -->
+
|spu block size                       = <!-- Safe, Mega, Giga -->
|accurate xfloat notes               =  
+
|spu block size notes                 =  
|spu block size                     = <!-- Safe, Mega, Giga -->
+
|tsx instructions                     = <!-- Enabled, Disabled, Forced -->
|spu block size notes               =  
+
|tsx instructions notes               =  
|tsx instructions                   = <!-- Enabled, Disabled, Forced -->
 
|tsx instructions notes             =  
 
 
<!-- GPU configuration -->
 
<!-- GPU configuration -->
|renderer                           = Vulkan <!-- OpenGL, Vulkan -->
+
|renderer                             = <!-- OpenGL, Vulkan, Disabled -->
|renderer notes                     = Recommended for getting the best performance.
+
|renderer notes                       =  
|aspect ratio                       = <!-- Auto, 4:3, 16:9 -->
+
|aspect ratio                         = <!-- 4:3, 16:9 -->
|aspect ratio notes                 =  
+
|aspect ratio notes                   =  
|framelimit                         = <!-- Off, 59.94, 50, 60, 30, Auto -->
+
|framelimit                           = <!-- Off, 59.94, 50, 60, 30, Auto -->
|framelimit notes                   =  
+
|framelimit notes                     =  
|anisotropic filter                 = <!-- Automatic, Disabled, 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 -->
+
|default resolution                   = <!-- 1920x1080, 1280x720, 720x480, 720x576, 1600x1080, 1440x1080, 1280x1080, 960x1080 -->
|default resolution notes           =  
+
|default resolution notes             =  
|resolution scale                   = <!-- Range between 50% to 800% -->
+
|resolution scale                     = <!-- Value between 50% to 800% -->
|resolution scale notes             =  
+
|resolution scale notes               =  
|resolution scale threshold         = <!-- Range 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     =
|write color buffers                 = <!-- On, Off -->
+
|shader mode                          = <!-- Legacy (singlethreaded), Async (multithreaded), Async with Shader Interpreter, Shader Interpreter only -->
|write color buffers notes           =  
+
|shader mode notes                    =  
|strict rendering mode               = <!-- On, Off -->
+
|write color buffers                   = <!-- On, Off -->
|strict rendering mode notes         =  
+
|write color buffers notes             =  
|vsync                               = <!-- On, Off -->
+
|strict rendering mode                 = <!-- On, Off -->
|vsync notes                         =  
+
|strict rendering mode notes           =  
|stretch to display area             = <!-- On, Off -->
+
|vsync                                 = <!-- On, Off -->
|stretch to display area notes       =  
+
|vsync notes                           =  
|disable vertex cache                = <!-- On, Off -->
+
|stretch to display area               = <!-- On, Off -->
|disable vertex cache notes         =  
+
|stretch to display area notes         =  
|multithreaded rsx                  = <!-- On, Off -->
+
|enable 3d                            = <!-- On, Off -->
|multithreaded rsx notes             =  
+
|enable 3d notes                       =  
|disable async shader compiler      = <!-- On, Off -->
+
|disable vertex cache                  = <!-- On, Off -->
|disable async shader compiler notes =  
+
|disable vertex cache notes           =  
 +
|multithreaded rsx                    = <!-- On, Off -->
 +
|multithreaded rsx notes               =  
 
<!-- Audio configuration -->
 
<!-- Audio configuration -->
|audio out windows                   = <!-- XAudio2, OpenAL -->
+
|audio out windows                     = <!-- XAudio2, OpenAL, Disabled -->
|audio out windows notes             =  
+
|audio out windows notes               =  
|audio out linux                     = <!-- OpenAL, PulseAudio, ALSA -->
+
|audio out linux                       = <!-- OpenAL, PulseAudio, ALSA, Disabled -->
|audio out linux notes               =  
+
|audio out linux notes                 =  
|dump to file                       = <!-- On, Off -->
+
|audio channels                       = <!-- Surround 7.1, Downmix to Stereo, Downmix to 5.1 -->
|dump to file notes                  =  
+
|audio channels 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                             = <!-- Range 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               = <!-- Range 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           = <!-- Range between 0% to 100% -->
+
|time stretching threshold             = <!-- Value between 0% to 100% -->
|time stretching threshold notes     =  
+
|time stretching threshold notes       =  
|microphone type                     = <!-- Null, Standard, SingStar, Real SingStar, Rocksmith -->
+
|microphone type                       = <!-- Disabled, Standard, SingStar, Real SingStar, Rocksmith -->
|microphone type notes              =  
+
|microphone type notes                =
 +
<!-- I/O configuration -->
 +
|keyboard handler                      = <!-- Null, Basic -->
 +
|keyboard handler notes                =
 +
|mouse handler                        = <!-- Null, Basic -->
 +
|mouse handler notes                  =
 +
|camera input                          = <!-- Unknown, EyeToy, PS Eye, UVC 1.1 -->
 +
|camera input notes                    =
 +
|camera settings                      = <!-- Null, Fake -->
 +
|camera settings notes                =
 +
|move handler                          = <!-- Null, Fake, Mouse -->
 +
|move handler notes                    =
 +
<!-- Advanced configuration -->
 +
|debug console mode                    = <!-- On, Off -->
 +
|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 notes                =
 +
|sleep timers accuracy                = <!-- As Host, Usleep Only, All Timers -->
 +
|sleep timers accuracy notes          =
 +
|maximum spurs threads                = <!-- Unlimited, Single digit between 0 to 5 (e.g. 3) -->
 +
|maximum spurs threads 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 -->
 +
|firmware settings notes              = <!-- Where libraries are manually selected, mention the list of libraries to be selected here -->
 +
|read depth buffers                    = <!-- On, Off -->
 +
|read depth buffers notes              =
 +
|write depth buffers                  = <!-- On, Off -->
 +
|write depth buffers notes            =
 +
|read color buffers                    = <!-- On, Off -->
 +
|read color buffers notes              =
 +
|disable on-disk shader cache          = <!-- On, Off -->
 +
|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 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 -->
|write depth buffers                = <!-- On, Off -->
+
|disable zcull occlusion queries      = <!-- On, Off -->
|write depth buffers notes          =
+
|disable zcull occlusion queries notes =  
|read depth buffers                  = <!-- On, Off -->
+
|force cpu blit emulation             = <!-- On, Off -->
|read depth buffers notes           =
+
|force cpu blit emulation notes       =  
|read color buffers                  = <!-- On, Off -->
+
|use gpu texture scaling               = <!-- On, Off -->
|read color buffers notes            =  
+
|use gpu texture scaling notes         =  
|force cpu blit emulation           = <!-- On, Off -->
+
|accurate getllar                     = <!-- On, Off -->
|force cpu blit emulation notes     =  
+
|accurate getllar notes               =  
|use gpu texture scaling             = <!-- On, Off -->
+
|hook static functions                 = <!-- On, Off -->
|use gpu texture scaling notes       =  
+
|hook static functions notes           =  
|accurate getllar                   = <!-- On, Off -->
+
|accurate ppu 128 reservations        = <!-- Always Enabled, Disabled, Value between 1 to 8 -->
|accurate getllar notes             =
+
|accurate ppu 128 reservations notes   =  
|accurate putlluc                    = <!-- On, Off -->
 
|accurate putlluc notes              =  
 
|hook static functions               = <!-- On, Off -->
 
|hook static functions notes         =  
 
|debug console mode                  = <!-- On, Off -->
 
|debug console mode notes            =
 
<!-- Enhancements -->
 
|sleep timers accuracy              = <!-- As Host, Usleep Only, All Timers -->
 
|sleep timers accuracy notes        =
 
|clocks scale                        = <!-- Range between 10 to 1000 -->
 
|clocks scale notes                  =
 
|vblank rate                        = <!-- Range between 1 to 500 -->
 
|vblank rate 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." -->
There are no reported issues with this title.
+
===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==
 
==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.