Reloaded-Project / Reloaded-III

[WIP] Formal Specification for the Next Iteration of Reloaded
https://reloaded-project.github.io/Reloaded-III/
9 stars 1 forks source link

[Loader Design] Document Binary Format for Loader Configuration #34

Open Sewer56 opened 1 month ago

Sewer56 commented 1 month ago

Copied from Memory Limits

Binary format for Loader Config

Runtime information for loader such as:

Will need to use a binary file to save on code size.

This is planned to reduce startup times, as a merged file is needed to reduce I/O overhead. So no special accommodations needed here.

Basically gather what info from the loadout the loader needs to know based on the existing spec, serialize with rkyv, and deserialize on the other end.

Sewer56 commented 3 weeks ago

[Loader] 'Activate' Button to set a loadout to 'Active'

This writes a file to the game's folder. The only game folder edit allowed (aside from installing loader). Said file lists the path to the currently active loadout.