Results 1 to 4 of 4

Thread: How to make a batch file.

  1. #1
    Join Date
    December 20th, 2017
    Location
    New York
    Posts
    36
    Level
    1

    Post How to make a batch file.

    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:
    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:
    Code:
    @echo off
    srb2win.exe
    this will run the batch file.

    After we want to add a file so.
    Code:
    @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.
    Code:
    @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!
    Why does blue and purple mix so well?

  2. #2
    Join Date
    December 22nd, 2020
    Posts
    1,209
    Level
    22
    Like, you could just use one of the launchers for SRB2, but I guess this works too.

    Husbando to a special kitty~♥

  3. #3
    Join Date
    July 10th, 2017
    Posts
    17
    Level
    2
    Thats what i do lol.

  4. #4
    Join Date
    January 8th, 2018
    Posts
    1
    Level
    1
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •