Code Monkey home page Code Monkey logo

flatpak-openttd's Introduction

flatpak-openttd

A flatpak package for the game openttd. Includes the opengfx, opensfx and openmsx resource packs, as well as timidity (needed to play music).

Building a release build

First checkout the repo:

git clone https://github.com/casept/flatpak-openttd     
cd flatpak-openttd   
git submodule init     
git submodule update     

Install the needed runtime and SDK:

flatpak remote-add --user --if-not-exists --from gnome https://sdk.gnome.org/gnome.flatpakrepo       
flatpak install --user gnome org.freedesktop.Sdk 1.4      
flatpak install --user gnome org.freedesktop.Platform 1.4          

And build:

make     

Installation

Just run make install. This will install the game for your local user.

Building/installing a trunk build

Follow the steps above, but use

make -f Makefile-nightly     
make -f Makefile-nightly install

instead of the standard make commands.

Running

In most desktop environments an openttd menu entry will have been created under games. If that's not the case you may need to log out and back in again. If you still can't find the icon your DE might not be looking in the directory where flatpak places .desktop files. If that's the case you'll have to run flatpak run org.openttd.openttd to start the game.

Accessing save games/mods/etc.

For sandboxing reasons the game is configured to save user data to ~/.var/app/org.openttd.openttd/.openttd instead of the usual ~/.openttd. This directory will have the same structure as it does when the game is installed systemwide by normal means.

flatpak-openttd's People

Contributors

casept avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

leandrostanger

flatpak-openttd's Issues

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.