DMI -> PNG unpacker
-
- Joined: Tue Aug 25, 2015 12:59 pm
- Byond Username: LiamLime
DMI -> PNG unpacker
Ever had the pleasure of doing this?
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:
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.
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:
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.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
-
- Joined: Tue Aug 25, 2015 12:59 pm
- Byond Username: LiamLime
Re: DMI -> PNG unpacker
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.
[youtube]b_ciBo1fHI0[/youtube]
In addition, ErikHanson expanded on it and made this online version.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
- Thunder11
- In-Game Admin
- Joined: Fri Apr 18, 2014 12:55 pm
- Byond Username: Thunder12345
- Github Username: Thunder12345
- Location: Scotland, UK
Re: DMI -> PNG unpacker
But how easy would it be to repack it back into a dmi?
Spoiler:
-
- Joined: Tue Aug 25, 2015 12:59 pm
- Byond Username: LiamLime
Re: DMI -> PNG unpacker
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]
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]
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
- MrEousTranger
- Joined: Thu May 19, 2016 11:54 pm
- Byond Username: Mr.EousTranger
- Location: Stuck in 2005.
Re: DMI -> PNG unpacker
Holy shit...
Spoiler:
- Atlanta-Ned
- In-Game Game Master
- Joined: Fri Apr 18, 2014 2:11 pm
- Byond Username: Atlanta-ned
Re: DMI -> PNG unpacker
This helps me in ways you wouldn't expect.
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
-
- Joined: Tue Aug 25, 2015 12:59 pm
- Byond Username: LiamLime
Re: DMI -> PNG unpacker
Should we be scared?Atlanta-Ned wrote:This helps me in ways you wouldn't expect.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
- danno
- Joined: Wed Apr 16, 2014 5:07 pm
- Byond Username: Dannno
- Location: e-mail me if you want a pizza roll
Re: DMI -> PNG unpacker
what a good lad you are, liam
Who is online
Users browsing this forum: No registered users