Ever needed to unpack tons of DMI files into seperate images, or gifs? But gave up because the interface itself was so hard to use when working in bulk.
Worry no more! I created a simple DMI to PNG unpacker which allows you to upload multiple DMI files, and recieve a ZIP which contains the states!
https://share.nanotrasen.pw/unpacker/
The current upload limit is ~8MB and can be increased upon request.
ID:2065782
Apr 6 2016, 5:11 pm
|
|
Apr 14 2016, 8:51 pm
|
|
source?
|
In response to Optimumtact
|
|
Optimumtact wrote:
source? I agree. We don't know what is going on under the hood and I'm sure most devs would rather know their assets are safe. |
In response to Lavenblade
|
|
Lavenblade wrote:
Optimumtact wrote: It's based around https://github.com/balohmatevz/DMI2PNG but slightly modified to take files from a POST request and dump them into a zipfile. If you want to verify the source code before using it, feel free to send me a PM and we can work something out. |
I also wrote a DMI-to-PNG/PNG-to-DMI/DMI manipulation thingy: https://github.com/Baystation12/Baystation12/tree/dev/tools/ dmitool
Doesn't have bulk export/import, but it's relatively easy to script over the top of it to add that. |
Slightly off topic, but is it possible to batch convert old-world DMIs (pre-4.0) to new-world DMIs (4.0 and beyond)?
The tools work great for the newer DMIs, but aren't compatible with the old non-PNG DMIs. |
In response to Taylor Scanlon
|
|
Taylor Scanlon wrote:
Slightly off topic, but is it possible to batch convert old-world DMIs (pre-4.0) to new-world DMIs (4.0 and beyond)? I have no idea how the pre-4.0 format looks, if you could send me a PM with one or two of those DMI files i could take a look. |
In response to ErikHanson
|
|
ErikHanson wrote:
Taylor Scanlon wrote: Last time I looked at it, Bay had a single DMI that was still DMIv3: https://github.com/Baystation12/Baystation12/blob/dev/icons/ obj/pipes/large.dmi |
In response to GinjaNinja32
|
|
GinjaNinja32 wrote:
ErikHanson wrote: I'm willing to put out a bounty for this due to me being lazy. :) If not, I can take a stab at it one of these upcoming weekends and see what I can do. I know it won't be of much use to anybody but me. |