I'm putting the contents of the pak file on a ramdisk. I was trying to speed optimize HL as much as possible, but I'm not sure how efficient Half-Life reads the pak files when compared to 'normal' file operations.
Jeroen "ShadowLord" Bogers [EMAIL PROTECTED] [EMAIL PROTECTED] ----- Original Message ----- From: "Leon Hartwig" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 01, 2002 23:12 Subject: RE: [hlds_apps] PAK file bug? > Why do you want to explode your .pak files anyway? If you are talking about > stock valve .pak files, there isn't worthwhile reason to do it and I would > recommend that you don't. If you're making a mod and you are converting > from using .pak files to not using them, the best way to correct it is to > fix the bsp's and game code to reference files with the correct casing. > > > > -----Original Message----- > > From: Jeroen "ShadowLord" Bogers [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 01, 2002 1:58 PM > > To: [EMAIL PROTECTED] > > Subject: Re: [hlds_apps] PAK file bug? > > > > > > Is there any solution beyond renaming the files or changing to a case > > insensitive FS? > > > > Maybe, in the next (server) patch, HL could have the option to be forced > > only to search for lowercase files, no matter what? This would solve a lot > > of problems with map resources. > > > > Jeroen "ShadowLord" Bogers > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] > > > > ----- Original Message ----- > > From: "Leon Hartwig" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Thursday, August 01, 2002 21:41 > > Subject: RE: [hlds_apps] PAK file bug? > > > > > > > When the engine searches a .pak for a file, it is a case insensitive > > search. > > > As has been pointed out, Linux FS access is case sensitive. > > You'd have to > > > manually rename everything after extracting from the .pak, but even then > > > it's not guaranteed to work how you want it because a file might be > > > referenced differently by different bsps or different places in the game > > > dll. > > > > > > > > > > -----Original Message----- > > > > From: botman [mailto:[EMAIL PROTECTED]] > > > > Sent: Thursday, August 01, 2002 12:15 PM > > > > To: [EMAIL PROTECTED] > > > > Subject: Re: [hlds_apps] PAK file bug? > > > > > > > > > > > > > hlpakextract (my own tool :) > > > > > > > > > > It preserves case... I even checked the pak file itself with a hex > > > > > editor... > > > > > Lower case names. > > > > > > > > If all the files within the .pak file are actually lowercase then > > > > you would > > > > need to rename the files manually (or create a Linux file > > system that is > > > > case insensitive, which might be easier :). > > > > > > > > Jeffrey "botman" Broome > > > > > > > > _______________________________________________ > > > > hlds_apps mailing list > > > > [EMAIL PROTECTED] > > > > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > > > > > > > > > > > _______________________________________________ > > hlds_apps mailing list > > [EMAIL PROTECTED] > > http://list.valvesoftware.com/mailman/listinfo/hlds_apps > > > _______________________________________________ hlds_apps mailing list [EMAIL PROTECTED] http://list.valvesoftware.com/mailman/listinfo/hlds_apps
