Skip to content

M0002

Compare
Choose a tag to compare
@nmlgc nmlgc released this 01 Nov 21:11
· 545 commits to master since this release

A minor performance increase compared to the last build: The compressed data of the three main packfiles (ENEMY.DAT, GRAPH.DAT, and MUSIC.DAT) is now only loaded once into memory and then kept there for the runtime of the game process. Previously, the P0217 build fully loaded each corresponding packfile whenever the game requested any single of its contained files. I don't know how slow your system would have to be for that optimization to be noticeable, but it was something that stuck out about my original packfile implementation.
While this does prevent hot reloading for traditional packfile mods, I have other plans for a safer and more controlled modding system. Treating the original packfiles as immutable blobs removes the redundancy of keeping modified files in both uncompressed and compressed formats during mod development, and makes it easier to redistribute mods while complying with the copyright on the original packfiles.

No additional features or bug fixes otherwise, just some internal code cleanup and initial portability preparations, balancing out the overtime that went into P0217 in at least somewhat of a productive way.

Full changelog compared to the previous release: P0217...M0002

Previous release: https://github.com/nmlgc/ssg/releases/tag/P0217