Folder for stuff in Zip root?

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Folder for stuff in Zip root?

Postby Enjay » Mon Jul 30, 2018 8:10 am

I think the answer is that certain stuff is just meant to be on the root directory, but I like to try and keep things neatly tucked away in specific folders if possible. So, here's my question: is there a folder where certain resources can go that normally work from the root directory inside a zip/pk3?

Specifically, I am trying to get the startup lumps for a Strife-style startup to work.

STARTUP0, STRTBOT, STRTLZ1, STRTLZ2, STRTPA1, STRTPB1, STRTPC1, STRTPD1

If these are in the root of the PK3, the startup works just fine. But I wanted to tuck them away neatly in a graphics folder or some such. However, that doesn't work. I tried the graphics, sprites and textures folder - nope. The only thing I have found that does work is using a filter folder:

filter/game-doom

and dumping them in the (effective) root of that folder.

Is that the only way to do this?
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: Folder for stuff in Zip root?

Postby Graf Zahl » Mon Jul 30, 2018 9:13 am

Essentially, yes. That's how the format was initially defined.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Folder for stuff in Zip root?

Postby Enjay » Mon Jul 30, 2018 11:35 am

Fair enough. At least I know how it's done so I can stop searching for alternatives. Thanks.
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


Return to Assets (and other stuff)

Who is online

Users browsing this forum: No registered users and 0 guests