This version of BlueSaga compiles with "ant" and runs from the command line. It should work for Linux and Mac OSX. For Windows is should work too under powershell. I will add/merge support for Windows if there is demand for it (It's just a matter of creating run.bat for each run script).
All executables need a config directory that contains the options and all the data. Some of this data is shared: the map saved by the editor will be loaded by the server; the same images will be displayed by the client and the editor. You can make any number of copies of config directories to try different changes.
Install java JDK 1.8 and apache ant.
create local copies of configs:
- mkdir SERVER/configs
- cp -a SERVER/config_classic SERVER/configs
- mkdir CLIENT/configs
- cp -a CLIENT/config_classic SERVER/configs
- cd SERVER
- ant
- ./run configs/config_classic
- cd CLIENT
- ant
- ./run configs/config_classic
- cd EDITOR
- ant
- ./run ../SERVER/configs/config_classic
- mkdir ~/BlueSagaServer
- cp -a JARS ~/BlueSagaServer
- cp SERVER/run_server_infinite ~/BlueSagaServer
- cp -a SERVER/configs/config_classic ~/BlueSagaServer
- cd SERVER
- ant dist
- cp SERVER/dist/server.jar ~/BlueSagaServer
- cd ~/BlueSagaServer
- ./run_server_infinite config_classic
First make sure you've updated the client version number in the source code of both the client and the server, and the server was updated.
- "ant dist" to create gameData.jar
- Upload the gameData.jar file to a webhost like github release
- Go to http://www.bluesaga.org/myservers/ and click on "Edit" next to your server
- Paste in the url to the gamedata.jar file you uploaded in the Client Url field
- Write a short description of the latest update for the players to read, this text will be seen in the game launcher window
- Click Save
- Players will now be able to get your latest update and connect to your server with the Blue Saga launcher