Page 1 of 1

DMI -> PNG unpacker

Posted: Mon Oct 12, 2015 4:39 am
by LiamLime
Ever had the pleasure of doing this?

Image

It's fun, ain't it? Well I made a DMI unpacker, which takes a DMI file and unpacks it into its component images.

So instead the process looks like this:

Image

If nothing else, this should at least make updating the wiki easier, since extracting icons is a pain.

Source and instructions provided on Github DMI2PNG.

Unfortunately I had to share this under GPL, I'd've preferred MIT, but I'm using some MediaWiki stuff, which forces me into GPL.

Re: DMI -> PNG unpacker

Posted: Fri Aug 05, 2016 8:25 am
by LiamLime
I've realised I never made a how-to video on this, so I made one now!

[youtube]b_ciBo1fHI0[/youtube]

In addition, ErikHanson expanded on it and made this online version.

Re: DMI -> PNG unpacker

Posted: Fri Aug 05, 2016 12:31 pm
by Thunder11
But how easy would it be to repack it back into a dmi?

Re: DMI -> PNG unpacker

Posted: Fri Aug 05, 2016 3:23 pm
by LiamLime
Not easy at all. This is useful for when the individual icons are what you want - like if you're creating a page called "Recipes" on the wiki and need a billion sprites exported. Or if you want to use the sprites in something that isn't byond.

If you want to create a custom sprite sheet for use out of Byond, you can take a look at Sprite Sheet Packer. It's pretty neat.

If you want to unpack -> edit -> repack, then I have a much older guide for that. Takes quite a bit of time for me to get to the point, but hey, at least it exists:

[youtube]kXDcYtAfjrM[/youtube]

Re: DMI -> PNG unpacker

Posted: Fri Aug 05, 2016 4:31 pm
by MrEousTranger
Holy shit...

Spoiler:
YOU CAN SHAVE IAN??????

Re: DMI -> PNG unpacker

Posted: Sat Aug 06, 2016 3:17 pm
by Atlanta-Ned
This helps me in ways you wouldn't expect.

Re: DMI -> PNG unpacker

Posted: Sun Aug 07, 2016 10:47 am
by LiamLime
Atlanta-Ned wrote:This helps me in ways you wouldn't expect.
Should we be scared?

Re: DMI -> PNG unpacker

Posted: Sat Aug 13, 2016 5:59 pm
by danno
what a good lad you are, liam :)