FORUM ARCHIVED

Installing on Ubuntu 12.04

Discussion in 'Dungeons of Dredmor General' started by Must Register To Post, Aug 15, 2012.

  1. I've got a .tar.gz file, thanks to a very old Humble Indie Bundle purchase that I haven't installed since I reinstalled Linux on my system. I managed to do this before, but jiggered if I can remember how to do it now.

    Halp?
     
  2. flagoon

    flagoon Member

    I think Steam is or will be on Linux. Maybe try over there (not sure if Humble Indie Bundle gave Steam code).
     
  3. onesandzeroes

    onesandzeroes Member

    Okay, so you're probably best off downloading the most up-to-date version off the Humble Bundle site. Humble Bundle have added accounts, so you should be able to make an account using the email you originally purchased with to make it easier to get back to your games and download the latest version.

    And with that out of the way:
    It doesn't actually need to be installed. Just unzip it anywhere, and you have a standalone copy of the game. The two most relevant files to look at are the "Dredmor-amd64" and "Dredmor-x86" executables. You want the amd64 one if you're on a 64-bit install, and the 32-bit one otherwise. You should be able to run the game by just double clicking the right one.

    To get it to show up in your menus, you need to create a .desktop file in ~/.local/share/applications. This is just a text file that looks like this:

    Code:
    [Desktop Entry]
    Version=1.0
    Type=Application
    Terminal=false
    Name=Dredmor
    Comment=Dungeons of Dredmor
    Exec="/home/username/path/to/dredmor/Dredmor-amd64"
    Path=/home/username/path/to/dredmor
    Icon=/home/username/some/kind/of/icon.jpg
    Categories=Game;
    If you're having trouble doing that, there's an app in the Ubuntu Software Center called "Create Launcher" that will help you do it.
     
  4. @onesandzeroes

    There's a shell script file named Dredmor which will pick the correct one for you and also set some path stuff.
     
  5. onesandzeroes

    onesandzeroes Member

    Yeah, I think I've been having weird mouse problems when running from the shell script (which possibly indicates that the game works better with my system libraries than the ones that come with Dredmor) but the shell script should be the best option for most people. If you get weird warnings about the "executable bit", you can fix them by right clicking on the script, going to the Permissions tab, and ticking "Allow executing file as program".