Devilution: Add tools for designing stuff

Created on 6 Aug 2019  路  6Comments  路  Source: diasurgical/devilution

So, now that devilution is nearly complete, we are missing a few tools that would've been present to help with making stuff. Possible tools to add:

  • [ ] CEL/CL2 <-> GIF converter
  • [ ] Tabbed text to C header
  • [ ] .DUN map creator
  • [ ] Base game setup/installer

There are already some existing tools for CEL stuff, but most of them are 10+ years old and didnt provide the source. I already have a working .txt -> .cpp converter, but it needs a bit of safe-proofing before it's good to go.

Most helpful comment

The modding-tools repository has been created for the development of modding tools. Currently there exist a TMX to DUN map converter.

TMX map editing

All 6 comments

  • CEL/CL2 <-> GIF converter

https://github.com/sanctuary/formats converts CEL/CL2 to PNG images, when we could use ImageMagick to convert to GIF.

Hmm yeah I think PNG should suffice as long as we have a way to convert them to CEL. I'd just be curious to see it work with GIF for the kick of it, since we have some in the MPQ. Also your tool is what helped me learn the CEL formats! I'm taking a look now to see what we can do.

Also regarding the dungeon editor I'd like to have something like what Technorbog does with an in-game realtime editor, even though they probably had something separate.

  • Mewmew made a tool for converting PNG to animated CEL, don't know if he posted it anywhere?
  • The Dark Graphics can convert between CEL/CL2 <-> BMP, but creating animated CEL/CL2 is a manual process.
  • CelMaker can convert between CEL/CL2 <-> BMP, it's not exactly intuitive.
  • DunEdit can create DUN files.
  • I still favor using https://www.mapeditor.org/ to create the maps and then either teaching Diablo how to load JSON-maps or make a tool for converting them to DUN. I think there might already be a tool for converting DUN to JSON-maps?

Mewmew made a tool for converting PNG to animated CEL, don't know if he posted it anywhere?

Don't know if I still have the code. Perhaps @7i does? :)

I still favor using https://www.mapeditor.org/ to create the maps and then either teaching Diablo how to load JSON-maps or make a tool for converting them to DUN. I think there might already be a tool for converting DUN to JSON-maps?

:+1: Indeed, using the Tiled map editor is definitely the way to go.

Any other tools?

The modding-tools repository has been created for the development of modding tools. Currently there exist a TMX to DUN map converter.

TMX map editing

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sskras picture sskras  路  5Comments

AJenbo picture AJenbo  路  8Comments

joankaradimov picture joankaradimov  路  6Comments

ghost picture ghost  路  10Comments

AJenbo picture AJenbo  路  9Comments