You need to explain what you mean by 'the permissions file that the game loads contain multiple base files'. Files do not contain other files.
If I guess correctly, your intention is to modify some file(s) at runtime (based on something unspecified). The only solution I can envision for this is to code up a virtual filesystem that your game can use to read files from. The virtual filesystem (based on fuse
) is then capable of providing file content based on whatever circumstance your code can determine. It can be essentially a wedge between the real filesystem, and your game application.