Reputation: 4589
I downloaded texture packer here https://code.google.com/p/libgdx-texturepacker-gui/downloads/detail?name=gdx-texturepacker-3.2.0.zip&can=2&q=
When I run the .jar file it just shuts down before even displaying the gui. Is anyone experiencing a similar problem? I am running OSX El Capitan.
Upvotes: 6
Views: 2782
Reputation: 2654
The project is quite old so you can try it's successor: gdx-texture-packer-gui.
[The] project is a successor of Aurelien Ribon's project with whole new GUI and features.
You can download the tool here: https://github.com/crashinvaders/gdx-texture-packer-gui/releases
Upvotes: 2
Reputation: 407
For Mac I downloaded the free version of https://www.codeandweb.com/texturepacker/download
This saves as .txt rather than .atlas for some reason.
After adding the animation I got errors in batch.draw ... casting to TextureRegion fixed that.
As always, I have no idea if this will cause problems later but there you go. Looks good so far. :)
Upvotes: 0
Reputation: 3531
I have the same problem. Using Windows 7 I have to do this:
C:\Program Files\Java\jdk1.8.0_40\bin
It must be enough. Your file should run at this point. Double click it and go to the end, put a semicolon and paste your path, apply and ok. It should run now.
Upvotes: 0
Reputation: 36
Try this: Create a txt file and change its extension to ".bat". Right click to file and select modify. Copy this into file: "java -jar "C:\Users\fat2019\Desktop\gdx-texturepacker-3.2.0\gdx-texturepacker.jar" Change path to your own where gdx-texturepacker.jar file is. Then save and close. Double click file.
edit: this is for windows.
Upvotes: 0
Reputation: 1517
Do you have the Java runtime environment installed on your computer or just the Java development kit? I don't use the texture packer, but I had a similar problem with the Android SDK manager (it shut down before displaying the GUI) on a new computer where I had only installed the Java JDK. After installing the JRE then it worked fine.
Upvotes: 1