STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,475
IN-GAME
8,378
ONLINE
Founded
26 October, 2013
Language
English
This topic has been locked
[FIXED][BUG] Slow VPK unpack
I went to update SFM with the latest Smissmas Update content, so instead of using GCFScape, I gave Crowbar a try. Unfortuantely, it turned out to be *painfully* slow, taking over 2 hours to successfully unpack just the tf2_sound_vo_english_00x archive!
So I dusted off the old GCFScape, and did all 4 archives in about 10 minutes.
I was wondering though, isn't Crowbar's VPK tool built on the same library as GCFScape?
I love how useful Crowbar is, it would be awesome if this were optimized, I'd much rather have everything in one box, rather than a dozen tools scattered across the desktop :demoticon:
Last edited by ZeqMacaw; 6 Aug, 2022 @ 12:12pm
< >
Showing 1-14 of 14 comments
ZeqMacaw 18 Dec, 2020 @ 10:18pm 
I would not expect Crowbar to be any slower than GCFScape, so I will definitely look into this.

Crowbar does not use anything that GCFScape uses.
ZeqMacaw 18 Dec, 2020 @ 11:37pm 
I unpacked "tf2_sound_vo_english_dir.vpk" (this is the index of the 4-file VPK package; this unpacks all 4 files of the package) via Crowbar 0.71, GCFScape 1.8.6, and TF2's VPK.exe.

Crowbar: 58 minutes
GCFScape: 1 minute
TF2's VPK.exe: 1 minute

I have some work to do. :rfacepalm:
Last edited by ZeqMacaw; 18 Dec, 2020 @ 11:37pm
Awwww, hey, but that's Progress, ammirite? Glad I could be part of the QC process, and appreciative of your work :)
Last edited by ghost of delete key; 19 Dec, 2020 @ 3:14am
ZeqMacaw 19 Dec, 2020 @ 4:43pm 
I ran the same test as last night and another test, and Crowbar unpacked the data within a minute just like GCFScape. I ran the tests on two different drives with two different VPK packages.

Maybe Windows 10 or the .NET Framework just freaked out for both of us at just the wrong times. :S

I will keep this random slow-down in mind. Maybe I will come across something in my research that might explain the random slow-down.
ZeqMacaw 19 Dec, 2020 @ 5:16pm 
Ran some more tests and someone else also ran some tests. It seems a fresh open of Crowbar allows the unpacking to go quickly. The subsequent unpacks without closing Crowbar always run about 10 times slower.
I just did that test, and same results. Memory leak, maybe? it seems the more I open and close dir files, even without extracting, it slows things down a lot.
ZeqMacaw 21 Dec, 2020 @ 7:16pm 
SOLVED!

Crowbar was not clearing the "binding" of the combobox at the bottom before running the second time, causing the second unpacking to incorrectly try to fill the combobox for each file unpacked instead of filling the combobox at the end of the unpacking.

Fixed for next release.
Great to hear, and thanks for doing what you do! :eaglegrin: :steamthumbsup:
ghost of delete key 22 Dec, 2020 @ 12:58am 
By the way, I sent you a little something for your awesome tool and dedication, Merry Christmas :steamthumbsup:
ZeqMacaw 22 Dec, 2020 @ 6:27am 
Oh wow! I wondered who that was. Thanks!
:lunar2019coolpig:
Jofoyo 14 Mar, 2021 @ 12:42am 
Originally posted by ZeqMacaw:
SOLVED!

Crowbar was not clearing the "binding" of the combobox at the bottom before running the second time, causing the second unpacking to incorrectly try to fill the combobox for each file unpacked instead of filling the combobox at the end of the unpacking.

Fixed for next release.

I hope you don't mind me reopening this thread, but I still suffer from a painfully slow unpack (Currently on the latest version), it's been 12 hours since I began unpacking Black Mesa's model folder and it is not even half-way finished.

I would just use GCFScape to unpack the files, but from prior experience it tends to skip specific files and Crowbar is the only thing that unpacks reliably, though I am now trying the VPK.exe included in the binaries and it's working significantly faster. (Finished unpacking the whole model VPK within six minutes)

My lazy idea for you is to just search for a VPK.exe in the current game setup and outsource the unpack to that instead.
Last edited by Jofoyo; 14 Mar, 2021 @ 12:50am
ZeqMacaw 14 Mar, 2021 @ 4:08am 
Use the workaround described in post #5 above.
Last edited by ZeqMacaw; 14 Mar, 2021 @ 4:09am
Jofoyo 14 Mar, 2021 @ 2:38pm 
Originally posted by ZeqMacaw:
Use the workaround described in post #5 above.
Ah I thought I read you had fixed that and it was just a return bug or something, thanks.
< >
Showing 1-14 of 14 comments
Per page: 1530 50

Date Posted: 18 Dec, 2020 @ 2:45pm
Posts: 14