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

From RPCS3 Wiki
No edit summary
No edit summary
Line 112: Line 112:
|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      = On<!-- On, Off -->
|accurate rsx reservation access notes =  
|accurate rsx reservation access notes = Improves Performance, and should help stability
|ppu llvm accurate vector nans        = <!-- On, Off -->
|ppu llvm accurate vector nans        = <!-- On, Off -->
|ppu llvm accurate vector nans notes  =  
|ppu llvm accurate vector nans notes  =  

Revision as of 14:59, 17 May 2022

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

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 when high framerate is achieved by when pausing to skip a cutscene it unpauses very quickly on its own, leaving it at 60 will stop this issue.
ZCULL accuracy Relaxed Improves performance.

Advanced configuration

Setting Option Notes
Accurate RSX reservation access On Improves Performance, and should help stability

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

Although you can use the latest RPCS3 master build to play MGS4 these days, cipherxof's custom build for MGS4 performs significantly better. If you would like to try it, grab it from here. The build is pre-configured specifically for MGS4.

To use the build: Simply install it in a new/separate folder, DO NOT merge it with your current RPCS3 folder. It is also recommended that you update the game to 2.0 for the best results.

Because cipherxof's build is based on 0.0.8 it's missing many quality of life features. If you would like to use a more recent build that doesn't perform as well, then you can use illusion's custom build.

To download: Click on the latest entry on the page > Click on 3 Published > Hover your mouse over the 3 dotted vertical menu button > click Download artifacts (Screenshot for reference)

Should you still want to use the latest master, 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/4.88 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 - 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, 0x182B8, 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, 0x182B8, 0x38000002 ]

Patches

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

PPU-33e09a0bd8fa2a3b28780a3feeb7b0e018bae381:
  "Disable shadows":
    Games:
      "Metal Gear Solid 4: Guns of the Patriots":
        BLUS30109: [ 02.00 ]
    Author: TriggerHappy
    Notes: "Disabling shadows can give a significant performance boost."
    Patch Version: 1.0
    Patch:
      - [ be32, 0x132354, 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, 0xEAA08, 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, 0xFA7EC, 0x4E800020 ]
      - [ be32, 0x10FAEC, 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, 0xF0410, 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, 0x12BCFC, 0x2B8A0004 ]

PPU-bbf4c85f1c01e182e7f96d34f734772c4430a426:
  "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, 0x130BF4, 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, 0xE92C8, 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, 0xF90AC, 0x4E800020 ]
      - [ be32, 0x10E3AC, 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, 0xEECD0, 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, 0x12A59C, 0x2B8A0004 ]

PPU-c937999ea44fb6260455b85c9f25eea55b1208b9:
  "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, 0x132354, 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, 0xEAA08, 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, 0xFA7EC, 0x4E800020 ]
      - [ be32, 0x10FAEC, 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, 0xF0410, 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, 0x12BCFC, 0x2B8A0004 ]

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 ]