Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GTA San Andreas Widescreen improvement and Silentpatch Lite for 399A49CA and 2C6BE434 #486

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
167 changes: 157 additions & 10 deletions patches/SLUS-20946_2C6BE434.pnach
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,118 @@ gametitle=Grand Theft Auto: San Andreas (SLUS-20946GH) 2C6BE434 / Ver 3.00

[Widescreen 16:9]
gsaspectratio=16:9
author=nemesis2000
description=Widescreen fix
patch=1,EE,001130BC,word,3C013F9D
patch=1,EE,001130C0,word,44810000
patch=1,EE,001130C4,word,46006302
patch=1,EE,001130C8,word,03E00008
patch=1,EE,001130CC,word,E78C9A90
author=DanielSantos, ported by kesterstudios
description=GTA San Andreas Modern Widescreen Fix for 3.00/GH

patch=1,EE,0021DFE4,word,0C044C2F
patch=1,EE,00242DB4,word,0C044C32


//-------------------------------------------------HUD-------------------------------------------------//

patch=0,EE,20664384,extended,3ecccccd //Wanted Width
patch=0,EE,20664390,extended,3ef5c28f //Wanted Shadow Width

patch=0,EE,2026E09C,extended,3c084280 //Radar Width
patch=0,EE,2026ED60,extended,3c024280 //Radar Mask Width
patch=0,EE,2026EE90,extended,3c034280 //Radar Mask Width
patch=0,EE,2026EF78,extended,3c034280 //Radar Mask Width
patch=0,EE,20269588,extended,3c024280 //Radar Width unknown
patch=0,EE,2026E6B8,extended,3c024280 //Radar Width plane green overlay
patch=0,EE,202ACA08,extended,3c024258 //Radar Width plane overlay
patch=0,EE,202ACA74,extended,3c024270 //Radar Heigth plane overlay

patch=0,EE,202ACD5C,extended,3c0341e3 //Radar Disc Width left up
patch=0,EE,202ACD60,extended,3c0243aa //Radar Disc Width left up
patch=0,EE,202ACD70,extended,3c034280 //Radar Disc Width left up
patch=0,EE,202ACD74,extended,3c0243bf //Radar Disc Width left up

patch=0,EE,202ACDA8,extended,3c0342c6 //Radar Disc Width right up
patch=0,EE,202ACDAC,extended,3c0243aa //Radar Disc Width right up
patch=0,EE,202ACDBC,extended,3c034280 //Radar Disc Width right up
patch=0,EE,202ACDC0,extended,3c0243bf //Radar Disc Width right up

patch=0,EE,202ACDF4,extended,3c0341e3 //Radar Disc Width left down
patch=0,EE,202ACDF8,extended,3c0243d4 //Radar Disc Width left down
patch=0,EE,202ACE08,extended,3c034280 //Radar Disc Width left down
patch=0,EE,202ACE0C,extended,3c0243bf //Radar Disc Width left down

patch=0,EE,202ACE40,extended,3c0342c6 //Radar Disc Width right down
patch=0,EE,202ACE44,extended,3c0243d4 //Radar Disc Width right down
patch=0,EE,202ACE54,extended,3c034280 //Radar Disc Width right down
patch=0,EE,202ACE58,extended,3c0243bf //Radar Disc Width right down

patch=0,EE,2026AEB4,extended,3c034270 //Radar Blip disc Width

patch=0,EE,2026E0AC,extended,3c064280 //Radar X Pos
patch=0,EE,2026ED70,extended,3c024280 //Radar Mask X Pos
patch=0,EE,2026EE9C,extended,3c044280 //Radar Mask X Pos
patch=0,EE,2026EF94,extended,3c044280 //Radar Mask X Pos
patch=0,EE,2026AECC,extended,3c034280 //Radar Blip disc X Pos
patch=0,EE,2026E6D4,extended,3c024280 //Radar X Pos plane green overlay
patch=0,EE,202ACA10,extended,3c034280 //Radar X Pos plane overlay

patch=0,EE,202AA004,extended,3C024210 //Fist Icon Width
patch=0,EE,202A9F44,extended,3c024190 //Weapon Icon Width
patch=0,EE,202ABB50,extended,2405020D //Weapon Icon Pos X
patch=0,EE,202ABB8C,extended,2405020D //Weapon Icon Pos X - Player 2

patch=0,EE,20663EC8,extended,3e800000 //Ammo Width
patch=0,EE,202ABBA0,extended,2405021F //Ammo X Pos
patch=0,EE,202ABBDC,extended,2405021F //Ammo X Pos - Player 2

patch=0,EE,202A9C94,extended,3c0242A8 //Health bar width
patch=0,EE,202A9A14,extended,2404002F //Armor bar width
patch=0,EE,202A9B14,extended,2404002F //Breath bar width

patch=0,EE,202AB62C,extended,24050231 //Armor bar pos x
patch=0,EE,202AB670,extended,24050231 //Armor bar pos x
patch=0,EE,202AB7C0,extended,24050231 //Breath bar pos x
patch=0,EE,202AB808,extended,24050231 //Breath bar pos x

