I took the time to do some tests on the error reported above.
You get a headache when an error happens and you have to start over again.
I started the compression thinking that 130 GB of free space would be enough.
When running SREP at 96% there was an error due to insufficient space. Start all over again...
Compression test: The Sims 4: Deluxe Edition v1.70.84.1020 + All DLCs & Add-ons
Code:
method: xtool_reflate+srep_new+4x4:b64mb:lzma:ultra:64m:bt4:fb273:lc8:mc1000000
Sims 4 game files: 46,823,840,493
srep temporary files: InFile = 102,962,862,810 -> OutFile = 68,213,444,126
srep required size: 171,176,306,936 = required 159.42 GB
required size: ~365.58% of game size
The maximum space used is when the first pass of SREP is at 100%
It contains the file generated by XTool (
BLUE) and the file that SREP created (
RED).