Poll

how?

sucks
5 (50%)
rocks
5 (50%)

Total Members Voted: 9

Author Topic: simple batch file  (Read 6902 times)

MitSugna

  • Guest
simple batch file
« 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

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: simple batch file
« Reply #1 on: January 28, 2010, 09:36:14 pm »
What's it do exactly? ???

ACKMAN

  • Posts: 342
  • Turrets: +9/-20
Re: simple batch file
« Reply #2 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

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: simple batch file
« Reply #3 on: January 28, 2010, 10:16:54 pm »
Ahh ok, neat little batch :D

JacobM

  • Posts: 2
  • Turrets: +0/-0
Re: simple batch file
« Reply #4 on: August 31, 2011, 12:09:56 am »
what exacly is the trunk