Custom resource caching?

Hey JGO, I was wondering if there’s already a useful library out there that can pack my resources into a .dat file or something?

Example project layout:

  • src
  • cache/icons.dat

Than in my project I’d be able to call something like:


static StreamSystem streamSystem = new StreamSystem("cache/");

static void load() {
	Image shopIcon = streamSystem.getImage(
		"icons.dat", // resources packed into .dat
		"ShopIcon.PNG" // our image to load
	);
}

Thanks for the feedback guys :slight_smile: