Some info Im ulti
----------------------
Background location: Index 8, Container 1407
----------------------
Tutorial:
First add this too (main.java) main method:
Code:
packbackground(cache);
Second, Add this void to main.java
Code:
public static void packbackground(Cache cache) {
int id = cache.getCacheFileManagers()[8].getContainerId("titlebg");
System.out.println(id);
ImagesFile f = null;
try {
f = new ImagesFile(ImageIO.read(new File("data/titlebg.png")));
} catch (IOException e) {
e.printStackTrace();
}
byte[] data = f.encodeContainer();
System.out.println(cache.getCacheFileManagers()[8].putFileData(id, 0, 2, data, null, "titlebg", null, true));
}
Tip: Change location of image
------------------------
Have fun, hope i didn't miss anything