forked from nexgen999/gbe_fork
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added bat scripts to automatically pack latest steam_api dlss and tools for generate_emu_config and migrate_gse - removed previous steam_api dlls and 7z archives from generate_emu_config and migrate_gse - removed previous generate_interfaces and lobby_connect 7z archives from generate_emu_config and migrate_gse - moved some default required files for generate_emu_config from _DEFAULT\1 to _DEFAULT\0 folder, thus eliminating the need to duplicate them for every other default configuration folder you might create (_DEFAULT\2 - _DEFAULT\5)
- Loading branch information
Showing
86 changed files
with
686 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
@echo off | ||
|
||
call "build_win_premake.bat" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed
BIN
-195 KB
...enerate_emu_config/_DEFAULT/1/steam_misc/tools/generate_interfaces/generate_interfaces.7z
Binary file not shown.
Binary file removed
BIN
-2.24 MB
tools/generate_emu_config/_DEFAULT/1/steam_misc/tools/lobby_connect/lobby_connect.7z
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
@echo off | ||
setlocal EnableDelayedExpansion | ||
cd /d "%~dp0" | ||
|
||
set /a "MAX_THREADS=2" | ||
if defined NUMBER_OF_PROCESSORS ( | ||
:: use 70% | ||
set /a "MAX_THREADS=%NUMBER_OF_PROCESSORS% * 70 / 100" | ||
if %MAX_THREADS% lss 1 ( | ||
set /a "MAX_THREADS=1" | ||
) | ||
) | ||
|
||
set "ROOT=%cd%" | ||
set "BUILD_DIR=..\..\..\build\win\vs2022" | ||
set "OUT_DIR=..\build\package\win" | ||
|
||
if not exist "%BUILD_DIR%\release\" ( | ||
1>&2 echo:release build target folder wasn't found | ||
goto :end_script_with_err | ||
) | ||
if not exist "%BUILD_DIR%\debug\" ( | ||
1>&2 echo:debug build target folder wasn't found | ||
goto :end_script_with_err | ||
) | ||
|
||
set /a "PKG_EXE_MEM_PERCENT=90" | ||
set /a "PKG_EXE_DICT_SIZE_MB=384" | ||
set "PKG_EXE=..\..\..\third-party\deps\win\7za\7za.exe" | ||
if not exist "%PKG_EXE%" ( | ||
1>&2 echo:packager wasn't found | ||
goto :end_script_with_err | ||
) | ||
|
||
:::::::::::::::::::::::::::::::::::::::::: | ||
|
||
echo:// packing latest steam_api.dll for generate_emu_config | ||
|
||
set "ACHIVE_DIR=..\_DEFAULT\0\steam_api" | ||
|
||
if exist "%ACHIVE_DIR%\" ( | ||
rmdir /s /q "%ACHIVE_DIR%" | ||
) | ||
mkdir "..\_DEFAULT\0\steam_api\release" | ||
mkdir "..\_DEFAULT\0\steam_api\debug" | ||
|
||
set "TARGET_DIR=%BUILD_DIR%\release" | ||
xcopy /y "%TARGET_DIR%\experimental\x32\steam_api.dll" "..\_DEFAULT\0\steam_api\release\steam_api.dll"* | ||
xcopy /y "%TARGET_DIR%\experimental\x32\steam_api.dll" "..\_DEFAULT\0\steam_api.dll"* | ||
set "TARGET_DIR=%BUILD_DIR%\debug" | ||
xcopy /y "%TARGET_DIR%\experimental\x32\steam_api.dll" "..\_DEFAULT\0\steam_api\debug\steam_api.dll"* | ||
rem xcopy /y "%TARGET_DIR%\experimental\x32\steam_api.dll" "..\_DEFAULT\0\steam_api.dll"* rem do not overwrite dll with debug version | ||
|
||
set "ACHIVE_FILE=..\_DEFAULT\0\steam_api.7z" | ||
if exist "%ACHIVE_FILE%" ( | ||
del /f /q "%ACHIVE_FILE%" | ||
) | ||
|
||
call "%PKG_EXE%" a "%ACHIVE_FILE%" "%ACHIVE_DIR%\*" -t7z -xr^^!*.lib -xr^^!*.exp -slp -ssw -mx -myx -mmemuse=p%PKG_EXE_MEM_PERCENT% -ms=on -mqs=off -mf=on -mhc+ -mhe- -m0=LZMA2:d=%PKG_EXE_DICT_SIZE_MB%m -mmt=%MAX_THREADS% -mmtf+ -mtm- -mtc- -mta- -mtr+ || ( | ||
goto :end_script_with_err | ||
) | ||
|
||
rmdir /s /q "%ACHIVE_DIR%" | ||
|
||
echo:// packing latest steam_api64.dll for generate_emu_config | ||
|
||
set "ACHIVE_DIR=..\_DEFAULT\0\steam_api64" | ||
|
||
if exist "%ACHIVE_DIR%\" ( | ||
rmdir /s /q "%ACHIVE_DIR%" | ||
) | ||
mkdir "..\_DEFAULT\0\steam_api64\release" | ||
mkdir "..\_DEFAULT\0\steam_api64\debug" | ||
|
||
set "TARGET_DIR=%BUILD_DIR%\release" | ||
xcopy /y "%TARGET_DIR%\experimental\x64\steam_api64.dll" "..\_DEFAULT\0\steam_api64\release\steam_api64.dll"* | ||
xcopy /y "%TARGET_DIR%\experimental\x64\steam_api64.dll" "..\_DEFAULT\0\steam_api64.dll"* | ||
set "TARGET_DIR=%BUILD_DIR%\debug" | ||
xcopy /y "%TARGET_DIR%\experimental\x64\steam_api64.dll" "..\_DEFAULT\0\steam_api64\debug\steam_api64.dll"* | ||
rem xcopy /y "%TARGET_DIR%\experimental\x64\steam_api64.dll" "..\_DEFAULT\0\steam_api64.dll"* rem do not overwrite dll with debug version | ||
|
||
set "ACHIVE_FILE=..\_DEFAULT\0\steam_api64.7z" | ||
if exist "%ACHIVE_FILE%" ( | ||
del /f /q "%ACHIVE_FILE%" | ||
) | ||
|
||
call "%PKG_EXE%" a "%ACHIVE_FILE%" "%ACHIVE_DIR%\*" -t7z -xr^^!*.lib -xr^^!*.exp -slp -ssw -mx -myx -mmemuse=p%PKG_EXE_MEM_PERCENT% -ms=on -mqs=off -mf=on -mhc+ -mhe- -m0=LZMA2:d=%PKG_EXE_DICT_SIZE_MB%m -mmt=%MAX_THREADS% -mmtf+ -mtm- -mtc- -mta- -mtr+ || ( | ||
goto :end_script_with_err | ||
) | ||
|
||
rmdir /s /q "%ACHIVE_DIR%" | ||
|
||
:::::::::::::::::::::::::::::::::::::::::: | ||
|
||
goto :end_script | ||
|
||
:end_script | ||
endlocal | ||
exit /b 0 | ||
|
||
:end_script_with_err | ||
endlocal | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
@echo off | ||
setlocal EnableDelayedExpansion | ||
cd /d "%~dp0" | ||
|
||
set /a "MAX_THREADS=2" | ||
if defined NUMBER_OF_PROCESSORS ( | ||
:: use 70% | ||
set /a "MAX_THREADS=%NUMBER_OF_PROCESSORS% * 70 / 100" | ||
if %MAX_THREADS% lss 1 ( | ||
set /a "MAX_THREADS=1" | ||
) | ||
) | ||
|
||
set "ROOT=%cd%" | ||
set "BUILD_DIR=..\..\..\build\win\vs2022" | ||
set "OUT_DIR=..\build\package\win" | ||
|
||
if not exist "%BUILD_DIR%\release\" ( | ||
1>&2 echo:release build target folder wasn't found | ||
goto :end_script_with_err | ||
) | ||
if not exist "%BUILD_DIR%\debug\" ( | ||
1>&2 echo:debug build target folder wasn't found | ||
goto :end_script_with_err | ||
) | ||
|
||
set /a "PKG_EXE_MEM_PERCENT=90" | ||
set /a "PKG_EXE_DICT_SIZE_MB=384" | ||
set "PKG_EXE=..\..\..\third-party\deps\win\7za\7za.exe" | ||
if not exist "%PKG_EXE%" ( | ||
1>&2 echo:packager wasn't found | ||
goto :end_script_with_err | ||
) | ||
|
||
:::::::::::::::::::::::::::::::::::::::::: | ||
|
||
echo:// packing latest generate_interfaces.exe for generate_emu_config | ||
|
||
set "ACHIVE_DIR=..\_DEFAULT\0\steam_misc\tools\generate_interfaces\generate_interfaces" | ||
|
||
if exist "%ACHIVE_DIR%\" ( | ||
rmdir /s /q "%ACHIVE_DIR%" | ||
) | ||
mkdir "..\_DEFAULT\0\steam_misc\tools\generate_interfaces\generate_interfaces" | ||
|
||
set "TARGET_DIR=%BUILD_DIR%\release" | ||
xcopy /y "%TARGET_DIR%\tools\generate_interfaces\generate_interfaces_x32.exe" "..\_DEFAULT\0\steam_misc\tools\generate_interfaces\generate_interfaces\generate_interfaces.exe"* | ||
xcopy /y "%TARGET_DIR%\tools\generate_interfaces\generate_interfaces_x64.exe" "..\_DEFAULT\0\steam_misc\tools\generate_interfaces\generate_interfaces\generate_interfaces64.exe"* | ||
|
||
set "ACHIVE_FILE=..\_DEFAULT\0\steam_misc\tools\generate_interfaces\generate_interfaces.7z" | ||
if exist "%ACHIVE_FILE%" ( | ||
del /f /q "%ACHIVE_FILE%" | ||
) | ||
|
||
call "%PKG_EXE%" a "%ACHIVE_FILE%" "%ACHIVE_DIR%\*" -t7z -xr^^!*.lib -xr^^!*.exp -slp -ssw -mx -myx -mmemuse=p%PKG_EXE_MEM_PERCENT% -ms=on -mqs=off -mf=on -mhc+ -mhe- -m0=LZMA2:d=%PKG_EXE_DICT_SIZE_MB%m -mmt=%MAX_THREADS% -mmtf+ -mtm- -mtc- -mta- -mtr+ || ( | ||
goto :end_script_with_err | ||
) | ||
|
||
rmdir /s /q "%ACHIVE_DIR%" | ||
|
||
echo:// packing latest lobby_connect.exe for generate_emu_config | ||
|
||
set "ACHIVE_DIR=..\_DEFAULT\0\steam_misc\tools\lobby_connect\lobby_connect" | ||
|
||
if exist "%ACHIVE_DIR%\" ( | ||
rmdir /s /q "%ACHIVE_DIR%" | ||
) | ||
mkdir "..\_DEFAULT\0\steam_misc\tools\lobby_connect\lobby_connect" | ||
|
||
set "TARGET_DIR=%BUILD_DIR%\release" | ||
xcopy /y "%TARGET_DIR%\tools\lobby_connect\lobby_connect_x32.exe" "..\_DEFAULT\0\steam_misc\tools\lobby_connect\lobby_connect\lobby_connect.exe"* | ||
xcopy /y "%TARGET_DIR%\tools\lobby_connect\lobby_connect_x64.exe" "..\_DEFAULT\0\steam_misc\tools\lobby_connect\lobby_connect\lobby_connect64.exe"* | ||
|
||
set "ACHIVE_FILE=..\_DEFAULT\0\steam_misc\tools\lobby_connect\lobby_connect.7z" | ||
if exist "%ACHIVE_FILE%" ( | ||
del /f /q "%ACHIVE_FILE%" | ||
) | ||
|
||
call "%PKG_EXE%" a "%ACHIVE_FILE%" "%ACHIVE_DIR%\*" -t7z -xr^^!*.lib -xr^^!*.exp -slp -ssw -mx -myx -mmemuse=p%PKG_EXE_MEM_PERCENT% -ms=on -mqs=off -mf=on -mhc+ -mhe- -m0=LZMA2:d=%PKG_EXE_DICT_SIZE_MB%m -mmt=%MAX_THREADS% -mmtf+ -mtm- -mtc- -mta- -mtr+ || ( | ||
goto :end_script_with_err | ||
) | ||
|
||
rmdir /s /q "%ACHIVE_DIR%" | ||
|
||
:::::::::::::::::::::::::::::::::::::::::: | ||
|
||
goto :end_script | ||
|
||
:end_script | ||
endlocal | ||
exit /b 0 | ||
|
||
:end_script_with_err | ||
endlocal | ||
exit /b 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tools/migrate_gse/_DEFAULT/0/steam_misc/tools/au3/scripts/acw_helper.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[ARC_NAME] | ||
|
||
extra_acw = extra_acw.zip |
Binary file renamed
BIN
+2.82 KB
...m_misc/tools/au3/scripts/debug_switch.a3x → ...m_misc/tools/au3/scripts/debug_switch.a3x
Binary file not shown.
Oops, something went wrong.