SMBX Tileset Compiler and Separator

This is the place for custom SMBX graphics.
User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

SMBX Tileset Compiler and Separator

Postby FrozenQuills » Tue Sep 29, 2015 7:37 pm

Hey everyone, you may know me as the random guy that (somehow) got 5th place in the last community contest. After some messing around with SMBX graphics I found out that making changes to entire tilesets is a huge pain!

Thus I made a program to help compile a bunch of graphics into one big image you can edit, and then separate into the correct files later. If there is an easier way to do graphical edits then this was fun to make anyway, lol.

Let's say you want to recolor this tileset:
Spoiler: show
Image

With the compiler, you can compile all your graphics into one big image file that you can edit like this:
Spoiler: show
Image

And then you can separate them all into the original files:
Spoiler: show
Image

This way, not only is it SUPER fast to recolor a tileset, but you also don't have to open a million files to edit a tileset as well!



DOWNLOADS

DOWNLOAD V1.11 (Fixed lightest-color-transparency bug)
DOWNLOAD V1.10 (only works with 64-bit OS)
DOWNLOAD V1.00 (only works with 64-bit OS)
To use this, just extract the folder to somewhere on your computer and follow the instructions in the README.



README

Spoiler: show
=== SMBX TILESET COMPILER/SEPARATOR by FrozenQuills ===

The goal of this package is to provide an easy way to edit numerous individual
graphical files by creating one big image file out of all of them. This joint image can
be recolored/modified efficiently, and then it can be broken back down to the
new graphical files (with the same original filenames and all).


=== Contents ===

This package should include:
- an edit folder
- an output folder
- JoinImages.exe
- SplitImage.exe


=== Instructions ===

1) Place all of the individual graphic files you want to modify all at once in the edit folder
2) Run JoinImages.exe (double click it). It should generate joinedImages.gif outside the edit folder
3) Open joinedImages.gif and make all of your graphical changes there (recolors, edits, etc.)
4) Once you're done, run SplitImage.exe
5) The resulting file graphics from joinedImages.gif should be in the output folder


=== Notes ===

- Ignore imageData.txt: This file is used by the SplitImage.exe and generated by
JoinImages.exe to keep track of the graphic names and heights/widths
in the order they appear in the joint image.

- Whenever you run JoinImages.exe, joinedImages.gif WILL be overwritten by
whatever is in the edit folder, so make sure you save a copy somewhere else if you haven't
run SplitImage.exe yet.

- Likewise, whenever you run SplitImage.exe, graphics in the output folder WILL be replaced by your
changed graphics in joinedImages.gif, so make sure to move them out if you want to use them.

- The edit directory contains a ruins tileset (unknown author) for you to get started (and see
how easy it is to make global recolors and edits).

- You can make super fast global recolors by messing with the hue/saturation in joinImages.gif

- I highly suggest using the recolor tool in Paint.NET in order to do specific color replacements.

- The programs cannot work without the edit or output folders so make sure they exist.

- The background in the joint image is pink in order to differentiate separate tiles.
There is also a 2 pixel buffer between each tile/graphic. Don't worry if you need
to change the background color; it won't affect the individual graphics.

- Contact FrozenQuills on Talkhaus or SMBX forums if you have any bugs or problems with this software.




CHANGELOG

Version 1.11 Changes:
- Should be compatible with 32-bit Windows


Version 1.10 Changes:
- Added PNG support (masks must not be complicated but transparent and semi transparent PNGs are allowed) for Lunalua users
- Two joint image files are now generated, one with all GIFs, and one with all PNGs



Hope people find this useful for editing SMBX graphics! Also feel free to suggest any improvements and whatnot; this is like the first time I released a program like this lol.
Last edited by FrozenQuills on Sun Oct 04, 2015 9:29 am, edited 9 times in total.

User avatar
Chip Potato
Eerie
Eerie
Posts: 970
Joined: Mon Jun 09, 2014 12:05 pm

Re: SMBX Tileset Compiler and Separator

