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
  #286  
Old 01-03-2026, 05:06
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
It is possible to include this file in Setup.dll, and for some installers it is even possible to include Setup.dll itself into Setup.exe so you have only Setup.exe + compressed archives.

Setup.dll is a FreeArc archive. You can extract it with FreeArc normally (change DLL extension to ARC).
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
SergeyVeter (01-03-2026)
Sponsored Links
  #287  
Old 01-03-2026, 05:16
SergeyVeter SergeyVeter is offline
Registered User
 
Join Date: Dec 2021
Location: Russia
Posts: 11
Thanks: 7
Thanked 0 Times in 0 Posts
SergeyVeter is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
It is possible to include this file in Setup.dll, and for some installers it is even possible to include Setup.dll itself into Setup.exe so you have only Setup.exe + compressed archives.

Setup.dll is a FreeArc archive. You can extract it with FreeArc normally (change DLL extension to ARC).
Thank you very much! I'll look into it and let you know if I have any questions.)
Reply With Quote
  #288  
Old 03-03-2026, 08:22
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Could someone write a good guide on how to make a CLS filter for FreeArc??

No, I don't mean the "CLS-Generator" solutions, unfortunately they don't work in all many cases.

Now, let's assume we have this:

compressor.c /source code or alternative EXE file/
CLS source code package from FreeArc. + MinGW compiler.

What do we need to modify in the *.c source code during compilation so that, upon receiving a "cls-cmp.dll" file at the end of the process, it works as a DLL with FreeArc, either as an decompressor only or with full functionality, when using the "-mcmp..." switch during compression.

To make things more complicated, let's assume that this is just the syntax (*.c or EXE):

compressor.exe e/d in out

What should we write in "cls.h" or other "simple*.cpp" files?

One possible case is that we will only have a *.dll file, nothing else is needed, it can be used already.

While the other, if only an EXE file is available, how do we "bind" the cls-*.dll file to our file so that the given compressor can work in STDIO mode? (no tmp files are written during operations.) Or do we need to modify the EXE as well? (see: the Razor case.)

Last edited by kj911; 03-03-2026 at 08:24. Reason: typo fix
Reply With Quote
  #289  
Old 08-03-2026, 15:24
USSRCoder USSRCoder is offline
Registered User
 
Join Date: Feb 2026
Location: Lviv
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
USSRCoder is on a distinguished road
Quote:
Originally Posted by kj911 View Post
Could someone write a good guide on how to make a CLS filter for FreeArc??

No, I don't mean the "CLS-Generator" solutions, unfortunately they don't work in all many cases.

Now, let's assume we have this:

compressor.c /source code or alternative EXE file/
CLS source code package from FreeArc. + MinGW compiler.

What do we need to modify in the *.c source code during compilation so that, upon receiving a "cls-cmp.dll" file at the end of the process, it works as a DLL with FreeArc, either as an decompressor only or with full functionality, when using the "-mcmp..." switch during compression.

To make things more complicated, let's assume that this is just the syntax (*.c or EXE):

compressor.exe e/d in out

What should we write in "cls.h" or other "simple*.cpp" files?

One possible case is that we will only have a *.dll file, nothing else is needed, it can be used already.

While the other, if only an EXE file is available, how do we "bind" the cls-*.dll file to our file so that the given compressor can work in STDIO mode? (no tmp files are written during operations.) Or do we need to modify the EXE as well? (see: the Razor case.)
cls - It's poorly documented, so I went a different route. You'll still have to run a precompressor. So I took the existing source code (Precomp v0.4.7 https://github.com/schnaader/precomp-cpp/) and added my own formats. I'd also be interested in learning about cls filters, but I was able to do it faster using Precomp v0.4.7. If you're working in Pascal, you can do the same with xtool.

The console is probably (!) needed for 32/64 compatibility, no more. You can't it do without temporary files if you're compressing 20GB and you only have 8GB.
(I'm looking at it from the perspective of solid archives. If you're streaming data, the console will help you get rid of temporary files.)

Last edited by USSRCoder; 08-03-2026 at 19:43.
Reply With Quote
  #290  
Old 10-03-2026, 02:00
FarhanFaudTahix FarhanFaudTahix is offline
Registered User
 
Join Date: Mar 2026
Location: earth
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
FarhanFaudTahix is on a distinguished road
hi is there any way to unpack lolz archives from cli without using the cls plugins. thanks
Reply With Quote
  #291  
Old 10-03-2026, 02:33
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 60
Thanks: 46
Thanked 41 Times in 24 Posts
wrathma is on a distinguished road
^^
to decompress lolz archive you can use cls_lolz_x64.exe directly without cls dll. if youre trying to unpack fitgirl archives this is how you do it.

Code:
[External compressor:magic2]
header     = 0
unpackcmd  = "cls-magic2_x64" d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
same goes for unpacking any other version of lolz without cls dll. this uses stdin/out. if you want to unpack from file you have to something like this.

Code:
cls_lolz_x64.exe d < "compressed_data.lolz" > "unpacked_output"
Reply With Quote
The Following User Says Thank You to wrathma For This Useful Post:
FarhanFaudTahix (10-03-2026)
  #292  
Old 10-03-2026, 06:04
FarhanFaudTahix FarhanFaudTahix is offline
Registered User
 
Join Date: Mar 2026
Location: earth
Posts: 3
Thanks: 1
Thanked 0 Times in 0 Posts
FarhanFaudTahix is on a distinguished road
Quote:
Originally Posted by wrathma View Post
^^
to decompress lolz archive you can use cls_lolz_x64.exe directly without cls dll. if youre trying to unpack fitgirl archives this is how you do it.

Code:
[External compressor:magic2]
header     = 0
unpackcmd  = "cls-magic2_x64" d $$arcpackedfile$$.tmp $$arcdatafile$$.tmp
same goes for unpacking any other version of lolz without cls dll. this uses stdin/out. if you want to unpack from file you have to something like this.

Code:
cls_lolz_x64.exe d < "compressed_data.lolz" > "unpacked_output"
thanks for your help but i am still having the same issue while unpacking. it shows cls read mapping error. can you help?
Reply With Quote
  #293  
Old 10-03-2026, 06:43
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 60
Thanks: 46
Thanked 41 Times in 24 Posts
wrathma is on a distinguished road
Quote:
Originally Posted by FarhanFaudTahix View Post
thanks for your help but i am still having the same issue while unpacking. it shows cls read mapping error. can you help?
have you removed the original cls dll ?
Reply With Quote
  #294  
Old 10-03-2026, 20:49
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 153
Thanks: 29
Thanked 113 Times in 80 Posts
wareck is on a distinguished road
you must have admin right to unpack, that's why you have error mapping.
Open command with administrator level
Reply With Quote
  #295  
Old 11-03-2026, 01:57
SergeyVeter SergeyVeter is offline
Registered User
 
Join Date: Dec 2021
Location: Russia
Posts: 11
Thanks: 7
Thanked 0 Times in 0 Posts
SergeyVeter is on a distinguished road
Thumbs up

Quote:
Originally Posted by KaktoR View Post
It is possible to include this file in Setup.dll, and for some installers it is even possible to include Setup.dll itself into Setup.exe so you have only Setup.exe + compressed archives.

Setup.dll is a FreeArc archive. You can extract it with FreeArc normally (change DLL extension to ARC).
Thank you, it worked!
Reply With Quote
  #296  
Old 12-03-2026, 06:59
SergeyVeter SergeyVeter is offline
Registered User
 
Join Date: Dec 2021
Location: Russia
Posts: 11
Thanks: 7
Thanked 0 Times in 0 Posts
SergeyVeter is on a distinguished road
Wink KaktoR help)

