From 0fa4565945a87d7b6cb4ccea59fb3c768fced2f6 Mon Sep 17 00:00:00 2001 From: MackdannyTwitch Date: Tue, 14 Jan 2025 22:18:49 -0700 Subject: [PATCH] GTA San Andreas Widescreen improvement and Silentpatch Lite for 399A49CA and 2C6BE434 The current widescreen patch, while functional, has the HUD and the radar unaffected. I include pnach files for 1.03 and 3.00 that make the widescreen appear more like ThirteenAG's widescreen mod on PC, thus fixing the HUD and radar. It also has the added benefit of not glitching the emergency vehicles. I also include a Silentpatch lite that adds cosmetic and QOL enhancements, similar to the PC version, while leaving game mechanics otherwise untouched, so it wouldn't trigger RetroAchievements' anticheat system. 1.03 ![Grand Theft Auto - San Andreas_SLUS-20946_20250108112003](https://github.com/user-attachments/assets/075c60f5-614b-49fc-b706-a8917196c333) 3.00 ![Grand Theft Auto - San Andreas_SLUS-20946_20250108130059](https://github.com/user-attachments/assets/257ef544-e877-4557-b52c-d63861b027ce) (For best results, turn the ingame widescreen option on, but that does not affect the radar/HUD whether on or off) --- patches/SLUS-20946_2C6BE434.pnach | 167 +++++++++++++++++-- patches/SLUS-20946_399A49CA.pnach | 265 ++++++++++++++++++++++++++++-- 2 files changed, 412 insertions(+), 20 deletions(-) diff --git a/patches/SLUS-20946_2C6BE434.pnach b/patches/SLUS-20946_2C6BE434.pnach index e3a74d11..95084521 100644 --- a/patches/SLUS-20946_2C6BE434.pnach +++ b/patches/SLUS-20946_2C6BE434.pnach @@ -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. @@ -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 \ No newline at end of file +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 diff --git a/patches/SLUS-20946_399A49CA.pnach b/patches/SLUS-20946_399A49CA.pnach index 190507a8..b07398cb 100644 --- a/patches/SLUS-20946_399A49CA.pnach +++ b/patches/SLUS-20946_399A49CA.pnach @@ -2,17 +2,204 @@ gametitle=Grand Theft Auto: San Andreas (SLUS-20946GH) / Ver 1.03 [Widescreen 16:9] gsaspectratio=16:9 -author=nemesis2000, port by flameofrecca +author=DanielSantos, with consideration to ThirteenAG and kesterstudios +description=GTA San Andreas Modern Widescreen Fix for 1.03 -//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 -patch=1,EE,0021DF84,word,0C044C2F -patch=1,EE,00242D54,word,0C044C32 +//-------------------------------------------------HUD-------------------------------------------------// + +//patch=0,EE,20663C00,extended,3f666666 //Wanted Height +patch=0,EE,20663C04,extended,3ecccccd //Wanted Width +//patch=0,EE,20663C0C,extended,3f8a3d71 //Wanted Shadow Height +patch=0,EE,20663C10,extended,3ef5c28f //Wanted Shadow Width +//patch=0,EE,202AA78C,extended,3c023fc0 //Wanted Vertical Padding + +patch=0,EE,2026E03C,extended,3c084280 //Radar Width +patch=0,EE,2026ED00,extended,3c024280 //Radar Mask Width +patch=0,EE,2026EE30,extended,3c034280 //Radar Mask Width +patch=0,EE,2026EF18,extended,3c034280 //Radar Mask Width +patch=0,EE,20269528,extended,3c024280 //Radar Width unknown +patch=0,EE,2026E658,extended,3c024280 //Radar Width plane green overlay +patch=0,EE,202AC8F8,extended,3c024258 //Radar Width plane overlay +patch=0,EE,202AC964,extended,3c024270 //Radar Heigth plane overlay + +patch=0,EE,202ACC4C,extended,3c0341e3 //Radar Disc Width left up - a esquerda dessa porra aqui +patch=0,EE,202ACC50,extended,3c0243aa //Radar Disc Width left up - a parte de cima dessa porra aqui +patch=0,EE,202ACC60,extended,3c034280 //Radar Disc Width left up - a direita dessa porra aqui +patch=0,EE,202ACC64,extended,3c0243bf //Radar Disc Width left up - a parte de baixo dessa porra aqui + +patch=0,EE,202ACC98,extended,3c0342c6 //Radar Disc Width right up - a esquerda dessa porra aqui +patch=0,EE,202ACC9c,extended,3c0243aa //Radar Disc Width right up - a parte de cima dessa porra +patch=0,EE,202ACCac,extended,3c034280 //Radar Disc Width right up - a direita dessa porra aqui +patch=0,EE,202ACCb0,extended,3c0243bf //Radar Disc Width right up - a parte de baixo dessa porra + +patch=0,EE,202ACCE4,extended,3c0341e3 //Radar Disc Width left down - a esquerda dessa porra aqui +patch=0,EE,202ACCE8,extended,3c0243d4 //Radar Disc Width left down - a parte de cima dessa porra +patch=0,EE,202ACCF8,extended,3c034280 //Radar Disc Width left down - a direita dessa porra aqui +patch=0,EE,202ACCFC,extended,3c0243bf //Radar Disc Width left down - a parte de baixo dessa porra + +patch=0,EE,202ACD30,extended,3c0342c6 //Radar Disc Width right down - a esquerda dessa porra aqui +patch=0,EE,202ACD34,extended,3c0243d4 //Radar Disc Width right down - a parte de cima dessa porra +patch=0,EE,202ACD44,extended,3c034280 //Radar Disc Width right down - a direita dessa porra aqui +patch=0,EE,202ACD48,extended,3c0243bf //Radar Disc Width right down - a parte de baixo dessa porra + +patch=0,EE,2026AE54,extended,3c034270 //Radar Blip disc Width + +patch=0,EE,2026E04C,extended,3c064280 //Radar X Pos +//patch=0,EE,2026E0A0,extended,3c0443BF //Radar Y Pos +patch=0,EE,2026ED10,extended,3c024280 //Radar Mask X Pos +patch=0,EE,2026EE3C,extended,3c044280 //Radar Mask X Pos +patch=0,EE,2026EF34,extended,3c044280 //Radar Mask X Pos +patch=0,EE,2026AE6C,extended,3c034280 //Radar Blip disc X Pos +patch=0,EE,2026E674,extended,3c024280 //Radar X Pos plane green overlay +patch=0,EE,202AC900,extended,3c034280 //Radar X Pos plane overlay + +patch=0,EE,202A9EF4,extended,3C024210 //Fist Icon Width +patch=0,EE,202A9E34,extended,3c024190 //Weapon Icon Width +patch=0,EE,202ABA40,extended,2405020D //Weapon Icon Pos X +patch=0,EE,202ABA7C,extended,2405020D //Weapon Icon Pos X - Player 2 + +patch=0,EE,20663748,extended,3e800000 //Ammo Width +patch=0,EE,202ABA90,extended,2405021F //Ammo X Pos +patch=0,EE,202ABACC,extended,2405021F //Ammo X Pos - Player 2 + +patch=0,EE,202A9B84,extended,3c0242A8 //Health bar width +patch=0,EE,202A9904,extended,2404002F //Armour bar width +patch=0,EE,202A9A04,extended,2404002F //Breath bar width + +patch=0,EE,202AB51C,extended,24050231 //Armour bar pos x +patch=0,EE,202AB560,extended,24050231 //Armour bar pos x +patch=0,EE,202AB6B0,extended,24050231 //Breath bar pos x +patch=0,EE,202AB6F8,extended,24050231 //Breath bar pos x + +//CHud::DrawBustedWastedMessage width +patch=0,EE,202AF568,extended,3C033F90 //lui $v1, 0x3f90 +patch=0,EE,202AF56C,extended,0C0AA200 //jal _ZN5CFont8SetScaleEf # Jump And Link +patch=0,EE,202AF570,extended,44836000 //mtc1 $v1, $f12 +patch=0,EE,202AF574,extended,0C0AA2F4 //jal _ZN5CFont15SetProportionalEh # Jump And Link +patch=0,EE,202AF578,extended,24040001 //li $a0, 1 # Load Immediate +patch=0,EE,202AF57C,extended,0C0AA310 //jal _ZN5CFont10SetJustifyEh # Jump And Link +patch=0,EE,202AF580,extended,0000202D //move $a0, $zero +patch=0,EE,202AF584,extended,0C0AA314 //jal _ZN5CFont14SetOrientationEh # Jump And Link +patch=0,EE,202AF588,extended,0000202D //move $a0, $zero +patch=0,EE,202AF58C,extended,0C0AA27C //jal _ZN5CFont12SetFontStyleEh # Jump And Link +patch=0,EE,202AF590,extended,0000202D //move $a0, $zero +patch=0,EE,202AF594,extended,0C0AA2EC //jal _ZN5CFont7SetEdgeEa # Jump And Link +patch=0,EE,202AF598,extended,24040003 //li $a0, 3 # Load Immediate +patch=0,EE,202AF59C,extended,3C01007C //lui $at, 0x7C # '|' # Load Upper Immediate +patch=0,EE,202AF5A0,extended,3C024F00 //lui $v0, 0x4F00 # Load Upper Immediate +patch=0,EE,202AF5A4,extended,C42132D8 //lwc1 $f1, _styledText3Alpha # Load Word to FPU +patch=0,EE,202AF5A8,extended,44820000 //mtc1 $v0, $f0 # Move to FPU + +//CHud::DrawSuccessFailedMessage width +patch=0,EE,202AF0FC,extended,3C033f59 //lui $v1, 0x3f59 +patch=0,EE,202AF100,extended,0C0AA200 //jal _ZN5CFont8SetScaleEf # Jump And Link +patch=0,EE,202AF104,extended,44836000 //mtc1 $v1, $f12 +patch=0,EE,202AF108,extended,0C0AA2F4 //jal _ZN5CFont15SetProportionalEh # Jump And Link +patch=0,EE,202AF10C,extended,24040001 //li $a0, 1 # Load Immediate +patch=0,EE,202AF110,extended,0C0AA310 //jal _ZN5CFont10SetJustifyEh # Jump And Link +patch=0,EE,202AF114,extended,0000202D //move $a0, $zero +patch=0,EE,202AF118,extended,0C0AA314 //jal _ZN5CFont14SetOrientationEh # Jump And Link +patch=0,EE,202AF11C,extended,0000202D //move $a0, $zero +patch=0,EE,202AF120,extended,2402024E //li $v0, 0x24E # Load Immediate +patch=0,EE,202AF124,extended,44820000 //mtc1 $v0, $f0 # Move to FPU +patch=0,EE,202AF128,extended,0C0AA29C //jal _ZN5CFont13SetCentreSizeEf # Jump And Link +patch=0,EE,202AF12C,extended,46800320 //cvt.s.w $f12, $f0 # Floating-point Convert to Single Fixed-Point Format +patch=0,EE,202AF130,extended,0C0AA27C //jal _ZN5CFont12SetFontStyleEh # Jump And Link +patch=0,EE,202AF134,extended,24040003 //li $a0, 3 # Load Immediate +patch=0,EE,202AF138,extended,0C0AA2EC //jal _ZN5CFont7SetEdgeEa # Jump And Link +patch=0,EE,202AF13C,extended,24040002 //li $a0, 2 # Load Immediate +patch=0,EE,202AF140,extended,3C01007C //lui $at, 0x7C # '|' # Load Upper Immediate +patch=0,EE,202AF144,extended,3C024F00 //lui $v0, 0x4F00 # Load Upper Immediate +patch=0,EE,202AF148,extended,C42132D0 //lwc1 $f1, flt_7C32D0 # Load Word to FPU +patch=0,EE,202AF14C,extended,44820000 //mtc1 $v0, $f0 # Move to FPU + +//CRadar::DrawRadarSprite width +patch=0,EE,2026D384,extended,3C034100 //lui $v1, 0x4100 # Load Upper Immediate +patch=0,EE,2026D388,extended,0200102D //move $v0, $s0 +patch=0,EE,2026D38C,extended,44831000 //mtc1 $v1, $f2 # Move to FPU +patch=0,EE,2026D390,extended,3C0340C6 //lui $v1, 0x40C6 +patch=0,EE,2026D394,extended,44831800 //mtc1 $v1, $f3 # Move to FPU +patch=0,EE,2026D398,extended,27A50050 //addiu $a1, $sp, 0x70+var_20 # a2 +patch=0,EE,2026D39C,extended,27A6006C //addiu $a2, $sp, 0x70+var_4 # rgbaColor +patch=0,EE,2026D3A0,extended,4603A801 //sub.s $f0, $f21, $f3 # Floating-point Subtract +patch=0,EE,2026D3A4,extended,00021880 //sll $v1, $v0, 2 # Shift Left Logical +patch=0,EE,2026D3A8,extended,3C020070 //li $v0, dword_703A70 # Load Immediate +patch=0,EE,2026D3AC,extended,24423A70 // +patch=0,EE,2026D3B0,extended,00432021 //addu $a0, $v0, $v1 # a1 +patch=0,EE,2026D3B4,extended,E7A00050 //swc1 $f0, 0x70+var_20($sp) # Store Word from FPU +patch=0,EE,2026D3B8,extended,4603A800 //add.s $f0, $f21, $f3 # Floating-point Add +patch=0,EE,2026D3BC,extended,E7A00058 //swc1 $f0, 0x70+var_18($sp) # Store Word from FPU +patch=0,EE,2026D3C0,extended,4602A041 //sub.s $f1, $f20, $f2 # Floating-point Subtract +patch=0,EE,2026D3C4,extended,4602A000 //add.s $f0, $f20, $f2 # Floating-point Add +patch=0,EE,2026D3C8,extended,E7A1005C //swc1 $f1, 0x70+var_14($sp) # Store Word from FPU +patch=0,EE,2026D3CC,extended,0C0AC258 //jal _ZN9CSprite2d4DrawERK5CRectRK5CRGBA # Jump And Link +patch=0,EE,2026D3D0,extended,E7A00054 //swc1 $f0, 0x70+var_1C($sp) # Store Word from FPU +patch=0,EE,2026D3D4,extended,0200282D //move $a1, $s0 +patch=0,EE,2026D3D8,extended,0C09A670 //jal _ZN6CRadar19AddBlipToLegendListEhi # Jump And Link +patch=0,EE,2026D3DC,extended,0000202D //move $a0, $zero +patch=0,EE,2026D3E0,extended,DFBF0040 //ld $ra, 0x70+var_30($sp) # Load Doubleword +patch=0,EE,2026D3E4,extended,C7B50004 //lwc1 $f21, 0x70+var_6C($sp) # Load Word to FPU +patch=0,EE,2026D3E8,extended,7BB20030 //lq $s2, 0x70+var_40($sp) # Load Quadword +patch=0,EE,2026D3EC,extended,C7B40000 //lwc1 $f20, 0x70+var_70($sp) # Load Word to FPU +patch=0,EE,2026D3F0,extended,7BB10020 //lq $s1, 0x70+var_50($sp) # Load Quadword +patch=0,EE,2026D3F4,extended,7BB00010 //lq $s0, 0x70+var_60($sp) # Load Quadword +patch=0,EE,2026D3F8,extended,03E00008 //jr $ra # Jump Register +patch=0,EE,2026D3FC,extended,27BD0070 //addiu $sp, 0x70 # Add Immediate Unsigned + +//CRadar::DrawBlips - Radar Centre +patch=0,EE,2026863C,extended,24050006 +patch=0,EE,20268644,extended,24060008 +patch=0,EE,20268674,extended,24050006 +patch=0,EE,2026867C,extended,24060008 + +patch=0,EE,202ADA20,extended,3c033ecc //mission timers +patch=0,EE,202AD82C,extended,3c023f33 //Vehicle name width +patch=0,EE,202AFCAC,extended,3c023f33 //Mission title width + +patch=0,EE,202AD29C,extended,c78c8384 //Area name width hook - 0x663474 + +patch=0,EE,20663bc8,extended,3ecccccd //Money Width + +patch=0,EE,20663C58,extended,3ecccccd //Subtitles Width + +patch=0,EE,20663674,extended,3EB33333 //Help box Width + +patch=0,EE,202AC440,extended,C78C82BC //DrawVitalStats weekday width hook +patch=0,EE,202AC438,extended,C78D899C //DrawVitalStats weekday height hook + +patch=0,EE,2023E5C4,extended,3c023f33 //CMenuManager::DrawWindow title width + +patch=0,EE,202ACAB4,extended,3C0341d4 //AltitudeBar width +patch=0,EE,202ACC10,extended,3C0241e5 //AltitudeCounter width +patch=0,EE,202ACC00,extended,3C034190 //AltitudeCounter X Pos + +//Set drop shadows to outline +patch=0,EE,202A8B90,extended,3c01007c +patch=0,EE,202A8B94,extended,a0202346 +patch=0,EE,202A8B98,extended,3c01007c +patch=0,EE,202A8B9C,extended,a024234b +patch=0,EE,202A8Ba8,extended,a024234c + +//--------------------------------------------------FOV------------------------------------------------// + +patch=0,EE,2021DF84,extended,0C044C2F //SetFOV Call +patch=0,EE,20242D54,extended,0C044C2F //SetFOV Call +patch=0,EE,2021DF84,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,2021DFE0,extended,3c0242a0 // Emergency Vehicles Fix + +patch=0,EE,202EE0E0,extended,3C024120 // Fix sky multitude +patch=0,EE,202EE0E8,extended,00000000 // Fix sky multitude + +patch=0,EE,2020A484,extended,3C024302 // Set vehicle max FOV + [No-Interlacing] @@ -29,4 +216,62 @@ patch=1,EE,20519FD8,extended,00000000 [60 FPS] author=asasega description=Make sure you set your EE Cycle Rate to 130-180% -patch=1,EE,006678CC,extended,00000001 \ No newline at end of file +patch=1,EE,006678CC,extended,00000001 + +[Silentpatch Lite Fixes] +author=DanielSantos, with consideration to Silent +description=Silentpatch Lite Fixes for 1.03 + + +//-------------------------------------------------Menu------------------------------------------------// + +patch=0,EE,20234A44,extended,24040001 //Set Menu Text Body + +patch=0,EE,20234A14,extended,c78c8b68 //Hook Menu Items Width to Subtitles width +patch=0,EE,202354F8,extended,c78c8b68 //Hook Menu Items Width to Subtitles width +patch=0,EE,20242190,extended,3c023ecc //Set Menu Labels Width + +//------------------------------------------------Fixes------------------------------------------------// + +//Linear Filtering for License Plates +patch=0,EE,204A48A4,extended,34630002 //ori $v1, 2 //RWLINEARFILTER + +//Fixed ammo for melee weapons in cheats +patch=0,EE,2059D88C,extended,24060001 //li $s2 1 //knife +patch=0,EE,2059D998,extended,24060001 //li $s2 1 //knife +patch=0,EE,2059DB60,extended,24060001 //li $s2 1 //chainsaw +patch=0,EE,2059DC34,extended,24060001 //li $s2 1 //chainsaw +patch=0,EE,2059F67C,extended,24060001 //li $s2 1 //parachute +patch=0,EE,2059F3BC,extended,24060001 //li $s2 1 //katana + +//014C cargen counter fix (by spaceeinstein) +patch=0,EE,20295AF0,extended,2C61FFFF //slti => sltiu +patch=0,EE,20295AF4,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,202E41CC,extended,00000000 //nop + +// Fixed muzzleflash not showing from last bullet +patch=0,EE,204071F4,extended,00000000 //nop + +// Help boxes showing with big message +// Game seems to assume they can show together +patch=0,EE,202AE3A0,extended,00000000 //nop + +// Impound garages working correctly +patch=0,EE,201C6088,extended,0C0BAA58 //jal CGarages::IsPointWithinAnyGarage(CVector &) +patch=0,EE,201C63C0,extended,0C0BAA58 //jal CGarages::IsPointWithinAnyGarage(CVector &) +patch=0,EE,201C6510,extended,0C0BAA58 //jal CGarages::IsPointWithinAnyGarage(CVector &) + +// Impounding after busted works +patch=0,EE,202A09A4,extended,00000000 //nop + +// Weapon icon fix (crosshairs mess up rwRENDERSTATEZWRITEENABLE) +patch=0,EE,202AAB44,extended,00000000 //nop +patch=0,EE,202AB284,extended,00000000 //nop +patch=0,EE,202AB2B4,extended,00000000 //nop + +//Fix 4th texture memory leak on effects +patch=0,EE,203D4D50,extended,8E240018 +patch=0,EE,203D4D64,extended,AE200018 +