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
  #1  
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
Sponsored Links
  #2  
Old 14-08-2015, 06:28
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,185
Thanked 11,211 Times in 2,309 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)
  #3  
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
  #4  
Old 14-08-2015, 04:12
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
Please Razor, Sir, Mentor

Please Add 0.43 Precomp Support
Reply With Quote
  #5  
Old 14-08-2015, 06:00
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,185
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by shadowhacker View Post
Please Razor, Sir, Mentor

Please Add 0.43 Precomp Support
This is the reason I did not add precomp043, It's because of this.
Reply With Quote
  #6  
Old 14-08-2015, 04:27
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
I am now compressing using compressor 2.1

precomp 0.42

I hope it compress just like 0.43
Reply With Quote
  #7  
Old 14-08-2015, 06:18
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
Precomp 4.2 with compressor v2.1 also not working

and why you dont add support please sir

help me

decompression failed error
Reply With Quote
  #8  
Old 14-08-2015, 06:48
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,185
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by shadowhacker View Post
Precomp 4.2 with compressor v2.1 also not working

and why you dont add support please sir

help me

decompression failed error
It works here, I downloaded the attachment from first thread, applied update too then compressed, msc+precomp+srep+lzma, I testdled 0.38 and 0.42 with or without jpg compression, still works without errors.
Reply With Quote
  #9  
Old 16-08-2015, 00:35
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
So Can You Tell Me Some Best methods of repacking
Reply With Quote
  #10  
Old 16-08-2015, 01:23
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
I Am Using Packjpg.

Is It Causing The Issue
Reply With Quote
  #11  
Old 17-08-2015, 09:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,185
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Show the picture of the error.
Reply With Quote
  #12  
Old 18-08-2015, 11:57
XxXKlemenXxX XxXKlemenXxX is offline
Registered User
 
Join Date: Feb 2015
Location: Slovenia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
XxXKlemenXxX is on a distinguished road
Question

Quote:
Originally Posted by Razor12911 View Post
Show the picture of the error.
Thanks! But it still kinda does not work... I am definitely doing something wrong. When I insert dvd 2 it does not extract it it skips directly to redists but gives no error.

Cd1:
Redist
autorun.ini
Setup-1.bin
Start.exe
Data-1.bin

CD2:
Redist
Autorun.ini
Setup-1.bin
Start.exe
Data-2.bin

Something is definitely wrong on my side and since i am no expert in this I blame the cd2... There has to be a setup-2.bin or doesnt it?

Sorry for your time!!!

Thanks in Advance!!!
Reply With Quote
  #13  
Old 17-08-2015, 12:14
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
messed up this part or you typed it wrong

arc a -lc8 -ep1 -ed -r -w.\ "Data.bin" -msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "D:\compress\*"

Data.bin -> Data-1.bin
Reply With Quote
  #14  
Old 17-08-2015, 14:28
XxXKlemenXxX XxXKlemenXxX is offline
Registered User
 
Join Date: Feb 2015
Location: Slovenia
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
XxXKlemenXxX is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
messed up this part or you typed it wrong

arc a -lc8 -ep1 -ed -r -w.\ "Data.bin" -msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 "D:\compress\*"

Data.bin -> Data-1.bin
Oh yea sorry for that. I rename the compressed bin afterwards and I have double checked.

As for the error


Oh btw Razor I know you said it is an internal error and will get fixed...but I assumed it got fixed after the update so I just wanted to make sure.

If i click ignore it gives an error for half of the other files in the folder include and when it is through it does not extract second bin. I found out that if i insert disk 1 setup finishes but that way it does not extract second bin

Last edited by XxXKlemenXxX; 17-08-2015 at 14:32.
Reply With Quote
  #15  
Old 17-08-2015, 16:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,751
Thanks: 2,185
Thanked 11,211 Times in 2,309 Posts
Razor12911 is on a distinguished road
Just uploaded a solution for your problem. Check main post.
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
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 12:19.


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