* May 24, 2013, 06:52:28 AM
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Come Chat with us live! Learn how HERE!
 
   Home   Help Search Login Register  
Poll
Question: how?
sucks - 5 (55.6%)
rocks - 4 (44.4%)
Total Voters: 8

Pages: [1]   Go Down
  Print  
Author Topic: simple batch file  (Read 1186 times)
MitSugna
Guest
« 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

* run.bmp (0.64 KB - downloaded 163 times.)
Logged
Kiwi


Turrets: +29/-9
Posts: 859


« Reply #1 on: January 28, 2010, 09:36:14 PM »

What's it do exactly? Huh?
Logged

ACKMAN


Turrets: +9/-20
Posts: 342


« Reply #2 on: January 28, 2010, 10:09:40 PM »

Code:
@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
Logged
Kiwi


Turrets: +29/-9
Posts: 859


« Reply #3 on: January 28, 2010, 10:16:54 PM »

Ahh ok, neat little batch Cheesy
Logged

JacobM


Turrets: +0/-0
Posts: 2


« Reply #4 on: August 30, 2011, 11:09:56 PM »

what exacly is the trunk
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
TremPlus theme by Ingar, based on AF316 theme by Fedhog
Valid XHTML 1.0! Valid CSS!