Build standalone.
Dual compatibility with ioq3/openarena clients.
The filesystem keeps an open handle to every indexed pk3, presumably to shorten load times. However, this easily exceeds the maximum number of open file handles permitted by the system (which, at the time of testing, is 1024), so adjust the code to open each pk3 on an as-needed basis and close it each time.