Saturday, October 24, 2009

deb for OpenTTD

I'd like to create a proper package for OpenTTD. So I've followed the ottd compilation wiki. At the end of the wiki page it is explained how to create a deb package.
I first had to install the following packages:

apt-get install build-essential fakeroot libfontconfig1-dev
then, from the root directory of the source code,
mv os/debian .
and
dpkg-buildpackage -rfakeroot -uc -us
to build the package (ge75bb64).

I had some problems with openttd sound stuttering, to solve it I found that (thanks Rubidium in the #openttd channel) running with -s sdl:hz=22000 solves the problem. This can be also set to be the default in the openttd.cfg file, just set:
sounddriver = "sdl:hz=22000"

No comments:

Post a Comment