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 eb42425
Show file tree
Hide file tree
Showing 10 changed files with 1,657 additions and 13 deletions.
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.
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
12 changes: 12 additions & 0 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,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.WidescreenFix" }
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
Loading

0 comments on commit eb42425

Please sign in to comment.