tcsoccerman Posted January 26, 2007 Report Posted January 26, 2007 Ok, i was forum looking and wasn't satisfied so i'll post my own. When i open a map that i recently edited the tileset it says that it is corrupt and some of the tilesets won't be loaded, even thought i will open. now when i opened a un!@#$%^&*led map, the bricks are black, although this isn't the biggest deal. i spent quite a lot of time making the corners have corner tiles instead of the bad meeting with out corner tiles and added half a base. maybe you could debug it like you did before with my elvl problem. i'll attach the picture and map and map tileset data. oh yeh, i tryed to edit in paint to make it to normal settings but nothing happened. i tried 256 bit map colors. i tried lots of stuff. it's a 24 bit map, which is maybe the problem. i don't know why it won't let me make it another bit, it says access denied. anyway, here are the files. i just want to be able to open the file and have default tileset. and know how to edit a tileset without this problem. i guess this isthe problem with non-official i guess you could call it programs, although it is a great program made by a volunteer so i'm not complaining at all. i also added a halo 2.bak file for java, i try to open it with dcme but when i do it just opens dcme like i tryed to run the application and opens with the default-new untlitled lvl. ty again.halo_2_tileset_problem.zip
Samapico Posted January 27, 2007 Report Posted January 27, 2007 I'll take a look, that problem has been around for a while, and we never been able to fix it... we never knew what the problem was either...
Samapico Posted January 27, 2007 Report Posted January 27, 2007 i also added a halo 2.bak file for java, i try to open it with dcme but when i do it just opens dcme like i tryed to run the application and opens with the default-new untlitled lvl. ty again.You can open the .bak file with File ... Open.. It seems to load correctly for me. Only the tileset is missing.. I imported the tileset from the broken halo2.lvl , it workedI also tried editing the tileset, and saving it in map, the map could still be loaded correctly... And you seem to have file access troubles... are you administrator on your computer? Are you trying to save files somewhere you don\'t have access on the computer? If you get path/file access errors, try using another folder (a new folder on your desktop should work). And now... why was your lvl file corrupted like that, I have no idea... ok... found problem... now that sucks:\'grab BMP data here [...] \'check for eLVL data, if present, load it [...] \'now seek to the part where the map bytes are stored Seek #f, (BMPFileHeader.bfSize + 1)Now... there was no eLVL data, so the bfSize wasn\'t altered. Its value was 145 974.BUT, after getting the BMPData, Seek(f) was 145 976.So, by moving \'to the end of the bitmap\' with bfSize+1, we moved to byte 145 975, while tile data was actually starting at 145 976... It\'s crazy how one single byte offset ASSS up everything... Now I\'m guessing that if there is no eLVL data, we shouldn\'t rely on that bfSize value... and just keep going in the file Fixed... seems to work now, here\'s a temporary 2.1 version that will allow you to load it, it\'s a kind-of official build, so it\'s totally safe to replace your old DCME by this one. It will be available via automatic updates as soon as Drake uploads it, or as soon as he finishes LVZ... (yeah, he worked on that all day, hehe, it\'s coming soon) If he can finish that soon, version 3.0 will be released right away. EDIT: Removed download for now, we just noticed some incompatibility problems... by fixing that for 24bit tilesets, 8bit tilesets-maps doesnt load right...
Drake7707 Posted January 27, 2007 Report Posted January 27, 2007 awwww.. well it won't be finished until you write the import & export functions . It's byte handling, like you did with elvl. I suck at that + increased difficulty with compression ... ugh.
Recommended Posts