criticalstack/quake-kube

Some game data files may have been corrupted

dmc5179 opened this issue · 3 comments

After deploying example.yaml on my cluster I can see in the pod server logs:

**************************************************
WARNING: baseq3/pak0.pk3 is present but its checksum (2985612116)
is not correct. Please re-copy pak0.pk3 from your
legitimate Q3 CDROM.
**************************************************

Not sure if this a known non-issue or something that needs to be re-copied into the container image.

When I was first compiling this I got that message even with the assets I ripped from my legit Q3 cd. My CD is many versions older than what it is expecting, so I suspect it is only comparing checksums for the most recent version (or something like that). The demo assets it is downloading from content.quakejs.com end up being mismatched as well and I think that causes the message.

It doesn't appear to do anything, but good news is I think the ioq3ded binary just needs to be compiled with the BUILD_STANDALONE=1 flag so that it creates a standalone game (and no longer does that check). I'm taking a look at that atm and seeing if that works, thanks for reporting this!

I may be misunderstanding the need to use the standalone game build. I haven't tried to use one of the custom quake games yet, but wanted to ensure that it could be done in the future, however, it seems like just setting the basegame should be all that is necessary for that. I think some more investigation is necessary here, my biggest concerns would be that it somehow violates the license (although looking at the q3 demo license it doesn't appear to).

I think this should be addressed with #16 but I welcome any follow-up discussion (we can reopen this or start a new issue). Thanks again!