Code Monkey home page Code Monkey logo

jme3-iceloader-ext-plugin's Introduction

Iceloader-Ext

A JME3 plugin library that further extensions Iceload with some more locators. These ones require additional 3rd party libraries, and or not required for core features, so are separated into a 2nd plugin.

Features include :-

  • Local resources can be indexed using "reflections" library.
  • Special single-file cache that uses a Java implementation of FAT32.

Dependencies

This plugin uses a few external libraries. The actual number needed at runtime will depend on the usage.

Usage

After installation of the plugin, a new Library named Iceloader-Ext will be available to add to your project.

  1. Right click your project in the Projects view, select Properties.
  2. Click on Libraries in the Categories list.
  3. Select the Compile tab if it is not already selected.
  4. Click Add Library.
  5. Locate Iceloader-Ext, select it, then click Add Library.
  6. Clikc Ok to save and dismiss the project properties window.

That's it, your project now includes the Iceloader-Ext library.

Single File Local Cache

A single dynamically growing local file may be used as a local asset cache. This is yet another barrier to easy access to assets, although not a very good one, as it is actually a virtual FAT32 file system. So given the right tools a user could access the files inside. However, the files inside are encrypted, and I have a use for this so it is included :)

To activate this, set the system property iceloader.assetCache to fat32:///path/to/some/file.

The Locators

Many of the locators can (and sometimes should) be configured. This is currently done using some system properties. I may look for a better way at some point.

Depending on the locators you use, check the following. The defaults are unlikely to be fine for your case.

icemoon.iceloaderext.locators.ReflectionsClasspathLocator

Much the same as the standard classpath locator, but with indexing support (provided by "reflections" library).

icemoon.iceloaderext.locators.ReflectionsClasspathCachingLocator

Much the same as the ClasspathLocator, but will also allow later remote asset locators check for the asset too. If there is one on a server, it would be used in preference.

icemoon.iceloaderext.locators.ReflectionsEncryptedClasspathLocator

Much the same as the ClasspathLocator, but will assume the classpath assets are encrypted, and decrypt them as they are returned to JME.

jme3-iceloader-ext-plugin's People

Contributors

rockfireredmoon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.