Postby Chip Potato » Tue Sep 29, 2015 7:40 pm

Holy shit, this is actually exactly what I've always wanted. Thank you!
Projects I'm supporting:
Spoiler: show
Image
Image

Spoiler: show
Enjl wrote:
SuperMario12345 wrote:The deadline is tomorrow everyone! Make sure your level is finished, completable, there are no glitches, and it ends with a star!Thats the key to a good score!

Image

User avatar
TLtimelord
Red Yoshi Egg
Red Yoshi Egg
Posts: 2595
Joined: Sat Dec 21, 2013 5:16 pm
Current Project: Six Degrees of Inner Turbulence
Location: Swaggering off into my tardis with the snap of a finger.
Chat Username: Rapunzel

Re: SMBX Tileset Compiler and Separator

Postby TLtimelord » Tue Sep 29, 2015 9:30 pm

If only this was made a week ago...

This is still a godsend. Amazing program you have here!
Image
Image
Image

User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

Re: SMBX Tileset Compiler and Separator

Postby FrozenQuills » Wed Sep 30, 2015 1:23 am

Thanks! Glad this is useful :D

Updated to v1.1

Version 1.1 Changes:
- Added PNG support (masks must not be complicated but transparent and semi transparent PNGs are allowed) for Lunalua users
- Two joint image files are now generated, one with all GIFs, and one with all PNGs

User avatar
Liraxus
Swooper
Swooper
Posts: 119
Joined: Fri Jul 11, 2014 5:03 pm
Current Project: Graphical stuff.
Location: Having a bad time.

Re: SMBX Tileset Compiler and Separator

Postby Liraxus » Wed Sep 30, 2015 3:30 am

This is sexy as huck.

And we're talking Kim Kardashian levels here.
Hey, yeah, thanks cubewatermelon, Sans looks great.

Image

User avatar
WerewolfGD
Wart
Wart
Posts: 3220
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Furry
Location: Wolf Cave | Indonesia
Chat Username: Camacho
Contact:

Re: SMBX Tileset Compiler and Separator

Postby WerewolfGD » Wed Sep 30, 2015 3:48 am

now i can recolor any GFX easily. Thanks frozenquills! will download this.
I'll be back someday.
Previously known as Camacho/Harvey36Dice/andialifbatara.

Awooo!
And yes, I am a furry.

User avatar
PixelPest
Purple Yoshi Egg
Purple Yoshi Egg
Posts: 5115
Joined: Sun Jul 12, 2015 5:38 pm
Current Project: It's a secret for now...
Location: Canada, Eh?
Chat Username: PixelPest
Contact:

Re: SMBX Tileset Compiler and Separator

Postby PixelPest » Wed Sep 30, 2015 7:23 am

Wow. This is downright amazing. Great idea FrozenQuills! Maybe in the future you could find a way to reduce the length of the grouping of tiles, maybe be stacking smaller objects vertically. (Example: If you have a BGO that is 156px high and a block that is 32px high, you could have the program search for other blocks of the same size and stack three more on top.) It would help conserve space and make things even faster. Really like it so far.
Image
My current project. (Demo 0.1 has been released!)

Check out a new dead SMBX Discord server; bots, media, VIP, and more: https://discord.gg/edgBUVM

Check out some cool LunaLua stuff:


My Graphics Pack: http://www.supermariobrosx.org/forums/viewtopic.php?f=31&t=12472

My Levels: http://www.supermariobrosx.org/forums/viewtopic.php?f=89&t=16349

User avatar
WerewolfGD
Wart
Wart
Posts: 3220
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Furry
Location: Wolf Cave | Indonesia
Chat Username: Camacho
Contact:

Re: SMBX Tileset Compiler and Separator

Postby WerewolfGD » Wed Sep 30, 2015 7:26 am

I can't open it and idk why....
can you help me?
Image
I'll be back someday.
Previously known as Camacho/Harvey36Dice/andialifbatara.

Awooo!
And yes, I am a furry.

User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

