diff --git a/.github/workflows/cicd-push.yml b/.github/workflows/cicd-push.yml index 7a9ffb6..afd7a1b 100644 --- a/.github/workflows/cicd-push.yml +++ b/.github/workflows/cicd-push.yml @@ -187,6 +187,7 @@ jobs: mkdir -p release/listen/Mods/disabled mkdir -p release/dedi/UserData mkdir -p release/listen/UserData + cp rungame.bat release/dedi/rungame.bat cp launch.bat release/dedi/launch.bat cp LICENSE release/dedi/UserData/Mod-License.txt cp LICENSE release/listen/UserData/Mod-License.txt diff --git a/Si_CommManagement/Si_CommManagement.csproj b/Si_CommManagement/Si_CommManagement.csproj index 88ef18e..f27a50a 100644 --- a/Si_CommManagement/Si_CommManagement.csproj +++ b/Si_CommManagement/Si_CommManagement.csproj @@ -1,8 +1,8 @@ - + - \ No newline at end of file + diff --git a/rungame.bat b/rungame.bat new file mode 100644 index 0000000..335ba36 --- /dev/null +++ b/rungame.bat @@ -0,0 +1,12 @@ +@ECHO OFF +SETLOCAL EnableExtensions +SET "EXE_PATH=Silica.exe" +SET "ADDITIONAL_ARGS=--nogpu --batchmode --nographics --render-offscreen --screen-width 0 --screen-height 0 --fullscreen 0 --assetbundle-compression LZ4 --target-frame-rate 48 --noaudio" +SET "MELON_ARGS=--melonloader.hideconsole --melonloader.disablestartscreen" +:RESTART_LOOP +start "" /B /HIGH /AFFINITY 0x0000000000000FFF %EXE_PATH% %MELON_ARGS% %ADDITIONAL_ARGS% +@ECHO OFF +timeout /t 86400 /nobreak > NUL +taskkill /IM "Silica.exe" /F +goto RESTART_LOOP +ENDLOCAL