SMBX Tileset Compiler and Separator

Share and discuss custom SMBX graphics.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on-topic/appropriate?
-Are you posting in the right forum/following the forum rules?
-Do not create a topic requesting custom graphic. Do so in Graphic Request.
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: 957
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: 2583
Joined: Sat Dec 21, 2013 5:16 pm
Location: Swaggering off into my tardis with the snap of a finger.

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!
Electric gold our love with tender care
Hills of satin grass and maidens fair
Now she rides through the night on a silver storm
Sword in hand, our fate's torn
She's a sparrow of the dawn
Our love is born

-Flower Power, Greta Van Fleet

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: Things.
Location: Transylvania

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: 3250
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Questioning my life
Location: Wolf Cave | Indonesia
Chat Username: Alagirez
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.

--- Easy come, Easy go ---

Image
YT Channel MxW2 for those who wants it
ImageImage
ImageImage
Image

Awooo!
And yes, I am a furry.

User avatar
PixelPest
Edward
Edward
Posts: 6679
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Current Project: Boom Boom Evolution
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.

User avatar
WerewolfGD
Wart
Wart
Posts: 3250
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Questioning my life
Location: Wolf Cave | Indonesia
Chat Username: Alagirez
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

--- Easy come, Easy go ---

Image
YT Channel MxW2 for those who wants it
ImageImage
ImageImage
Image

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: 3250
Joined: Tue Dec 02, 2014 2:28 am
Current Project: Questioning my life
Location: Wolf Cave | Indonesia
Chat Username: Alagirez
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

--- Easy come, Easy go ---

Image
YT Channel MxW2 for those who wants it
ImageImage
ImageImage
Image

Awooo!
And yes, I am a furry.

User avatar
h2643
Ludwig von Koopa
Ludwig von Koopa
Posts: 2876
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!

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: 835
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Current Project: Banana Across The Time
Location: Who know ?
Chat Username: AirSheep
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.

Image

Know how to use lunalua ? And wanna helpful someone with some project ? Well, it's you luck day, I a searching members that know about lunalua, you want help me ? Send a PM to me.


User avatar
Mosaic
Ludwig von Koopa
Ludwig von Koopa
Posts: 2783
Joined: Fri Feb 27, 2015 8:07 pm
Current Project: The Mosaic Group's Journey, Toad's SMB Adventure, and Other Secret Projects?
Location: California
Chat Username: Mosaic
Contact:

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!

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

Image

My Level Thread

viewtopic.php?f=89&t=16338

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
and more...
[/center]
Danny wrote:Here's some constructive criticism: What the hell.
Witchking wrote:Approved!

Discord Quotes: show
Image
[/center]

Lx Xzit
Lakitu
Lakitu
Posts: 473
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: 440
Joined: Fri Jun 19, 2015 9:42 am
Flair: An Experienced Video Game Player (Not Maker... )
Current Project: Nothing right now! (Waiting for SMBX2 update!)
Location: World of Video Games
Chat Username: Suckerman7 GM

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.
Hello everyone! (I'm telling this from here because my project thread had been locked.) Super Mario & 8 Crystal Stars is now on a hiatus. (Sadly...) I'll import the project on SMBX 2.0 once it gets the update which will introduce multiple checkpoints. Don't worry, it's not dead. But once that crucial update arrives, this project'll exceed everyone's expectations. A new story, new gameplay style, new challenges in each level and new characters! So much to plan, so little time.

Anyways, while we'll wait for that, I'll work on levels instead of episodes.

I'm 20 years old, I love video games and I like studying. That's-a-me, Suckerman7 GM!

User avatar
HenryRichard
Ludwig von Koopa
Ludwig von Koopa
Posts: 2820
Joined: Mon Dec 23, 2013 12:09 pm
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.
Image

I'm on Soundcloud | My graphics pack!

Jesus is my savior.

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: 1850
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: Baidu [Spider] and 2 guests