Skip to content

RadHazard/df-webfort

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Fortress

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.

Downloading

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].

Compiling

Web Fortress in known to compile with clang on linux, and VS2010 on Windows. See <COMPILING.md> for more.

Installation

  1. Install webfort plugin as usual.
  2. Copy ShizzleClean.png or any other text font to data/art folder.
  3. Copy all .dll files to your DF folder.
  4. Ensure that PRINT_MODE is set to STANDARD in your init.txt, and set FONT to ShizzleClean.png.
  5. Open static/js/webchat.js and edit the iframeURL variable to point to your preferred embeddable chat client. One possible choice is qwebirc.
  6. Use any web server to serve files from static folder. You can use Mongoose, just copy it to static folder and run.
  7. Navigate to http://<YOUR HOST>/webfort.html and enjoy.

Authors and Links

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.