LibGDX + .tmx files = making me crazy

Hello guys! I have problems with things that should be easy to do. Im triying to use .tmx files into libGDX. I read tutorials and libGDX wiki’s but…I cant really make work the famous TiledMapPacker.java.

I simply doesn’t understand how to use it. And I don’t want to execute it from CMD, its a mess of paths and errors!

Also, TexurePacker and the TiledMapPacker are deprecated right know. I found a new TexturePacker2.java which seems to work, but TiledMapPacker still try to use the deprecated TexturePacker.java and in consecuence doesn’t work.

Im kinda lost. Tutorials looks like: “Ey, this is mega easy” but…

Also, dont know what to do with the “Settings” param. Creating one with:

TiledMapPackerSettings set= new TiledMapPackerSettings() ?

I’m lost ??? . I need a map (literally) :frowning:

OMG i think I make it work lol

public class Empaquetador {

	static String[] str= {"maps/" ,"maps/", "--strip-unused"};
	
		public static void main(String args[]){
			TiledMapPackerSettings set= new TiledMapPackerSettings();
			//TiledMapPacker.processMap("maps/" ,"maps/", "--strip-unused");
			TiledMapPacker.main(str);
		}
}