Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old Yesterday, 17:15
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 223
Thanks: 21
Thanked 255 Times in 141 Posts
FitGirl is on a distinguished road
Thanks for the new toy to play with.

GTA6 Sample (textures pack, full of BC textures)
Typical compression chain:

222333440 ttdb_terrain_image_based.ttpf
473012275 ttdb_terrain_image_based.ttpf.decompressed
368614655 ttdb_terrain_image_based.ttpf.decompressed.srep (m3f)
186781464 ttdb_terrain_image_based.ttpf.decompressed.srep.lo lz_single_thread_compressed (dec 5 sec on 1 thread)
193881051 ttdb_terrain_image_based.ttpf.decompressed.srep.ro fz (dec in 14 sec with 16 threads)

rofz compessed with default -l8, no fine tuning
lolz compressed with MY default/mid-range settings, not max, nor mtt with blocks

dunno why rofz is so much slower on mt decomp than lolz on a single thread

made another run withour srep, size was just a 10-20 KBs smaller
Reply With Quote
Sponsored Links
  #17  
Old Yesterday, 17:41
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 223
Thanks: 21
Thanked 255 Times in 141 Posts
FitGirl is on a distinguished road
Also, about AVX2 requirement. This heavily stops the tool from adoption. You train models for old-gen consoles, but doesn't allow PC which could easily run those games on emulators from installing games compressed with ROFZ. Actually, I don't know a single popular compressor which would not work w/o AVX2. You might ask your AI to port the sourcebase to C and compile it there w/o AVX2 req and see how it performs.
Reply With Quote
The Following 2 Users Say Thank You to FitGirl For This Useful Post:
kj911 (Yesterday), Masquerade (Yesterday)
  #18  
Old Today, 08:16
sajmon83's Avatar
sajmon83 sajmon83 is online now
Registered User
 
Join Date: Jun 2017
Location: Poland
Posts: 52
Thanks: 256
Thanked 63 Times in 36 Posts
sajmon83 is on a distinguished road
Quote:
Originally Posted by FitGirl View Post
Thanks for the new toy to play with.

GTA6 Sample (textures pack, full of BC textures)
Typical compression chain:

222333440 ttdb_terrain_image_based.ttpf
473012275 ttdb_terrain_image_based.ttpf.decompressed
368614655 ttdb_terrain_image_based.ttpf.decompressed.srep (m3f)
186781464 ttdb_terrain_image_based.ttpf.decompressed.srep.lo lz_single_thread_compressed (dec 5 sec on 1 thread)
193881051 ttdb_terrain_image_based.ttpf.decompressed.srep.ro fz (dec in 14 sec with 16 threads)

rofz compessed with default -l8, no fine tuning
lolz compressed with MY default/mid-range settings, not max, nor mtt with blocks

dunno why rofz is so much slower on mt decomp than lolz on a single thread

made another run withour srep, size was just a 10-20 KBs smaller
ROFZ codes BC textures with a context-mixing model, not with LZ. The decoder runs the same model as the encoder for every byte, so one thread decodes texture data at a few MB/s, while an LZ decoder like LOLZ mostly copies matches. I’m working on changing this approach.

Your result is the part I would like to look into. My guess is that most of the textures were not recognised (console tiling, no headers) and went to LZ or to the wrong model. A 100–200 MB cut of the .decompressed file (before srep) would help even more.

Quote:
Originally Posted by FitGirl View Post
Also, about AVX2 requirement. This heavily stops the tool from adoption. You train models for old-gen consoles, but doesn't allow PC which could easily run those games on emulators from installing games compressed with ROFZ. Actually, I don't know a single popular compressor which would not work w/o AVX2. You might ask your AI to port the sourcebase to C and compile it there w/o AVX2 req and see how it performs.
Fair point. The arithmetic is integer-only and every AVX2 path has a plain fallback, so no C port is needed.
Code:
build     compression  decompression
(AVX2)       100%         100%
(SSE4.2)     +13%         +7%
(SSE2, any)  +19%         +14%
The next package will have both: rofz.exe (AVX2) and rofz_x64.exe (any x86-64 CPU).

Last edited by sajmon83; Today at 08:19.
Reply With Quote
  #19  
Old Today, 08:36
FitGirl FitGirl is offline
Registered User
 
Join Date: Dec 2014
Location: Riga
Posts: 223
Thanks: 21
Thanked 255 Times in 141 Posts
FitGirl is on a distinguished road
Good news about two versions.
I've also PMed you with a link to the sample.
Reply With Quote
The Following User Says Thank You to FitGirl For This Useful Post:
sajmon83 (Today)
  #20  
Old Today, 11:27
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,853
Thanks: 21
Thanked 351 Times in 232 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by sajmon83 View Post
The next package will have both: rofz.exe (AVX2) and rofz_x64.exe (any x86-64 CPU).
That would be a bit confusing as both executables are for the x64 platform. I suggest naming the non-AVX2 version rofz_noavx2.exe or - according to the actual CPU requirements - rofz_avx[1].exe, rofz_sse.exe or something like that.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
The Following User Says Thank You to Joe Forster/STA For This Useful Post:
sajmon83 (Today)
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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



All times are GMT -7. The time now is 11:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com