.Bat help?

Hello.

I was doing a bat so I cant del my .Dso when i start tribes 2, but i got a problem.
when i was trying to run it, it just say it cant find the tribes.exe or the SierraUp.exe

are some one good whit bats who can help me?

here how it´s look like

echo.
echo Tribes 2
echo.
echo 1) Launch Online Dedicated Server
echo 2) Launch Tribes 2
echo.
set /p var=

IF '%var%' == '1' goto Ded
IF '%var%' == '2' goto play
goto exit

:ded
Start Tribes2.exe -dedicated -mod construction -nopure
goto exit

:play
Start D:\Tribes2\GameData\SierraUp.exe
goto exit


Obs: the .bat file is in the tribes 2 map... there tribes.exe and SierraUp.exe

Comments

  • This will clean all your dso files. Stick it in any folder you like and it will auto clean that folder and anything below it. I usually put it in the C:/Program Files/Dynamix/Tribes 2 folder.
    @echo off
    echo Cleaning up all Tribes 2 *.DSO temporary files...
    del /s /q /f *.dso
    echo Done.
    pause
    
  • ...

    ok this my hole .bat (I dunno how to do the code thing >_< poor me)

    @echo OFF
    cd ..
    del /s /q *.dso
    cls

    echo.
    echo Tribes 2
    echo.
    echo 1) Launch Online Dedicated Server
    echo 2) Launch Tribes 2
    echo.
    set /p var=

    IF '%var%' == '1' goto Ded
    IF '%var%' == '2' goto play
    goto exit

    :ded
    Start Tribes2.exe -dedicated -mod construction -nopure
    goto exit

    :play
    Start D:\Tribes2\GameData\SierraUp.exe
    goto exit

    :exit
    exit

    and im not asking for del the .dso im asking why i get the error :P
  • May I suggest something like this?

    @echo OFF
    cd D:\Tribes2\GameData
    del /s /q *.dso
    cls
    
    echo.
    echo Tribes 2
    echo.
    echo 1) Launch Online Dedicated Server
    echo 2) Launch Tribes 2
    echo.
    set /p var=
    
    IF '%var%' == '1' goto Ded
    IF '%var%' == '2' goto play
    goto exit
    
    :ded
    Start Tribes2.exe -dedicated -mod construction -nopure
    goto exit
    
    :play
    Start Tribes2.exe -online -mod construction
    goto exit
    
    :exit
    exit
    
    That should solve the update error.


    If that doesn't get the .dso files, the lines in the .bat that comes with Classic might...
    del .\base\scripts\*.dso 1> nul 2>&1
    del .\base\scripts\autoexec\*.dso 1> nul 2>&1
    del .\base\scripts\packs\*.dso 1> nul 2>&1
    del .\base\scripts\turrets\*.dso 1> nul 2>&1
    del .\base\scripts\vehicles\*.dso 1> nul 2>&1
    del .\base\scripts\weapons\*.dso 1> nul 2>&1
    
    del .\Classic\scripts\*.dso 1> nul 2>&1
    del .\Classic\scripts\autoexec\*.dso 1> nul 2>&1
    del .\Classic\scripts\packs\*.dso 1> nul 2>&1
    del .\Classic\scripts\turrets\*.dso 1> nul 2>&1
    del .\Classic\scripts\vehicles\*.dso 1> nul 2>&1
    del .\Classic\scripts\weapons\*.dso 1> nul 2>&1
    

    You can also try dropping in a .dso deleter like this:
    http://gamefiles.androctasiae.net/tribes2/scripts/UberGuy/cleanDSO.zip
  • thebeazthebeaz Waffe Des Gottes
    Where is your batch file physically located?

    You could try adding the following at the beginning of the batch (after turning off echo and removing "cd..")
    D:
    cd D:\Tribes2\GameData\
    
  • Ok thx to thebeaz I got it to work ^^

    and teratos i have a del .dso bat but im to lasy to press it all the time...
    and as I was saying the del .dso thing is working but i could not start the Tribes 2, I did just get error... and if I now do

    :play
    Start Tribes2.exe -online -mod construction
    goto exit

    I get error that the uppdate was not find...

    (and still to bad i dunno how to do quotes... i realy need to find those commands xD )
  • If you look at the first part of my post (in the code tags), the second line puts you in the correct directory (so you can put the .bat anywhere, like on your desktop).

    Then later on, it has a line that removes Sierra update (because it no longer works):
    :play
    Start Tribes2.exe -online -mod construction

    I can't understand why you would get any error about updates with the SierraUpdater.exe removed.

    Can you post the exact message, and an exact copy of your modified .bat?
  • ok. i relay dont see the point now when i got it to work but sure i get up some screens.

    Working:
    55510095cx7.jpg
    By frejoh466

    Not working:
    14224981ie7.jpg
    By frejoh466

    Edit:
    O_o my screens did failed...
Sign In or Register to comment.