Quote:
Originally Posted by KaktoR View Post
It is possible to include this file in Setup.dll, and for some installers it is even possible to include Setup.dll itself into Setup.exe so you have only Setup.exe + compressed archives.

Setup.dll is a FreeArc archive. You can extract it with FreeArc normally (change DLL extension to ARC).
Hi KaktoR! Could you please tell me which script I can use to maximize the compression of Cyberpunk 2077 using DiskSpan? I also have an idea. Do you think it would work? I want to combine two different versions of the game (2.13 and 1.63) into a single archive. Do you think the file size will be smaller that way?
Reply With Quote
  #297  
Old 13-03-2026, 16:32
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 60
Thanks: 46
Thanked 41 Times in 24 Posts
wrathma is on a distinguished road
Quote:
Originally Posted by SergeyVeter View Post
Hi KaktoR! Could you please tell me which script I can use to maximize the compression of Cyberpunk 2077 using DiskSpan? I also have an idea. Do you think it would work? I want to combine two different versions of the game (2.13 and 1.63) into a single archive. Do you think the file size will be smaller that way?
use this xtool config to decompress game data and compress them with srep+lolz to maximize compression.

merging two different version of a game into a single archive is not a good idea. you shouldnt even compress all game data into a single archive, rather split the files up into multiple folder according to datatype and compress those folders individually using best methods for that datatype. or use arc.groups.

Last edited by wrathma; 08-04-2026 at 00:43.
Reply With Quote
The Following User Says Thank You to wrathma For This Useful Post:
SergeyVeter (14-03-2026)
  #298  
Old 13-03-2026, 20:23
Dunnowho69 Dunnowho69 is offline
Registered User
 
Join Date: Mar 2025
Location: Hawaii
Posts: 71
Thanks: 182
Thanked 5 Times in 4 Posts
Dunnowho69 is on a distinguished road
https://rootz.so/d/iZDH6

Can someone help me with which oodle lib to use with this....it's from doom the dark ages
Reply With Quote
  #299  
Old 13-03-2026, 20:57
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Dunnowho69 View Post
https://rootz.so/d/iZDH6

Can someone help me with which oodle lib to use with this....it's from doom the dark ages
Code:
Library loaded: v2.9.10\oo2core_9_win64_2.dll

Streams: 1573 / 1576
Time: 00:00:12 (CPU 00:01:00)

Size: 76,6 MB >> 134 MB
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Dunnowho69 (13-03-2026)
  #300  
Old 14-03-2026, 01:15
SergeyVeter SergeyVeter is offline
Registered User
 
Join Date: Dec 2021
Location: Russia
Posts: 11
Thanks: 7
Thanked 0 Times in 0 Posts
SergeyVeter is on a distinguished road
Thumbs up

Quote:
Originally Posted by wrathma View Post
use this xtool config to decompress game data and compress them with srep+lolz or srep+rzs to maximize compression.

merging two different version of a game into a single archive is not a good idea. you shouldnt even compress all game data into a single archive, rather split the files up into multiple folder according to datatype and compress those folders individually using best methods for that datatype. or use arc.groups.
Thanks, but I'm already trying it, the experiment itself is interesting)
Reply With Quote
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
newbie question bigorangekitty PS2 Games 5 15-05-2002 16:51
Total newbie...dumb question...patience please! xxxMikexxx PC Games 1 02-04-2002 23:19
newbie question troi22 PS2 Games 1 28-02-2002 03:18
newbie PAL patch question for Pro Evolution Purple Cowboy PS2 Games 2 19-02-2002 12:39
Newbie question...how do I know if the game I've downloaded is Autoboot or not? konichiwa DC Games 1 23-11-2000 20:35



All times are GMT -7. The time now is 15:39.


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