-
Notifications
You must be signed in to change notification settings - Fork 372
Command line
in0finite edited this page Oct 13, 2019
·
7 revisions
./SAU.x86_64 -startServer: -scene:Main -portNum:7777 -maxNumPlayers:40 > server_$(date '+%Y-%m-%d_%H.%M.%S').log &
scene
represents the scene to load. There are 2 scenes: Main and Demo. portNum
is the port number that server will use. maxNumPlayers
is the maximum number of players that can connect to the server.
./SAU.x86_64 -startClient: -serverIp:127.0.0.1 -portNum:7777 > client.log &
serverIp
is IP address of the server. portNum
is port number of the server.
When running in command line, it can be useful to skip loading textures. Textures are not visible when running in command line and they do not affect game logic. This can be done by adding parameter in config.user.json
:
"dontLoadTextures": true,
This will result in lower memory usage and faster world loading.