This is Dfterm3, a remote Dwarf Fortress playing software for multiple users through a web interface.
GitHub page.
DownloadsDfterm3 is composed of two pieces: A dfterm3 plugin for dfhack and a dfterm3 server program. Install the dfterm3 plugin for dfhack and run the server while DF is running.
Windows binaries:
Download
Dfterm3 0.3.1 installer.
Download
Dfterm3 plugin (DFHack 0.34.11-r3).
Download
Dfterm3 plugin (DFHack 0.34.11-r4).
Download
Dfterm3 plugin (DFHack 0.34.11-r5).
Linux binaries:
(no Dfterm3 server binaries)
Download
Dfterm3 plugin (Dfhack 0.34.11-r3).
Download
Dfterm3 plugin (Dfhack 0.34.11-r4).
Linux version does not work well. Make sure to check
current issues for the linux version. In particular, PRINT_MODE:TEXT does not work and there are some serious issues with CPU usage.
Old versions:
Download
Dfterm3 0.3 installer.
Download
Dfterm3 0.2 zip file.
Download
Dfhack with the Dfterm3 plugin. (you need this instead of the vanilla Dfhack)
Installation and usage instructionsRun the installer and then launch Dfterm3.
Install the Dfterm3 plugin to a Dwarf Fortress installation you want to expose to Dfterm3.
Now, start the Dwarf Fortress and in the Dfhack console, enter the following command:
start-dfterm3
If Dfterm3 is running, it will take at most 20 seconds for it to connect to the Dfhack. You will see connection has happened if you follow the messages in either Dfhack console or Dfterm3 console.
Once connection has been established, go to the administrator panel:
http://127.0.0.1:8081/The Dwarf Fortress that is running should appear below "Unregistered Dwarf Fortress games". From here, you can write a name for the game (that name will be shown to players) and click "Register". After the game has been registered, it can be seen and played from the playing interface:
http://127.0.0.1:8080/You can give out the playing interface URL to other people so they can connect to your Dfterm3 server. For this, you need to replace the address 127.0.0.1 part with your own IP address or host name. Before a player can play or chat, they need to enter a nickname to the login box.
Ports to open (port forwarding)If you are behind a firewall or a NAT, you might want to know which ports to open. The ports are:
- 8000 The Websocket port.
- 8080 HTTP server that serves the playing interface.
You don't need to forward port 8081 because the administrator panel is not served outside localhost anyway. You can change the ports to use by giving command line options. (try dfterm3.exe --help). There are some instructions at
http://portforward.com/ for specific routers should you require help.
Source code repositoriesDfterm3:
https://github.com/Noeda/dfterm3.gitBug and issue reportingReport bugs, feature requests and other issues at the GitHub issue tracker:
https://github.com/Noeda/dfterm3/issues. Alternatively, you can post here; however, it is easy to forget to fix something if the bug report is not somewhere easily trackable.
ChangelogFrom v0.3 to v0.3.1:
- Windows platform: fixed installer not installing some web interface files.
- Fixed a potential crash bug in Unicode string handling.
- UI changes.
From v0.2 to v0.3:
- Windows platform: there is no administrator password by default and you are never asked for one.
- Windows platform: There is now an installer.
- Windows platform: Dfterm3 has an icon.
- The plugin should not lose connection quite so easily anymore.
- You can see a list of players currently watching a game, as well as when they join and leave a game.
- When playing, you need to give your nickname right away (as opposed to giving it only if you want to play or chat).
- It is now possible to manually add Dwarf Fortresses to Dfterm3 in administrator panel.
- Minor cosmetic and informative changes in various parts of the web user interface.
From v0.1 to v0.2:
- User interface improvements in various places.
- WebSocket port is no longer hardcoded to 8000 in the client interface.
- Implicit parameters to dfterm3 can be turned off with --no-default-ports parameter.
Fixed issues:
- Not all keys work properly.
- The Linux version does not work properly. It compiles but launching Dwarf Fortresses does not work.
- Dfterm3 uses more CPU than it needs to.
Relation to Dfterm2This is a completely new codebase and shares no code with Dfterm2. Dfterm2 only had a telnet interface; Dfterm3 only has a web interface. It is possible write a telnet interface to Dfterm3 and I might do so if there is demand for such feature. Dfterm3 also uses Dfhack exclusively to obtain the screen data from Dwarf Fortress; Dfterm2 had its own mechanism that did not involve Dfhack.