Disabling certain files in autoload?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Disabling certain files in autoload?

Postby RyeFyre » Sat Sep 04, 2021 11:03 pm

When you have a bunch of mods in the autoload config, you come across issues with more "full-featured" megawads and TC's that conflict with them.

One example is I use Target Spy for a generic health bar for enemies, but some mods already have their own health bar system built-in. Or Full Screen HUDS messing up when a mod already has a custom HUD.

Ultimately I don't want to mess with the config file every time I want to not load one or two files. My only guess is if there's a command-line argument that allows me to exclude certain files from the autoload, without disabling autoload outright. I usually use ZDL for my mod loading.

Hopefully someone can help out here. Thanks!
User avatar
RyeFyre
 
Joined: 14 Feb 2021
Location: WA, USA
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: Disabling certain files in autoload?

Postby Rachael » Sun Sep 05, 2021 4:57 am

The best thing to do in this case is to simply use an alternate config file. It might not be an ideal solution but it's the one that's closest to making things more convenient for you in your use case, right now.

You can also try and use an autoexec.cfg that can test for cvars, but not sure if that will work.

i.e.
Code: Select allExpand view
test <cvar> <value> pullin <file.pk3>
(without <>'s)
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Disabling certain files in autoload?

Postby Enjay » Sun Sep 05, 2021 5:48 am

Another thing that you might find useful is to not have the files that are likely to cause a problem on autoload, but keep them in the ZDL external files panel. If you have the right version of ZDL, files can be enabled/disabled at the click of a button.

Image

In the above shot, NJ_PSXTra.pk3 and gearbox-v0.7.0.pk3 will not load but Test01.wad will. The little up arrow beside the + and - buttons toggles whether they will load or not.
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Disabling certain files in autoload?

Postby RyeFyre » Sun Sep 05, 2021 10:08 am

Huh, I didn't know that ZDL had that feature (I am running the same version). Just did some tests and it did just the trick for the mods in question.

Thanks for the help! :)
User avatar
RyeFyre
 
Joined: 14 Feb 2021
Location: WA, USA
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests