Giter VIP home page Giter VIP logo

df-lnp-installer's Introduction

Overview

df-lnp-installer is a shell script that installs the Dwarf Fortress Lazy Newb Pack. It downloads and builds a DF installation from available source code and binaries.

Included Mods

  • Lazy Newb Pack for Linux 0.5.3-SNAPSHOT-20130822
  • DF Hack 0.34.11-r3
  • Falconne's DFHack UI Plugins v0.43
  • SoundSense r42 (app only)
  • Dwarf Therapist v20.5 (splintermind, pulled and built from source) with manual
  • Quickfort 1.01
  • Chromafort 2010-04-25
  • Various embark profiles.
  • Tilesets
    • [12x12] Jolly Bastion 34.10v5
    • [16x16] ASCII Default 0.34.11
    • [16x16] CLA v15
    • [16x16] Ironhand 0.73.4
    • [16x16] Mayday 0.34.11
    • [16x16] Obsidian 0.8a
    • [16x16] Phoebus 34.11v01
    • [16x16] Spacefox 34.11v1.0

System Requirements

  • A Java runtime environment for the LNP GUI.
  • SDL 1.2, 32-bit
  • LibGLU 1, 32-bit
  • LibGTK 2.0, 32-bit
  • OpenAL 1.2, 32-bit
  • LibJPEG 6.2, 32-bit
  • Git
  • Mercurial (hg)
  • Qt4 Development Libraries including qmake
  • Python 2.x (for Quickfort)
  • The following fairly standard Linux utilities:
    • wget
    • sha1sum
    • sed
    • tar
    • unzip
    • unrar
    • make
    • g++
    • gcc
    • xterm

The df-lnp-installer script will automatically check your system for the required libraries.

The Debian (and possibly Ubuntu) command to install these dependencies is:

sudo apt-get install default-jre libsdl1.2debian:i386 libsdl-image1.2:i386 libsdl-ttf2.0-0:i386 libglu1-mesa:i386 libgtk2.0-0:i386 libopenal1:i386 libjpeg62:i386 git mercurial libqt4-dev qt4-qmake wget coreutils tar unzip unrar make g++ gcc patch xterm sed python bzip2

The Fedora command to install these dependencies is:

sudo yum install java-1.7.0-openjdk gcc gcc-c++ automake libgcc.i686 git cmake glibc-devel.i686 zlib-devel.i686 perl-XML-LibXSLT perl-XML-LibXML mercurial qt.i686 libgcc.i686 qt-devel SDL.i686 SDL_image.i686 SDL_ttf.i686 gtk2.i686 mesa-libGLU.i686 openal-soft.i686 libsndfile.i686 xterm unrar unzip python

Usage

Usage: df-lnp-installer.sh [OPTIONS]

Options:
--override-user-agent  # Download files as Mozilla user agent, not Wget user agent. Useful if you get 403 errors.
--skip-download        # Install using the existing contents of the ./downloads folder.
--skip-deps            # Install without checking for dependencies.
--skip-sha             # Install without checking file checksums.
--upgrade, -u          # Upgrade an existing DF installation.
--version, -v          # Print the df-lnp-installer version.
--help, --usage        # Print this message.

Full Installation

  1. Clone the git repository with git clone https://github.com/andrewd18/df-lnp-installer.git
  2. Run ./df-lnp-installer.sh and follow the prompts.
  3. Once DF is installed, enter the DF folder and run ./startlnp.
  4. Start the SoundSense r42 utility from the Utilities tab.
  5. Click the "Pack Update" tab.
  6. Click "Start Automatic Update".
  7. Get a Dwarven Ale; it's going to be a while.
  8. Once finished, close SoundSense, and muck about with LNP as normal.

Upgrading an Existing Installation

  1. Update your git repository with git pull
  2. Run ./df-lnp-installer.sh --upgrade. When asked, enter the directory you already installed DF into.
  3. Your save files and soundsense audio packs will be backed up.

Common Issues

See the WIKI.

Tested On

  • Debian 7 "Wheezy", stable, using Dash (default) shell.
  • Debian 7 "Jessie/Sid", testing, using Dash (default) shell.

df-lnp-installer's People

Contributors

andrewd18 avatar lluisyast avatar novahahn avatar orlandorichards avatar pgrange avatar ramblurr avatar sirdifferential avatar

Watchers

 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.