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)

1234567890123 24-09-2017 05:25

Razor Compression
 
2 Attachment(s)
here is mine compressor and wpi script you can change everything like me :p this is only for x64 and 8gb ram and higher.

what is the difference to other compressors?
-there is a new compressor called razor.it is slow at compression like nanozip... but it also had fastest decompession speed with finest ratio :cool: i think the main point must be decompression speed
-precomp 0.46 offically released but i removed precomp-multithread because of the ratio (plss Razor12911 release new cls for it :D )
-includes ztool (it's for persons that not use ztool)
-i removed tiles in wpi because i don't like complicated setups.
-Script has turkish language between english (no option to pick)
-in arc.ini i added most important methods (for me - you can change)

i used it on so many games what i realized?;
-generally msc_tak is very fast than msc_frog but msc_frog gives a bit less mbs
-precomp gives better ratio than pzlib but soo slow.but it's fast at decompression
-razor don't need srep i didn't see size difference with srep without srep
- if you want optimal compression pzlib+msc_tak+srep+xz still best,if you want best compression ratio precomp+msc_frog+srep+nzmax,if you want fast decompression with fine ratio precomp+msc_frog+razor is the best one i realized

-in razor there is no progress show (need cls)
-when i add more masks freearc is not using true methods for true files so there is just 2 masks. (any help?)

darkwolves 25-09-2017 09:50

good setup you got there

bunti_o4u 30-09-2017 05:17

WinTB fetching error on clicking cancel and finish button
 
here is the code which causing error:

Win7TaskBar10();

How to kill this in DeinitializeSetup section.

Chayan Manna 30-09-2017 07:35

Quote:

Originally Posted by bunti_o4u (Post 462766)
here is the code which causing error:

Win7TaskBar10();

How to kill this in DeinitializeSetup section.

It should be halted by itself, No code should be required.
Anyway, Try This, it may help.....
Code:

procedure iswin7_free; external 'iswin7_free@files:iswin7.dll stdcall';
procedure DeinitializeSetup();
begin
  iswin7_free;
end;


bunti_o4u 30-09-2017 10:26

Quote:

Originally Posted by Chayan Manna (Post 462770)
It should be halted by itself, No code should be required.
Anyway, Try This, it may help.....
Code:

procedure iswin7_free; external 'iswin7_free@files:iswin7.dll stdcall';
procedure DeinitializeSetup();
begin
  iswin7_free;
end;


thnx for reply but its not working.

Chayan Manna 30-09-2017 21:39

1 Attachment(s)
Quote:

Originally Posted by bunti_o4u (Post 462773)
thnx for reply but its not working.

Example of WinTB....

darkwolves 03-10-2017 01:32

Quote:

Originally Posted by Chayan Manna (Post 462784)
Example of WinTB....

i messed with that script i have used it to install more than one game and it works fine there seems to be more of a problem with repacking that game..
i obtained it and repacked it and it began messing up

pakrat2k2 03-10-2017 06:34

from post 569 on previous page by Chayan Manna

bunti_o4u 03-10-2017 11:12

Need help on Next Button in case free space is less then required space
 
Quote:

Originally Posted by Chayan Manna (Post 462784)
Example of WinTB....

thnx winTB bug has been fixed.

I have another bug which causing the next button layout as enabled though next button is disabled.

Pl suggest the changes.

I am using the below code:

if (FreeMB<{#AppSize}) then begin
ButtonSetEnabled(NextBtn1, False);
FreeSpaceLabel.Font.Name:='Segoe UI SemiBold';
FreeSpaceLabel.Font.Color:=clRed;
end else begin
ButtonSetEnabled(NextBtn1, True);
FreeSpaceLabel.Font.Name:=PartitionSpaceLabel.Font .Name;
FreeSpaceLabel.Font.Color:=PartitionSpaceLabel.Fon t.Color;
end;

darkwolves 03-10-2017 11:24

Quote:

Originally Posted by bunti_o4u (Post 462834)
thnx winTB bug has been fixed.

I have another bug which causing the next button layout as enabled though next button is disabled.

Pl suggest the changes.

I am using the below code:

if (FreeMB<{#AppSize}) then begin
ButtonSetEnabled(NextBtn1, False);
FreeSpaceLabel.Font.Name:='Segoe UI SemiBold';
FreeSpaceLabel.Font.Color:=clRed;
end else begin
ButtonSetEnabled(NextBtn1, True);
FreeSpaceLabel.Font.Name:=PartitionSpaceLabel.Font .Name;
FreeSpaceLabel.Font.Color:=PartitionSpaceLabel.Fon t.Color;
end;

lower the game size like i said i have installed games with the script
if it detects you don't have enough disk space based on you're settings it will disable the buttons

bunti_o4u 03-10-2017 11:29

Quote:

Originally Posted by darkwolves (Post 462835)
lower the game size like i said i have installed games with the script
if it detects you don't have enough disk space based on you're settings it will disable the buttons

I know it will disable the next button if game size is greater then free space. my only concern is that layout is appearing as enabled. if i select different drive (selected drive also doesn't have enough space) and then layout is changing automatically.

darkwolves 03-10-2017 11:33

Quote:

Originally Posted by bunti_o4u (Post 462836)
I know it will disable the next button if game size is greater then free space. my only concern is that layout is appearing as enabled. if i select different drive (selected drive also doesn't have enough space) and then layout is changing automatically.

it doesn't do that to me it's running like any other wpi installer

darkwolves 03-10-2017 11:36

Quote:

Originally Posted by bunti_o4u (Post 462836)
I know it will disable the next button if game size is greater then free space. my only concern is that layout is appearing as enabled. if i select different drive (selected drive also doesn't have enough space) and then layout is changing automatically.

upload the wpi please let me see it

bunti_o4u 03-10-2017 11:37

Quote:

Originally Posted by darkwolves (Post 462837)
it doesn't do that to me it's running like any other wpi installer

Can u pl take a look at the screenshots i have uploaded.

darkwolves 03-10-2017 11:40

Quote:

Originally Posted by bunti_o4u (Post 462839)
Can u pl take a look at the screenshots i have uploaded.

i did look at them but looking at screenshots and disabled buttons can only leads to assumptions and not the true problem at hand

bunti_o4u 03-10-2017 11:41

Quote:

Originally Posted by darkwolves (Post 462838)
upload the wpi please let me see it

uploaded.

darkwolves 03-10-2017 11:49

Quote:

Originally Posted by bunti_o4u (Post 462841)
uploaded.

i am not seeing any problems i have the exact same script clock and lockscreen features removed but why may i ask do you keep setting the game size that high?

bunti_o4u 03-10-2017 11:51

Quote:

Originally Posted by darkwolves (Post 462842)
i am not seeing any problems i have the exact same script clock and lockscreen features removed but why may i ask do you keep setting the game size that high?

I am not going to keep the game size that large. I am just testing the codes whether they are working as intended.

darkwolves 03-10-2017 11:55

Quote:

Originally Posted by bunti_o4u (Post 462843)
I am not going to keep the game size that large. I am just testing the codes whether they are working as intended.

like i said i am not seeing any problems it works just fine

bunti_o4u 03-10-2017 11:58

Quote:

Originally Posted by darkwolves (Post 462844)
like i said i am not seeing any problems it works just fine

thnx for your reply

As I posted earlier I had three bugs out of which two have been fixed. only this bug is left.

bunti_o4u 03-10-2017 12:07

Quote:

Originally Posted by darkwolves (Post 462846)
the only bug i see in it is it will say eternity for time when installing after a bit
i always ignore that because they still install

I have installed 6 games using this script and didn't come to that bug yet. check using this script.

darkwolves 03-10-2017 19:27

Quote:

Originally Posted by bunti_o4u (Post 462847)
I have installed 6 games using this script and didn't come to that bug yet. check using this script.

it only happens when i install bigger games highly compressed
like for example my arkham knight is like 52 gigs after install
but its compressed down to 24.6 gigs
also mine is going to go public with a compressor to go with it

darkwolves 03-10-2017 23:48

Quote:

Originally Posted by bunti_o4u (Post 462847)
I have installed 6 games using this script and didn't come to that bug yet. check using this script.

how large is the game?

bunti_o4u 04-10-2017 01:50

Quote:

Originally Posted by darkwolves (Post 462851)
how large is the game?

I am using this script for games <2gb of installtion size

darkwolves 04-10-2017 02:25

Quote:

Originally Posted by bunti_o4u (Post 462853)
I am using this script for games <2gb of installtion size

ah alot of mine are much larger WWE2k17 is like 54 gigs unpacked and 29 gigs packed
another one i got is resident evil 7 fully updated 27 gigs unpacked 15 gigs packed
that is probably why you never see it say eternity lol

bunti_o4u 04-10-2017 09:23

Quote:

Originally Posted by bunti_o4u (Post 462834)
thnx winTB bug has been fixed.

I have another bug which causing the next button layout as enabled though next button is disabled.

Pl suggest the changes.

I am using the below code:

if (FreeMB<{#AppSize}) then begin
ButtonSetEnabled(NextBtn1, False);
FreeSpaceLabel.Font.Name:='Segoe UI SemiBold';
FreeSpaceLabel.Font.Color:=clRed;
end else begin
ButtonSetEnabled(NextBtn1, True);
FreeSpaceLabel.Font.Name:=PartitionSpaceLabel.Font .Name;
FreeSpaceLabel.Font.Color:=PartitionSpaceLabel.Fon t.Color;
end;

Can someone help on this??

Chayan Manna 06-10-2017 06:07

Quote:

Originally Posted by darkwolves (Post 462829)
i messed with that script i have used it to install more than one game and it works fine there seems to be more of a problem with repacking that game..
i obtained it and repacked it and it began messing up

This is just a example of WinTB to use in all inno setups, & not a good script. Just grab the functions and the idea & use them in your script.

Chayan Manna 06-10-2017 06:20

Quote:

Originally Posted by bunti_o4u (Post 462862)
Can someone help on this??

Hmm.. I think this code is only added in dironchange function, that's why it's getting disabled when you change the drive. This code must also added in nextbuttonclick function in wpWelcome. Try it, not sure :)

darkwolves 10-10-2017 00:10

Quote:

Originally Posted by Chayan Manna (Post 462903)
This is just a example of WinTB to use in all inno setups, & not a good script. Just grab the functions and the idea & use them in your script.

mine works fine he was originally using it on prince of persia the two thrones
i already made changes and use it as my main installer clock and corepack like markings have also been removed i used it to install arkham knight works beautifully
for me:D
it was just that prince of persia game each time i repacked it the folders containing the files shrank they kept slowly disappearing...

darkwolves 10-10-2017 00:12

Quote:

Originally Posted by bunti_o4u (Post 462976)
I have tested the script with 9GB (compressed 6GB) game and its working fine.

try bigger if you got the space

bunti_o4u 10-10-2017 06:01

Quote:

Originally Posted by darkwolves (Post 462999)
it was just that prince of persia game each time i repacked it the folders containing the files shrank they kept slowly disappearing...

What do mean by this?

darkwolves 11-10-2017 10:26

Quote:

Originally Posted by bunti_o4u (Post 463003)
What do mean by this?

what that means is each time i tried to repack the prince of persia game you posted before the folder i moved the files to to be compressed got smaller each time the files were vanishing making an incomplete repack with files missing

MMBDON 11-10-2017 10:32

Sir, Please provide this script!

darkwolves 11-10-2017 11:35

Quote:

Originally Posted by MMBDON (Post 463036)
Sir, Please provide this script!

wich version do you want his or mine?

ramazan19833 11-10-2017 12:03

Hello darkwolves
 
is it possible to share the game compression and setup scenario that you use?

darkwolves 11-10-2017 12:16

Quote:

Originally Posted by ramazan19833 (Post 463038)
is it possible to share the game compression and setup scenario that you use?

the setup depends on the game there is no one right method that works
pretty much you have to take chunks of the game and do tests on them
and find out what they are weakest to compression wise..
some games are weak to pzlib and precomp others they have no effect on
so....
i cannot give one all powerful method that will give ungodly game compression.
to each and every game on the market

bunti_o4u 11-10-2017 12:23

Quote:

Originally Posted by darkwolves (Post 463039)
the setup depends on the game there is no one right method that works

Can you share the tool which you are using to compress the game.
I have this tool only and it works fine on games (uncompressed) less then 10 GB.
If game is more than 10 GB it is taking hell lot of time and compress ratio is also not good.

bunti_o4u 11-10-2017 12:27

1 Attachment(s)
Quote:

Originally Posted by MMBDON (Post 463036)
Sir, Please provide this script!

Here it is..

darkwolves 11-10-2017 12:34

Quote:

Originally Posted by bunti_o4u (Post 463040)
Can you share the tool which you are using to compress the game.
I have this tool only and it works fine on games (uncompressed) less then 10 GB.
If game is more than 10 GB it is taking hell lot of time and compress ratio is also not good.

yes that i can do just give me a minute to get it ready i am including the wpi too

bunti_o4u 11-10-2017 12:34

Quote:

Originally Posted by darkwolves (Post 463035)
what that means is each time i tried to repack the prince of persia game you posted before the folder i moved the files to to be compressed got smaller each time the files were vanishing making an incomplete repack with files missing

Its weird coz I repacked so many games with the same script and didn't face such issue..lol


All times are GMT -7. The time now is 02:10.

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