Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tools for designing stuff #1345

Open
4 tasks
ghost opened this issue Aug 6, 2019 · 6 comments
Open
4 tasks

Add tools for designing stuff #1345

ghost opened this issue Aug 6, 2019 · 6 comments

Comments

@ghost
Copy link

ghost commented Aug 6, 2019

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.

@mewmew
Copy link
Contributor

mewmew commented Aug 6, 2019

  • CEL/CL2 <-> GIF converter

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

@ghost
Copy link
Author

ghost commented Aug 6, 2019

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.

@AJenbo
Copy link
Member

AJenbo commented Aug 6, 2019

  • 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
Copy link
Contributor

mewmew commented Aug 6, 2019

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?

👍 Indeed, using the Tiled map editor is definitely the way to go.

@khanduras
Copy link

Any other tools?

@mewmew
Copy link
Contributor

mewmew commented May 13, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants