The game compresses its packages using QFS compression - but which level is best for recreating the package?
I wrote a script to benchmark the levels using a test file (can be found in the tools folder) to find out!
Test Environment
CPU: Intel i5-13600K
Ran with 6 threads. This processor has a hybrid "big.little" architecture, so there's the possibility the threads were weaving in and out of the 6 performance cores (with higher clock speeds).
Test Date: 03 June 2024
Test File:ui.package from The Sims 2 University.
Samples: 3 per QFS level
Results
Higher compression levels take longer to compress. When you add up the game & expansion packs, and that the patcher program is currently single threaded, it does take a really long time. After about level 30, it's not really worth the trivial smaller file size. Overall, there is not much difference to the decompression time.
For now, I'll set the hardcoded value to 20. In future, I'll add more options to the patcher program so this can be freely changed.
The game compresses its packages using QFS compression - but which level is best for recreating the package?
I wrote a script to benchmark the levels using a test file (can be found in the
tools
folder) to find out!Test Environment
ui.package
from The Sims 2 University.Results
Higher compression levels take longer to compress. When you add up the game & expansion packs, and that the patcher program is currently single threaded, it does take a really long time. After about level 30, it's not really worth the trivial smaller file size. Overall, there is not much difference to the decompression time.
For now, I'll set the hardcoded value to 20. In future, I'll add more options to the patcher program so this can be freely changed.
results.csv