How to make a Start.bat
Page 1 of 1
How to make a Start.bat
Well this is probably the simplest one out of them all...
1. Make another text file
2. Open it.
3. Looks below to put in
4. Click 'save as'
5. Go to the bottom and click 'Save as type: Text documents (.txt)'
6. On the scroll bar click 'All files'
7. Put in the name somthing like namhere.bat (Make sure the .bat is there)
Now, for the text this is my start.bat
tremded +set fs_game gba_test7 +exec server.cfg +set dedicated 2 +set net_port 36976
Ill cut it down into parts
tremded
This is the file what will be running your server, you can add .exe to the end, but I don't bother.
+set fs_game gba_test7
The game folder, this is the folder your whole server is in, for e.g. Mine is in:
C:\Users\Shaun\AppData\Roaming\Tremulous\gba_test7
+exec server.cfg
This is basically all the settings on your computer for your server to run, without it you will not have a chosen name (Probably will be 'Tremulous server') and you won't be able to customise it.
Its telling tremded to Execute the server.cfg in the fs_game folder as I explained earlier
+set dedicated 2
This is simple
1 for a lan server.
2. For a master server (everyone can see it)
+set net_port 36976
This is basically the port the server will run on, it is best to use a random port.
If you havn't got the port forwarded I suggest you look here.
1. Make another text file
2. Open it.
3. Looks below to put in
4. Click 'save as'
5. Go to the bottom and click 'Save as type: Text documents (.txt)'
6. On the scroll bar click 'All files'
7. Put in the name somthing like namhere.bat (Make sure the .bat is there)
Now, for the text this is my start.bat
tremded +set fs_game gba_test7 +exec server.cfg +set dedicated 2 +set net_port 36976
Ill cut it down into parts
tremded
This is the file what will be running your server, you can add .exe to the end, but I don't bother.
+set fs_game gba_test7
The game folder, this is the folder your whole server is in, for e.g. Mine is in:
C:\Users\Shaun\AppData\Roaming\Tremulous\gba_test7
+exec server.cfg
This is basically all the settings on your computer for your server to run, without it you will not have a chosen name (Probably will be 'Tremulous server') and you won't be able to customise it.
Its telling tremded to Execute the server.cfg in the fs_game folder as I explained earlier
+set dedicated 2
This is simple
1 for a lan server.
2. For a master server (everyone can see it)
+set net_port 36976
This is basically the port the server will run on, it is best to use a random port.
If you havn't got the port forwarded I suggest you look here.
The Hovel Humper- Bouncing Granger!
- Posts : 1051
Join date : 2010-07-26
Age : 29
Location : Keeping the glameows away from my maras
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|