Re: SMBX Tileset Compiler and Separator

Postby FrozenQuills » Wed Sep 30, 2015 7:53 am

Harvey36Dice wrote:I can't open it and idk why....
can you help me?

Whoa, that's a weird error. Pyinstaller might have messed up maybe.
Do you have a 32-bit or 64-bit operating system? Also try to see if v1.0 works.

EDIT: after some looking around I think it's because I built the .exes in 64-bit python, so I'll see if I can get 32-bit versions up.
Last edited by FrozenQuills on Wed Sep 30, 2015 8:09 am, edited 1 time in total.

User avatar
WerewolfGD
Wart
Wart
Posts: 3220
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Furry
Location: Wolf Cave | Indonesia
Chat Username: Camacho
Contact:

Re: SMBX Tileset Compiler and Separator

Postby WerewolfGD » Wed Sep 30, 2015 7:56 am

FrozenQuills wrote:Do you have a 32-bit or 64-bit operating system?

32-bit operating system
FrozenQuills wrote:Also try to see if v1.0 works.

Ok. I'll try it. I hope it works
I'll be back someday.
Previously known as Camacho/Harvey36Dice/andialifbatara.

Awooo!
And yes, I am a furry.

User avatar
h2643
Ludwig von Koopa
Ludwig von Koopa
Posts: 2862
Joined: Sat Dec 21, 2013 7:23 am
Current Project: RL
Location: Ukraine (Украина)
Chat Username: h/a troll

Re: SMBX Tileset Compiler and Separator

Postby h2643 » Wed Sep 30, 2015 9:12 am

Oh my god, finally I don't have to recolor >100 graphic images seperately instead I can recolor them all at once! Great program you have here.
Cheers for this!
Image Image Image Image
Image Image Image Image
Image Image Image

User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

Re: SMBX Tileset Compiler and Separator

Postby FrozenQuills » Wed Sep 30, 2015 9:19 am

Harvey36Dice wrote:
FrozenQuills wrote:Do you have a 32-bit or 64-bit operating system?

32-bit operating system


I think the error is due to the .exe's being built with a 64-bit Python. Try V1.11.

User avatar
AirShip
Ninji
Ninji
Posts: 821
Joined: Wed Jan 01, 2014 1:30 am
Current Project: Banana
Location: Limbo
Contact:

Re: SMBX Tileset Compiler and Separator

Postby AirShip » Wed Sep 30, 2015 12:58 pm

My... my...

This is certainly the best support tool I've ever seen, very good.
He is coming back...
Image
More fabulous than ever ...


If you are looking for some graphic i made , please send me an PM, and I'll see what I can do for you.

If you understand a lot about lunalua, feel free to help me, because I still need help with this.

User avatar
Mosaic
Ludwig von Koopa
Ludwig von Koopa
Posts: 2556
Joined: Fri Feb 27, 2015 8:07 pm
Current Project: The Mosaic Group's Journey and Toad's SMB Adventure, Also, The Enemy's Boss Rush(yeah sure)
Location: California
Chat Username: Mosaic(Mario)

Re: SMBX Tileset Compiler and Separator

Postby Mosaic » Wed Sep 30, 2015 5:59 pm

This is Great! Now my graphics pack can have more tilesets!
Image


Join For mafia games --> http://mosaicmafia.prophpbb.com/


My Level Thread


My Projects

Image

It also has a discord server! -> https://discord.gg/XGwG2AK

Image

Contests: show
Contests i'm currently in
TTK's Mountain Level Contest: Level Finished
TTK's Sky Level Contest: Level Finished
Restricted Contest 2: Not Started

Contests I've previously joined
Community Contest 13: 30th Place
Water Level Contest Placed 1st
Community Contest 12 Placed 39th
Underground Level Contest Level Placed 5th
SVLC 2 Placed 7th
Snow Level Contest Level Placed 5th
Funky Fresh Contest Never Finished
Artemis008's SMW Contest Results Terminated
TTK's Castle Level Contest Never Finished
and more...


