[master] Incorrect data format for square1 iwad

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

[master] Incorrect data format for square1 iwad

Post by Edward-san »

If you load square1.pk3 (be sure to use at least version 1.3.2 (2016-10-06) from the website), some maps exhibit this warning:

Code: Select all

Incorrect data format for maps/%name of the map.wad%.
I can say that, to be pedantic, the DPrintf calls in p_conversation.cpp lack the newline. And also a clearer description of the problem.

Anyways, is it a problem with the iwad or with zdoom?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [master] Incorrect data format for square1 iwad

Post by Graf Zahl »

That message means that the conversation script loader failed to detect the format for a lump. No idea what's wrong since you left out the most important part for analyzing the problem, i.e. the actual lump name. I can't test right now so I at least need to know what to look at.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [master] Incorrect data format for square1 iwad

Post by Edward-san »

All the errors I see come from the failed condition:

Code: Select all

// Strife scripts are always a multiple of 1516 bytes because each entry
// is exactly 1516 bytes long.
if (numnodes % 1516 != 0)
And as I said, it happens with most of the maps:

maps/titlemap.wad , maps/e1a3.wad, maps/e1a4.wad, maps/e1a5.wad, maps/e1a7.wad, maps/e1a9.wad, maps/e1a10.wad, maps/training.wad, maps/dm01.wad, maps/dm02.wad, maps/dm03.wad, maps/dm04.wad
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [master] Incorrect data format for square1 iwad

Post by Graf Zahl »

Do these maps contain conversation scripts? And if so, are they there by intent or just some garbage?
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: [master] Incorrect data format for square1 iwad

Post by Gez »

Doom Builder tends to add garbage DIALOGUE lumps in UDMF.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [master] Incorrect data format for square1 iwad

Post by Edward-san »

Uh okay...

still, the message could be improved, like mentioning it's a conversation lump problem (just saying 'Incorrect format data' is misleading)...
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [master] Incorrect data format for square1 iwad

Post by Graf Zahl »

The message is from a time when these lumps were only named SCRIPTxx.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [master] Incorrect data format for square1 iwad

Post by Graf Zahl »

I clarified the error message, but obviously can't do much about the fact that the maps indeed contain garbage data that should be warned about.
Edward-san
Posts: 1774
Joined: Sat Oct 17, 2009 9:40 am

Re: [master] Incorrect data format for square1 iwad

Post by Edward-san »

They lack the newline. PR here.
Post Reply

Return to “Closed Bugs [GZDoom]”