Map Editing Utility

11/08/2022 06:21 Santa#1
This is a CLI utility that will convert a DMAP into a Tiled project to allow for map editing/creating. It quickly turned into a testing ground when trying to load newer conquer client version resources as well as other TQ games, like eudemons and crazy tao. It is functional for basic maps. It should in theory work for any map that doesn't contain scenes or additional puzzle layers, as those aren't yet supported.

Let me know if you find any issue as there are going to a ton, submit them as a Github issue. Would love to even see some pull requests come in. I'm not a software engineer or architect so go easy.

[Only registered and activated users can see links. Click Here To Register...]
11/08/2022 06:44 Spirited#2
Seriously, great job with this. I really hope it continues to get better with time. I always wanted to make Conquer work with Tiled, and now someone's gone out and done it!
11/09/2022 21:57 LepEatWorld#3
That's amazing, I'll try it later and maybe I can go ahead and finally fix old bothersome maps... specially that TwinCity entrance where the player goes right through...
11/24/2022 23:19 LepEatWorld#4
Quote:
Originally Posted by Santa View Post
This is a CLI utility that will convert a DMAP into a Tiled project to allow for map editing/creating. It quickly turned into a testing ground when trying to load newer conquer client version resources as well as other TQ games, like eudemons and crazy tao. It is functional for basic maps. It should in theory work for any map that doesn't contain scenes or additional puzzle layers, as those aren't yet supported.

Let me know if you find any issue as there are going to a ton, submit them as a Github issue. Would love to even see some pull requests come in. I'm not a software engineer or architect so go easy.

[Only registered and activated users can see links. Click Here To Register...]

This took about 10 minutes to actually load up all the info and give me an error lol... sad day. Mind telling me how I can differentiate a map that currently doesn't have a scene or puzzle layers? I didn't really read the entire message before I tried the project lol.
Code:
C:\Lep\Desktop\Tiled2Dmap-master\bin\Debug\net5.0>Tiled2Dmap.CLI dmap2tiled --project C:\Lep\Desktop\Tiled2Dmap-master --client C:\Lep\Desktop\Server\Client --dmap C:\Lep\Desktop\Server\Client\map\map\newplain.DMap
Called dmap2tiled --project C:\Lep\Desktop\Tiled2Dmap-master --client C:\Lep\Desktop\Server\Client --dmap C:\Lep\Desktop\Server\Client\map\map\newplain.DMap, -s False
Path: C:\Lep\Desktop\Server\Client\map\map\newplain.DMap, Version: 1004, Header: ?♥      , Val 0
Finished reading C:\Lep\Desktop\Server\Client\map\map\newplain.DMap, 0 additional layers. 4492844/4492844
Finished reading C:\Lep\Desktop\Server\Client\map\puzzle\n-newplain.pul 10048/10048
Stitching Puzzle File...100%
Finished Stiching map\puzzle\n-newplain.pul
PuzzleImage Size = 18944, 16896
Extending border...
Slicing Puzzle File...100%
Finished slicing puzzle file. Total unique tiles 19742 out of 42436
ERROR: Scenes not yet supoprted
11/25/2022 00:32 Santa#5
Quote:
Originally Posted by LepEatWorld View Post
This took about 10 minutes to actually load up all the info and give me an error lol... sad day. Mind telling me how I can differentiate a map that currently doesn't have a scene or puzzle layers? I didn't really read the entire message before I tried the project lol.
Yeah, its far from being efficient. Some time needs to be spent optimizing the processing of images.

For now I've added a check for unsupported map features, and an option to force convert the map anyway.

edit: [Only registered and activated users can see links. Click Here To Register...]