docker-quake3 icon indicating copy to clipboard operation
docker-quake3 copied to clipboard

Quake III Arena data missing, see /usr/share/doc/quake3-server/README.quake3-data

Open alexbergsland opened this issue 6 years ago • 3 comments

I'm sorry, I am sure there is something in the instructions I don't understand. What am I missing? "Quake III Arena data missing, see /usr/share/doc/quake3-server/README.quake3-data" I have pak0.pk3 in /usr/share/games/quake3/baseq3/.

alexbergsland avatar Jun 30 '18 11:06 alexbergsland

Looks like this in the Debian packaging.

# sanity check: the engine doesn't cope well with missing data
for i in 0 1 2 3 4 5 6 7 8; do
  if test -f $BASEPATH/baseq3/pak$i.pk3; then
    :
  else
    if test "$IOQ3ROLE" = client; then
      $BASEPATH/need-data.sh "Quake III Arena" "`cat $BASEPATH/README.quake3-data`"
    else
      echo "Quake III Arena data missing, see /usr/share/doc/quake3-server/README.quake3-data"
    fi
    exit 72     # EX_OSFILE
  fi
done


chadmiller avatar Jun 21 '20 19:06 chadmiller

My simple workaround is not to use the Debian wrapper. I replaced the entrypoint with a new line in the docker-compose.yml.

    entrypoint: ["/usr/lib/ioquake3/ioq3ded", "+set", "com_standalone", "0", "+set", "fs_basepath", "/usr/share/games/quake3"]

And it fails now with the next problem,

chadmiller avatar Jun 21 '20 19:06 chadmiller

It's a bad idea to flip them. You must instead install pak0.pk3 through pak8.pk3

Test for missing file

ls pak{0,1,2,3,4,5,6,7,8}.pk3

chadmiller avatar Jun 21 '20 22:06 chadmiller