Web Fortress is a DFHack plugin that exposes the rendering and input of a game of Dwarf Fortress over a websocket, and an HTML5 client that allows player to join in a shared game over their browsers.
It is a fork of the Text Will Be Text plugin, by Vitaly Pronkin, and can be used in its place.
This project manages dependencies through Git submodules. To clone the full tree:
git clone --recursive <the git repo>
Windows binaries are provided through Github. If you would like to recieve (likely buggy) prerelease builds, email [email protected].
Web Fortress in known to compile with clang on linux, and VS2010 on Windows. See <COMPILING.md> for more.
- Install webfort plugin as usual.
- Copy
ShizzleClean.png
or any other text font todata/art
folder. - Copy all
.dll
files to your DF folder. - Ensure that
PRINT_MODE
is set toSTANDARD
in yourinit.txt
, and setFONT
toShizzleClean.png
. - Open
static/js/webchat.js
and edit theiframeURL
variable to point to your preferred embeddable chat client. One possible choice is qwebirc. - Use any web server to serve files from
static
folder. You can use Mongoose, just copy it tostatic
folder and run. - Navigate to
http://<YOUR HOST>/webfort.html
and enjoy.
Original Source -- Discussion -- Report an Issue
Copyright (c) 2014, Vitaly Pronkin [email protected]
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.