File information

Last updated

Original upload

Created by

sneakyevil and soon

Uploaded by

xaeroneo

Virus scan

Some suspicious files

About this mod

Unofficial patch for v1.00.2 to make the game playable on modern systems, work in progress currently.

Requirements
Permissions and credits
Gangsta Patch

An unofficial patch for US v1.00.2 to make the game playable on modern systems.

Installation
  • Download latest release.
  • Place files in game folder / plugins folder.
NOTE: Remove SilentPatch or FusionFix before using this patch.

Controller Prompt Installation
  • Download the optional file.
  • Place the file inside game folder under folder "patch", create one if doesn't exist.
  • Pick the prompts you prefer (Xbox, Playstation or Steam Deck) and then rename the file to controller.png.

Ini Settings
[Scarface]
ScreenWidth=640         ; Width of the window
ScreenHeight=480        ; Height of the window
MSAA=8                  ; Anti-aliasing (8 is max)
DrawDistance=2          ; 0 to 2 (Far)
EnableSFX=1             ; Enable special FX (Sun, lens flare, etc...
Aniso=16                ; Anisotropic Filtering (16 is max)
Trilinear=0             ; Trilinear filtering
Brightness=5
Mouse=10                ; Mouse speed

; Additional Patch options:
LanguageID=E            ; E (English, Czech, German, Polish, Russian), F (France), I (Italian), S (Spanish) -> Requires specific game files for functionality
Vibrance=50             ; Adjustable vibrance (0 - 100) (50 -> Default)
ShowFPS=0                ; Shows FPS at left corner.
SkipLicenseScreen=0        ; Skips license screen while starting up game.
SkipMovies=0            ; Skips intro movies while starting up game.
WidescreenHUD=1         ; Modifies 4:3 HUD to 16:9 Ratio.

[Bind]
WallCover=H             ; Changed to 'H', game's default is 'Enter'
Walk=ALT

[Windowed]
Mode=0                    ; 0: None, 1: Windowed, 2: Windowed Borderless

[ParticleEmitter]
EmissionRate=2          ; 0: Disabled, 1: Quality, 2: Balanced, 3: Performance, 4: Potato

[PostProcessFX]
Enable=0                ; Enables blur & bloom.
Bloom=50                ; The game uses dynamic value, using this option will force the value to be always same

[Patch]
EnableMemoryAllocator=0   ; 0: Use system's default malloc/free, 1: Use Doug Lea Memory Allocator
DebugMenu=0             ; Shows debug option in the pause menu.


Additions
  • Ability to walk and dance using the keyboard.
  • Dynamic blood.
  • Controller button prompts with support for custom buttons.
  • Native windowed and windowed borderless mode.
  • Widescreen HUD (Work in progress).
  • Option to adjust display vibrance.
  • Option to change the emission rate for Particle Emitter.
  • Toggle for unused Post-Process FX.
  • Option to skip license screens and intro movies.
  • Cheat codes for blue suit outfits: BLUE, BLUEPIN.

Fixes
  • 3D Audio causing pitch changes.
  • Culling/Z-fighting (texture flickering or disappearing near lighting).
  • Auto Player/Vehicle Tape not saving between sessions.
  • Character animations playing too fast at high FPS.
  • Inconsistent character movement speed.
  • Culling mode causing parts of models to render as invisible.
  • Mouse input clamped as analog stick.
  • Ocean animation speed depending on FPS.
  • Rendering issues preventing proper display.
  • Shadow color glitching in certain areas of the map.
  • Vehicle collisions launching cars into the air at high FPS.
  • Weapon bullet rattle causing continuous camera spin.
  • Missing maximum side value for weapon bullet rattle.

Improvements
  • Properly handle process and thread affinity without affecting performance.
  • Multi-language support.
  • Registry settings moved to an INI file in the game folder.
  • Removed camera blending to improve mouse input.
  • Added more display resolutions in game options.
  • Rewritten vehicle glass shader for better damage effects and reflections.
  • Adjusted vehicle shininess to match console versions.
  • Better support for Xbox controller mapping.
  • Multiple performance improvements:
    • Removed leftover checks and content from the v1.00.2 (ActiveMARK protected) version to eliminate micro-stutters and other issues.

Missing
  • Effects (Specular reflection on NPCs, Color correction, Gun Sparks, Sun, Minimap Shader, Bloom, Fog)


Changelog
#### Version 1.5.0 (2024-08-19)
- Cop/Gang Heat text not been properly offset in Widescreen HUD.[list]
- Dynamic Blood on Tony & Peds has been restored to similar functionality as PS2 version
- Optional Doug Lea's memory allocator replacement for default system's malloc/free.
- Reverse-Z that fixes z fighting issues.
- Option to change language ID.

#### Version 1.4.9 (2024-08-05)
- Changed the Wall Cover key to 'H', game's default is 'Enter'
- Icons in Empire been wrongly offset while using Widescreen HUD.
- Option to change emission rate for particle emitter.
- Random crash that could occur in function that generates random number (division by zero).
- Add cheat codes for blue suit outfits. (BLUE / BLUEPIN)

#### Version 1.4.8 (2024-08-04)
- Fixed: Vehicle glass having wrong transparency for base texture.

#### Version 1.4.7 (2024-08-03)
- Added: Post-process FX settings in game options.
- Changed: Affinity mode has been modified and the option to change the behavior is no longer available. The current way should be final as this will behave mostly as the game intended while keeping other non-game related threads unaffected. (This should also fix issues with profiles not loading at the start of the game)
- Fixed: Issue with bullet rattle that would cause the camera to continuously spin around.

#### Version 1.4.6 (2024-07-31)
- Mouse wheel weapon switching.

#### Version 1.4.5 (2024-07-30)
- Added a Crash Handler.

#### Version 1.4.4 (2024-07-28)
- Fixed: 3D Audio pitch issues.
- Fixed: Changing resolution while using windowed mode.

#### Version 1.4.3 (2024-07-27)
- Optional Widescreen HUD
- Ingame customizable options
- Option 'Tape Player' not being saved.
- Logging for debugging

#### Version 1.4.2 (2024-07-22)
- Added partial controller prompt support

#### Version 1.4.1 (2024-07-20)
- Updated vorbisfile.dll

#### Version 1.4.0 (2024-07-15)
- Changed shininess of vehicle rims to match PS2 version
- Rewrote vehicle glass shader to support reflection and replicate console glass damage
- Added time delta calculation for [code]VehicleEngine::OnObjectCollision

#### Version 1.3.0 (2024-07-11)
- Updated `CMakeLists.txt`
- Removed hardcoded address call to `ControllerManager::Update`
- Fixed mouse sensitivity scaling based on screen height

#### Version 1.2.1 (2024-07-10)
- Fixed gamepad support for Steam Deck and other devices
- Fixed mouse input by removing `math::Clamp` for input handling

#### Version 1.2.0 (2024-07-01)
- Fixed nearPlane for sprites
- Attempted to fix flickering/z fighting issues

#### Version 1.1.3 (2024-07-02)
- Reverted near plane change due to conflicts with other features

#### Version 1.1.2 (2024-05-30)
- Updated `readme.md`

#### Version 1.1.1 (2024-05-27)
- Prevented block key while attempting to dance

#### Version 1.1.0 (2024-05-24)
- Small refactoring
- Added ability to walk with keyboard

#### Version 1.0.4 (2024-05-09)
- Fixed shadow rendering issues in certain areas

#### Version 1.0.3 (2024-05-08)
- Used own CRT & STL for tiny build

#### Version 1.0.2 (2024-05-07)
- Used patch method for windowed mode rather than hook
- Updated `readme.md`
- Added option to change bloom intensity

#### Version 1.0.1 (2024-05-06)
- Added option to enable PostProcessFX and change vibrance

#### Version 1.0.0 (2024-05-03)
- Used none cull mode instead of 3 (outside cullTable, same value)
- Fixed culling issues
- Fixed SDK update compatibility
- Rewrote patching functions
- Fixed vehicle window damage
- Implemented `WeaponStateProp::GetBarrelCreepSideMax` for `RequestCameraRattle`
- Disabled camera blending for character camera
- Disabled cursor hiding
- Patched ActiveMARK Internet Initializer
- Tested animation FPS patch
- Fixed ocean animation speed issues above 30fps
- Added option to set affinity to disable core 0 for better performance on HT CPUs
- Added option to skip license screen at game startup
- Made small changes to skip intro movies
- Fixed affinity, modified `NtGlobalFlag` & Heap Flags, added option to show FPS
- Added project files
- Added `.gitignore` and `.gitattributes` files