github ThirteenAG/WidescreenFixesPack gtasa
Grand Theft Auto San Andreas Widescreen Fix

latest releases: re3gc, re2gc, flatout2...
7 years ago

Grand Theft Auto: San Andreas Widescreen Fix adds proper widescreen support, unlocks every resolution, corrects HUD, FOV and cutscene letterboxing, and includes a range of quality-of-life improvements.

Website · Source Code · Default INI


Fixes

  • Resolution - unlocks all resolutions in Advanced Display Options, including ultrawide
  • Aspect Ratio - corrected for all rendered elements
  • HUD - repositioned and scaled to match the active aspect ratio; configurable scale for HUD, radar, subtitles and weapon icons
  • Field of View - corrected for widescreen
  • Cutscenes - FOV and letterboxing adjust properly with the aspect ratio
  • Sky - the sky no longer distorts in widescreen
Widescreen HUD

New Options

  • In-Game Options - a Cutscene Borders mode (off, letterbox, pillarbox, or both) and the Frame Limiter option turned into a full FPS selector (off, 30 up to 240 FPS), both available right in the Display menu
In-game options
  • HUD Scaling - configurable width and height scale for the HUD, radar and subtitles
  • Proportional Weapon Icon - weapon icon scales proportionally with the HUD
HUD scaling
  • Transparent Menu - makes the menu background transparent with a blur
  • Xbox 360 Gamma - a custom gamma curve that produces a higher-contrast image with deeper colors, similar to GTA IV on the Xbox 360
  • AA Artifact Fix - hides the 1px lines at the top and left of the screen caused by MSAA
  • SMAA - enhanced subpixel morphological antialiasing as a post-processing effect
Graphics options
  • Alt-Tab Without Pausing - game keeps running when focus is lost in windowed mode
  • Crosshair Fix - disables the small white dot shown while aiming with some weapons
  • Text Outline - replaces text shadows with an outline
  • VCS Camera Shake - enables GTA: Vice City Stories style camera shake in vehicles at high speed
Gameplay options

Before / After

Before After
Original 4:3 output Correct 16:9 aspect ratio with proper HUD and FOV
Before stretched ultrawide After fixed ultrawide
The game would also be stretched in ultrawide Widescreen fix makes it work with any aspect ratio
Animated cutscene borders
Animated cutscene borders

Installation

  1. Download the .zip from this release.
  2. Extract the contents directly into the game folder - the same folder as gta-sa.exe.
  3. Optionally edit GTASA.WidescreenFix.ini to configure the available options.
  4. Launch the game.

Note

Installing SilentPatch is strongly recommended - it's the perfect companion to this fix and essentially required, fixing numerous bugs, crashes and progression issues.

Warning

Some mods may not be compatible with this new release. If you run into compatibility issues, enable Legacy mode below and keep using that until the authors of those mods update their projects.

Legacy mode - click to expand

To use the previous version of the fix, place GTASA.WidescreenFixLegacy.ini next to the .asi file with the following content:

[MAIN]
; Use this option to override the game resolution (-1|0|*).
ResX = 0
ResY = 0
; Set game aspect ratio (auto|4:3|5:4|16:9|*:*).
ForceAspectRatio = auto
; Used to properly scale frontend textures, such as menu background or loading screens (auto|4:3|5:4|16:9|*:*).
FrontendAspectRatio = auto 
; Disable any FOV related fixes, it's not recommended (0|1).
DontTouchFOV = 0
; Use original FOV value during cutscenes (0|1).
RestoreCutsceneFOV = 1
; The settings below are used to scale parts of the game UI differently.
; If set to "0.0" original values will be used.
HudWidthScale = 0.8     ; Original value is 1.0.
HudHeightScale = 0.8    ; Original value is 1.0.
RadarWidthScale = 0.82  ; Original value is 1.0.
RadarHeightScale = 0.0  ; Original value is 1.0.
SubtitlesScale = 0.0    ; Original value is 1.0.
ProportionalWeaponIcon = 0

[MISC]
; Same as in VCS PCE, cutscene border size will be adjusted to fit your resolution. On resolutions bigger than 16:9 vertical borders will be used. Note that you can enable or disable cutscene borders via 'WIDESCREEN'/'BORDERS' option in game menu (0|1).
SmartCutsceneBorders = 1 
; Game will not freeze when focus is lost (only in windowed mode).
AllowAltTabbingWithoutPausing = 0 
; Drawing 1px line at top and left sides of the screen to hide antialiasing bug caused by MSAA(0|1|2). (2) creates 4 lines to make picture symmetrical.
HideAABug = 0
; Disable the small white dot that appears while aiming with some weapons (0|1).
DisableWhiteCrosshairDot = 0 
; Replaces text shadow with outline (0|1|2).
ReplaceTextShadowWithOutline = 2
Non-Windows users (Proton/Wine) - click to expand

You need to tell Wine explicitly to use the correct DLL overrides required for this plugin. There's more than one way to achieve it.

Method 1: WINEDLLOVERRIDES variable lets you temporarily specify DLL overrides. It can be used from a command line as well as in the Steam launcher. In the case of the command line, simply prepend the usual start command with:

WINEDLLOVERRIDES="vorbisFile=n,b"

For Steam, head to the game's properties and set LAUNCH OPTIONS to WINEDLLOVERRIDES="vorbisFile=n,b" %command%.

Method 2: Use winecfg tool to make a permanent override for a specific Wine prefix. In case of Proton, Steam creates the Wine prefix for Grand Theft Auto: San Andreas in $HOME/.steam/steam/steamapps/compatdata/12120/pfx. Then you need to run winecfg with that path:

WINEPREFIX="$HOME/.steam/steam/steamapps/compatdata/12120/pfx" winecfg

Select the Libraries tab and fill the combo box with the name of the library you wish to override and hit Add. You can verify that it's been added to the list below with (native, builtin) suffix. Then close the window with the OK button.

Related Wine documentation:


Support the project

This project is only possible because of Fusion Fix sponsors. If you would like to see further updates and improvements, consider supporting it.





Also check out: Project2DFX

SA.Project2DFX - a visual upgrade that pairs perfectly with this Widescreen Fix. It adds the Project2DFX LOD corona effect to Grand Theft Auto: San Andreas, lighting up the entire state with thousands of distant lamppost and streetlight glows and greatly extending the draw distance.

Download · Website

SA.Project2DFX

Don't miss a new WidescreenFixesPack release

NewReleases is sending notifications on new releases.