|
#1
|
||||
|
||||
|
ROFZ Compressor
ROFZ – LZ compressor with texture / audio / raw-data models ROFZ is a lossless compressor for repacking games: optimal-parsing LZ77 + range coder with a per-block literal mixer, plus its own models for the data LZ codes badly. It finds that data anywhere in the stream, by header or by content:
Neural-network models (CPU only, integer arithmetic; trained offline on samples of 75 games other than Memoriapolis, so as not to skew the results)
Levels
Benchmark Ryzen 7 5800X3D (8C/16T), 64 GB RAM, NVMe SSD, Windows 11. Command line, one run after another on an idle PC, all 16 threads; every output was decompressed and compared byte for byte with the input. MB/s refer to the compressor's input. Settings
Inputs and precompression
Code:
PCM audio (WAV / AIFF; uncompressed samples): 67 108 864 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 39 127 417 58.30% - 50.4 s 1.33 1.62 s 42 TARZ (best) 40 183 818 59.88% +2.70% 191.2 s 0.35 2.70 s 25 rofz -l1 30 841 176 45.96% -21.18% 4.5 s 14.91 0.83 s 81 rofz -l2 30 841 153 45.96% -21.18% 4.7 s 14.34 0.81 s 82 rofz -l3 30 841 109 45.96% -21.18% 4.8 s 14.00 0.81 s 83 rofz -l4 30 841 056 45.96% -21.18% 4.8 s 14.00 0.81 s 83 rofz -l5 30 841 056 45.96% -21.18% 4.8 s 13.94 0.78 s 86 rofz -l6 30 839 955 45.96% -21.18% 7.0 s 9.55 0.82 s 82 rofz -l7 30 840 239 45.96% -21.18% 7.1 s 9.43 0.84 s 80 rofz -l8 30 840 254 45.96% -21.18% 7.1 s 9.45 0.80 s 84 ADPCM audio (IMA / MS ADPCM WAV, a sound bank): 40 372 544 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 26 204 819 64.91% - 35.3 s 1.14 1.02 s 40 TARZ (best) 26 118 840 64.69% -0.33% 174.8 s 0.23 1.25 s 32 rofz -l1 23 958 945 59.34% -8.57% 9.2 s 4.37 0.97 s 42 rofz -l2 23 948 182 59.32% -8.61% 9.7 s 4.15 0.88 s 46 rofz -l3 23 931 477 59.28% -8.68% 11.1 s 3.62 0.90 s 45 rofz -l4 23 917 509 59.24% -8.73% 11.9 s 3.40 0.91 s 45 rofz -l5 22 963 036 56.88% -12.37% 11.5 s 3.51 1.94 s 21 rofz -l6 22 911 886 56.75% -12.57% 13.6 s 2.96 1.95 s 21 rofz -l7 22 911 089 56.75% -12.57% 14.3 s 2.82 1.98 s 20 rofz -l8 22 910 458 56.75% -12.57% 15.8 s 2.55 1.96 s 21 console audio and textures (PS1 CD-XA, PS2 VAG / SS2 / ADS / WAC, Nintendo DSP-ADPCM, CRI ADX, Xbox ADPCM, PS3 textures): 104 242 992 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 60 565 348 58.10% - 80.6 s 1.29 2.30 s 45 TARZ (best) 59 907 663 57.47% -1.09% 194.5 s 0.54 3.38 s 31 rofz -l1 59 215 131 56.80% -2.23% 21.8 s 4.77 2.59 s 40 rofz -l2 59 008 629 56.61% -2.57% 25.1 s 4.15 2.57 s 41 rofz -l3 58 734 825 56.34% -3.02% 28.6 s 3.65 2.93 s 36 rofz -l4 58 495 658 56.11% -3.42% 31.7 s 3.29 3.22 s 32 rofz -l5 57 907 304 55.55% -4.39% 33.4 s 3.12 5.17 s 20 rofz -l6 55 364 109 53.11% -8.59% 40.5 s 2.57 5.43 s 19 rofz -l7 55 355 277 53.10% -8.60% 45.0 s 2.32 5.64 s 18 rofz -l8 55 352 746 53.10% -8.61% 53.6 s 1.95 5.70 s 18 textures (DDS / BC1-BC7 / VTF / IWI / XBM): 150 994 944 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 65 330 035 43.27% - 156.3 s 0.97 3.64 s 41 TARZ (best) 65 011 249 43.06% -0.49% 285.7 s 0.53 6.87 s 22 rofz -l1 65 231 996 43.20% -0.15% 35.3 s 4.28 4.93 s 31 rofz -l2 64 817 586 42.93% -0.78% 42.8 s 3.53 4.83 s 31 rofz -l3 64 330 841 42.60% -1.53% 58.5 s 2.58 5.26 s 29 rofz -l4 61 822 494 40.94% -5.37% 60.1 s 2.51 7.24 s 21 rofz -l5 61 531 207 40.75% -5.81% 58.2 s 2.59 8.29 s 18 rofz -l6 61 083 986 40.45% -6.50% 86.0 s 1.76 8.64 s 17 rofz -l7 61 022 788 40.41% -6.59% 104.2 s 1.45 8.88 s 17 rofz -l8 60 996 789 40.40% -6.63% 128.9 s 1.17 8.82 s 17 raw images (BMP / TGA / RAW / TIF): 83 886 080 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 21 323 178 25.42% - 78.9 s 1.06 1.60 s 52 TARZ (best) 20 755 681 24.74% -2.66% 437.9 s 0.19 2.56 s 33 rofz -l1 21 190 058 25.26% -0.62% 16.6 s 5.05 0.88 s 95 rofz -l2 21 159 023 25.22% -0.77% 18.6 s 4.52 0.86 s 97 rofz -l3 20 537 604 24.48% -3.68% 23.4 s 3.59 1.41 s 59 rofz -l4 20 500 695 24.44% -3.86% 26.2 s 3.20 1.44 s 58 rofz -l5 19 944 470 23.78% -6.47% 34.3 s 2.45 3.41 s 25 rofz -l6 19 744 251 23.54% -7.40% 45.8 s 1.83 3.58 s 23 rofz -l7 19 713 816 23.50% -7.55% 62.9 s 1.33 3.56 s 24 rofz -l8 19 682 941 23.46% -7.69% 85.3 s 0.98 3.50 s 24 text, structures, executables, meshes, maps: 266 556 789 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 95 836 113 35.95% - 267.1 s 1.00 3.27 s 82 TARZ (best) 95 749 915 35.92% -0.09% 1301.8 s 0.20 4.68 s 57 rofz -l1 103 234 022 38.73% +7.72% 43.4 s 6.14 2.28 s 117 rofz -l2 102 172 015 38.33% +6.61% 65.4 s 4.08 2.41 s 110 rofz -l3 99 774 966 37.43% +4.11% 113.3 s 2.35 5.06 s 53 rofz -l4 99 244 592 37.23% +3.56% 146.2 s 1.82 4.96 s 54 rofz -l5 99 190 908 37.21% +3.50% 146.6 s 1.82 5.43 s 49 rofz -l6 93 885 501 35.22% -2.04% 274.1 s 0.97 8.85 s 30 rofz -l7 93 312 314 35.01% -2.63% 399.0 s 0.67 9.08 s 29 rofz -l8 93 085 577 34.92% -2.87% 647.3 s 0.41 9.18 s 29 Memoriapolis, whole game (rofz 0.17.0: to be measured again with 0.18.0): 5 355 251 639 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s RAM to decompress LOLZ ULTRA 1 758 818 797 32.84% - 1615.1 s 3.32 12.00 s 446 5 698 MB TARZ (best) 1 772 775 068 33.10% +0.79% 5779.4 s 0.93 20.30 s 264 2 784 MB rofz -l1 1 858 615 328 34.71% +5.67% 564.5 s 9.49 24.68 s 217 4 103 MB rofz -l4 1 801 250 333 33.64% +2.41% 1302.6 s 4.11 27.01 s 198 4 081 MB rofz -l5 1 763 133 782 32.92% +0.25% 1442.6 s 3.71 54.31 s 99 6 377 MB rofz -l8 1 739 267 961 32.48% -1.11% 3545.8 s 1.51 82.51 s 65 8 847 MB Code:
set LOLZ ULTRA TARZ (best) rofz -l1 rofz -l2 rofz -l3 rofz -l4 rofz -l5 rofz -l6 rofz -l7 rofz -l8 lit/text 1 939 745 1 920 604 2 276 931 2 241 877 2 203 430 2 200 847 2 200 847 1 862 894 1 862 845 1 862 066 lit/text_utf16 782 807 768 166 896 111 857 508 818 020 800 900 800 900 732 423 731 687 731 892 lit/struct_unity 4 622 416 4 613 608 4 849 278 4 751 920 4 658 957 4 608 528 4 620 495 4 559 034 4 543 832 4 522 125 lit/struct_cr2w 12 435 801 12 466 536 12 642 307 12 590 111 12 477 591 12 484 180 12 484 099 12 408 295 12 397 421 12 390 373 lit/struct_misc 1 646 195 1 642 642 2 567 578 2 442 974 2 329 771 2 309 090 2 300 616 1 663 604 1 645 910 1 644 559 lit/struct_source 12 877 500 12 860 749 12 995 671 12 980 473 12 680 523 12 642 857 12 642 857 12 426 081 12 393 627 12 373 962 lit/exe64 4 402 081 4 000 834 4 348 670 4 301 596 4 173 919 4 142 244 4 128 059 3 992 742 3 977 237 3 963 849 lit/exe32 9 230 031 9 100 271 11 300 627 11 260 205 11 148 412 11 188 555 11 187 425 9 041 833 9 036 342 9 035 011 lit/exe_net 3 619 668 3 589 282 3 814 151 3 774 163 3 668 818 3 646 090 3 646 090 3 567 644 3 557 735 3 549 889 lit/mesh 7 019 892 7 061 608 8 106 947 8 067 894 7 940 565 7 929 739 7 929 739 7 017 507 6 983 564 6 976 781 lit/anim 5 093 373 5 523 928 5 654 300 5 594 216 5 291 816 5 162 390 5 162 291 4 924 904 4 831 283 4 832 529 lit/map_bsp 2 044 624 2 073 579 2 928 667 2 813 764 2 620 778 2 529 597 2 452 433 2 406 404 2 129 547 2 006 586 lit/terrain_nav 5 181 137 5 001 339 5 356 031 5 261 473 5 057 718 5 010 374 5 010 374 4 977 348 4 948 536 4 926 081 lit/font 3 279 030 3 265 130 3 540 980 3 427 181 3 241 392 3 141 029 3 136 103 2 987 829 2 968 286 2 975 287 lit/shader 294 593 285 262 317 858 304 786 292 592 288 823 288 823 287 478 287 627 284 382 lit/pack_pak 9 394 270 9 534 756 9 561 099 9 531 863 9 452 292 9 450 969 9 450 969 9 316 653 9 312 523 9 310 209 lit/pack_vpk 11 972 950 12 041 621 12 076 816 11 970 011 11 718 372 11 708 380 11 748 788 11 712 828 11 704 312 11 699 996 audio/audio_pcm16 12 621 005 12 980 497 9 844 657 9 844 649 9 844 626 9 844 575 9 844 575 9 843 976 9 844 260 9 844 276 audio/WAV16 9 020 554 9 567 334 7 417 279 7 417 272 7 417 256 7 417 257 7 417 257 7 417 068 7 417 068 7 417 068 audio/WAV24 8 424 908 8 093 706 6 161 722 6 161 720 6 161 713 6 161 710 6 161 710 6 161 510 6 161 510 6 161 510 audio/AIFF 9 060 950 9 542 281 7 417 518 7 417 512 7 417 514 7 417 514 7 417 514 7 417 401 7 417 401 7 417 400 raw/img_raw 4 244 729 4 129 180 4 295 927 4 268 429 4 119 632 4 084 231 4 086 545 3 932 094 3 910 472 3 891 334 raw/BMP 4 286 406 4 176 200 4 130 523 4 129 802 4 016 469 4 015 894 3 984 867 3 964 853 3 961 202 3 955 930 raw/TGA 4 283 867 4 175 178 4 130 618 4 129 888 4 016 559 4 015 908 3 984 905 3 967 207 3 961 288 3 956 154 raw/RAW 4 254 850 4 126 583 4 535 256 4 535 170 4 411 919 4 411 760 4 158 900 4 151 557 4 152 143 4 150 889 raw/TIF 4 253 326 4 148 540 4 097 734 4 095 734 3 973 025 3 972 902 3 729 253 3 728 540 3 728 711 3 728 634 tex/tex_bc1 8 534 089 8 451 644 9 032 672 9 026 626 8 990 478 8 346 299 8 231 756 8 226 511 8 224 326 8 223 206 tex/tex_bc3 4 775 742 4 778 892 5 177 403 5 177 319 5 176 007 4 593 658 4 553 433 4 552 990 4 552 975 4 552 907 tex/tex_bc45 4 987 145 4 979 232 5 524 195 5 376 098 5 219 118 5 185 908 5 185 965 5 075 383 5 042 839 5 031 738 tex/tex_bc7 11 390 057 11 140 226 11 118 868 11 020 725 10 990 593 10 979 436 10 979 436 10 869 072 10 865 053 10 862 826 tex/tex_bc6 12 295 850 12 353 859 9 160 958 9 160 958 9 160 956 9 160 955 9 160 955 9 160 864 9 160 864 9 160 862 tex/dds 1 265 829 1 200 701 1 363 245 1 330 394 1 300 589 1 173 327 1 133 375 1 133 334 1 133 334 1 133 334 tex/tex_vtf 4 831 058 4 865 011 5 227 342 5 174 285 5 108 334 4 850 371 4 861 782 4 855 095 4 854 611 4 853 849 tex/tex_xbm 9 254 180 9 334 486 10 023 631 9 951 827 9 807 968 9 479 965 9 427 292 9 222 269 9 214 828 9 211 483 tex/tex_iwi 7 996 085 7 907 198 8 603 682 8 599 354 8 576 798 8 052 575 7 997 213 7 988 468 7 973 958 7 966 584 adpcm/ADPCM_IMA 7 954 668 7 967 607 7 284 744 7 282 921 7 268 028 7 258 877 6 914 897 6 882 695 6 882 570 6 882 366 adpcm/ADPCM_MS 6 682 707 6 589 698 6 139 670 6 131 058 6 131 841 6 128 161 5 964 473 5 945 942 5 945 483 5 945 303 adpcm/ADPCM_bank 11 567 444 11 561 535 10 534 531 10 534 203 10 531 608 10 530 471 10 083 666 10 083 249 10 083 036 10 082 789 console/ps1_xa 11 773 597 11 812 741 10 674 359 10 674 359 10 674 357 10 674 358 10 524 768 10 524 719 10 524 719 10 524 719 console/ps2_vag 12 536 619 12 155 144 11 402 944 11 401 471 11 363 189 11 354 241 11 290 744 11 290 697 11 290 697 11 290 697 console/ps2_ss2 11 290 759 10 980 981 10 037 984 10 037 984 10 037 983 10 037 983 9 883 095 9 883 054 9 883 054 9 883 054 console/ps2_wac 1 412 180 1 428 831 1 303 807 1 306 636 1 301 568 1 300 473 1 280 083 1 276 599 1 275 986 1 275 651 console/nds_dsp 5 309 310 5 361 988 8 151 524 7 951 216 7 746 079 7 735 672 7 735 672 5 289 613 5 284 364 5 283 861 console/cri_adx 14 136 460 14 096 396 13 058 248 13 058 247 13 058 244 13 058 243 12 900 966 12 900 918 12 900 918 12 900 918 console/xbox_adpcm 1 010 957 1 016 245 976 695 976 694 976 693 976 693 955 045 955 046 955 046 955 046 console/ps3_tex 3 095 466 3 055 337 3 609 570 3 602 022 3 576 712 3 357 995 3 336 931 3 243 463 3 240 493 3 238 800 Code:
[External compressor:rofz]
header = 0
packcmd = "rofz.exe" c {options} - - <stdin> <stdout>
unpackcmd = "rofz.exe" d - - <stdin> <stdout>
Changes
Download: rofz-0.18.0-win64.7z (rofz.exe + README) SHA-256: 170721b362f358bc35e7be02ecc99dfb060a5b7e0cce00d8fa 982b5c4ae317f8 (847 907 B) Feedback and results on other games are welcome, especially where it loses. And 200MB of samples
Last edited by sajmon83; Today at 14:44. Reason: v0.18.0 |
| The Following 5 Users Say Thank You to sajmon83 For This Useful Post: | ||
DomoVoi_96 (Yesterday), Dunnowho69 (Yesterday), kj911 (Today), Masquerade (Yesterday), Spinneret94 (Yesterday) | ||
| Sponsored Links |
|
#2
|
||||
|
||||
|
adpcm sample
all settings left on default Code:
rofz Compressed 1 file, 208,780,556 => 156,157,676 bytes. Ratio 74.80% Compression time: cpu 0.13 sec/real 37.72 sec = 0%. Speed 5.54 mB/s All OK Code:
tarz Compressed 1 file, 208,780,556 => 149,665,201 bytes. Ratio 71.69% Compression time: cpu 0.47 sec/real 374.98 sec = 0%. Speed 0.56 mB/s All OK
__________________
Haters gonna hate
|
|
#3
|
||||
|
||||
|
Thanks! Levels 1–4 (the default) keep decompression at ~200 MB/s, and the ADPCM model decodes at only ~6 MB/s per thread, so on those levels ADPCM is left to LZ. For ADPCM-heavy data use -l5…-l8 or -ds 0. 0.17.1 also fixes WAV/ADPCM headers that claim more data than the file holds.
I am working on a lighter version of the ADPCM model for -l1 … -l4 0.17.1 (stream format v17: 0.17.0 streams decode; streams made with -nw need 0.17.1) switches for the single models and the trained models. default level 4 (was 3) fix: audio from a WAV / ADPCM header that claims more data than follows it (a cut or broken file) ran on over the next data and coded it as audio. Textures and images found by their headers are now taken out of the audio, and the last 32 KB of every audio stream are coded by the audio model and by LZ; where LZ wins, a binary search in 64 KB steps finds where the stream turns into other data and the audio ends there (cut-WAV test files: −2.8% at -l4, −15.5% at -l7). Normal audio codes as before. Last edited by sajmon83; Yesterday at 12:15. |
|
#4
|
||||
|
||||
|
Quote:
![]() Code:
rofz -l8 Compressed 1 file, 208,780,556 => 143,341,931 bytes. Ratio 68.66% Compression time: cpu 0.38 sec/real 194.37 sec = 0%. Speed 1.07 mB/s All OK tarz -t12 Compressed 1 file, 208,780,556 => 149,781,274 bytes. Ratio 71.74% Compression time: cpu 0.30 sec/real 106.64 sec = 0%. Speed 1.96 mB/s All OK bzip3 Compressed 1 file, 208,780,556 => 137,015,001 bytes. Ratio 65.63% Compression time: cpu 0.11 sec/real 24.74 sec = 0%. Speed 8.44 mB/s All OK bcm Compressed 1 file, 208,780,556 => 137,432,665 bytes. Ratio 65.83% Compression time: cpu 0.19 sec/real 10.06 sec = 2%. Speed 20.75 mB/s All OK
__________________
Haters gonna hate
Last edited by KaktoR; Yesterday at 12:28. |
|
#5
|
||||
|
||||
|
lol, there’s no -l9 in rofz :P
|
|
#6
|
||||
|
||||
|
Sorry, it was l8. Typo.
__________________
Haters gonna hate
|
|
#7
|
||||
|
||||
|
KaktoR, send me a sample of the files via private message or attach them here. That will make things easier, and I'll be able to work on the ADPCM model – I can see there's still some room for it!
![]() EDIT And perhaps your samples are not being detected as ADPCM (VAG/PS-ADPCM, DSP, Xbox ADPCM, or a sound bank). My samples (IMA and MS ADPCM in RIFF WAV, files of one kind put together; Ryzen 7 5800X3D, 16 threads, every output decompressed and compared): Code:
IMA ADPCM WAV (11 767 582 B) | MS ADPCM WAV (11 827 746 B) compressor size ratio comp decomp | size ratio comp decomp bcm 2.03 (default) 7 999 145 67.98% 0.84 s 0.83 s | 6 485 638 54.83% 0.78 s 0.72 s bzip3 -j 16 8 001 713 68.00% 1.15 s 1.13 s | 6 489 847 54.87% 1.05 s 0.97 s rofz 0.17.2 -l4 7 779 664 66.11% 6.46 s 0.21 s | 6 556 774 55.44% 8.10 s 0.19 s rofz 0.17.2 -l8 7 061 197 60.01% 7.29 s 0.28 s | 6 048 704 51.14% 9.86 s 0.27 s rofz 0.17.2 -l8 -na 7 589 486 64.49% - - | 6 330 231 53.52% - - Or perhaps it’s a bug from 0.17.0 related to the WAV / ADPCM header. Last edited by sajmon83; Yesterday at 12:52. |
|
#8
|
||||
|
||||
|
I will send you the sample via PM.
However it turns out on other samples rofz performs better than all other, so I guess it's just one of the few samples.
__________________
Haters gonna hate
|
|
#9
|
||||
|
||||
|
Quote:
Last edited by sajmon83; Yesterday at 13:37. |
| The Following 2 Users Say Thank You to sajmon83 For This Useful Post: | ||
Cesar82 (Yesterday), Dunnowho69 (Yesterday) | ||
|
#10
|
|||
|
|||
|
Can we expect a version compatible with SSE4.1/AVX and Windows 7? Regarding the extraction process (just the decompressor), would an XP-compatible release be possible? (TARZ runs on older CPUs, and the CLS filter works even on XP—though it is slow when running on a single thread.)
|
|
#11
|
||||
|
||||
|
Yes for SSE4.x/AVX: the format doesn't depend on the CPU (the models are integer-only, the AVX2 paths have scalar twins), so a build for x86-64-v2 (SSE4.2/POPCNT, Nehalem/Bulldozer and newer) gives byte-identical streams and decodes archives made by the AVX2 build.
XP: not realistic. Rust has no standard library for XP, and the decompressor needs large memory. |
|
#12
|
|||
|
|||
|
Very good, will watch this one with great interest.
|
|
#13
|
|||
|
|||
|
So, can we expect a Win7-compatible build in the near future? (Perhaps even one that supports CPUs from before the Core series?) In truth, regardless of the CPU, there is only one factor that limits the capabilities of a given compressor: the available memory. Since the days of XP64/Vista, this is no longer capped at 2 or 4 GB and even Win8 and later versions don't offer any further advantage in this regard. (Aside from games and bloated web browsers, there’s practically no benefit to newer Windows versions; nothing justifies them. One thing is certain: I will never install Win11.)
How does the memory requirement for decompression compare to that of the classic LZ family? For instance, if I use something like "lolz:dt:d128m:mtt0:ldmf1:mt1...", it theoretically requires around 200 MB per thread at least when constrained via CLS. How does ROFZ compare under similar parameters? (If left unrestricted, LOLZ could consume 2 GB potentially per thread regardless of the dictionary size.) Regarding Rust: There’s this thing called Rust9x. If you’re clever enough, you could even compile the EXE for Win95!
|
|
#14
|
||||
|
||||
|
Thanks for the Rust9x link, it's an interesting project, but I won't go that way. ROFZ is aimed at current CPUs and current methods: AVX2, many threads, context mixing and small neural networks (the literal parameter model, the texture classifier, pre-trained model states), and that's where the development goes. On a pre-Core CPU it would be far too heavy anyway. So an old single- or dual-core machine would take ages. So there's no Win7 or legacy-CPU build planned for now.
On memory for decompression, two parts: - the segment: the decoder keeps the whole segment in RAM (by default up to 3 GB; that's also how far back matches can reach, like a dictionary). With "d -m" it gets a memory limit, and a segment that doesn't fit goes to a temporary file mapped into memory, so it still decompresses, just slower. - the models, per decoding thread. From my sample runs (64 MB samples of game data, 16 threads): -l1 … -l4: about 4–11 MB per thread (60–170 MB in total on 16 threads) -l5 … -l8: mostly 5–45 MB per thread; raw image/structure data with the full model needs more, up to about 160 MB per thread in the worst case I measured. Fewer threads (-t) means proportionally less model memory. So under limits similar to LOLZ, ROFZ stays below that on every level. The compressor prints the expected RAM for decompression after each run. |
|
#15
|
||||
|
||||
|
Changes
Code:
PCM audio (WAV / AIFF; uncompressed samples): 67 108 864 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 39 127 417 58.30% - 50.4 s 1.33 1.62 s 42 TARZ (best) 40 183 818 59.88% +2.70% 191.2 s 0.35 2.70 s 25 rofz -l1 30 841 176 45.96% -21.18% 4.5 s 14.91 0.83 s 81 rofz -l2 30 841 153 45.96% -21.18% 4.7 s 14.34 0.81 s 82 rofz -l3 30 841 109 45.96% -21.18% 4.8 s 14.00 0.81 s 83 rofz -l4 30 841 056 45.96% -21.18% 4.8 s 14.00 0.81 s 83 rofz -l5 30 841 056 45.96% -21.18% 4.8 s 13.94 0.78 s 86 rofz -l6 30 839 955 45.96% -21.18% 7.0 s 9.55 0.82 s 82 rofz -l7 30 840 239 45.96% -21.18% 7.1 s 9.43 0.84 s 80 rofz -l8 30 840 254 45.96% -21.18% 7.1 s 9.45 0.80 s 84 ADPCM audio (IMA / MS ADPCM WAV, a sound bank): 40 372 544 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 26 204 819 64.91% - 35.3 s 1.14 1.02 s 40 TARZ (best) 26 118 840 64.69% -0.33% 174.8 s 0.23 1.25 s 32 rofz -l1 23 958 945 59.34% -8.57% 9.2 s 4.37 0.97 s 42 rofz -l2 23 948 182 59.32% -8.61% 9.7 s 4.15 0.88 s 46 rofz -l3 23 931 477 59.28% -8.68% 11.1 s 3.62 0.90 s 45 rofz -l4 23 917 509 59.24% -8.73% 11.9 s 3.40 0.91 s 45 rofz -l5 22 963 036 56.88% -12.37% 11.5 s 3.51 1.94 s 21 rofz -l6 22 911 886 56.75% -12.57% 13.6 s 2.96 1.95 s 21 rofz -l7 22 911 089 56.75% -12.57% 14.3 s 2.82 1.98 s 20 rofz -l8 22 910 458 56.75% -12.57% 15.8 s 2.55 1.96 s 21 console audio and textures (PS1 CD-XA, PS2 VAG / SS2 / ADS / WAC, Nintendo DSP-ADPCM, CRI ADX, Xbox ADPCM, PS3 textures): 104 242 992 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 60 565 348 58.10% - 80.6 s 1.29 2.30 s 45 TARZ (best) 59 907 663 57.47% -1.09% 194.5 s 0.54 3.38 s 31 rofz -l1 59 215 131 56.80% -2.23% 21.8 s 4.77 2.59 s 40 rofz -l2 59 008 629 56.61% -2.57% 25.1 s 4.15 2.57 s 41 rofz -l3 58 734 825 56.34% -3.02% 28.6 s 3.65 2.93 s 36 rofz -l4 58 495 658 56.11% -3.42% 31.7 s 3.29 3.22 s 32 rofz -l5 57 907 304 55.55% -4.39% 33.4 s 3.12 5.17 s 20 rofz -l6 55 364 109 53.11% -8.59% 40.5 s 2.57 5.43 s 19 rofz -l7 55 355 277 53.10% -8.60% 45.0 s 2.32 5.64 s 18 rofz -l8 55 352 746 53.10% -8.61% 53.6 s 1.95 5.70 s 18 textures (DDS / BC1-BC7 / VTF / IWI / XBM): 150 994 944 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 65 330 035 43.27% - 156.3 s 0.97 3.64 s 41 TARZ (best) 65 011 249 43.06% -0.49% 285.7 s 0.53 6.87 s 22 rofz -l1 65 231 996 43.20% -0.15% 35.3 s 4.28 4.93 s 31 rofz -l2 64 817 586 42.93% -0.78% 42.8 s 3.53 4.83 s 31 rofz -l3 64 330 841 42.60% -1.53% 58.5 s 2.58 5.26 s 29 rofz -l4 61 822 494 40.94% -5.37% 60.1 s 2.51 7.24 s 21 rofz -l5 61 531 207 40.75% -5.81% 58.2 s 2.59 8.29 s 18 rofz -l6 61 083 986 40.45% -6.50% 86.0 s 1.76 8.64 s 17 rofz -l7 61 022 788 40.41% -6.59% 104.2 s 1.45 8.88 s 17 rofz -l8 60 996 789 40.40% -6.63% 128.9 s 1.17 8.82 s 17 raw images (BMP / TGA / RAW / TIF): 83 886 080 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 21 323 178 25.42% - 78.9 s 1.06 1.60 s 52 TARZ (best) 20 755 681 24.74% -2.66% 437.9 s 0.19 2.56 s 33 rofz -l1 21 190 058 25.26% -0.62% 16.6 s 5.05 0.88 s 95 rofz -l2 21 159 023 25.22% -0.77% 18.6 s 4.52 0.86 s 97 rofz -l3 20 537 604 24.48% -3.68% 23.4 s 3.59 1.41 s 59 rofz -l4 20 500 695 24.44% -3.86% 26.2 s 3.20 1.44 s 58 rofz -l5 19 944 470 23.78% -6.47% 34.3 s 2.45 3.41 s 25 rofz -l6 19 744 251 23.54% -7.40% 45.8 s 1.83 3.58 s 23 rofz -l7 19 713 816 23.50% -7.55% 62.9 s 1.33 3.56 s 24 rofz -l8 19 682 941 23.46% -7.69% 85.3 s 0.98 3.50 s 24 text, structures, executables, meshes, maps: 266 556 789 B input compressor output (B) ratio vs LOLZ compression MB/s decompression MB/s LOLZ ULTRA 95 836 113 35.95% - 267.1 s 1.00 3.27 s 82 TARZ (best) 95 749 915 35.92% -0.09% 1301.8 s 0.20 4.68 s 57 rofz -l1 103 234 022 38.73% +7.72% 43.4 s 6.14 2.28 s 117 rofz -l2 102 172 015 38.33% +6.61% 65.4 s 4.08 2.41 s 110 rofz -l3 99 774 966 37.43% +4.11% 113.3 s 2.35 5.06 s 53 rofz -l4 99 244 592 37.23% +3.56% 146.2 s 1.82 4.96 s 54 rofz -l5 99 190 908 37.21% +3.50% 146.6 s 1.82 5.43 s 49 rofz -l6 93 885 501 35.22% -2.04% 274.1 s 0.97 8.85 s 30 rofz -l7 93 312 314 35.01% -2.63% 399.0 s 0.67 9.08 s 29 rofz -l8 93 085 577 34.92% -2.87% 647.3 s 0.41 9.18 s 29 Last edited by sajmon83; Today at 14:36. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Fox Kompressor 1.01c Ultimate | felice2011 | Conversion Tutorials | 31 | 07-06-2023 15:58 |
| Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 10:27 |
| Kitty File Compressor (STDIO Patch) | 78372 | Conversion Tutorials | 1 | 31-10-2019 08:46 |
| RAYcompressor - the ultimate AIO compressor | rayated | Conversion Tutorials | 38 | 11-04-2018 01:10 |
| Tiny Compressor | 78372 | Conversion Tutorials | 1 | 24-11-2017 14:27 |