Re: SMBX Tileset Compiler and Separator
Posted: Sat May 18, 2019 11:20 am
...Hey. Am I the only one to think this tool is a little bit rudimentary?
No?
Whatever, I had fun.
Around two weeks ago I asked FrozenQuills for the source code of this thing and decided to edit it, just to add some more functionality and make my life easier. What turned out is this new version:
Download the SMBX Image Compiler Version 1.2!
Source code download
Now, this version doesn't really add too much functionality if you just run the exe, outside of asking whether you want to compile or separe images, asking the extension to use and making fewer files when running it, but if you are a bit more experienced with the command line, you may like the fact that I've added some arguments to use. The arguments are these:
Combining these arguments, one can do
to get any graphics from both /path/to/gfx and /path/to/other/gfx and directly put the big compiled image into /some/random/folder with the name tilesetgfx1.png. Then you can separe like this:
To get the compiled image from /some/random/folder and separe it directly into your level folder. If you can learn it, this can save you some time from having to copy the images you want, browsing to where you placed the program and later having to copy them again, as well having to always rename the images if you have multiple tilesets to recolor.
If you don't want to do everything this way, though, it's all fine. As I said, the old way of using this tool hasn't changed too much. (also, it's worth noting that this version might have fixed some bugs still present in older versions. Only when I got the source code could I run the 1.1 version correctly)
All that said, if any of you has any feature to suggest, I'll be more than happy to add it!
No?
Whatever, I had fun.
Around two weeks ago I asked FrozenQuills for the source code of this thing and decided to edit it, just to add some more functionality and make my life easier. What turned out is this new version:
Download the SMBX Image Compiler Version 1.2!
Source code download
Now, this version doesn't really add too much functionality if you just run the exe, outside of asking whether you want to compile or separe images, asking the extension to use and making fewer files when running it, but if you are a bit more experienced with the command line, you may like the fact that I've added some arguments to use. The arguments are these:
Spoiler: show
Combining these arguments, one can do
Code: Select all
> smbx-image-compiler.exe -c -e png -ef /path/to/gfx /path/to/other/gfx -jf /some/random/folder -n tilesetgfx1
Code: Select all
> smbx-image-compiler.exe -s -e png -of /level/folder -jf /some/random/folder -n tilesetgfx1
If you don't want to do everything this way, though, it's all fine. As I said, the old way of using this tool hasn't changed too much. (also, it's worth noting that this version might have fixed some bugs still present in older versions. Only when I got the source code could I run the 1.1 version correctly)
All that said, if any of you has any feature to suggest, I'll be more than happy to add it!