//CRadar::DrawBlips - Radar Centre
patch=0,EE,2026869C,extended,24050006
patch=0,EE,202686A4,extended,24060008
patch=0,EE,202686D4,extended,24050006
patch=0,EE,202686DC,extended,24060008

patch=0,EE,202ADB30,extended,3c033ecc //Mission timers
patch=0,EE,202AD93C,extended,3c023f33 //Vehicle name width
patch=0,EE,202AFDBC,extended,3c023f33 //Mission title width

patch=0,EE,202AD3AC,extended,c78c8384 //Area name width hook - 0x663474

patch=0,EE,20664348,extended,3ecccccd //Money Width

patch=0,EE,206643D8,extended,3ecccccd //Subtitles Width

patch=0,EE,20663DF4,extended,3EB33333 //Help box Width

patch=0,EE,202AC550,extended,C78C82BC //DrawVitalStats weekday width hook
patch=0,EE,202AC548,extended,C78D899C //DrawVitalStats weekday height hook

patch=0,EE,2023E624,extended,3c023f33 //CMenuManager::DrawWindow title width

patch=0,EE,202ACBC4,extended,3C0341d4 //AltitudeBar width
patch=0,EE,202ACD20,extended,3C0241e5 //AltitudeCounter width
patch=0,EE,202ACD10,extended,3C034190 //AltitudeCounter X Pos

//--------------------------------------------------FOV------------------------------------------------//

patch=0,EE,2021DFE4,extended,0C044C2F //SetFOV Call
patch=0,EE,20242DB4,extended,0C044C2F //SetFOV Call
patch=0,EE,2021DFE4,extended,0C044C2F //SetFOV Call

patch=0,EE,201130BC,extended,3C013F9D //New SetFOV
patch=0,EE,201130C0,extended,44810000 //New SetFOV
patch=0,EE,201130C4,extended,46006302 //New SetFOV
patch=0,EE,201130C8,extended,03e00080 //New SetFOV
patch=0,EE,201130CC,extended,E78C9A90 //New SetFOV

patch=0,EE,2021E040,extended,3c0242a0 //Emergency Vehicles Fix

patch=0,EE,202EE210,extended,3C024120 //Fix sky multitude
patch=0,EE,202EE218,extended,00000000 //Fix sky multitude

patch=0,EE,2020A4E4,extended,3C024302 //Set vehicle max FOV

[Remove Radiosity Filter]
description=Removes the radiosity filter which causes a ghosting effect on the people and environment.
Expand All @@ -22,4 +124,49 @@ patch=1,EE,2051A6D8,extended,00000000
author=someother1ne
description=Unlocked at 60 FPS. Might need enable 130% EE Overclock to be stable.
patch=1,EE,D066804C,extended,00000002
patch=1,EE,0066804C,extended,10000001
patch=1,EE,0066804C,extended,10000001

[Silentpatch Lite Fixes]
author=DanielSantos, ported by kesterstudios, with consideration to Silent
description=Silentpatch Lite Fixes for 3.00

//------------------------------------------------Fixes------------------------------------------------//

//Linear Filtering for License Plates
patch=0,EE,204A4D94,extended,34630002 //ori $v1, 2 //RWLINEARFILTER

//Fixed ammo for melee weapons in cheats
patch=0,EE,2059DFEC,extended,24060001 //li $s2 1 //knife
patch=0,EE,2059E0F8,extended,24060001 //li $s2 1 //knife
patch=0,EE,2059E2C0,extended,24060001 //li $s2 1 //chainsaw
patch=0,EE,2059E394,extended,24060001 //li $s2 1 //chainsaw
patch=0,EE,2059FDDC,extended,24060001 //li $s2 1 //parachute
patch=0,EE,2059FB1C,extended,24060001 //li $s2 1 //katana

//014C cargen counter fix (by spaceeinstein)
patch=0,EE,20295C00,extended,2C61FFFF //slti => sltiu
patch=0,EE,20295C04,extended,10000004 //beqz => b

// Don't clean the car BEFORE Pay 'n Spray doors close, as it gets cleaned later again anyway!
patch=0,EE,202E42FC,extended,00000000 //nop

// Fixed muzzleflash not showing from last bullet
patch=0,EE,20407464,extended,00000000 //nop

// Help boxes showing with big message
// Game seems to assume they can show together
patch=0,EE,202AE4B0,extended,00000000 //nop

// Weapon icon fix (crosshairs mess up rwRENDERSTATEZWRITEENABLE)
patch=0,EE,202AAC54,extended,00000000 //nop
patch=0,EE,202AB394,extended,00000000 //nop
patch=0,EE,202AB3C4,extended,00000000 //nop


//-------------------------------------------------Menu------------------------------------------------//

patch=0,EE,20234AA4,extended,24040001 //Set Menu Text Body

patch=0,EE,20234A74,extended,c78c8b68 //Hook Menu Items Width to Subtitles width
patch=0,EE,20235558,extended,c78c8b68 //Hook Menu Items Width to Subtitles width
patch=0,EE,202421F0,extended,3c023ecc //Set Menu Labels Width
Loading
Loading