Danny wrote:Here's some constructive criticism: What the hell.

I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.

Lx Xzit
Lakitu
Lakitu
Posts: 462
Joined: Mon Feb 03, 2014 2:12 pm

Re: SMBX Tileset Compiler and Separator

Postby Lx Xzit » Wed Sep 30, 2015 6:26 pm

Amazing! now I can recolor a lot of pieces quickly. Thanks you for the great contribution! it will be very helpful!
A question, Did you consider add a support banner (or whatever) about this for can be more known in the forum?

User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

Re: SMBX Tileset Compiler and Separator

Postby FrozenQuills » Wed Sep 30, 2015 7:35 pm

DarkMecha wrote:Amazing! now I can recolor a lot of pieces quickly. Thanks you for the great contribution! it will be very helpful!
A question, Did you consider add a support banner (or whatever) about this for can be more known in the forum?

I don't have a banner but I do have a link to it in my signature. I didn't expect it to be so popular, hahah; I'll think about making a banner.

User avatar
Suckerman7 GM
Lakitu
Lakitu
Posts: 415
Joined: Fri Jun 19, 2015 9:42 am
Current Project: NOTHING :(
Location: World of Video Games
Chat Username: SM7 is Awesome

Re: SMBX Tileset Compiler and Separator

Postby Suckerman7 GM » Thu Oct 01, 2015 2:46 pm

This tool looks great for new tileset packs! And I want to ask, which tool in Paint.Net you've used to recolor all the tiles to purple? I just wanted to know.
My first year at university is almost done! When the summer holidays begin, I'll be more active in the forums as possible as I can! Right now, I won't do anything too big. I'll just travel along the forums and look at some new stuff.

A level contest? Don't expect too soon! Summer Holidays will be the time for that!!! So be patient, if you please. :)

See you guys on the flipside and flopside and Peace.

- Suckerman7 GM (Finally rose from the ashes after many months!!!)

User avatar
HenryRichard
Ludwig von Koopa
Ludwig von Koopa
Posts: 2686
Joined: Mon Dec 23, 2013 12:09 pm
Current Project: Andario: Journey; Superstar
Location: http://www.stardustfields.net/files/cool.gif
Contact:

Re: SMBX Tileset Compiler and Separator

Postby HenryRichard » Thu Oct 01, 2015 6:37 pm

This is really good, though whenever I join the .gifs together, the first color on the colormap always seems to be replaced with transparency. It's kind of annoying, but it's not too hard for me to fix on my own and it doesn't stop the fact that this program is a massive timesaver. Also, it could just be that I use Gimp instead of paint.net.

User avatar
FrozenQuills
Fighter Fly
Fighter Fly
Posts: 63
Joined: Sat Jul 25, 2015 2:41 am

Re: SMBX Tileset Compiler and Separator

Postby FrozenQuills » Thu Oct 01, 2015 7:06 pm

Suckerman7 GM wrote:This tool looks great for new tileset packs! And I want to ask, which tool in Paint.Net you've used to recolor all the tiles to purple? I just wanted to know.


Just the Hue/Saturation tool under Adjustments.
And the transparent first color thing is something I haven't heard of before, so I'll look into that.

User avatar
Squishy Rex
Mouser
Mouser
Posts: 1848
Joined: Sat Dec 21, 2013 4:30 am
Current Project: Utopia
Location: Australia
Chat Username: SquishyRex

Re: SMBX Tileset Compiler and Separator

Postby Squishy Rex » Fri Oct 02, 2015 3:09 am

This is a great tool so far. It's certainly going to be a big time saver for me. I haven't found anything wrong with the program itself in terms of bugs, so it seems pretty solid. You've brought quite a useful tool to our graphics community FrozenQuills. All I can say is good job and thanks a bunch for making it.
Squishy Rex's CGFX Pack
Image
A Graphical Revolution is Coming!
Image


Return to “Graphics”

Who is online

Users browsing this forum: No registered users and 9 guests