Giter Site home page Giter Site logo

erthur's Introduction

Êrthur, The Infinite Universe

Êrthur is a tool to extract a high-resolution, zoomable embark map of an entire Dwarf Fortress world.

Here's an example.

It's not in a well-packaged format for ease of use currently, but if you'd like to try it out for yourself despite that, here's a description of the parts you'll need to run and how they work.

You'll need DFHack and NodeJS.

  1. Clone this repo in the root of your DF install, and copy export-embark-map.lua to the hack/scripts DFHack folder.
  2. Enter the embark screen. If your save is mid-fortress, make a copy of your save and retire the fortress, and enter the embark screen on the copy.
  3. Run export-embark-map from the DFHack console. This will take a while, and when it's done it will produce a map.json file in the root DF folder.
  4. Run npm install in the erthur folder to fetch the dependencies.
  5. Run node draw.js in the erthur folder. This will read the map.json file as well as the palette in ../data/init/colors.txt.
  6. Once this script is done, open index.html. Tada!

erthur's People

Contributors

nornagon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.