My custom map won't run in my PK3

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.
vAethor
Posts: 93
Joined: Wed May 10, 2017 4:10 pm

Re: My custom map won't run in my PK3

Post by vAethor »

Damn, not even that worked. Here, let me put my WAD on Google Drive.

I made a backup ver. that only has the custom map without the custom sprites and sounds (the weapon I am working on would only confuse you all, and distracts from solving the actual problem :P)

I'm still able to replicate the problem without it.

https://drive.google.com/open?id=0B1iEz ... nhuUTctSlk

Unfortunately I had to get rid of the custom music. Slade now keeps crashing whenever I try to select or play an ogg file.
User avatar
Sarah
Posts: 551
Joined: Wed Sep 06, 2006 12:36 pm
Preferred Pronouns: She/Her
Operating System Version (Optional): Debian 11 (bullseye), Windows 10
Location: Middle of Nowheresville Il.
Contact:

Re: My custom map won't run in my PK3

Post by Sarah »

Yep WW was right, needed to see the whole mod. Something's a weird here.

First off, the file should be called MAPINFO, not ZMAPINFO. Slade treated the actual wad as an archive, but I think that was my rather sledgehammer use of 7zip to bust the file open and make changes without much concern for integrity. At any rate, after adding file extensions and renaming the MAPINFO, everything works fine. The corrected version is added as an attachment below.

Let me know when you have it so I can remove it, iirc attachments sit on the site server taking up space.

Your problem, as far as I can tell, was the misnamed MAPINFO, after adding my definitions, and lack of file extensions.

Edit - also, remember that a pk3 is just a renamed zip file, so you can just drag and drop the attachment on your engine flavor (G(ZDoom))

Edit2 - Attachment removed, I assume OP got it.
Last edited by Sarah on Sat Sep 02, 2017 6:36 pm, edited 1 time in total.
User avatar
phantombeta
Posts: 2088
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: My custom map won't run in my PK3

Post by phantombeta »

@Nero
As far as I know, ZDoom does accept "ZMAPINFO", as there's old-style Hexen MAPINFO, and the ZDoom-specific MAPINFO.
Anyway, this shouldn't matter.

@vAethor
What version of SLADE are you using?
And what OS?

Edit: The only problem was the lack of .WAD extension in the MAP01 WAD...
Last edited by phantombeta on Sat Sep 02, 2017 4:25 pm, edited 2 times in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: My custom map won't run in my PK3

Post by Graf Zahl »

Nero wrote:Yep WW was right, needed to see the whole mod. Something's a weird here.

First off, the file should be called MAPINFO, not ZMAPINFO.
Actually, no. ZMAPINFO is the preferred name these days.

The only thing that was wrong here was to remove the .WAD extension from the map itself. The map loader only accepts files with a .wad extension.
Putting it into the root did not work because the extension-less file was not recognized as a sub-archive.
User avatar
phantombeta
Posts: 2088
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: My custom map won't run in my PK3

Post by phantombeta »

Graf Zahl wrote:The map loader only accepts files with a .wad extension.
Why is it like that? Doesn't GZDoom recognize WADs by the FourCC, anyway?
vAethor
Posts: 93
Joined: Wed May 10, 2017 4:10 pm

Re: My custom map won't run in my PK3

Post by vAethor »

Great news guys, I renamed the MAP01 WAD "MAP01.wad" and it works now!

Changing ZMapinfo to Mapinfo didn't seem to be necessary.

That explains why my older project worked: MAP01 still had the .wad extension on it.
Locked

Return to “Editing (Archive)”