Update project gen & build tools again
This commit is contained in:
parent
af526071b2
commit
c17dc9078f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
|
archives/
|
||||||
build/
|
build/
|
||||||
tools/pack/
|
tools/pack/
|
||||||
.gitignore
|
.gitignore
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"Aircraft": {
|
"Aircraft": {
|
||||||
"Dodo": "126"
|
"Dodo": "126"
|
||||||
},
|
},
|
||||||
"Woker": {
|
"Worker": {
|
||||||
"Firetruk": "97",
|
"Firetruk": "97",
|
||||||
"Ambulan": "106",
|
"Ambulan": "106",
|
||||||
"Taxi": "110",
|
"Taxi": "110",
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -5,3 +5,9 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Debug
|
MsBuild CheatMenu.sln /property:Configuration=Debug
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuSA.asi" %SA_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuVC.asi" %VC_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuIII.asi" %III_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuSA.pdb" %SA_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuVC.pdb" %VC_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuIII.pdb" %III_DIR% /K /D /H /Y
|
@ -5,3 +5,5 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuIII
|
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuIII
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuIII.asi" %III_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuIII.pdb" %III_DIR% /K /D /H /Y
|
||||||
|
@ -5,3 +5,5 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuSA
|
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuSA
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuSA.asi" %SA_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuSA.pdb" %SA_DIR% /K /D /H /Y
|
||||||
|
@ -5,3 +5,5 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuVC
|
MsBuild CheatMenu.sln /property:Configuration=Debug /t:CheatMenuVC
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuVC.asi" %VC_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuVC.pdb" %VC_DIR% /K /D /H /Y
|
||||||
|
@ -1,25 +1,19 @@
|
|||||||
@echo off
|
@echo off
|
||||||
@REM Packs all game files into their proper archives (Yes I'm that lazy)
|
@REM Packs all game files into their proper archives (Yes I'm that lazy)
|
||||||
|
|
||||||
@REM ------------------------------------------------------
|
|
||||||
@REM Set game paths below
|
|
||||||
set "SA_DIR="F:\GTASanAndreas""
|
|
||||||
set "VC_DIR="E:\GTA Vice City""
|
|
||||||
set "III_DIR="E:\GTA3""
|
|
||||||
@REM ------------------------------------------------------
|
|
||||||
|
|
||||||
echo ------------------------------------------------------
|
echo ------------------------------------------------------
|
||||||
echo "CheatMenu Packaging Utility"
|
echo "CheatMenu Packaging Utility"
|
||||||
echo ------------------------------------------------------
|
echo ------------------------------------------------------
|
||||||
|
rd /S /Q "archive" /Q
|
||||||
cd tools
|
cd tools
|
||||||
echo Packing SA...
|
echo Packing SA...
|
||||||
call :copyFiles %SA_DIR% "CheatMenuSA"
|
call :copyFiles "CheatMenuSA"
|
||||||
echo Packing VC...
|
echo Packing VC...
|
||||||
call :copyFiles %VC_DIR% "CheatMenuVC"
|
call :copyFiles "CheatMenuVC"
|
||||||
echo Packing III...
|
echo Packing III...
|
||||||
call :copyFiles %III_DIR% "CheatMenuIII"
|
call :copyFiles "CheatMenuIII"
|
||||||
cd ..
|
|
||||||
rd /S /Q "pack" /Q
|
rd /S /Q "pack" /Q
|
||||||
|
cd ..
|
||||||
exit
|
exit
|
||||||
|
|
||||||
|
|
||||||
@ -30,9 +24,9 @@ exit
|
|||||||
|
|
||||||
|
|
||||||
:copyFiles
|
:copyFiles
|
||||||
set "asiPath="%~1\%~2.asi""
|
set "asiPath="..\build\bin\%~1.asi""
|
||||||
set "folderpath="%~1\CheatMenu""
|
set "folderpath="..\resource\%~1""
|
||||||
set "archivePath="..\%~2.7z""
|
set "archivePath="..\archive\%~1.7z""
|
||||||
|
|
||||||
@REM Remove existing files
|
@REM Remove existing files
|
||||||
rd /S /Q "pack" /Q
|
rd /S /Q "pack" /Q
|
||||||
@ -42,6 +36,7 @@ rd /S /Q %archivePath% /Q
|
|||||||
@REM straight xcopy doesn't seem to work on my system, broken registry?
|
@REM straight xcopy doesn't seem to work on my system, broken registry?
|
||||||
%systemroot%\System32\xcopy /s %asiPath% "pack\" /K /D /H /Y
|
%systemroot%\System32\xcopy /s %asiPath% "pack\" /K /D /H /Y
|
||||||
%systemroot%\System32\xcopy /s %folderpath% "pack\CheatMenu\" /K /D /H /Y
|
%systemroot%\System32\xcopy /s %folderpath% "pack\CheatMenu\" /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "..\resource\common\" "pack\CheatMenu\" /K /D /H /Y
|
||||||
|
|
||||||
@REM Remove the config and versioninfo files since we don't want to distribute them
|
@REM Remove the config and versioninfo files since we don't want to distribute them
|
||||||
del "pack\CheatMenu\json\config.json" /Q
|
del "pack\CheatMenu\json\config.json" /Q
|
||||||
|
@ -5,3 +5,6 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Release
|
MsBuild CheatMenu.sln /property:Configuration=Release
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuSA.asi" %SA_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuVC.asi" %VC_DIR% /K /D /H /Y
|
||||||
|
%systemroot%\System32\xcopy /s "build\bin\CheatMenuIII.asi" %III_DIR% /K /D /H /Y
|
@ -5,3 +5,4 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuIII
|
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuIII
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuIII.asi" %III_DIR% /K /D /H /Y
|
||||||
|
@ -5,3 +5,4 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuSA
|
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuSA
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuSA.asi" %SA_DIR% /K /D /H /Y
|
||||||
|
@ -5,3 +5,4 @@ echo --------------------------------------------------
|
|||||||
echo[
|
echo[
|
||||||
call "tools\Setup.bat"
|
call "tools\Setup.bat"
|
||||||
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuVC
|
MsBuild CheatMenu.sln /property:Configuration=Release /t:CheatMenuVC
|
||||||
|
%systemroot%\System32\xcopy /s "bin\CheatMenuVC.asi" %VC_DIR% /K /D /H /Y
|
||||||
|
@ -1,5 +1,11 @@
|
|||||||
rem Generate visual studio files and run the devcmd init
|
rem Generate visual studio files and run the devcmd init
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
|
rem Set game paths below
|
||||||
|
set "SA_DIR="F:\GTASanAndreas""
|
||||||
|
set "VC_DIR="E:\GTA Vice City""
|
||||||
|
set "III_DIR="E:\GTA3""
|
||||||
|
|
||||||
cd tools
|
cd tools
|
||||||
premake5.exe vs2022
|
premake5.exe vs2022
|
||||||
cd ../build
|
cd ../build
|
||||||
|
@ -17,12 +17,6 @@ if (PSDK_DIR == nil) then
|
|||||||
error("PLUGIN_SDK_DIR environment variable not set")
|
error("PLUGIN_SDK_DIR environment variable not set")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- Build directories
|
|
||||||
----------------------------
|
|
||||||
GTASA_DIR = "F:/GTASanAndreas"
|
|
||||||
GTAVC_DIR = "E:/GTA Vice City"
|
|
||||||
GTA3_DIR = "E:/GTA3"
|
|
||||||
|
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
workspace "CheatMenu"
|
workspace "CheatMenu"
|
||||||
@ -34,10 +28,10 @@ workspace "CheatMenu"
|
|||||||
characterset "MBCS"
|
characterset "MBCS"
|
||||||
staticruntime "On"
|
staticruntime "On"
|
||||||
location "../build"
|
location "../build"
|
||||||
|
targetdir "../build/bin"
|
||||||
|
|
||||||
project "Depend"
|
project "Depend"
|
||||||
kind "StaticLib"
|
kind "StaticLib"
|
||||||
targetdir "../build/bin"
|
|
||||||
|
|
||||||
files {
|
files {
|
||||||
"../depned/**.h",
|
"../depned/**.h",
|
||||||
@ -57,7 +51,6 @@ project "Depend"
|
|||||||
|
|
||||||
project "CheatMenuIII"
|
project "CheatMenuIII"
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
targetdir (GTA3_DIR)
|
|
||||||
targetextension ".asi"
|
targetextension ".asi"
|
||||||
|
|
||||||
files {
|
files {
|
||||||
@ -151,7 +144,6 @@ project "CheatMenuIII"
|
|||||||
|
|
||||||
project "CheatMenuVC"
|
project "CheatMenuVC"
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
targetdir (GTAVC_DIR)
|
|
||||||
targetextension ".asi"
|
targetextension ".asi"
|
||||||
|
|
||||||
files {
|
files {
|
||||||
@ -244,7 +236,6 @@ project "CheatMenuVC"
|
|||||||
|
|
||||||
project "CheatMenuSA"
|
project "CheatMenuSA"
|
||||||
kind "SharedLib"
|
kind "SharedLib"
|
||||||
targetdir (GTASA_DIR)
|
|
||||||
targetextension ".asi"
|
targetextension ".asi"
|
||||||
|
|
||||||
files {
|
files {
|
||||||
|
Loading…
Reference in New Issue
Block a user