This is a tool that would make skin projects easier to complete. For example it would automatically generate the regular resolution skin elements from the @2x resolution ones, so that skinners don't have to save any skin elements twice when drawing them.
- Separated project folder and release folder.
- Generate transparent pixel image when marked
.disabled
. - Generate regular resolution image from @2x image if they are not found in the project.
- Create a folder named
Skin
in the project folder and move all of the skin elements there. - Delete all the regular resolution image files if there's a @2x version of it because they can be automatically generated.
- You can sort the skin elements and put them in different folders within the
Skin
folder however you want. - You should put
.psd
,.pxr
, and etc. files outside of theSkin
folder, since they're not relevent to the skin itself. - Download the
.jar
file from Releases, and put it in your project folder. - Done.
- Create a script file, name it
build.bat
. - Open it with a text editor.
- Paste this in:
java -jar "INSERT JAR FILE NAME HERE" build -fp="./Skin" -cp="./Build"
. - And yes, you have to replace
INSERT JAR FILE NAME HERE
with the actual name of the jar file you downloaded. - Done, and just doubleclick it to build the project.
- Create a script file, name it
build.sh
. - Open it with a text editor.
- Paste this in:
java -jar "INSERT JAR FILE NAME HERE" build -fp="./Skin" -cp="./Build"
. - And yes, you have to replace
INSERT JAR FILE NAME HERE
with the actual name of the jar file you downloaded. - Open command prompt.
- Type
cd INSERT PROJECT DIRECTORY HERE
. - Type
chmod +x ./build.sh
to make it runnable. - Done, and just run it to build the project.
No but why do I ever have to explain to a Linux user how to run a bash script...