Tremulous Forum

Mods => Mod Releases => Tools and Utilities => Topic started by: MitSugna on January 24, 2010, 10:39:45 am

Title: simple batch file
Post by: MitSugna on January 24, 2010, 10:39:45 am
place it in your trunk. run it. it generates a test setup.
btw rename the run.bmp to blah.bat
you need infozip
Title: Re: simple batch file
Post by: Kiwi on January 28, 2010, 09:36:14 pm
What's it do exactly? ???
Title: Re: simple batch file
Post by: ACKMAN on January 28, 2010, 10:09:40 pm
Code: [Select]
@echo off

setlocal

set MAIN=%~dp0
set BINSRC=%MAIN%build\release-mingw32-x86\
set BINDST=%MAIN%release\

mkdir "%BINDST%base" >nul 2>nul
mkdir "%BINDST%local\base" >nul 2>nul
copy /Y "%BINSRC%*.exe" "%BINDST%" > nul
copy /Y "%BINSRC%base\*.dll" "%BINDST%local\base" >nul
cd %MAIN%assets
%MAIN%zip -qruX9 "%BINDST%local\base\zzztest.pk3" *

endlocal

@echo on
cd %~dp0release
@echo tremded.x86 +set fs_homepath "%~dp0local" +map atcs +set vm_game 0 +set sv_pure 0 > runserver.bat
@echo pause >> runserver.bat

@echo tremulous.x86 +set fs_homepath "%~dp0local" +set vm_cgame 0 +set vm_ui 0 > runclient.bat
@echo pause >> runserver.bat
Title: Re: simple batch file
Post by: Kiwi on January 28, 2010, 10:16:54 pm
Ahh ok, neat little batch :D
Title: Re: simple batch file
Post by: JacobM on August 31, 2011, 12:09:56 am
what exacly is the trunk