Skip to content

Commit

Permalink
imvehlm for ps2 vcs
Browse files Browse the repository at this point in the history
  • Loading branch information
ThirteenAG committed Nov 27, 2023
1 parent 72f699d commit e8d0fc9
Show file tree
Hide file tree
Showing 13 changed files with 1,665 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
tag_list: ${{ format('{0},{1}', github.event.inputs.tag_list, inputs.tag_list) }}
tag: gtavcs
artifacts: data/Archives/GTAVCS.PCSX2F.WidescreenFix.zip, data/Archives/GTAVCS.PCSX2F.Project2DFX.zip
artifacts: data/Archives/GTAVCS.PCSX2F.WidescreenFix.zip, data/Archives/GTAVCS.PCSX2F.Project2DFX.zip, data/Archives/GTAVCS.PCSX2F.ImVehLM.zip

- name: GTA Liberty City Stories Widescreen Fix [PPSSPP]
uses: ./.github/workflows/release_tag
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ source/*PCSX2F.*/**/*.o
source/*PCSX2F.*/**/*.map
source/*PCSX2F.*/**/linkfile
includes/pcsx2/**/*.o
data/*PCSX2F.*/**/TEXTURES/**/*.png

#Misc
!data/Mafia.WidescreenFix/rw_data.bak
Expand Down
16 changes: 10 additions & 6 deletions before_build.bat
Original file line number Diff line number Diff line change
@@ -1,19 +1,23 @@
cd textures/NFS/NFSUC
createtpk.bat
call createtpk.bat
cd ../../..

cd textures/NFS/NFSC
createtpk.bat
call createtpk.bat
cd ../../..

cd textures/NFS/NFSMW
createtpk.bat
call createtpk.bat
cd ../../..

cd textures/NFS/NFSU2
createtpk.bat
call createtpk.bat
cd ../../..

cd textures/NFS/NFSU
createtpk.bat
cd ../../..
call createtpk.bat
cd ../../..

cd textures/GTAVCS
call buildps2.bat
cd ../..
Empty file.
Empty file.
20 changes: 15 additions & 5 deletions data/Manhunt.WidescreenFix/scripts/Manhunt.WidescreenFix.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
[MAIN]
FOVFactor = 0.0 // FOV multiplier, can make FOV bigger or smaller.
FrontendAspectRatio = auto // This setting is used to properly scale frontend textures, such as menu background or loading screens(auto=1:1|4:3|*:*).
CustomUserFilesDirectoryInGameDir = 0
// user files will be stored in a specified directory, for example - "save".
; *----------------------------------------------*
; * Manhunt Widescreen Fix v1.0 by Fire_Head *
; * Visit the link below for more information: *
; * https://github.com/Fire-Head/MHWSF *
; *----------------------------------------------*

[Main]
; This option enables the fix itself.
bWideScreen=1
; This option enables PS2 like subtitles rendering in fmv's.
bPS2Subs=0
; This option enables Xbox HUD and TCR box location.
bXboxHud=0
; This option locks your cursor to prevent issues with using multiple monitors.
bLockedCursor=1
4 changes: 2 additions & 2 deletions data/release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ FOR /D /r %%G in ("*PPSSPP*") DO (
)

rem Additional texture archives
7za a "GTALCS.PPSSPP.ImVehLM\memstick\PSP\TEXTURES\ULUS10041\textures.zip" -mx=0 "..\textures\GTALCS\*"
7za a "GTAVCS.PPSSPP.ImVehLM\memstick\PSP\TEXTURES\ULUS10160\textures.zip" -mx=0 "..\textures\GTAVCS\*"
7za a "GTALCS.PPSSPP.ImVehLM\memstick\PSP\TEXTURES\ULUS10041\textures.zip" -mx=0 "..\textures\GTALCS\*" -x^^!buildps2.bat -x^^!texture_dump_alpha_scaler.py
7za a "GTAVCS.PPSSPP.ImVehLM\memstick\PSP\TEXTURES\ULUS10160\textures.zip" -mx=0 "..\textures\GTAVCS\*" -x^^!buildps2.bat -x^^!texture_dump_alpha_scaler.py

