|
Author
|
Topic: Extracing pak4 data to get more fps - Sounds BS?
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-08-2004 11:04 PM

Well, some guy posted this over at PlanetDoom, it went something like this:My brother was playing Doom 3 and he decided to extract all the pak4 data from the install dir. It made the game dir a whooping 4gb, but he gained about 20fps on his shitty rig! I don't see how this would work anyway - I mean, paking the files (aka data compress) should be efficient enough to begin with, and you would think that by just having the files laying there it would offer no performance increase. (But, some games like Far Cry still opt not to have this level of compression, and their install dir is well over 3gb - I thinks?) I haven't tested this yet, but does anyone here feel like being a testlab rat and try this out?
|
Synergy The Afflicted
Posts: 600 Registered: Jan 2004
|
posted 08-08-2004 11:11 PM
I have a shitty rig, what the hey, I'll give it a try.
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-08-2004 11:16 PM

Ok cool - but after you have everything extracted, remember to move the pak4 files out of the game dir for the time being, so the game *attempts* to use the extracted files itself. If it dosen't work or you don't gain any performance, just move the paks back and you are good to go.
|
Synergy The Afflicted
Posts: 600 Registered: Jan 2004
|
posted 08-08-2004 11:31 PM
Wow, I'm surprised, it really does work! My comp is extremly shitty, I was only getting about 10-15 FPS before, now I am reaching 25-35. Everyone should do this. dzjepp, If I do the same to the other pk4 files, will it increase even more? Nice find btw
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-08-2004 11:38 PM

I might try this as I don't play MP anyway (I don't like it). All I do is play SP/and mess with it/mess with editor.  The sideeffect is that you can't play mp since mp will get confused? - but you can always have 2 dirs one with the paks (for mp), the other extracted (for sp). Just extract these: pak000.pk4 pak001.pk4 pak002.pk4 pak003.pk4 pak004.pk4 Some guy made a batch script for winrar/winzip that will make this easier (as if it already wasnt ) Anyways the thread is here: http://www.forumplanet.com/planetdoom/topic.asp?fid=5733&tid=1440520
|
Synergy The Afflicted
Posts: 600 Registered: Jan 2004
|
posted 08-08-2004 11:40 PM
Cool, I know how to do the extraction and all that thanks
|
Dr_Watson Black Magic
Posts: 16898 Registered: Feb 2000
|
posted 08-09-2004 02:08 AM

 heh... thats the first game that has ever worked for.
i know i'm not known to scoff @ an 8% performance gain. but ... does that make you "impure" and unable to play online?
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-09-2004 02:20 AM

Yes it does. You can always have 2 install dirs one for sp and one for mp. If you consider all this worth the trouble.
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-09-2004 02:22 AM

BTW... did you guys get any CRC erros whilist extracting any of the paks?
|
Dr_Watson Black Magic
Posts: 16898 Registered: Feb 2000
|
posted 08-09-2004 02:38 AM


quote:
Originally posted by dzjepp: BTW... did you guys get any CRC erros whilist extracting any of the paks? |
no but there were four duplicate textures... exact same file sizes and everything.
|
Dr_Watson Black Magic
Posts: 16898 Registered: Feb 2000
|
posted 08-09-2004 02:39 AM


quote:
Originally posted by dzjepp: Yes it does. You can always have 2 install dirs one for sp and one for mp. If you consider all this worth the trouble. |
eh... 3 frames isn't worth the trouble. it might make a bigger deal on a machine with a slow processor/hd/ram ...
|
sirstrongbad To the Limit!
Posts: 6127 Registered: Sep 2000
|
posted 08-09-2004 04:47 AM

i noticed a thread on planetdoom.com about this. i tried it and it worked fine for me. it does take a while to extract everything, though.
|
Synergy The Afflicted
Posts: 600 Registered: Jan 2004
|
posted 08-09-2004 10:24 AM
When I extract all the pak4 files, It doesn't give me as much FPS as when I only had Pak004.pk4 extracted. I still think it's worth it, because my computer is utter shit. [This message has been edited by Synergy : 08-09-2004.]
|
moonracer Recruit
Posts: 7 Registered: Aug 2004
|
posted 08-09-2004 11:55 AM
yeah, I tried it last night. went from 15 fps to 20+ fps in timedemo demo.1Of course I notice the timedemo lags considerably more than while I'm playing. I'm pretty sure that's because I'm taking my time throught the game and not racing from room to room, so the game has time to keep up and load ahead of me. this fix makes the game much smoother for me in the 35fps + most of the time during gameplay (yeah, my system is lacking in uber).
|
Therac-25 Post-consumer human butt wipe
Posts: 1701 Registered: Dec 1999
|
posted 08-09-2004 12:15 PM

This could be for a few reasons.One, if you didn't defrag the drive that it was installed on before you installed it, then this could result in small, less-fragmented files than the large pak file would have been (and when you defragment, watch the diagram to make sure there's enough contiguous unallocated space to fit Doom 3 into). The overhead of the zip file should be minimal -- the files have a table of contents, so they don't need to be loaded before specific files can be extracted -- so focus on the defragmentation first. It would be interesting to run controlled experiements to see if this tweak's effectiveness decreases as more ram is added or not :wq
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-09-2004 12:48 PM

Well, I went from 35fps in timedemo to 32.5 with this tweak. So I got got a decrease in performance as a result. I even defragged before and after, and still no difference. Funny thing with the tweak is my timedemo would stay locked at about 32.5 even after 3 consecutive run throughs. While using the pak4 format I would sometimes run the timedemo 3-4 times and each time would yield a slightly different result (higher/lower). Well I dunno, I'll go back to the solid pk4 structure me thinks.
|
Canis Protein Mafia
Posts: 11947 Registered: Jan 2001
|
posted 08-09-2004 01:06 PM
They should include a pak file extraction option in the installer, at least for systems that will have a hard time playing the game anyway...
|
dzjepp It felt good...
Posts: 2907 Registered: Mar 2001
|
posted 08-09-2004 01:17 PM

It won't give a performance increase for everyone, and even if it does it will likely be 3-5fps. That's probably why id won't bother with it.
|
Dr_Watson Black Magic
Posts: 16898 Registered: Feb 2000
|
posted 08-09-2004 02:43 PM

 i think it only gives a noteworthy boost to systems that have cpu bottlenecks, slow hard drives, and low ram. i mean, if all your shit is cached in ram, it doesn't matter if its getting cached through an uncompression routine or just a straight file copy. but i could see removing the compression taking a bit of the cpu overhead out of the equasion.oh, and its almost 2:1 compression compressed pk4's = 1.4 GB uncompressed = 2.5 GB. so its not like its a 0-compression "store" like the pk3's in q3.
|
EtUL My icon speaks for itself
Posts: 18261 Registered: Apr 2001
|
posted 08-09-2004 03:11 PM

yeah, I went from like 38 to 39...not worth the time it took to unpack them. I am Holden Caulfield.
|
Requ!em Insane Quaker
Posts: 253 Registered: Mar 2000
|
posted 08-10-2004 04:14 AM
In addition to the multiplayer issue there's a post from R.Duffy of id software over at Shacknews regarding this, he states that it may cause in game performance problems, not help them.
|