I am looking for a plugin framework that allows other scripters to provide their own custom data loading functionality, and allows users to simply choose what type of protection scheme they wish to use.
This framework should provide an interface that allows other scripts to easily implement their parsing/loading logic.
At the bare minimum, it should provide the following interface (well, this is how I would write it, I don't know how others might do it)
Load archive
Builds the file table, which is basically a list of all the entries for fast, subsequent access.
A file entry typically includes name, offset, and original size.
It may also include a compressed size, if compression is involved.
It may also include crc's/hashes to make it difficult to modify contents.
Get file
Given a filename/path, returns a data stream that the engine can work with. This may include decrypting and/or decompressing data.
Optionally, you can provide the ability to specify which archive to load a file from, and therefore support multiple archives (as opposed to a single RGSS3A archive).
The framework itself does not need to implement any actual file loading or archive parsing and is meant to be just an API.
You can use the existing load_data function to verify that your API works.
Custom Data Protection framework
● ARCHIVED · READ-ONLY