Difference between revisions of "DCME"

From ASSS Wiki
Jump to: navigation, search
(Extended LVL support)
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://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 is in constant development, but the automatic updates feature will keep you up to date all the time.
 +
 +
[http://forums.sscentral.com/index.php?showtopic=10662 Download the latest version here]
 
== Main features ==
 
== Main features ==
 
*[[DCME#Extended LVL Support| Extended LVL support]]
 
*[[DCME#Extended LVL Support| Extended LVL support]]
Line 10: Line 14:
 
*Maximal working area when using popup tileset and popup radar
 
*Maximal working area when using popup tileset and popup radar
  
= [[Extended LVL]] support =
+
== [[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)====
 
'''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)
 
'''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)===
+
====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.0.2 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. It is not implemented yet.
  
 
==External links==
 
==External links==
 
*[http://www.ssforum.net/index.php?showforum=277 DCME @ ssforum.net]
 
*[http://www.ssforum.net/index.php?showforum=277 DCME @ ssforum.net]
 +
 +
==Version history==
 +
 +
===Version 1.1===
 +
====Version 1.1.11====
 +
*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====
 +
*confirmation with DiscardTileset
 +
*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====
 +
*Fixed issues with tools drawing outside map's limits
 +
*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
 +
  
 
[[Category:Map]]
 
[[Category:Map]]
 
[[Category:Utilities]]
 
[[Category:Utilities]]

Revision as of 13:11, 20 January 2007

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, but the automatic updates feature will keep you up to date all the time.

Download the latest version here

Main features

  • Extended LVL support
  • Walltiles
  • Quick map testing
  • Non-rectangular selections with possibility of transparency
  • Automatic updates
  • Various drawing tools
  • Tileset editor and tile editor
  • Maximal working area when using popup tileset and popup radar

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.0.2 and up)

Walltiles (DCWT)

DCWT is a chunk in which are stored walltiles data. It is not implemented yet.

External links

Version history

Version 1.1

Version 1.1.11

  • 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

  • confirmation with DiscardTileset
  • 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

  • Fixed issues with tools drawing outside map's limits
  • 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