How to use Asset Pack in code?

Hi. I’m a bit confused. I can create Asset Packs that are basically zip files with an assetpack.xml file. Can I add the zip file as a resource to my app and expect the AssetManager to return, for example, a texture from the asset pack?

Or do I need to use the ZipLocator with the zip file?

AFAIK, AssetManager by default reads assets that are on the classpath if your asset pack is packaged into a jar file and added to your executable dependencies through the META-INF then you are okay, otherwise you will need to use a file locator to locate the asset pack path.