Grand Theft Auto IV: Difference between revisions

From RPCS3 Wiki
(add patches)
(added artbox + 2 missing game ids with ird)
(23 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<!-- please read the wiki conventions page and documentation for templates before creating a new game page -->{{vginfobox
<!-- please read the wiki conventions page and documentation for templates before creating a new game page -->{{vginfobox
|image    = [[File:{{#setmainimage:GTA4.jpg‎}}|300px]]
|developer = Rockstar Games
|developer = Rockstar Games
|publisher = Rockstar Games
|publisher = Rockstar Games
Line 7: Line 8:
|genre    = Action, Adventure
|genre    = Action, Adventure
|modes    = Single-player, Multiplayer
|modes    = Single-player, Multiplayer
|gameid    = {{gameid|id=BLES00229, BLUS30127, NPEB00882, NPUB30702|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|ird=Yes}}
}}
}}


Line 15: Line 16:


==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 23: Line 24:
|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          =  
|enable thread scheduler               = <!-- On, Off -->
|thread scheduler                     = <!-- Operating System, RPCS3 Scheduler, RPCS3 Alternative Scheduler -->
|enable thread scheduler notes         =  
|thread scheduler notes               =  
|lower spu thread priority            = <!-- On, Off -->
|lower spu thread priority            = <!-- On, Off -->
|lower spu thread priority notes      =  
|lower spu thread priority notes      =  
Line 31: Line 32:
|spu cache                            = <!-- On, Off -->
|spu cache                            = <!-- On, Off -->
|spu cache notes                      =  
|spu cache notes                      =  
|accurate xfloat                       = On <!-- On, Off -->
|spu xfloat accuracy                  = Accurate <!-- Accurate, Approximate, Relaxed -->
|accurate xfloat notes                 = Fixes missing collision. Requires SPU LLVM recompiler.
|spu xfloat accuracy notes             = Fixes missing collision. Requires SPU LLVM recompiler.
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size                        = <!-- Safe, Mega, Giga -->
|spu block size notes                  =  
|spu block size notes                  =  
Line 38: Line 39:
|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 64: Line 65:
|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              =  
|asynchronous texture streaming        = <!-- On, Off -->
|asynchronous texture streaming notes  =
<!-- Audio configuration -->
<!-- Audio configuration -->
|audio out windows                    = <!-- XAudio2, OpenAL, Disabled -->
|audio out windows                    = <!-- XAudio2, OpenAL, Disabled -->
Line 73: Line 78:
|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 107: 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 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 113: Line 122:
|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          =  
|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 libraries                    = <!-- Switch to LLE, Switch to HLE -->
|firmware settings notes               = <!-- Where libraries are manually selected, mention the list of libraries to be selected here -->
|firmware libraries notes             = <!-- Mention the libraries to be manually selected here -->
|read depth buffers                    = <!-- On, Off -->
|read depth buffers                    = <!-- On, Off -->
|read depth buffers notes              =  
|read depth buffers notes              =  
Line 123: Line 132:
|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 132: Line 143:
|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 138: Line 151:
|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  =
|ppu llvm java mode handling          = <!-- True, False -->
|ppu llvm java mode handling 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." -->
This game is currently not playable.


===Broken light sources on NVIDIA GPUs===
===Broken light sources with NVIDIA GPUs on Vulkan - <i>Fixed</i>===
Light sources like lamps, streetlights or headlights on vehicles are broken with NVIDIA GPUs. AMD doesn't have this issue.
<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>


==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 -->
===Patches===
{{netplay
<pre id="patch" class="mw-collapsible mw-collapsed">
|gamever  = 1.02
|connect  = Yes <!-- Yes, No, Partial, Untested, N/A -->
|lobbies  = Yes <!-- Yes, No, Partial, Untested, N/A -->
|match    = No <!-- Yes, No, Partial, Untested, N/A -->
|features = No <!-- Yes, No, Partial, Untested, N/A -->
|notes    = Creating a custom match works but the emulator for the client will crash on attempting to join.
}}
 
{{patch
|type    = PPU
|version = 1.2
|content =  
PPU-d5041972c3464b734ed27f0b94b505a2a14471c8:
PPU-d5041972c3464b734ed27f0b94b505a2a14471c8:
   Unlock FPS:
   Unlock FPS:
Line 168: Line 191:
     Patch:
     Patch:
       - [ be32, 0xF18830, 0x00000000 ]
       - [ be32, 0xF18830, 0x00000000 ]
</pre>
 
PPU-a2c90aafce24744d5ac6da8ad009ce301458c8a7:
  Unlock FPS:
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLES00229: [ 01.08 ]
        NPEB00882: [ 01.09 ]
    Author: Zolika1351, illusion
    Notes: Set Framelimit to 60FPS otherwise loading screen layers will go too fast.
    Patch Version: 1.0
    Patch:
      - [ be32, 0xF18840, 0x00000000 ]
}}

Revision as of 13:57, 17 September 2022

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

GPU configuration

Setting Option Notes
Write color buffers On Fixes missing reflections.

Known Issues

Broken light sources with NVIDIA GPUs on Vulkan - Fixed

Light sources like lamps, streetlights or headlights on vehicles are broken when using Vulkan on NVIDIA GPUs. AMD doesn't have this issue.

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 Yes Yes No No Creating a custom match works but the emulator for the client will crash on attempting to join.

Patches

PPU-d5041972c3464b734ed27f0b94b505a2a14471c8:
  Unlock FPS:
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLUS30127: [ 01.08 ]
        NPUB30702: [ 01.08 ]
    Author: Zolika1351
    Notes: Set Framelimit to 60FPS otherwise loading screen layers will go too fast.
    Patch Version: 1.0
    Patch:
      - [ be32, 0xF18830, 0x00000000 ]

PPU-a2c90aafce24744d5ac6da8ad009ce301458c8a7:
  Unlock FPS:
    Games:
      "Grand Theft Auto IV (Grand Theft Auto 4)":
        BLES00229: [ 01.08 ]
        NPEB00882: [ 01.09 ]
    Author: Zolika1351, illusion
    Notes: Set Framelimit to 60FPS otherwise loading screen layers will go too fast.
    Patch Version: 1.0
    Patch:
      - [ be32, 0xF18840, 0x00000000 ]