/Asset-Cache-Packer

An application tool to create and edit caches which contains assets

Primary LanguageJavaMIT LicenseMIT

Asset-Cache-Packer

An application tool to create and edit caches which contains assets

I've written this application tool to create and edit .cache files It was written to combine game assets into 1 cache file. The assets can be retrieved during runtime in an array of byte form.

DOWNLOAD PREBUILT JAR
Standalone cache API

I tried to keep this as basic and simple as possible. This is just a way for indie game developers to:

  1. Manage and organize their assets
  2. A way of protecting their assets from being used without permission*

This is kind of a double edge sword here. If an game developer uses this and you also happen to have this tool, you can rip out their assets. However in order to block against that, you just have to download a copy of this and modify the source code to encrypt the bytes data upon saving onto the cache or create some new pattern that creates a different kind of cache model format making my application tool unable to parse it correctly.

I strongly encourage anyone to download this and build it yourself instead of going for the prebuilt jar. This way you can implement encryption or a different cache model format

Instructions

  1. Start off by pressing "Create cache" or "Load cache" The main view of the application

  2. Afterwards you can add/remove files, but you must remember to pack the cache afterwards inorder to update the cache file Simply adding files only adds it to memory. By packing it, you overwrite the cache file with the current files in memory. The same applies for removing files. Viewing a cache

  3. Double clicking the names of the files on the right lets you read them, unless if they're an image (jpg, png, gif), then they will be rendered onto the left panel

! NOTICE !

Don't bother to import the cache source code from this application onto your projects as it's integrated with the application and you will end up doing some refactoring. Check HERE for the standalone cache class

  • I will continue to add small tweaks and improvements onto this tool, please let me know of any bugs that you have found and I will do my best to fix it and post patches as soon as I can