Page 1 of 1

You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Thu Oct 17, 2024 11:43 am
by SPZ1
So I was going to release my gzdoom game today. But when I compiled all the files I got this weird error that doesn't make sense.
GZDoom wrote:You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Download Location 1
Download Location 2

EDIT: Downloads removed as working SPZ1.ipk3 is now available

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sat Oct 19, 2024 5:51 am
by Redneckerz
The great thing about GZDoom errors is that they usually give you a good hint as to what is going wrong. Relevant DW thread: https://www.doomworld.com/forum/topic/1 ... correctly/

Check if there is a MAPINFO present. In the DW example, which has the same error, it was found that no such MAPINFO was present.

ZDoomWiki page on Episode definitions: https://zdoom.org/wiki/MAPINFO/Episode_definition

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sat Oct 19, 2024 6:56 am
by SPZ1
If you had looked at my file, you would have noticed these things:
  1. My project has a MAPINFO
  2. My MAPINFO does not use the 'clearepisodes' keyword
  3. My project doesn't even use the ExMx map naming convention but mostly MAPxx instead

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sat Oct 19, 2024 5:33 pm
by ::Bloodfury::
For some reason you have to use clear episodes and define a new episode for your standalone ipk3 to work. That alone is not enough. You also need to define new skills.
just add this before your other map definitions:

clearepisodes

episode MAP01 //This should be named the same as the first map you want your game to start.
{
name = "Your episode"
//other parameters if needed.
}

if you do not specify additional episodes, there is no episode selection menu either.
And ofc define your skills. Copy and paste them from wiki etc. if you want standard doom difficulty behavior, and just name them how you like.

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sun Oct 20, 2024 8:59 am
by SPZ1
Thanks for the info! I have moved past the need to define an episode and skill. Unfortunately, I went into a completely new problem. When I tried to load the .ipk3 gzdoom got sick and regurgitated this: :puke: Does anybody know what is wrong with my game?
Spoiler: WTF

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sun Oct 20, 2024 9:18 am
by Jimmy
Check the "adding" lines towards the top of the log, you've loaded your four resource files twice, and everything in the code now has a duplicate, causing the errors.

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sun Oct 20, 2024 9:51 am
by SPZ1
Thank you for pointing that out. All I was doing was drag/dropping on the gzdoom executable so I didn't notice.

Re: You cannot use clearepisodes in a MAPINFO if you do not define any new episodes after it.

Posted: Sun Oct 20, 2024 11:08 am
by SPZ1
I have some more strange errors guys. GZDoom is now telling me that one of my maps, CREDITS, doesn't exist!



Also, this weird thing with the GZDoom.pk3 that never popped up before!
GZDoom wrote:Script error, "gzdoom.pk3:menudef.txt" line 211:
Unknown texture M_EPISOD
GZDoom_pk3 script error.png