[cod] pk3 file loading question

Bryan Kuhn bryan at infinityward.com
Thu Sep 30 13:04:10 EDT 2004


here's your answer:

"Everything inside the game is a flat directory structure inside "main", "uo", or whatever.  All of these get merged into one directory, basically. There are rules to decide which file to keep when it is defined in more than one place.  Anything in the "uo" directory will supercede anything in the "main" directory.  Anything in a pk3 file will supercede anything in the file system, unless trumped by the previous rule.  Anything in a pk3 that sorts later alphanumerically will supercede something in a previous pk3 file, unless trumped by either of the previous two rules."

Thursday, September 30, 2004, 4:36:06 AM, Steven Hartland wrote:
> Bryan / Ryan I'm sure u guys can answer this:
> Is their any difference in having:
> 1. main/myfile.pk3
> and:
> 2. uo/myfile.pk3

> i.e. do the files get relatively prefixed hence if myfile.pk3 contained
> a file mydir/myfile.txt would it internally map to:
> main/mydir/myfile.txt in case 1
> and 
> uo/mydir/myfile.txt in case 2
> or would they both map to just:
> mydir/myfile.txt

>     Steve / K


> ================================================
> This e.mail is private and confidential between Multiplay (UK)
> Ltd. and the person or entity to whom it is addressed. In the event
> of misdirection, the recipient is prohibited from using, copying,
> printing or otherwise disseminating it or any information contained
> in it. 

> In the event of misdirection, illegible or incomplete
> transmission please telephone (023) 8024 3137
> or return the E.mail to postmaster at multiplay.co.uk.




More information about the Cod mailing list