larsiusprime / polymod

Atomic modding framework for Haxe
MIT License
162 stars 61 forks source link

Implement a PAKFileSystem to load archived mods #66

Open EliteMasterEric opened 2 years ago

EliteMasterEric commented 2 years ago

Let people install mods as a large compressed binary file which is decompressed at runtime.

One major downside to this method is that contents must be held in memory at all times

An implementation of PAK archives: https://gist.github.com/larsiusprime/5fd2c7ebbb787c3890b0

Also see about embedding the header into the PAK file.