home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


OSX Sauerbraten Server (Works for Cube as well)

by Unbounded on 11/15/2005 10:19, 1 messages, last message: 11/15/2005 10:32, 1041 views, last view: 05/03/2024 02:40

Well the server.bat script is a windows script and has 0 chance of working for mac so i figured out a little work around.. I guess you could make this into a unix script but i wasnt really sure about going about that so i just made a quick applescript to run the command.

First:
*Move your Sauerbaten folder to the 'Applications' folder
*Copy Sauerbaten.app and rename 'Server.app'

Make an applscript APP with this following script:
----
tell application "Terminal"
do script "/Applications/Sauerbraten/Server.app/Contents/MacOS/sauerbraten -d %1 %2 %3 %4 %5"
end tell
----

Notes: You dont need to move to Applications folder, you could just edit the file path of the applescript. Also copying the Saurbraten app allows you to run the server and still play on the same server (altho not fully tested)

THIS WILL WORK FOR CUBE TOO YOU JUST HAVE TO CHANGE THE APPLESCRIPT

   Board Index   

#1: oops

by Unbounded on 11/15/2005 10:32

Ive update the applescript a tad ...


---------------

tell application "Terminal"
do script "/Applications/Sauerbraten/Server.app/Contents/MacOS/sauerbraten -d" in window 1
end tell

---------------

This way there is only 1 terminal window opened and ive gotten rid of some excess

reply to this message

   Board Index   


Unvalidated accounts can only reply to the 'Permanent Threads' section!


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
53866325 visitors requested 71641478 pages
page created in 0.027 seconds using 10 queries
hosted by Boost Digital