Tried to load HD 4.7.1b in GZDOOM builder.

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Rocket1
Posts: 16
Joined: Wed Mar 09, 2022 7:49 am
Discord: no
Operating System: Windows 10/8.1/8/201x 64-bit

Tried to load HD 4.7.1b in GZDOOM builder.

Post by Rocket1 »

All hideous destructor versions I tried broke GZDoomBuilder. Please help!

Unable to load resources from location "C:\Users\Bennett\Downloads\hd-4.5.0a.pk7". Please make sure the location is accessible and not in use by another program. The resources will now be loaded with this location excluded. You may reload the resources to try again.
NotSupportedException when creating data reader: Specified method is not supported.
User avatar
wildweasel
Moderator Team Lead
Posts: 21368
Joined: Tue Jul 15, 2003 7:33 pm

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by wildweasel »

UDB likely does not know how to handle a .pk7 file (which is a renamed .7z archive). Try extracting the .pk7's contents into a separate folder (you will need 7-Zip), and then use that folder as your resource package.
Rocket1
Posts: 16
Joined: Wed Mar 09, 2022 7:49 am
Discord: no
Operating System: Windows 10/8.1/8/201x 64-bit

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Rocket1 »

wildweasel wrote:UDB likely does not know how to handle a .pk7 file (which is a renamed .7z archive). Try extracting the .pk7's contents into a separate folder (you will need 7-Zip), and then use that folder as your resource package.
am i allowed to post the full error log? it broke everything.
User avatar
Kappes Buur
 
 
Posts: 4007
Joined: Thu Jul 17, 2003 12:19 am
Location: British Columbia, Canada

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Kappes Buur »

Rocket1 wrote:am i allowed to post the full error log? it broke everything.
Sure post away.
However, there is no need for this if you followed wildweasel's instructions.

Just to repeat said instructions:
Use 7-zip to decompress hd-4.7.1b.pk7 into a dedicated folder.
Then load this folder as resource in UDB, for example
Spoiler:
Spoiler:
You'll get a litany of errors and warnings, which can be mostly ignored
Spoiler:
And you are good to go.
Spoiler:
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Enjay »

wildweasel wrote:UDB likely does not know how to handle a .pk7 file (which is a renamed .7z archive).
To confirm, UDB does not support the compression methods in a 7z file. It's fine with zip files ("pk3") but not 7z ("pk7") files.

Personally, it is also my impression that GZDoom takes slightly longer to decompress pk7s compared to pk3s. So, even though pk7s tend to be slightly smaller, I feel that pk3s are a better option (UDB support plus faster loading in GZDoom and support for the format in almost any file archive handling program, including Windows explorer).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Graf Zahl »

decompressing 7z takes indeed longer - that's because solid 7z archives require decompressing data from multiple files to get the one you want. Generally it's not really advisable to use 7z for content distribution - I really don't understand why HD has to go the inconvenient route here.
User avatar
Enjay
 
 
Posts: 26403
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Enjay »

Thanks for confirming and explaining.

Out of interest, would there be any value in using 0 compression even in a pk3/zip?

My guess is that it might make initial loading slightly (barely noticeably) quicker but after that, unless resources are decompressed on the fly as they are needed (I don't think they are?), it wouldn't make any difference.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 47976
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Graf Zahl »

Actually, decompression time can even be less than the overhead from reading more data from a file.
Rocket1
Posts: 16
Joined: Wed Mar 09, 2022 7:49 am
Discord: no
Operating System: Windows 10/8.1/8/201x 64-bit

Re: Tried to load HD 4.7.1b in GZDOOM builder.

Post by Rocket1 »

i kinda just gave up after posting this. but hey, atleast the funny optimization man responded.

Return to “Technical Issues”