FOR /d %%X IN (*) DO (
7za a -tzip "Archives\%%X.zip" ".\%%X\*" -r -xr^^!Archives -x^^!*.pdb -x^^!*.db -x^^!*.ipdb -x^^!*.iobj -x^^!*.tmp -x^^!*.iobj -x^^!*.ual -x^^!*.x64ual -x^^!*.iobj -x^^!*.wrapper -x^^!*.lib -x^^!*.exp -x^^!*.ilk -x^^!*.map -x^^!*.gitkeep
Expand Down
17 changes: 17 additions & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ workspace "WidescreenFixesPack"
cppdialect "C++latest"
include "makefile.lua"
buildoptions { "/Zc:__cplusplus" }
flags { "MultiProcessorCompile" }

kind "SharedLib"
language "C++"
Expand Down Expand Up @@ -311,6 +312,7 @@ project "GTASADE.FusionMod"
setpaths("Z:/WFP/Games/Grand Theft Auto The Definitive Edition/GTA San Andreas - Definitive Edition/", "Gameface/Binaries/Win64/SanAndreas.exe", "Gameface/Binaries/Win64/scripts/")
project "GTALCS.PCSX2F.WidescreenFix"
kind "Makefile"
dependson { "Burnout3.PCSX2F.WidescreenFix" }
includedirs { "external/ps2sdk/ps2sdk/ee" }
files { "source/%{prj.name}/*.h" }
files { "source/%{prj.name}/*.c", "source/%{prj.name}/makefile" }
Expand All @@ -322,6 +324,7 @@ project "GTALCS.PCSX2F.WidescreenFix"
writelinkfile_ps2("GTALCS.PCSX2F.WidescreenFix")
project "GTAVCS.PCSX2F.WidescreenFix"
kind "Makefile"
dependson { "GTALCS.PCSX2F.WidescreenFix" }
includedirs { "external/ps2sdk/ps2sdk/ee" }
files { "source/%{prj.name}/*.h" }
files { "source/%{prj.name}/*.c", "source/%{prj.name}/makefile" }
Expand All @@ -343,6 +346,18 @@ project "GTAVCS.PCSX2F.Project2DFX"
"../../includes/pcsx2/patterns.o", "../../includes/pcsx2/injector.o", "../../includes/pcsx2/rini.o","../../includes/pcsx2/inireader.o",
"../../includes/pcsx2/mips.o")
writelinkfile_ps2("GTAVCS.PCSX2F.Project2DFX")
project "GTAVCS.PCSX2F.ImVehLM"
kind "Makefile"
dependson { "GTAVCS.PCSX2F.Project2DFX" }
includedirs { "external/ps2sdk/ps2sdk/ee" }
files { "source/%{prj.name}/*.h" }
files { "source/%{prj.name}/*.c", "source/%{prj.name}/makefile" }
targetextension ".elf"
setbuildpaths_ps2("Z:/GitHub/PCSX2-Fork-With-Plugins/bin/", "pcsx2x64.exe", "PLUGINS/", "%{wks.location}/../external/ps2sdk/ee/bin/vsmake.ps1", "%{wks.location}/../source/%{prj.name}/", "GTAVCS.PCSX2F.ImVehLM")
writemakefile_ps2("GTAVCS.PCSX2F.ImVehLM", "PLUGINS/", "0x06000000", "-l:libc.a", "../../includes/pcsx2/memalloc.o",
"../../includes/pcsx2/patterns.o", "../../includes/pcsx2/injector.o", "../../includes/pcsx2/rini.o","../../includes/pcsx2/inireader.o",
"../../includes/pcsx2/mips.o")
writelinkfile_ps2("GTAVCS.PCSX2F.ImVehLM")
project "GTALCS.PPSSPP.WidescreenFix"
kind "Makefile"
dependson { "GTALCS.PPSSPP.Project2DFX", "GTALCS.PPSSPP.ImVehLM" }
Expand Down Expand Up @@ -423,6 +438,7 @@ project "KnightRider.WidescreenFix"
setpaths("Z:/WFP/Games/Knight Rider/", "Knight Rider.exe")
project "KnightRider.PCSX2F.WidescreenFix"
kind "Makefile"
dependson { "GTAVCS.PCSX2F.ImVehLM" }
includedirs { "external/ps2sdk/ps2sdk/ee" }
files { "source/%{prj.name}/*.h" }
files { "source/%{prj.name}/*.c", "source/%{prj.name}/makefile" }
Expand Down Expand Up @@ -556,6 +572,7 @@ project "SplinterCellDoubleAgent.WidescreenFix"
defines { "IDR_SCDAICON=200" }
project "SplinterCellDoubleAgent.PCSX2F.WidescreenFix"
kind "Makefile"
dependson { "KnightRider.PCSX2F.WidescreenFix" }
includedirs { "external/ps2sdk/ps2sdk/ee" }
files { "source/%{prj.name}/*.h" }
files { "source/%{prj.name}/*.c", "source/%{prj.name}/makefile" }
Expand Down
Loading

0 comments on commit e8d0fc9

Please sign in to comment.