This is MyWormNET2, a WormNET server written in the D Programming Language.
You'll need a D compiler to compile MyWormNET2.
For Windows, OS X, and Debian/RPM-based Linux distributions, you can use one of the installers/packages from the D website.
On POSIX systems, you can also use the install script:
curl -fsS https://dlang.org/install.sh | bash -s dmd
Using dub
(included with DMD) is the simplest method to get MyWormNET2 running.
In a terminal / command prompt, run:
dub fetch mywormnet2
MyWormNET2 will be downloaded to Dub's package directory ($HOME/.dub/packages/mywormnet2-*/mywormnet2/
).
This will fetch MyWormNET2 and its dependencies:
git clone --recursive https://github.com/CyberShadow/MyWormNET2
cd MyWormNET2
You can also download and unpack the source code using zip files (not recommended):
- Download MyWormNET2 and the ae library.
- Unpack
MyWormNET2-v1.0.0.zip
and rename theMyWormNET2-v0.0.2097
directory toMyWormNET2
. - Unpack
ae-v0.0.2097.zip
and move the contents of theae-v0.0.2097
directory to the emptyMyWormNET2\ae
directory.
Command-line instructions (again, not recommended):
wget https://github.com/CyberShadow/MyWormNET2/archive/v1.0.0.zip
unzip v1.0.0.zip
rm v1.0.0.zip
mv MyWormNET2-v1.0.0 MyWormNET2
cd MyWormNET2
rmdir ae
wget https://github.com/CyberShadow/ae/archive/v0.0.2097.zip
unzip v0.0.2097.zip
rm v0.0.2097.zip
mv ae-v0.0.2097 ae
Copy the file mywormnet2-sample.ini
to mywormnet2.ini
, and edit it accordingly.
MyWormNET2 will look for its files in the current directory. See the comments for explanations of what the various options do.
To build and run MyWormNET2 with Dub, run:
dub run mywormnet2
If you'd like to just build an executable, use build
instead of run
:
dub build mywormnet2
To build and run MyWormNET2 with rdmd
, run:
rdmd mywormnet2
If you'd like to just build an executable, use --build-only
:
rdmd --build-only mywormnet2
In order to connect to your MyWormNET2 server, players need to customize their ServerList.htm
file. The file is found by default at: graphics\ServerLobby\ServerList.htm
.
Alternatively, you could get your server listed in the WormNET server list.