Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 13-08-2015, 22:59
shadowhacker shadowhacker is offline
Registered User
 
Join Date: Aug 2015
Location: New Zealand
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
shadowhacker is on a distinguished road
This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size
Reply With Quote
Sponsored Links
  #2  
Old 14-08-2015, 02:44
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
Quote:
Originally Posted by shadowhacker View Post
This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size
Then use PreComp 0.42 since it's officially supported by the script, viewing the changelog most of changes in 0.43 concern JPG compression option :
Code:
Linux: Added JPG recompression using PackJPG, full compatibility of Windows and Linux PCF files
Linux: zLib routines are now as fast as under Windows
Windows: Locked files can be read now, multiple Precomp instances can work on the same file
Windows: Static zLib and PackJPG linking (no DLLs needed)
Major GIF rewrite, Precomp now recompresses most GIF files completely
New switch -n for conversion of PCF files (bZip2 <-> no compression)
Compression switch -c uses n (none) instead of - now
Improved timing behaviour and activity indicator updates
Updated to PackJPG 2.5, this fixes JPG crashes
JPG misdetections are now visible in statistics
Filenames are stored in their original case now to improve platform compatibility
Fixed a bug with GIF files at positions above 2 GB
Fixed a bug that led to unnecessary data in PCF files
Fixed a bug in Base64 routines that freezed Precomp
You can ask razor what to change/add in the decompression's formulas to use precomp 0.43 with WPI without crashes.

Last edited by toto621; 14-08-2015 at 02:50.
Reply With Quote
  #3  
Old 14-08-2015, 06:28
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,761
Thanks: 2,192
Thanked 11,250 Times in 2,319 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by shadowhacker View Post
This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size
You're missing the point of precomp. Precomp must not compress the file, in fact, to get good results, the output must beca lot bigger than the input, it even says that in the readme file that came with the exe. If precomp makes the result smaller than input, then do not expect results. I set precomp 0.38 as default for a reason, it does the job perfectly, the output is always bigger than input, unlike the new precomps (041, 042, 043). Precomp 043 will not work just like that, it's complicated, that's why it isn't added on most of my programs, you have to update cls-precomp.dll, you have to inject dll or something like that to make it work, another problem, you don't just use precomp for all files, check the readme or use trial and error because sometimes the final results are even better when you didn't use precomp.
Here's proof:

Input was 10mb.
Precomp038 made it 27mb
Precomp040 made it 27mb
Precomp041 made it 3.3mb
Precomp042 made it 3.3mb
Precomp043 made it 3.3mb

I used a strong compressor from the work of precomp, I used 7-Zip Solid LZMA2.
For precomp038 27mb became 2.5mb
For precomp040 27mb became 2.5mb
For precomp041 3.3mb became 3.3mb
For precomp042 3.3mb became 3.3mb
For precomp043 3.3mb became 3.3mb
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
toto621 (14-08-2015)
  #4  
Old 14-08-2015, 07:04
toto621 toto621 is offline
Registered User
 
Join Date: Jul 2015
Location: The World
Posts: 71
Thanks: 42
Thanked 47 Times in 23 Posts
toto621 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
You're missing the point of precomp. Precomp must not compress the file, in fact, to get good results, the output must beca lot bigger than the input, it even says that in the readme file that came with the exe. If precomp makes the result smaller than input, then do not expect results. I set precomp 0.38 as default for a reason, it does the job perfectly, the output is always bigger than input, unlike the new precomps (041, 042, 043). Precomp 043 will not work just like that, it's complicated, that's why it isn't added on most of my programs, you have to update cls-precomp.dll, you have to inject dll or something like that to make it work, another problem, you don't just use precomp for all files, check the readme or use trial and error because sometimes the final results are even better when you didn't use precomp.
Here's proof:

Input was 10mb.
Precomp038 made it 27mb
Precomp040 made it 27mb
Precomp041 made it 3.3mb
Precomp042 made it 3.3mb
Precomp043 made it 3.3mb

I used a strong compressor from the work of precomp, I used 7-Zip Solid LZMA2.
For precomp038 27mb became 2.5mb
For precomp040 27mb became 2.5mb
For precomp041 3.3mb became 3.3mb
For precomp042 3.3mb became 3.3mb
For precomp043 3.3mb became 3.3mb
That's really interesting, thx to your explanation I now understand how it really work
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1613 03-10-2024 01:24
Windows XP - Tricks gargujjwal Software 3 25-05-2008 02:54
Error Windows Installer: Command And Conquer 3 Kane Edition glfsd PC Games 14 24-01-2008 06:00
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



All times are GMT -7. The time now is 00:45.


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