Bug 2846 - Add option to disable check for pak0
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Misc
Version: unspecified
Hardware: All All
: P2 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2006-08-25 11:05 EDT by Hobbes
Modified: 2009-05-21 16:53:46 EDT
1 user (show)

See Also:


Attachments
Proposed patch (694 bytes, patch)
2006-08-25 11:07 EDT, Hobbes
New patch adding a DEFINE to disable both, pak0 check and (8.78 KB, patch)
2006-08-25 13:31 EDT, Hobbes
svn883: disable pak0/cdkey check (7.91 KB, patch)
2006-09-03 11:10 EDT, Hobbes
svn1016: disable pak0/cdkey check (7.91 KB, patch)
2006-12-27 13:19 EST, Hobbes

Description Hobbes 2006-08-25 11:05:44 EDT
When initializing the Q3 file system, the engine check for a valid pak0 to be present. Some mods might not need pak0 at all.
Comment 1 Hobbes 2006-08-25 11:07:51 EDT
Created attachment 1030 [details]
Proposed patch

This patch makes it possible to disable the check for pak0 by passing '+set com_disablePak0check 1' on the command line. It works for client and server. Every non-zero value will disable the check.
Comment 2 Hobbes 2006-08-25 13:31:46 EDT
Created attachment 1033 [details]
New patch adding a DEFINE to disable both, pak0 check and 

After talking to zakk, he proposed to trigger the pak0 via the Makefile. He also proposed to trigger the q3key check by the same define. USE_Q3_DATA defaults to 1 (meaning both enabled), when explicitely set to 0 both checks will be disabled.

The client will send an empty cdkey to the server when authorizing. This patch only affects client and common, not the ui stuff.
Comment 3 Hobbes 2006-09-03 11:10:44 EDT
Created attachment 1054 [details]
svn883: disable pak0/cdkey check

* removed some leftover from my first patch in cl_ui.c
Comment 4 Hobbes 2006-12-27 13:19:44 EST
Created attachment 1223 [details]
svn1016: disable pak0/cdkey check

fixed patch for revision 1016
Comment 5 Ryan C. Gordon 2007-05-21 11:22:23 EDT
Setting a QA contact on all ioquake3 bugs, even resolved ones. Sorry if you get a flood of email from this, it should only happen once. Apologies for the incovenience.

--ryan.

Comment 6 Thilo Schulz 2009-05-21 16:53:46 EDT
This has been introduced with the STANDALONE as well as com_standalone cvar that can be set prior to start. Thanks for the patch though.