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

From RPCS3 Wiki
m (Text replacement - "|resolution scale threshold notes = |write color buffers = <!-- On, Off -->" to "|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 -->")
No edit summary
(5 intermediate revisions by 4 users not shown)
Line 8: Line 8:
|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}}<br>'''''Database'''''<br>{{gameid|id=NPEB00027, NPUB90126|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), Recompiler (LLVM) -->
|ppu decoder                          = <!-- Interpreter (precise), Interpreter (fast), Recompiler (LLVM) -->
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 65: 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            =  
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 108: Line 107:
|accurate llvm dfma                    = <!-- On, Off -->
|accurate llvm dfma                    = <!-- On, Off -->
|accurate llvm dfma notes              =  
|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 124: 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 133: 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 139: 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 -->
There is no need to use custom builds for this game anymore, simply use the canary patch below to stop the game from crashing. This patch is a game specific hack so it won't be merged into the patch manager. You will require firmware 4.87 to be installed, and then copy/paste the patch into a new txt file. Rename it "imported_patch.yml" and place it in the patches folder within your RPCS3 directory.


Use RajKosto builds which are unofficial forks.
{{patch
https://github.com/rajkosto/rpcs3/releases
|type    = Canary
|version = 1.2
|content =
PRX-rbYkgZMgx8Prd7WUAA39oYAdWcNo-0:
  "cellSpurs urgent commands hack":
    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, 0x182B8, 0x38000002 ]
}}

Revision as of 04:42, 7 March 2021

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

No options that deviate from RPCS3's default settings are recommended for this title.

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

There is no need to use custom builds for this game anymore, simply use the canary patch below to stop the game from crashing. This patch is a game specific hack so it won't be merged into the patch manager. You will require firmware 4.87 to be installed, and then copy/paste the patch into a new txt file. Rename it "imported_patch.yml" and place it in the patches folder within your RPCS3 directory.

Canary Patches

PRX-rbYkgZMgx8Prd7WUAA39oYAdWcNo-0:
  "cellSpurs urgent commands hack":
    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, 0x182B8, 0x38000002 ]