Setup & config options
Apache 2.4+ LAMP server
The game & not the islands
Setup & config options
North Atlantic : Macaronésia
Nine Azorean islands🚫 No ads & tracking
During the earlier days since the game is existing, this essay was composed to focus to set up Windward on a »naked« Raspberry Pi computer board. Some parts describe how to run the game under M$ Windows, but the major parts are related to how to set up Windward under Raspbian Debian Linux.
09-Feb 2021
It is not focused to a Raspberry Pi at all. It is suitalble to almost all Linux based systems.
Validated to Raspbian Debian Linux, Raspberry Pi and M$ Windows.
Honestly I don't know how to set up the system under a Mac with OS X.
¯\_(ツ)_/¯
Note : »PuTTy« SSH and telnet client has used for $bash.
http://www.putty.org
user@raspberry:~ $ sudo su
root@raspberry:~# ▁
Since four years my RasPi 2B+ has managed the game more than very happily.
It would be better to have one of the latest models Pi 3, Pi 4 or the soonly upcoming Pi 5 (?) ready for it for the better gaming experience. I can wait for the time.
Be god of the multiplayer world with a dedicated server on your Raspberry Pi or similar home server.
Whether you want to play a game, mode or mod that simply isn't that popular online, here is how to do it.
Please note that for the article, we do being working under Microsoft's M$ Windows.
Windward comes with a dedicated server executable called »WWServer.exe«
Image courtesy of Tasharen.com
WWServer.exe -world "World" -name "My Server" -tcp 5127 -public -http
mono WWServer.exe -world "World" -name "My Server" -tcp 5127 -public -http
-http
Name: (T) 03-Jun 2016 Hafenzoll@raspberry demonstrative server Clients: 4 PlayerA PlayerB PlayerC
Simple html-code with 30 seconds refresher.
This does not work with <iframe>
embedded in pages on web servers.
Save that as a *.html file and load it directly from your HDD into your web browser.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Windward users</title> <meta http-equiv="refresh" content="30"> <style> iframe { border: none; } </style> </head> <body> <p><iframe src="http://192.168.0.10:5127"></iframe></p> </body> </html>
Login to your router's UI (User Interface) and allow port forwarding TPC on port 5127 for your Raspberry Pi device. If possible allow UPnP (Universal Plug and Play) as well.
user@raspberry:~ $ sudo su
root@raspberry:~# apt-get install mono-complete
root@raspberry:~# mono
Usage is: mono [options] program [program-options] ...We need the appropriate folders for Windward.
root@raspberry:~# cd
root@raspberrypi:# mkdir Windward
root@raspberrypi:# cd Windward
root@raspberrypi:/Windward# mkdir Worlds
/Steam/steamapps/common/Windward
to /Windward/Worlds
- In case your FTP-clients grumbles with that, then we change the owner and redo.root@raspberrypi:/Windward# chown -R pi /Windward
root@raspberrypi:/Windward# chown -R pi /Windward/Worlds
root@raspberrypi:/Windward# sudo nano /etc/rc.local
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # Print the IP address
_IP=$(hostname -I) || true if [ "$_IP" ]; then printf "My IP address is %s\n" "$_IP" fi sleep 60s env LC_NUMERIC=en_US.UTF-8 mono /Windward/Worlds/WWServer.exe -world "WORLD NAME" -tcp 5127 -public -service -name "YOUR SERVER NAME" exit 0
I implemented a time delay sleep 60s
since modern Raspberry Pis boot quit fast and the Windward server won't startup with a reboot.
The env LC_NUMERIC=en_US.UTF-8
is deployed due to the fact that I have had a conflict with the keyboard. I use the German QWERTZ keyboard layout.
sleep 60s && env LC_NUMERIC=en_US.UTF-8 mono /Windward/Worlds/WWServer.exe -world "WORLD NAME" -tcp 5127 -public -service -name "YOUR SERVER NAME"
must be in one line! You may copy the entire string above, paste (place the cursor between fi and exit 0 and click the right mouse button) and modify the snippet to your needs.
Save Ctrl O and exit Ctrl X.
Let the Raspberry Pi reboot.
Meanwhile you startup Windward.
root@raspberrypi:/Windward# sudo reboot
user@raspberry:~ $ top -i
Ctrl C terminates the process »top«.
user@raspberry:~ $ sudo su
root@raspberrypi:# killall mono
/root /home/pi /Windward /Debug ⇦ includes TNetErrors.txt (dummy file, empty) /ServerConfig ⇦ includes ban.txt /Worlds ⇦ *.dat & *.dat.config files & WWServer.exe
/root /Windward /Debug ⇦ includes TNetErrors.txt & TNetLog.txt /Pennants ⇦ your custom pennants uploaded /ServerConfig ⇦ includes admin.txt & ban.txt /Ships ⇦ your custom made ship designs uploaded /Symbols ⇦ your custom symbols uploaded /Worlds ⇦ *.dat & *.dat.config files
/root/Windward/Worlds
even if there's no live-player online./My Documents /Windward /Backup ⇦ folders include *.player & *.vault files hourly /6_22_2017_01 /6_22_2017_02 /6_22_2017_03 /ClientConfig ⇦ includes admin.txt & ignore.txt /Debug ⇦ includes TNetErrors.txt & TNetLog.txt (if) /FoW ⇦ includes *.fow files (Fog of War) /Pennants ⇦ legal pennants & custom pennants to upload to server /Players ⇦ your personal player file(s) like yournick.player /ServerConfig ⇦ includes admin.txt & ban.txt /Ships ⇦ custom made ship designs for upload to server /Symbols ⇦ legal pennants & custom symbols for upload to server /Temp ⇦ includes public items from other servers visited /1747950168 /1862369054 /Vault ⇦ your personal vault of items looted in SP & MP /Worlds ⇦ *.dat & *.dat.config files
From time to time you can keep your system tidy if you delete redundant files & folders.
Leave the last ten most recent in Backup.
No minds about if you delete the files in FoW completely.
/My Documents /Windward /Backup ⇦ folders include *.player & *.vault files hourly ... /FoW ⇦ includes *.fow files (Fog of War) ...
22-Jun 2017
Updated 08-Feb 2021
The job is done.