Skip to content

About

Trimmed-down speedrunner version of SilentPatch for GTA III, Vice City, and San Andreas

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

SpeedrunSilentPatch

If you're not a speedrunner, you probably don't want this patch. Go here instead:

https://github.com/CookiePLMonster/SilentPatch

If you are a speedrunner:

This is where you will find the GTA Community's version of SilentPatch!

If you're not familiar with SilentPatch, basically it fixes a bunch of issues with the 3D GTA Trilogy. This is great for casual players, but it fixes too much to be viable for speedrunning. Some fixes make SP straight-up faster than vanilla, meaning everyone would need to use it to be competitive.

The idea of SpeedrunSilentPatch (SSP) is to maintain a fork of SilentPatch with three main objectives:

  • Keep the games playable on modern hardware
  • Improving speedrun QoL (eg fixing NG+ stuff)
  • Removing the need to use several other third party tools to fix issues (dxwnd, dinput, etc)

Importantly this mod will never give a speed advantage. This means it is completely optional for veterans, while at the same time lowering the barrier to entry for those new to our community.

Supported versions

  • GTA 3 - 1.0, retail 1.1 and legacy Steam 1.1 (Rockstar Games Launcher versions are not supported)
  • GTA VC - Japanese version (1.0 and 1.1 should also work, but aren't tested)
  • GTA SA - 1.0 only (but the homie recruiting is fixed like it is in 1.01)

How to use

  1. Download the latest release for your game from the release page.
  2. Unpack the zip to your game directory. For San Andreas, overwrite existing files.
  3. (optionally) edit the included SpeedrunSilentPatchXX.ini to enable settings like Windowed Mode, DMCA music replacement, etc.
  4. Start the game!

SpeedrunSilentPatch Fixes

GTA3

  • The mouse will no longer go beyond the game window dimensions, making it possible to play the game on multi-monitor setups without problems.
  • DirectPlay dependency has been removed - this should improve compatibility with Windows 8 and newer.
  • The "Cannot find enough available video memory" error showing on some computers has been resolved.
  • Path to the User Files directory is now obtained using a dedicated API call rather than a legacy registry entry, future-proofing the games more.
  • Mouse sensitivity is now properly saved - like in the 1.1 and Steam versions.
  • Mission title and 'Mission Passed' texts now stay on screen for the same duration, regardless of screen resolution.
  • Free resprays will not carry on a New Game now.
  • Fixed ambulance and firetruck dispatch timers - they reset on New Game now.
  • Timers reset on a New Game now.
  • Lines read in CPlane::LoadPath and CTrain::ReadAndInterpretTrackFile are now null-terminated, fixing issues with plane/train paths under specific conditions in a modded game.
  • If the settings file is absent, the game will now default to your desktop resolution instead of 640x480x16.
  • All censorships from German and French versions of the game have been removed.

Custom SpeedrunSilentPatch fixes not in original SilentPatch:

  • Windowed mode, toggleable in ini. Inspired by III.VC.SA.WindowedMode.
  • CPU affinity mask (core pinning), toggleable in the INI and off by default. Needed in very rare cases, for example when spamming replays while entering Portland crashes the game for you.
  • The game now write a crash log when it terminate through an unhandled exception. SSP can also write a full-process .dmp beside the executable. This is disabled by default because dumps can be large.

GTAVC

  • Fixed an issue where installing the game on A: or B: drive made the game ask for the CD.
  • The mouse should not lock up randomly when exiting the menu on newer systems anymore.
  • The mouse will no longer go beyond the game window dimensions, making it possible to play the game on multi-monitor setups without problems.
  • DirectPlay dependency has been removed - this should improve compatibility with Windows 8 and newer.
  • The game will not crash on startup if Data Execution Prevention is enabled for all applications anymore.
  • The "Cannot find enough available video memory" error showing on some computers has been resolved.
  • Path to the User Files directory is now obtained using a dedicated API call rather than a legacy registry entry, future-proofing the games more.
  • The mouse vertical axis sensitivity now matches horizontal axis sensitivity.
  • Mission title and 'Mission Passed' texts now stay on screen for the same duration, regardless of screen resolution.
  • Free resprays will not carry on a New Game now.
  • Fixed ambulance and firetruck dispatch timers - they reset on New Game now.
  • Lines read in CPlane::LoadPath and CTrain::ReadAndInterpretTrackFile are now null-terminated, fixing issues with plane/yacht paths under specific conditions in a modded game.
  • Mouse sensitivity is no longer reset on starting a New Game.
  • Fixed the "Greetings from Vice City" outro splash displaying longer than intended - now displays for 2.5 seconds.
  • If the settings file is absent, the game will now default to your desktop resolution instead of 640x480x16.
  • All censorships from German and French versions of the game have been removed.

Custom SpeedrunSilentPatch fixes not in original SilentPatch:

  • Windowed mode, toggleable in ini. Inspired by III.VC.SA.WindowedMode.
  • CPU affinity mask (core pinning), toggleable in the INI and off by default. Needed in very rare cases.
  • Copyrighted ambience music in the Pole Position Club and the Malibu Club is replaced with default VC ambience, and Publicity Tour cutscene audio has music removed, to prevent DMCA-strikes on video and streaming platforms like YouTube and Twitch. Toggleable in ini with ReplaceDMCAMusic.
  • All startup movies in Vice City can be skipped with SkipIntroSplashes or the /SkipIntroSplashes command-line argument when using the DDraw component.
  • Fix an inconsistent crash and/or an error message on game start if the system has no disc drives. The game now write a crash log when it terminate through an unhandled exception. SSP can also write a full-process .dmp beside the executable. This is disabled by default because dumps can be large.

GTASA

  • The mouse should not lock up randomly when exiting the menu on newer systems anymore.
  • DirectPlay dependency has been removed - this should improve compatibility with Windows 8 and newer.
  • Path to the User Files directory is now obtained using a dedicated API call rather than a legacy registry entry, future-proofing the games more.
  • Fixed a crash on car explosions - most likely to happen when playing with a multi-monitor setup.
  • Fixed a streaming-related deadlock, which could occasionally result in the game being stuck on a black screen when entering or exiting interiors (this is the issue people used to fix by setting CPU affinity to one core).
  • Fixed Skimmer not spawning on Windows 11 24H2.
  • The mouse cursor is now locked to the game window instead of getting re-centered constantly, so rapid mouse movements can no longer cause the cursor to leave the window in multi-monitor setups.
  • The mouse's vertical axis sensitivity now matches the horizontal axis sensitivity.
  • Num5 is now bindable (like in the 1.01 patch).
  • Dancing minigame timings have been improved, now they do not lose accuracy over time depending on the PC's uptime.
  • "Keep weapons after wasted" and "keep weapons after busted" are now reset on the New Game.
  • Pickups, car generators, and stunt jumps spawned through the text IPL files now reinitialize on a New Game. Most notably, this fixes several pickups (like fire extinguishers) going missing after starting a new game.
  • Mission title and 'Mission Passed' texts now stay on screen for the same duration, regardless of screen resolution.
  • 16:9 resolutions are now selectable (like in the 1.01 patch).
  • Free resprays will not carry on a New Game now.
  • Fixed ambulance and firetruck dispatch timers - they reset on New Game now.
  • Several stat counters now reset on New Game - so the player will not level up quicker after starting New Game from a save.
  • The "To stop Carl..." message now resets properly on New Game.
  • If the settings file is absent, the game will now default to your desktop resolution instead of 800x600x32.
  • Remade the monitor selection dialog, adding several quality-of-life improvements - such as remembering the selected screen, modern styling, and an option to skip the dialog appearing on every game launch.
  • EAX/NVIDIA splashes are now removed.
  • A 1.0 no-DVD-only bug where recruiting gang members would stop working after activating a replay has been fixed.

Custom SpeedrunSilentPatch fixes not in original SilentPatch:

  • WASD-cheat preventer. By default, you have to hold Shift for any cheat to work. Other options are: Normal (like vanilla), Off (disable cheats entirely), CapsLock (cheats only work when Caps Lock is on), or ScrollLock (cheats only work when Scroll Lock is on)
  • Windowed mode, toggleable in ini. Inspired by III.VC.SA.WindowedMode.
  • Copyrighted ambience music in St. Mark's Bistro, the casinos, Pleasure Domes, Stadium, Lowrider challenge, beach party and the strip club can be replaced with default San Andreas ambience to help prevent DMCA strikes on video and streaming platforms. Disabled by default, toggleable with setting in .ini file.
  • Cpu affinity mask (aka core pinning) setting through ini. No longer needed, because SpeedrunSilentPatch patches the bug that caused crashes when running on more than one core. Off by default. The game now write a crash log when it terminate through an unhandled exception. SSP can also write a full-process .dmp beside the executable. This is disabled by default because dumps can be large.

Thanks / Credits

  • Silent, for creating SilentPatch, the project this project is based on.
  • EnglishBen, for the curation of which fixes to enable for speedrunners.
  • Grovespaz, for making the code changes required and adding SSP-only fixes.
  • maxorator, ThirteenAG, not6, and Miran for creating III.VC.SA.WindowedMode which served as inspiration for our windowed mode.

Original SilentPatch ReadMe:

Logo

SilentPatch for the 3D-era Grand Theft Auto games is the first and flagship release of the "SilentPatch family", providing numerous fixes for this beloved franchise. SilentPatch addresses a wide range of issues, from critical fixes for crashes and other blockers to various major and minor improvements identified by the passionate community in these games over decades. SilentPatch does not alter the core gameplay experience, making it an optimal choice for both first-time players and the old guard returning for yet another playthrough.

Featured fixes

Compilation requirements

  • Visual Studio 2017 or newer with C++ Windows XP Support for VS 2017 (v141) tools installed. Newer toolsets will work too, but the projects will require retargeting.
  • vcpkg installed separately or as a Visual Studio component. Necessary for SP for San Andreas to include libflac.
  • RenderWare Graphics SDK. Each game requires their corresponding RenderWare version and an environment variable pointing at the RW3.x\Graphics\rwsdk directory:
    • GTA III: RW 3.3, D3D8, RWG33SDK variable.
    • GTA Vice City: RW 3.4, D3D8, RWG34SDK variable.
    • GTA San Andreas: RW 3.6, D3D9, RWG36SDK variable.

Contribution guidelines

  • Contributions with bug fixes are welcome, but you must be able to explain why you believe they fix a bug, rather than alter a design decision that doesn't suit you. I reserve the right to reject submissions that cannot be unambiguously classified as fixes.
  • Contributions for GTA III and Vice City must use patterns and support all game versions. For GTA San Andreas, contributions must support version 1.0, but preferably also the new binaries (newsteam/RGL).
  • This repository is not intended for game support. Issues such as "I installed mods and the game now crashes" will be closed.

Credits

SilentPatch includes code contributions from:

  • aap
  • B1ack_Wh1te
  • DK22Pac
  • Fire_Head
  • iFarbod
  • Kaizo M
  • Nick007J
  • NTAuthority
  • Sergeanur
  • spaceeinstein
  • Wesser

About

Trimmed-down speedrunner version of SilentPatch for GTA III, Vice City, and San Andreas

Topics

Resources

Stars

26 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages