Talk:GameMaps Format

From ModdingWiki
Jump to: navigation, search

The values in that table are also good for Keen Dreams, except for the !ID! tag.

Cleaning this mess up

I think this page should be merged together with the Keen Dreams level Format and the TED5 page to get a clean documentation of the general file format. A lot of the stuff in here is only partially correct. For example, Bio Menace (and the first version of Wolf3D) uses the uncompressed form (MAPTEMP) of the format, not the carmackized version as is implied at the end of this article and in the TED5 article (it says that the MAPTEMP file is not used by the games).

I also noticed that this article claims that the MAPHEAD file is 402 bytes long, giving it space for 256 level entries (which makes no sense at all, there are exactly 100 level offsets), but the MAPHEAD also stores the TileInfo data, giving a much larger size. You can see this in Bio Menace, where the files are external, but also in every Keen game. The TileInfo data in the exe starts directly after the MAPHEAD data (add 100 bytes in between for games that use the Huffman-compressed version, like Keen Dreams and Dave 3 & 4). --K1n9 Duk3 21:06, 11 February 2011 (GMT)

You're welcome to clean it up, but just remember that all this stuff is work in progress so it's only a "mess" because nobody has had the time to finish it off yet. If you're able to do so, then that's great! Also don't immediately assume something is wrong because it doesn't fit what you have seen - there are many versions of games around the place so make sure you consider something carefully before deleting it (I learned that the hard way!) I don't think this page should be merged with TED5 though, that page should be solely about the editor and perhaps some files that are not used elsewhere. If it's used in a game it should be on one of the "xyz Format" pages (so by all means move some stuff *off* TED5.) -- Malvineous 12:36, 12 February 2011 (GMT)
Yes, several points are worth noting. There should be a single article for all the TED5 formats with perhaps sections explaining the different compressions used (None-Biomenace, Huffman-Dreams,Dave3\4, Carmack-Keen) and especially a note about the tileinfo, for Keen only the 402 MAPHEAD was extracted and patched, seperate from the tileinfo, nobody really realized the two were connected and that TED could be used to edit tile properties, this is thus something of great interest to modders. I have a lot of data on what format of MAPs various games use. TED5 is a program and should be kept separate though. --Endian? What are you on about? 03:46, 14 February 2011 (GMT)

Wolfenstein-3D maps

"About Wolfenstein-3D (6 episodes version): after decompressing the planes, I noticed that --1-- Each plane starts with 0x0020, --2-- The third plane is always empty (except for the 0x0020), --3-- Decompressed planes are always longer than necessary: assuming every map is 64x64 tiles and a tile is stored on 2 bytes, a plane should be 8192 bytes long (8194 bytes if you count the 0x0020 signature). Am I missing something here? When displayed, the map makes sense to me but I'm just not sure if I did anything wrong..." -> Scratch that, I'm an idiot, the first UINT32LE is the size (in bytes) of the decompressed data, I thought it was a part of the RLEW-compressed chunk and had to compute the decompressed chunk size by myself... Anyway, the wiki page states that "The header for each level that is pointed to by MAPHEAD is 42 bytes long and RLEW compressed", unless I misunderstand what the sentence means, it doesn't apply to Wolfenstein-3D (the RLEW compression I mean). --Ilovemyq3map2 (talk) 16:09, 14 October 2013 (GMT)