Repetitive Paths

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Repetitive Paths

Post by Xaser »

Hmm, here's something that's been bugging me for a while. A while back, I decided to re-sort my wad collection into a proper directory structure, and while it works great, there's one thing that gets me about it. I've got the following in my zdoom.ini:

Code: Select all

[FileSearch.Directories]
...
Path=C:/games/doom/pwads/
Path=C:/games/doom/pwads/betas/
Path=C:/games/doom/pwads/maps/
Path=C:/games/doom/pwads/maps/doomone/
Path=C:/games/doom/pwads/maps/doomtwo/
...
I'd love to be able to tell ZDoom to load any wad in any subdirectory of the /pwads folder, instead of having to repetitively add every subdir to the .ini. I'm pretty positive there's a simple way to do this, but for the life of me, I can't remember what it is. Would some kind soul help to jog my memory? I'm in the process of cleaning out and rearranging some things, and I'm not looking forward to the copying+pasting that is sure to follow... :P
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: Repetitive Paths

Post by Ethril »

Would this work? (That's not a rhetorical question, I honestly have no idea if that would work)

Code: Select all

    [FileSearch.Directories]
    ...
    Path=C:/games/doom/pwads/*
    ...
Locked

Return to “Editing (Archive)”