Project that convert Conquer Online game maps to and from a Tiled project.
This CLI utility converts Conquer Online game maps to a format that can be easily modified by an existing, well established, map editor. In theory you can edit any existing map, save for a few unsupported map objects (scenes and additional puzzle layers). You can also create new maps from new or existing resources.
Program.cs line 16 needs to be updated to point to 7z.dll
Converts a Conquer Online game map to a tiled project
dmap2tiled [--project <String>] [--client <String>] [--dmap <String>] [--save-background] [--help]Options:
--project <String>Directory of Project (Required)--client <String>Directory of client resources (Required)--dmap <String>Path to Dmap File (Required)-s, --save-backgroundSaves the stiched together map background-f, --force-convertForces the conversion, even with unsupported map features-h, --helpShow help message
Converts a tiled project into a Conquer Online game map
tiled2dmap [--project <String>] [--map-name <String>] [--help]Options:
--project <String>Directory of Project (Required)--map-name <String>Name of the map (Required)-h, --helpShow help message
Experimental: Converts a give image to a tiled project
image2tiled [project <String>] [image <String>]Options:
project <String>Directory of Project (Required)client <String>Directory of client resources (Required)-h, --helpShow help message
Displays a specific Conquer online game map
preview [--width <Int32>] [--height <Int32>] [--help] client dmapArguments:
clientDirectory of client resources (Required)dmapPath to Dmap File
Options:
-w, --width <Int32>Preview Window Width (Default: 1024)-h, --height <Int32>Preview Window Height (Default: 768)--helpShow help message
Extracts all client resources for a specific game map
extract [--help] output dmap client nameArguments:
outputOutput Directory (Required)dmapPath to Dmap File (Required)clientDirectory of client resources (Required)nameName of the new dmap (Required)
Options:
-h, --helpShow help message
Copies all resources to the target game client. Modifies the gamemap.dat file to add the map with the specific map Id
install [--puzzle-size <UInt16>] [--help] project map-id clientArguments:
projectProject Directory (Required)map-idNew Map Id (Required)clientClient root directory to install (Required)
Options:
--puzzle-size <UInt16>Size in pixels of puzzle pieces (Default: 256)-h, --helpShow help message
Assembles a maps background puzzle into an image
stitch-dmap [--output <String>] [--client <String>] [--dmap <String>] [--help]Options:
--output <String>Directory of Project (Required)--client <String>Directory of client resources (Required)--dmap <String>Path to Dmap File (Required)-h, --helpShow help message
Creates a directory...todo: scaffold project dir
new-project [--project <String>] [--directory <String>] [--help]Options:
--project <String>Name of the project (Required)--directory <String>Directory for project folder to be created, default is current dir-h, --helpShow help message
Serializes a DMAP file to a JSON file, for simple manual edits.
serialize [--exclude-tiles] [--help] dmap outputArguments:
dmapPath to Dmap File (Required)outputOutput Directory for json file (Required)
Options:
-x, --exclude-tilesExclude tile set in serlaization-h, --helpShow help message
Deserializes a JSON file to a DMAP file
deserialize [--help] json outputArguments:
jsonPath to Json File (Required)outputOutput Directory for dmap file (Required)
Options:
-h, --helpShow help message