Quote:
Originally Posted by abror
I want to provide minimum storage information to my installer.. But if I put 2.5X of the original size it's too big..
Is there a way to know exactly how much storage is needed before installing?
|
I think I made a little confusion.
The 2.5x answer would be recommended space for compression.
I don't know if there is a way to get this size correctly, as it depends on many factors, such as the method used, whether or not you used the SPLIT mode, etc.
Example: Assuming you compress a game using SPLIT mode and after compressing get 76 GB using BD50.
To install it will need 76 GB just for merging Data##.bin and this file will be deleted only after the game installation is finished.
Maybe someone else can tell you better, but I think the best way would be to do a test install and periodically check the size of the {app} folder to see which size is bigger. Maybe I can include this in the test installation of the DSG in the future.
EDIT:
I did some tests here and the required size was the same as the size before compression.
I compressed the SCARLET NEXUS game to 19.1 GB (20,581,622,161 bytes) with method below and the required size was the same size (increasing only uninstall files).
Code:
xtool:c32mb:d1:mreflate:mscarletnexus+srep_new:1+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
However, the size of the uninstall files must be considered, which depending on the installer can be quite large.
If using the CIU-based installer, the size of Setup.exe+Setup.bin (if exists) must be increased to the required size.
If the compression uses the DSG split mode read the previous information above.