Add tools for designing stuff
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.
- 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.
