Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Build from source #238

Open
TheChymera opened this Issue · 13 comments

4 participants

@TheChymera

Hi guys - I would like to write a gentoo package for this amazing game. Do you have any instructions on how to build it from source?

@wangds
Collaborator

Building:

There will be a few issues though:

  • OpenDUNE requires the original v1.07 data files. See what Gentoo does for Dune Legacy.
  • Saved games are saved in the data directory, which will most likely be read-only when installed.
@TheChymera

what are "the original v1.07 data files."?

@gnubee40

The question would be where to get the original data files. So far I only got hold of the .pak files :(
Opendune works great for my Android, but havent quite figured to get it running in Ubuntu. The proposed command "opendune" is nowhere to be found...

@wangds
Collaborator

opendune will be in bin/.
Put the Dune II data files (i.e. the PAK files) in bin/data/.

OpenDUNE looks for the data files relative to where you launch it from, and not relative to where the executable is, so you need to go into the directory above the data/ directory. e.g.

cd bin
./opendune

and NOT: ./bin/opendune

@gnubee40
@gnubee40
@wangds
Collaborator

Master should work fine.
It sounds like there's something wrong with your SDL installation.
You probably need to install some -dev packages.

@gnubee40
@TheChymera

Some work popped up and I won't be able to get to this for a while. I would be happy if you can leave the issue open so that I can find it when I'm ready and so that any other people who may try this can post feedback in the mean time.

Many Thanks,

@carstene1ns

Just a pingback, I packaged opendune for Arch Linux a while ago and circumvented the problem with globally installing and writable data directory by adding a little launcher.
I know it is not perfect, but it works like intended. You can find the files here.

@wangds
Collaborator

I really should just backport my changes from Dune Dynasty,
which, while not quite as flexible as the OpenTTD one, works well enough.

BTW, any chances of getting Dune Dynasty into either distro?

@carstene1ns

Packaged right away... files here.
On topic: I will likely package OpenDUNE 0.8 when it is released, too.

@wangds
Collaborator

I separated the game resources and the config and saved game directories in the
https://github.com/OpenDUNE/OpenDUNE/tree/datadirs branch, so that

  • game resources are loaded from $DUNE_DATA_DIR/data/, and
  • saved games go in $HOME/.config/opendune/.

I haven't tested it on Windows and you can't configure the global
data directory from the configure script. Either compile with
-DDUNE_DATA_DIR=..., #define it in src/file.c, or fix the configure script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.