Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU Performance, Asset Loading, Automatic Restart #42

Merged
merged 4 commits into from
May 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions rungame.bat
Original file line number Diff line number Diff line change
@@ -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