Seeking Sponsors for my package - roadfighter

Adam Borowski kilobyte at angband.pl
Sat Apr 9 01:20:11 UTC 2016


On Fri, Apr 08, 2016 at 09:45:35PM -0300, Carlos Donizete Froes wrote:
> > > However, there's a wee little problem:
> > > [~]$ roadfighter 
> > > Segmentation fault (core dumped)

It looks like it _does_ work when ran from the build dir, fails otherwise.
(Sorry for the delay, I was, uhm, making sure it really works...)

And here's why:
open("fonts/NoticiaText-Italic.ttf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("fonts/LiberationSans-Bold.ttf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("fonts/LiberationSans-Bold.ttf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("fonts/LiberationSans-Bold.ttf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/disclaimer.jpg", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/retroremakes.bmp", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/konami1.jpg", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("graphics/konami2.jpg", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("graphics/title.jpg", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("graphics/arrow.bmp", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("graphics/gamemap.bmp", O_RDONLY)  = -1 ENOENT (No such file or directory)
open("graphics/minicar1.bmp", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/minicar2.bmp", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/gameover.jpg", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/scoreboard.bmp", O_RDONLY) = -1 ENOENT (No such file or directory)
open("graphics/scoreboard_left.bmp", O_RDONLY) = -1 ENOENT (No such file or directory)
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---

[~]$ dpkg -L roadfighter
/.
/usr
/usr/games
/usr/games/roadfighter
/usr/share
/usr/share/man
/usr/share/man/man6
/usr/share/man/man6/roadfighter.6.gz
/usr/share/doc
/usr/share/doc/roadfighter
/usr/share/doc/roadfighter/changelog.Debian.gz
/usr/share/doc/roadfighter/copyright
/usr/share/pixmaps
/usr/share/pixmaps/roadfighter.png
/usr/share/applications
/usr/share/applications/roadfighter.desktop

You need to actually install the assets and tell the game how to find them. 
LiberationSans-Bold.ttf should be a dependency on fonts-liberation instead
of shipping a copy yourself, NoticiaText-Italic.ttf is not currently
packaged.


-- 
A tit a day keeps the vet away.



More information about the Pkg-games-devel mailing list