FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Windows Phone Installer (WPI) (https://fileforums.com/showthread.php?t=96242)

shadowhacker 13-08-2015 12:40

Facing Same Error After THis Modified Script

By The Way The Script i Use:

Quote:

arc a -ep1 -r -w.\ -mprecomp+srep+delta+lzma:256mb:mfbt4:d256m:fb273:m c1000:lc8 -hp -pcorepack.4156 -dp"%choice1%" .\RER\%arc%

shadowhacker 13-08-2015 12:42

and using freearc script

toto621 13-08-2015 12:46

Like I already wrote, only Compressor 2.2 is supported with WPI script. Check which options compressor use and modify your script to match it or try to modify WPI decompression's formulas to match your compression script if you think you can handle it.

shadowhacker 13-08-2015 22:59

This Script Work Fine With The Installer if i remove precomp

but precomp compress a lot size

toto621 14-08-2015 02:44

Quote:

Originally Posted by shadowhacker (Post 442548)
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.

shadowhacker 14-08-2015 04:12

Please Razor, Sir, Mentor

Please Add 0.43 Precomp Support

shadowhacker 14-08-2015 04:27

I am now compressing using compressor 2.1

precomp 0.42

I hope it compress just like 0.43

Razor12911 14-08-2015 06:00

Quote:

Originally Posted by shadowhacker (Post 442555)
Please Razor, Sir, Mentor

Please Add 0.43 Precomp Support

This is the reason I did not add precomp043, It's because of this.

shadowhacker 14-08-2015 06:18

Precomp 4.2 with compressor v2.1 also not working

and why you dont add support please sir

help me

decompression failed error

Razor12911 14-08-2015 06:28

Quote:

Originally Posted by shadowhacker (Post 442548)
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

Razor12911 14-08-2015 06:48

Quote:

Originally Posted by shadowhacker (Post 442560)
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.

toto621 14-08-2015 07:04

Quote:

Originally Posted by Razor12911 (Post 442562)
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 :)

shadowhacker 16-08-2015 00:35

So Can You Tell Me Some Best methods of repacking

shadowhacker 16-08-2015 01:23

I Am Using Packjpg.

Is It Causing The Issue

XxXKlemenXxX 17-08-2015 09:10

Quote:

Originally Posted by pakrat2k2 (Post 442407)
Look at post #45 screenshot, it will easily tell why you DONT have disk spanning working properly. You have to set disk #, with the archive name, for the second disk.

IE:
Archive1Source={src}\data1.cab
Archive1Output={app}
Archive1Disk=1
Archive2Source={src}\data2.cab
Archive2Output={app}
Archive2Disk=2

see the difference?

I have it setup exactly as you said and it is not working same error as before...Maybe I have messed up somewhere else...Let me give a little bit more detail...

So I have script setup as you said.
On cd 1 I have:
Start.exe
autorun.ini
Redist --> with all redists inside
Data-1.bin --> compressed with:

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

Cd 2 is the same only that I have Data-2.bin

And also what exactly is Setup-1.bin, I get only 1 for 2 cds... I probably messed up somewhere here.

Thanks in Advance!


All times are GMT -7. The time now is 16:57.

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