FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Masked Compression (Ultimate compression in one go) (https://fileforums.com/showthread.php?t=97530)

Amsal 17-01-2016 18:10

Quote:

Originally Posted by panker1992 (Post 446214)
Razaman ....
imagine 500 people sending files to me to optimize for them ....
i provided a tool and 2 Inno setups to support it along with a "Decomp Tool"
i cannot forever optimize all source codes that are sent to me,

please give me time to respond, i work on several projects , have a job , and i optimize and troubleshoot for everyone here

I have posted before that I will not ever again optimize someone else's code and i mean it

I can see that you have everything mixed up again :(

Panker1992, if you are tired, then you can forward the private messages to me, I will do that, even I done that with my script also, and now it support! So if you need help of optimizing inno then you can contact me!

panker1992 18-01-2016 02:57

Greet Masked Compression v 2.1

many bugs fixes and new updates and optimizations
pacckjpg.exe, zstd

also i rewrote the front page, people should read that first before posting

@Amsal

personally i try to help everyone, but i cannot optimize every inno that i receive
i simply dont have soooo much time do that
can you help your friend razaman with his work ?? he needs to optimize the script

Amsal 18-01-2016 03:26

Quote:

Originally Posted by panker1992 (Post 446223)
Greet Masked Compression v 2.1

many bugs fixes and new updates and optimizations
pacckjpg.exe, zstd

also i rewrote the front page, people should read that first before posting

@Amsal

personally i try to help everyone, but i cannot optimize every inno that i receive
i simply dont have soooo much time do that
can you help your friend razaman with his work ?? he needs to optimize the script

Bro, can you upload new 6G,8G,12G,16G ram optimization, because I seen that The arc.ini is a lot different from the ram optimization. So upload new one!

panker1992 18-01-2016 03:30

aaa yes :D i forgot to change that

give me 2 minutes :)


its ok now , ram optimals are working again

Amsal 18-01-2016 03:42

Now bro, can you tell me which method is best for repacking

panker1992 18-01-2016 04:16

strong or ultra :D

refl8 and devastate are both BETA
do not attempt to use for generic usage just yet :)

i have 2 methods for fast
optimal and 2 ultra ones

and 2 BETA refl8 and devastate are not for public yet

Amsal 18-01-2016 04:41

And bro, when you have time, tell me please which is the best compression algo for the Mortal Kombat X with update 20

Razor12911 18-01-2016 06:19

Quote:

Originally Posted by panker1992 (Post 446209)
@Amsal my bink Re-encoding isnt made for linux ....

i am arch linux user myself :D i can share my work with you , because i compile programs for linux environment too, i will make a bink re-encoding for linux too soon


for example i have zpaq, lz4, lz5, zstd precomp 0.45 on linux natively
but at the moment linux will have to wait because i work on new project :)


now as for masked compression v3

there is one thing that bothers me, unless Razor decides to help we will have a huge problem

i have contacted Christian the author of precomp for tak, Wav sound lossless codec
to be implemented on precomp

the problem is this : there is no stdout support on precomp .... and neither a working cls-precomp.dll

this causes a real problem, decompression will take twice the amount of time to decomp

and progress bar on inno will never work .....

What is it bro?

panker1992 18-01-2016 06:35

Tutorial cls-.dll c++ knowledge needed
 
1 Attachment(s)
Razor bro,

here you are this is a cls-test.dll

its included inside freearc, for cls.dll tutorial

i am sending you also precomp 0.45 code along with a exe file
can you help with cls-precomp.dll

cls-precomp.dll can be in delphi ~~~~~ because you speak delphi

romulus_ut3 18-01-2016 06:38

No love for 4G ram users?

panker1992 18-01-2016 06:43

Quote:

Originally Posted by romulus_ut3 (Post 446238)
No love for 4G ram users?


your pc will die :P

but you can change the parameters in arc.ini

nanozip there a memory limiter where is says memory instead of 2g replace with 1g

xz and lz77

use memory = d100 for lz77
and memory = d50 for xz

and prey it works :P

lzt will never work so dont even bother :P

Razor12911 18-01-2016 07:43

Panker, you do realize that cls isn't the only way to make precomp show progress during installation. If cls is a problem or is a difficult approach , why not make use handle streams for decompression?

The arc.ini will look like this
precomp -r -o- - <stdin> <stdout>.

panker1992 18-01-2016 08:38

it's the first time i hear handle streams for decompression :/

precomp -r -o- - <stdin> <stdout>

this command never worked, precomp doesnt support it

took an error

Razor12911 19-01-2016 06:38

You have to edit the source and make it possible. That cls thing is very complicated even for me,
I don't know about CPP but on delphi, there is a type of stream that works with handles.
You just detect a certain type of handle, which is simple, just detect stdin and stdout.
You don't have to worry of how to exchangd data between freearc and precomp, with handles all you have to do is read using the stdin handle stream thenfrom there you let precomp handle the data then you send the output back to freearc, simple as that, progress will move automatically. The only tip I can give you is to never write anything on cmd window because that is also regarded as stdout data.

Here is a simple example but in delphi

var
hs1, hs2: THandleStream;

begin
hs1:= Thandlestream.create(GetStdHandle(STD_INPUT_HANDLE )) ;
hs2:= THandleStream.create(GetStdHandle(STD_OUTPUT_HANDL E));
hs1.read.... or use copyfrom to get data directly from freearc <stdin>
//precomp should process the data here...
hs2.write or hs2.copyfrom to send the processed/unpacked data back to freearc //this moves the progress bar.


If I knew the header structure of precomp, I could make precomp that uses stdin and stdout for unpacking to show progress.

panker1992 19-01-2016 06:45

this post will get me somewhere :) i am at the university at the moment giving advance economic exams :P

damn i will get to this after i finish my studies here because it seems very interesting

thanks razor

at the moment i want to do this and edit precomp source to make it use stdin name for tempfiles so it can be used parallel

for example

for *.zip || ppx2 -P %Number_of_Processors% precomp intense0 -cn -zl98 -d1 file.pcf

will be able to not conflict between multiusage :)


All times are GMT -7. The time now is 01:07.

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