Grand Theft Auto IV: Difference between revisions

From RPCS3 Wiki
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 (ASMJI...)
 
(7 intermediate revisions by 3 users not shown)
Line 8: Line 8:
|genre    = Action, Adventure
|genre    = Action, Adventure
|modes    = Single-player, Multiplayer
|modes    = Single-player, Multiplayer
|gameid    = {{gameid|id=BLES00229, BLUS30127, NPEB00882, NPUB30702|oid=BLES00258, BLJM60093|ird=Yes}}<br>'''''The Complete Edition'''''<br>{{gameid|id=BLES01128, BLUS30682|ird=Yes}}
|gameid    = {{gameid|id=BLES00229, BLUS30127, NPEB00882, NPUB30702|oid=BLES00258, BLJM60093|ird=Yes}}<br>'''''The Complete Edition'''''<br>{{gameid|id=BLES01128, BLUS30682|oid=BLJM60346|ird=Yes}}
|internal resolution = 1152x640
|internal resolution = 1152x640
}}
}}
Line 27: Line 27:
|thread scheduler                      = <!-- Operating System, RPCS3 Scheduler, RPCS3 Alternative Scheduler -->
|thread scheduler                      = <!-- Operating System, RPCS3 Scheduler, RPCS3 Alternative Scheduler -->
|thread scheduler notes                =  
|thread scheduler notes                =  
|lower spu thread priority            = <!-- On, Off -->
|lower spu thread priority notes      =
|enable spu loop detection            = <!-- On, Off -->
|enable spu loop detection            = <!-- On, Off -->
|enable spu loop detection notes      =  
|enable spu loop detection notes      =  
|spu cache                            = <!-- On, Off -->
|spu cache notes                      =
|spu xfloat accuracy                  = Accurate<!-- Accurate, Approximate, Relaxed -->
|spu xfloat accuracy                  = Accurate<!-- Accurate, Approximate, Relaxed -->
|spu xfloat accuracy notes            = Fixes missing collision. Requires SPU LLVM recompiler.
|spu xfloat accuracy notes            = Fixes missing collision. Requires SPU LLVM recompiler. Expect audio stutter.
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size notes                  =  
|spu block size notes                  =  
Line 44: Line 40:
|aspect ratio                          = <!-- 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, 50, 60, 30, Auto, PS3 Native, Infinite -->
|framelimit notes                      =  
|framelimit notes                      =  
|anisotropic filter                    = <!-- Auto, 2x, 4x, 8x, 16x -->
|anisotropic filter                    = <!-- Auto, 2x, 4x, 8x, 16x -->
Line 50: Line 46:
|anti-aliasing                        = <!-- Auto, Disabled -->
|anti-aliasing                        = <!-- Auto, Disabled -->
|anti-aliasing notes                  =  
|anti-aliasing notes                  =  
|zcull accuracy                        = Relaxed<!-- Precise, Approximate, Relaxed -->
|zcull accuracy notes                  = Improves performance without any noticeable issues.
|shader quality                        = <!-- High, Low, Auto -->
|shader quality notes                  =
|3d rendering mode                    = <!-- Disabled, Anaglyph, Side-by-side, Over-under -->
|3d rendering mode 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              =  
Line 66: Line 68:
|stretch to display area              = <!-- On, Off -->
|stretch to display area              = <!-- On, Off -->
|stretch to display area notes        =  
|stretch to display area notes        =  
|multithreaded rsx                    = <!-- On, Off -->
|multithreaded rsx                    = On<!-- On, Off -->
|multithreaded rsx notes              =  
|multithreaded rsx notes              = Improves performance.
|asynchronous texture streaming        = <!-- On, Off -->
|asynchronous texture streaming        = On<!-- On, Off -->
|asynchronous texture streaming notes  =  
|asynchronous texture streaming notes  = If you have a stronger GPU, this can give substantial performance boost.
<!-- Audio configuration -->
<!-- Audio configuration -->
|audio out windows                    = <!-- Cubeb, XAudio2, Disabled -->
|audio out windows                    = <!-- Cubeb, XAudio2, Disabled -->
Line 126: Line 128:
|silence all logs                      = <!-- On, Off -->
|silence all logs                      = <!-- On, Off -->
|silence all logs notes                =  
|silence all logs notes                =  
|sleep timers accuracy                = <!-- As Host, Usleep Only, All Timers -->
|sleep timers accuracy                = As Host<!-- As Host, Usleep Only, All Timers -->
|sleep timers accuracy notes          =  
|sleep timers accuracy notes          = Slightly improves performance.
|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          =  
Line 142: Line 144:
|disable vertex cache                  = <!-- On, Off -->
|disable vertex cache                  = <!-- On, Off -->
|disable vertex cache notes            =  
|disable vertex cache notes            =  
|rsx fifo accuracy                    = <!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy                    = Atomic<!-- Fast, Atomic, Ordered & Atomic -->
|rsx fifo accuracy notes              =  
|rsx fifo accuracy notes              = Helps to reduce crashes.
|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            =  
Line 174: Line 176:
==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." -->
===Broken light sources with NVIDIA GPUs on Vulkan - <i>Fixed</i>===
* {{issue|14194}}: The base game (v1.00) crashes during booting. The only way to fix it is by updating. It happens with the standard version (e.g. BLUS30127).
<s>Light sources like lamps, streetlights or headlights on vehicles are broken when using Vulkan on NVIDIA GPUs. AMD doesn't have this issue.</s>
 
