Texture packer will not work

I downloaded the 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, even showing gui. Does anyone encounter a similar problem? I am running OSX El Capitan.

+5
source share
5 answers

Do you have a Java runtime installed on your computer or just a Java development kit? I do not use the texture packer, but I had a similar problem with the Android SDK manager (it disconnected before the GUI was displayed) on a new computer, where I just installed the Java JDK. After installing JRE, it worked fine.

+1
source

The project is quite old, so you can try its successor: gdx-texture-packer-gui.

[The] project is the successor to the Aurelien Ribon project with a completely new GUI and function.

You can download the tool here: https://github.com/crashinvaders/gdx-texture-packer-gui/releases

+1
source

Try it: Create a txt file and change its extension to ".bat". Right-click the file and select an option. Copy this to the file: "java -jar" C: \ Users \ fat2019 \ Desktop \ gdx-texturepacker-3.2.0 \ gdx-texturepacker.jar "Change the path to your own where the gdx-texturepacker.jar file is located. Then save and close ..

edit: this is for windows.

0
source

I have the same problem. Using Windows 7, I have to do this:


  • Go to the java directory and copy your Java path.

C:\Program Files\Java\jdk1.8.0_40\bin

  1. Right click on my computer,
  2. Click Properties
  3. Go to the "Advanced system settings" section, click
  4. Click "Environment Variables".
  5. Go to the System Variables section and you will find an entry named path.
  6. Double click on the path
  7. Add a semicolon (;) to the end of this line
  8. After the semicolon has copied your path: C: \ Program Files \ Java \ jdk1.8.0_40 \ bin
  9. To apply

That should be enough. At this point, your file should work. Double-click on it and go to the end, put a semicolon and paste your path, apply and good. Now it should work.

0
source

For Mac, I downloaded the free version https://www.codeandweb.com/texturepacker/download

For some reason this saves as .txt, not .atlas.

After adding the animation, I got errors in the batch.draw package ... casting in TextureRegion is fixed.

As always, I have no idea that this will cause problems later, but you will go. Looks nice.:)

0
source

Source: https://habr.com/ru/post/1237930/


All Articles