Open lewisfff opened 1 year ago
Even uncompressed archive files can save spaces if there are thousands of BMS files. see Size on disk in the first image, due to sector size. (something like minimum unit to save file(allocation))
Waste of 15.2GiB in my case. (NTFS, sector size 4096 bytes)
This greatly helps distributing level tables via torrenting: Torrent doesn't work well with LARGE number of files. This could greatly reduce number of files, therefore making torrent feasible.
Currently, loading a song in Beatoraja requires loading in images, videos and sound files stored in the file system. I propose adding support for loading a generic archive file which contains the sound files and background video/images.
Why?
Faster file transfers: Moving a single archive is faster than individual files, especially when transferring them across different locations in Windows.
File compression: By archiving the assets, we can compress them and save disk space.
Implementation
Example comparison
Before:
After:
Does anyone have thoughts on this, if it should be done, how it could be implemented, any complexities?