Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689086 - games-fps/gzdoom-4.1.3 - gzdoom: Cannot find gzdoom.pk3
Summary: games-fps/gzdoom-4.1.3 - gzdoom: Cannot find gzdoom.pk3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Breathitt Gray
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-01 16:20 UTC by Nikita Zlobin
Modified: 2019-07-02 13:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikita Zlobin 2019-07-01 16:20:19 UTC
This appears when simply running "gzdoom" in terminal, same as in desktop launcher. Full launch log:
-----------------------
$ gzdoom -h
GZDoom <unknown version> -  - SDL version
Compiled on Jun 30 2019

M_LoadDefaults: Load system defaults.
Cannot find gzdoom.pk3
-----------------------

Searching for solution, I found only this:
https://github.com/coelckers/gzdoom/pull/377
from there
https://aur.archlinux.org/packages/gzdoom/?comments=all

From discussions it seems, gzdoom needs some config file, but I can't find any info about it. Nor even command line options list.
"gzdoom -h" doesn't work (-h is just ignored as if not specified)

Exact files list ($ qlist -e gzdoom | sort ):
/usr/bin/gzdoom
/usr/share/applications/gzdoom-gzdoom.desktop
/usr/share/doc/gzdoom-4.1.3/console.css
/usr/share/doc/gzdoom-4.1.3/console.html
/usr/share/doc/gzdoom-4.1.3/README.md.bz2
/usr/share/doc/gzdoom-4.1.3/rh-log.txt.bz2
/usr/share/doom/brightmaps.pk3
/usr/share/doom/fm_banks/GENMIDI.GS.wopl
/usr/share/doom/fm_banks/gs-by-papiezak-and-sneakernets.wopn
/usr/share/doom/gzdoom.pk3
/usr/share/doom/lights.pk3
/usr/share/doom/soundfonts/gzdoom.sf2
/usr/share/doom/zd_extra.pk3
/usr/share/pixmaps/gzdoom.xpm
Comment 1 William Breathitt Gray 2019-07-02 06:38:52 UTC
GZDoom should create a config file the first time it starts up; it'll should be located at ~/.config/gzdoom/gzdoom.ini

Inside this file, you can configure the default search path for GZDoom:

[FileSearch.Directories]
Path=$HOME/.config/gzdoom
Path=/usr/local/share/
Path=/usr/local/share/doom
Path=/usr/local/share/games/doom
Path=/usr/share/doom
Path=/usr/share/games/doom
Path=$DOOMWADDIR

The Gentoo gzdoom-4.1.3 ebuild should have installed installed the pk3 files under /usr/share/doom, so let's first make sure that the gzdoom.pk3 is under that directory and that your gzdoom.ini file is configured with a PATH=/usr/share/doom line.
Comment 2 Nikita Zlobin 2019-07-02 13:28:26 UTC
Thanks, I looked to that file - it was:
[FileSearch.Directories]
Path=~/.config/gzdoom
Path=/usr/share/doom-data/
Path=$DOOMWADDIR

It needed Path=/usr/share/doom/
like above block, to begin work (not replacing /usr/share/doom-data, some modes from gamerlay are placed into it).
Comment 3 Nikita Zlobin 2019-07-02 13:48:43 UTC
It was old config file. After its removal next gzdoom run recreated it without any issues.