The base game (v1.00) crashes during booting. The only way to fix it is by updating. It happens with the standard version (e.g. BLUS30127). Needs confirmation if it happens with The Complete Edition.


==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 -->
{{netplay
{{netplay
|gamever = 1.02
|gamever       = 1.02
|connect = Yes<!-- Yes, No, Partial, Untested, N/A -->
|rpcs3 version  = N/A
|lobbies = Yes<!-- Yes, No, Partial, Untested, N/A -->
|connect       = Yes<!-- Yes, No, Partial, Untested, N/A -->
|match   = Yes<!-- Yes, No, Partial, Untested, N/A -->
|lobbies       = Yes<!-- Yes, No, Partial, Untested, N/A -->
|features = Partial<!-- Yes, No, Partial, Untested, N/A -->
|match         = Yes<!-- Yes, No, Partial, Untested, N/A -->
|notes   = Party mode and friends do not work but it's possible to join custom matches with the phone to play together.
|features       = Partial<!-- Yes, No, Partial, Untested, N/A -->
|custom servers = Not required<!-- Available, Not available, Not required, Untested -->
|notes         = Party mode and friends do not work but it's possible to join custom matches with the phone to play together.
}}
}}
{{patch
{{patch
|type    = PPU
|type    = PPU

Latest revision as of 20:14, 26 March 2024

Grand Theft Auto IV
GTA4.jpg
Developer(s) Rockstar Games
Publisher(s) Rockstar Games
Series Grand Theft Auto
Release date(s) April 29, 2008
Release type Multi-platform
Genre(s) Action, Adventure
Mode(s) Single-player, Multiplayer
GameID(s) BLES00229 (IRD), BLUS30127 (IRD), NPEB00882, NPUB30702, BLES00258 (IRD), BLJM60093 (IRD)
The Complete Edition
BLES01128 (IRD), BLUS30682 (IRD), BLJM60346 (IRD)
Internal resolution 1152x640
Quick links Check Compatibility
Open Issues
Search Google
Wikipedia Page

Grand Theft Auto IV was developed by Rockstar North and is the eleventh title in the Grand Theft Auto series, and the first main entry since 2004's Grand Theft Auto: San Andreas. Set within the fictional Liberty City (based on New York City), the single-player story follows a war veteran, Niko Bellic, and his attempts to escape his past while under pressure from loan sharks and mob bosses. The open world design lets players freely roam Liberty City, consisting of three main islands.

The game is played from a third-person perspective and its world is navigated on-foot or by vehicle. Throughout the single-player mode, players play as Niko Bellic. An online multiplayer mode is included with the game, allowing up to 32 players to engage in both co-operative and competitive gameplay in a recreation of the single-player setting. Two expansion packs were later released for the game, The Lost and Damned and The Ballad of Gay Tony, which both feature new plots that are interconnected with the main Grand Theft Auto IV storyline, and follow new protagonists.

Configuration

Options that deviate from RPCS3's default settings and provide the best experience with this title are listed below.

CPU configuration

Setting Option Notes
SPU xfloat accuracy Accurate Fixes missing collision. Requires SPU LLVM recompiler. Expect audio stutter.

GPU configuration

Setting Option Notes
ZCULL accuracy Relaxed Improves performance without any noticeable issues.
Write color buffers On Fixes missing reflections.
Multithreaded RSX On Improves performance.
Asynchronous texture streaming On If you have a stronger GPU, this can give substantial performance boost.

Advanced configuration

Setting Option Notes
Sleep timers accuracy As Host Slightly improves performance.
RSX FIFO accuracy Atomic Helps to reduce crashes.

Known Issues

  • Issue 14194: The base game (v1.00) crashes during booting. The only way to fix it is by updating. It happens with the standard version (e.g. BLUS30127).

Special Notes

Netplay testing

For the complete list of games tested with RPCN, please check the RPCN Compatibility List.

Game Version RPCS3 Version Connects? Create/Join lobbies? Match with others? Online features working? Requires custom servers? Notes
1.02 N/A Yes Yes Yes Partial Not required Party mode and friends do not work but it's possible to join custom matches with the phone to play together.

Patches

Anchors:
  gta4_fps_notes: &gta4_fps_notes
    "Set Framelimit to 60 FPS otherwise loading screen layers will go too fast."

PPU-d5041972c3464b734ed27f0b94b505a2a14471c8:
  "Unlock FPS":
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLUS30127: [ 01.08 ]
        NPUB30702: [ 01.08 ]
    Author: "Zolika1351"
    Notes: *gta4_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f18830, 0x00000000 ]

PPU-a2c90aafce24744d5ac6da8ad009ce301458c8a7:
  "Unlock FPS":
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLES00229: [ 01.08 ]
        NPEB00882: [ 01.09 ]
    Author: "Zolika1351, illusion"
    Notes: *gta4_fps_notes
    Patch Version: 1.0
    Patch:
      - [ be32, 0x00f18840, 0x00000000 ]