Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58849 - games-fps/quake1 refuse to run, can't find files
Summary: games-fps/quake1 refuse to run, can't find files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 19:57 UTC by Olivier
Modified: 2004-12-27 22:29 UTC (History)
1 user (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 Olivier 2004-07-29 19:57:18 UTC
When i try to run quake1.x11 , i get: 

FindFile: can't find gfx/pop.lmp
Playing shareware version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: couldn't load gfx.wad
VID_Shutdown
Segmentation Fault

My files are located in /usr/share/games/quake-data/id1
It doesn't run even if i'm in this directory

Reproducible: Always
Steps to Reproduce:
1.run quake1.x11 
2.
3.
Actual Results:  
FindFile: can't find gfx/pop.lmp
Playing shareware version.
FindFile: can't find gfx.wad
Error: W_LoadWadFile: couldn't load gfx.wad
VID_Shutdown
Segmentation Fault

Expected Results:  
find the file and run the game
Comment 1 Decibels 2004-10-15 18:31:44 UTC
I have been working on another issue with groups and wonder if yours might be the same problem. 

Can you run frozen-bubble as same user?
If no, how many groups is your user in (ie /etc/groups).

Curious if user is in more than 32 groups.

Comment 2 Petr Novak 2004-11-11 06:01:54 UTC
snip from `strace quake.x11`:

open("./id1/pak0.pak", O_RDONLY)        = -1 ENOENT (No such file or directory)
stat64("./id1/gfx/pop.lmp", 0xbffff10c) = -1 ENOENT (No such file or directory)
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 2), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40816000
write(1, "FindFile: can\'t find gfx/pop.lmp"..., 33FindFile: can't find gfx/pop.lmp
) = 33

I haven't actually tested if this works, because I don't have the data yet, but it seems to me that the binary is looking for ./id1/something. So I'd suggest to try running it from /usr/share/games/quake-data/ as a workaround.
Comment 3 SpanKY gentoo-dev 2004-12-27 22:29:45 UTC
quake1 was never really meant to be used :P

fixed datafile searching in 2.40-r1 ... the game will now search the normal path (./) and then search the gentoo path (/usr/share/games/quake-data/)