vkQuake icon indicating copy to clipboard operation
vkQuake copied to clipboard

couldn't load gfx.wad Ubuntu

Open coreybruce opened this issue 9 years ago • 17 comments

I just git cloned vkquake and compiled it on Ubuntu and I can't run it because it couldn't load "gfx.wad" is it missing or did something go wrong? nothing in the make logs show any errors.

coreybruce avatar Mar 31 '17 14:03 coreybruce

https://github.com/Novum/vkQuake/issues/4#issuecomment-235151961 https://quakewiki.org/wiki/W_LoadWadFile_:_couldn't_load_gfx.wad

mdeguzis avatar Mar 31 '17 14:03 mdeguzis

This doesn't fix the issue I cd to ./vkQuake/Quake/ than did ./vkquake and got the same error

my file structure is

quake ->quake/id1 ->pak0.pk3 vkquake

coreybruce avatar Mar 31 '17 14:03 coreybruce

You have .pk3, not .pak

mikeyd@archboxmtd id1 $ file pak0.pak
pak0.pak: Quake I or II world or extension, 21696 entries

mikeyd@archboxmtd id1 $ file /usr/share/gzdoom/brightmaps.pk3
/usr/share/gzdoom/brightmaps.pk3: Zip archive data, at least v2.0 to extract

PK3 files are merely archives. The pak files should be under id1/. You didn't read the quakewiki article I linked.

mdeguzis avatar Mar 31 '17 15:03 mdeguzis

I got my pak files from my ioquake which works fine so what do I need to do?

coreybruce avatar Mar 31 '17 15:03 coreybruce

I could be wrong, but .pk3 seems to be a Quake 3 compatible file. There is no 'ioquake' on Linux, jsut 'ioquake3', which is Quake 3. You need Quake 1* compatible pak files. See the readme here on testing out the shareware .pak file that is freely available, free of charge..

mdeguzis avatar Mar 31 '17 15:03 mdeguzis

Sorry I meant ioquake3 which I downloaded the quake pak files to use ioquake3, here is a screenshot of all my pak files in ioquake3

http://i.imgur.com/3bAt3Vq.png

coreybruce avatar Mar 31 '17 15:03 coreybruce

This project is Quake 1 only. There nothing here compatible with Quake 3.

mdeguzis avatar Mar 31 '17 15:03 mdeguzis

oh right so I need to get quake 1 pak files, you might want to explain that on the github page so no one gets confused on what pak files you even need since it doesn't explain what version quake it is

coreybruce avatar Mar 31 '17 15:03 coreybruce

If it was meant for anything else, it would say Quake 2 or Quake 3. Quake is Quake.

mdeguzis avatar Mar 31 '17 15:03 mdeguzis

Well yes but vkquake as a name could mean any of the versions haha anyways I am downloading the shareware pak file and I will let you know how it goes

Edit oh I see I will need DOSBOX to get the pak file, great.. why don't you just give a link to the uncompacted raw pak file?

coreybruce avatar Mar 31 '17 15:03 coreybruce

Oh the link to shareware? That is just one someone snuck in there, there may be other links on the net. I'll see if I can find an alternative when I get home later.

mdeguzis avatar Mar 31 '17 15:03 mdeguzis

I unpacked it, it made a ID1 folder with the pak file, copied over the whole folder into the quake folder and I still get the same error :(

Command line: ./vkquake Found SDL version 2.0.4 Detected 4 CPUs. Quake 1.09 (c) id Software GLQuake 1.00 (c) id Software FitzQuake 0.85 (c) John Fitzgibbons FitzQuake SDL port (c) SleepwalkR, Baker QuakeSpasm 0.92.2 (c) Ozkan Sezer, Eric Wasylishen & others vkQuake 0.95.0 (c) Axel Gneiting Host_Init Playing shareware version.

ERROR-OUT BEGIN

QUAKE ERROR: W_LoadWadFile: couldn't load gfx.wad

coreybruce avatar Mar 31 '17 15:03 coreybruce

did you make sure id1 foldername and pak-filenames are lowercase?

slim-one avatar Mar 31 '17 17:03 slim-one

Yes all working just had to change the pack file and file type to lower case thanks for the help, sorry I wasn't understanding what I needed to do to get the game working :D

coreybruce avatar Mar 31 '17 22:03 coreybruce

Not a vkQuake bug

Novum avatar Apr 01 '17 04:04 Novum

Linux is case-sensitive, all ports of quake look for pak0.pak and pak1.pak and the steam version and possible every official version have the pak files PAK0.PAK and PAK1.PAK. Make them lowercase and it will work.

ghost avatar Nov 05 '22 06:11 ghost

Oh ok I'll try that and report back any issue.

coreybruce avatar Nov 16 '22 03:11 coreybruce