Difference between revisions of "DCME"

From ASSS Wiki
Jump to: navigation, search
(LVZ support)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
'''DCME''', or '''Drake Continuum Map Editor''', is an open source map editor created in Visual Basic 6 initially by [http://forums.sscentral.com/index.php?showuser=2810 Drake7707], and then [http://forums.sscentral.com/index.php?showuser=1534 Samapico] also got involved in the project.  Notable features are the addition of the so-called "[[LVL Format#Extra Tiles|special tiles]]" to the tile palette, easy placement of styled text on the map, and a tool for representing a bitmap image as tiles.
+
'''DCME''', or '''Drake Continuum Map Editor''', is an open source map editor created in Visual Basic 6 initially by [http://www.ssforum.net/index.php?showuser=2810 Drake7707], and then [http://www.ssforum.net/index.php?showuser=1534 Samapico] also got involved in the project.  Notable features are the addition of the so-called "[[LVL Format#Extra Tiles|special tiles]]" to the tile palette, easy placement of styled text on the map, and a tool for representing a bitmap image as tiles.
  
DCME is in constant development, but the automatic updates feature will keep you up to date all the time.
+
DCME is in constant development. The automatic updates feature provides users with updates regularly.
  
[http://forums.sscentral.com/index.php?showtopic=10662 Download the latest version here]
+
[http://www.ssforum.net/index.php?showtopic=10662 Download the latest version here]
 
== Main features ==
 
== Main features ==
*[[DCME#Extended LVL Support| Extended LVL support]]
+
*LVZ support
*Walltiles
+
*[[Extended LVL]] support
 +
*Wall tiles
 
*Quick map testing
 
*Quick map testing
 
*Non-rectangular selections with possibility of transparency
 
*Non-rectangular selections with possibility of transparency
Line 12: Line 13:
 
*Various drawing tools
 
*Various drawing tools
 
*Tileset editor and tile editor
 
*Tileset editor and tile editor
*Maximal working area when using popup tileset and popup radar
+
*Tile-text
  
== [[Extended LVL]] support ==
+
==LVZ support==
 +
DCME 3.0 and above allow users to create LVZ packages. It is possible to add any kind of files, define images, add map objects and screenobjects. Map objects can be placed on the map using most of the standard mapping tools (pencil, line, etc.). The LVZ tool also allows user to move the objects and change their properties.
 +
 
 +
==Extended LVL support==
 
DCME 2.0 fully supports eLVL features as map attributes and regions.  
 
DCME 2.0 fully supports eLVL features as map attributes and regions.  
  
 
===Custom Chunks===
 
===Custom Chunks===
DCME uses some custom data chunks that are not defined in the standard [[eLVL format]].
+
DCME uses some custom data chunks that are not defined in the standard [[ELVL Format]].
  
 
====Region Color (rCOL)====
 
====Region Color (rCOL)====
Line 24: Line 28:
  
 
====Map ID (DCID)====
 
====Map ID (DCID)====
'''DCID''' is a chunk that represents a hash code generated by DCME to identify the map in a unique way. It is used for the autosave feature and might be used for more things in the future. Its size should always be 8 bytes. It is a 8 hexadecimal characters string made up from the Volume ID of drive C and the current time. (Version 2.0.2 and up)
+
'''DCID''' is a chunk that represents a hash code generated by DCME to identify the map in a unique way. It is used for the autosave feature and might be used for more things in the future. Its size should always be 8 bytes. It is a 8 hexadecimal characters string made up from the Volume ID of drive C and the current time. (Version 2.1 and up)
  
 
====Walltiles (DCWT)====
 
====Walltiles (DCWT)====
'''DCWT''' is a chunk in which are stored walltiles data. It is not implemented yet.
+
'''DCWT''' is a chunk in which are stored walltiles data.One chunk for each walltiles set will be saved. The size of this chunk is 16 bytes. Each byte is the value of a tile within the set. (Version 3.1.10 and up)
  
==External links==
+
====Texttiles (DCTT)====
*[http://www.ssforum.net/index.php?showforum=277 DCME @ ssforum.net]
+
'''DCTT''' is a chunk that defines the 'text tiles' of the tileset. This chunk requires 2 bytes per character definition. For each pair of bytes, the first byte indicates the ASCII value of the character, the second byte is the value of the tile associated to it.
  
==Version history==
+
====Bookmarks (DCBM)====
 +
'''DCBM''' is a customized bookmark for the map. A single DCBM chunk can hold many bookmarks (DCME uses up to 10 bookmarks). Each bookmark is stored kind of like tile data. 12bits unsigned for x, 12bits unsigned for y, then 8bits unsigned that designates the bookmark ID. So each bookmark takes 4 bytes, so the size specified in the header should always be multiples of 4. (Version 2.2 and up)
  
===Version 1.1===
+
====LVZ File (DCLV)====
====Version 1.1.11====
+
'''DCLV''' chunks specify the paths of the lvz files associated with the map. It is written as a non null-terminated string. Its length can be known with the header of the chunk. Typically, the path specified is relative to the level file and will most likely contain only the name of the lvz file, since DCME (3.1.10) saves lvz files in the same folder as the map file.
*fixed updating level when mouseup with airbrush
 
*fixed airbrush at boundaries of map
 
*fixed some menu's
 
*fixed menu items save ssme, save minimap when no map loaded
 
*fixed selection being 1 tile too small for height and width when selecting
 
*max chars for goto form is now 4
 
*in frmrotate, changed button from done to close
 
*changed caption of switch/replace form
 
*changed showing of dialogs with vbModal and frmgeneral as parameters so that the dialogs always stay on top of DCME
 
*Do you want to save dialog now has a cancel button
 
*fixed problem when importing a tileset from a lvl file that has no tileset
 
*fixed txtstep selstart and disabled able to type "2e3", or with comma's or points
 
*fixed selection that tagged along with radar when clicked on it to go to another position
 
  
====Version 1.1.10====
+
==Automatic updates==
*confirmation with DiscardTileset
+
DCME uses the msInet control to collect the update information from [http://www.dcme.sscentral.com/autoupdate/dcmeupdate.txt a text file]. This file contains the list of changes made, and the list of files that need to be downloaded. Update files are self-extracting archives that automatically starts the extracted DCME.exe after extraction. If an update is available and downloaded by the user, DCME can complete the update process automatically by renaming the running DCME.exe, and starting the downloaded archive, which starts the new version automatically.
*read-only in commondialogs removed
 
*changed overwrite code for commondialog with cdlOverwritePrompt flag
 
*fixed grammar issues in menu
 
*disabled/enabled toolbar buttons when appropiate
 
*changed flip and mirror to flip V and flip H
 
*fixed problem with saving minimap
 
*fixed eraser tool (only 1 tile was set)
 
*fixed redrawing the grid after using pencil with tile 0
 
*changed closing a map prompt to do you want to save
 
*msgboxes now all have icons (information, exclamation, question or critical icons)
 
*fixed bug with using airbrush for a long time results in DCME crash (closes without warning)
 
*Added icons to the menu's for graphical appeal and better reference to the buttons on the toolbars
 
*Added drawing under tiles for every tool available (except for filling)
 
*Edits1:
 
**added about/splash form
 
**fixed opening the same lvl file twice caused the 2nd instance to be visible (because of me.show in the load)
 
**fixed crashing DCME when closing a map (although now mousewheel for zooming probably won't work anymore)
 
**changed some menu captions
 
**cleared pictilesetlarge and picsmalltilesetpreview when no map is loaded
 
**changed bitmap of extratileset, it was only 303 in width instead of 304 which caused a white line at the right tiles of extratileset
 
**changed the way txtstep behaves when inputting non-numerical characters
 
  
====Version 1.1.09====
+
==Tile-text==
*Fixed issues with tools drawing outside map's limits
+
Tile-text allows the user to assign tiles to characters. Using the Tile-text tool, it is possible to type text on the map just like in a textbox, but each character is converted to the tile associated with it.
*Made 'GoTo' window less annoying
 
 
 
====Version 1.1.08====
 
*Option to assign lvl extensions to DCME
 
*All lvl files open in 1 DCME window (damn that was hard to to)
 
*Fixed drawing with tile 0 with line, rectangle, and such (eraser picture was shown instead of blackness
 
*Changed the grids to match with continuum's grid (A1 - T20) (there is a redundancy of 4 tiles however, because (1024/20) isn't a integer, but not that thats the end of the world)
 
*Edits1:
 
**Fixed A1-T20 coordinates from radar
 
**A semi transparent grid is shown on the radar (like in continuum)
 
**Now you can select multiple tiles f.rom the tileset to draw with
 
 
 
*Edits2+3:
 
**Temporarily removed radar grid due to some disturbing noise in the grid lines which i can't seem to get out
 
**Added an airbrush for all you mapping guys out there to enjoy :P
 
**Added a step for lines, rectangles and ellipses (0 = solid, 1 = dot.dot.dot.dot, 2 = dot....dot....dot, and so on)
 
**Added bookmarks (shift + 0-9 will set a bookmark, just 0-9 will go to the bookmark), can be useful if you switch between bases a lot
 
 
 
====Version 1.1.07====
 
*Save as... now asks for confirmation to overwrite an existing file
 
*Tileset now always saves, except if default tileset is being used AND that it hasn't been changed
 
*Map names now update correctly under the 'Window' menu
 
*Grid lines appear under tiles
 
*Added colored grid lines separating sectors (each 32 tiles split by a lighter grey line, each 256 tiles split by a red line, middle of map split by a blue line)
 
*These colored grid lines also appear at pixel level (zoomed out)
 
*Map border now appears clearer on the radar
 
 
 
====Version 1.1.06====
 
*Map now saves with tileset even if using default.bmp
 
*Fixed crashing when invalid values entered on 'Save minimap'
 
 
 
====Version 1.1.05====
 
*Right-click radar to 'Go to' specified tile
 
*Fixed offset near edge of map
 
*Fixed crashing when certain tools could draw outside map
 
*Fixed crashing when thick lines tried to be drawn outside map
 
*Edit 1:
 
**Can move the map around while dragging any tool (except hand)
 
Dragging can be made faster by holding Alt
 
**Hiding/Showing tileset & radar now updates scrollbars and preview correctly
 
*Edit 2:
 
**Can see more details after counting tiles
 
====Version 1.1.04====
 
*Eraser tile can be selected with any tool
 
*Menu buttons can now access the different functions
 
*Various bug fixes
 
 
 
====Version 1.1.03====
 
*Added Picture to map
 
*Fixed some bugs
 
  
 +
==External links==
 +
*[http://dcme.sscentral.com DCME @ sscentral.com]
 +
*[http://www.ssforum.net/index.php?showforum=277 DCME forum @ ssforum.net]
 +
*[https://opensvn.csie.org/traccgi/DCMapEd/browser/trunk DCME source code]
  
 
[[Category:Map]]
 
[[Category:Map]]
 
[[Category:Utilities]]
 
[[Category:Utilities]]

Latest revision as of 23:24, 19 July 2008

DCME, or Drake Continuum Map Editor, is an open source map editor created in Visual Basic 6 initially by Drake7707, and then Samapico also got involved in the project. Notable features are the addition of the so-called "special tiles" to the tile palette, easy placement of styled text on the map, and a tool for representing a bitmap image as tiles.

DCME is in constant development. The automatic updates feature provides users with updates regularly.

Download the latest version here

Main features

  • LVZ support
  • Extended LVL support
  • Wall tiles
  • Quick map testing
  • Non-rectangular selections with possibility of transparency
  • Automatic updates
  • Various drawing tools
  • Tileset editor and tile editor
  • Tile-text

LVZ support

DCME 3.0 and above allow users to create LVZ packages. It is possible to add any kind of files, define images, add map objects and screenobjects. Map objects can be placed on the map using most of the standard mapping tools (pencil, line, etc.). The LVZ tool also allows user to move the objects and change their properties.

Extended LVL support

DCME 2.0 fully supports eLVL features as map attributes and regions.

Custom Chunks

DCME uses some custom data chunks that are not defined in the standard ELVL Format.

Region Color (rCOL)

rCOL is a region subchunk used to store the defined region color, instead of assigning a new random color every time the map is loaded. Its size will always be 4 bytes. It is saved as an unsigned 32bits integer. (Version 2.0.1 and up)

Map ID (DCID)

DCID is a chunk that represents a hash code generated by DCME to identify the map in a unique way. It is used for the autosave feature and might be used for more things in the future. Its size should always be 8 bytes. It is a 8 hexadecimal characters string made up from the Volume ID of drive C and the current time. (Version 2.1 and up)

Walltiles (DCWT)

DCWT is a chunk in which are stored walltiles data.One chunk for each walltiles set will be saved. The size of this chunk is 16 bytes. Each byte is the value of a tile within the set. (Version 3.1.10 and up)

Texttiles (DCTT)

DCTT is a chunk that defines the 'text tiles' of the tileset. This chunk requires 2 bytes per character definition. For each pair of bytes, the first byte indicates the ASCII value of the character, the second byte is the value of the tile associated to it.

Bookmarks (DCBM)

DCBM is a customized bookmark for the map. A single DCBM chunk can hold many bookmarks (DCME uses up to 10 bookmarks). Each bookmark is stored kind of like tile data. 12bits unsigned for x, 12bits unsigned for y, then 8bits unsigned that designates the bookmark ID. So each bookmark takes 4 bytes, so the size specified in the header should always be multiples of 4. (Version 2.2 and up)

LVZ File (DCLV)

DCLV chunks specify the paths of the lvz files associated with the map. It is written as a non null-terminated string. Its length can be known with the header of the chunk. Typically, the path specified is relative to the level file and will most likely contain only the name of the lvz file, since DCME (3.1.10) saves lvz files in the same folder as the map file.

Automatic updates

DCME uses the msInet control to collect the update information from a text file. This file contains the list of changes made, and the list of files that need to be downloaded. Update files are self-extracting archives that automatically starts the extracted DCME.exe after extraction. If an update is available and downloaded by the user, DCME can complete the update process automatically by renaming the running DCME.exe, and starting the downloaded archive, which starts the new version automatically.

Tile-text

Tile-text allows the user to assign tiles to characters. Using the Tile-text tool, it is possible to type text on the map just like in a textbox, but each character is converted to the tile associated with it.

External links