PDA

View Full Version : How to make a batch file.



EcoloTheHeroOfSega
January 22nd, 2018, 06:04
Do you want to try out a new mod file for SRB2 and just want to run it like a exe file? This thread might be helpful.

First you will want to start off with this line of code:

@Echo off this line of code makes the line of code doesn't show up.

Next were going to be using the executable which in this case:

@echo off
srb2win.exe this will run the batch file.

After we want to add a file so.

@echo off
srb2win.exe -file srb2006.wad 2006music.wad this will add the files when the executable opens.

I want it to be opengl so.

@echo off
srb2win.exe -file srb2006.wad 2006music.wad -opengl this will run the game in opengl mode.
check out here for more command lines. http://wiki.srb2.org/wiki/Command_line_parameters

After you want to save it as Filename.bat.

Now you are finished. Happy Batch making!:tailswins:

Demnyx Onyxfur
January 23rd, 2018, 02:22
Like, you could just use one of the launchers for SRB2, but I guess this works too.

SirMania
January 25th, 2018, 22:35
Thats what i do lol.

Haz
January 30th, 2018, 21:45
This seems kind of redundant to me. There's already hundreds of batch tutorials on the internet, plus command line arguments on the SRB2 wiki. (http://wiki.srb2.org)

SIG7
December 26th, 2020, 20:12
does this work 4 kart because i dont have an exe for it and it doesnt have a batch file in it

SnowFox
December 27th, 2020, 04:35
That should work for kart, but the exe would be srb2kart.exe

And you should have srb2kart.exe in the folder, if you dont have it you have to reinstall

SIG7
January 14th, 2021, 01:17
i got linux version