FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Helping thread :) (https://fileforums.com/showthread.php?t=98274)

78372 28-05-2017 08:19

Quote:

Originally Posted by rohandebroy (Post 459237)
How rg mechanics add intro in their repacked games?

By creating a simple bik file using rad tools and replacing the original intro of the game with the one the made

rohandebroy 28-05-2017 08:56

Quote:

Originally Posted by 78372 (Post 459238)
By creating a simple bik file using rad tools and replacing the original intro of the game with the one the made

but i think they don't replace intro files as most of the files they repack have full intros

78372 28-05-2017 08:58

Quote:

Originally Posted by rohandebroy (Post 459240)
but i think they don't replace intro files as most of the files they repack have full intros

Get the original game and than see the difference

rohandebroy 28-05-2017 09:17

heard someone said that we can use "Winhex to capture archive passwords during setup installation" so how to do that :confused:

rohandebroy 28-05-2017 09:37

1 Attachment(s)
Last question where can i get the script for this installer.

78372 28-05-2017 09:59

Grab Winhex and try yourself. And this installer is based on Windows Phone Installer by Razor12911. It's modified version. Grab the installer from WPI thread.

rohandebroy 28-05-2017 10:46

Quote:

Originally Posted by 78372 (Post 459246)
Grab Winhex and try yourself. And this installer is based on Windows Phone Installer by Razor12911. It's modified version. Grab thr installet from WPI thread.


Already tried winhax but could not use it to do what i require

rohandebroy 28-05-2017 12:18

Quote:

Originally Posted by 78372 (Post 459238)
By creating a simple bik file using rad tools and replacing the original intro of the game with the one the made

Bro thank you

I did it by increasing the playback speed of the original game video and then i joined my own intro to the edited game video and voila it worked perfectly.

Andu21 29-05-2017 04:52

Anyone knows a good method to losslessly recompress ogg files?

rohandebroy 31-05-2017 10:31

how to crate a installer that optimises itself to extract on slowly on pcwith low ram and to extractfaster on pc withhigh ram.

KaktoR 31-05-2017 11:53

I would say (for logic :D) define some system specs.

When low RAM is detected, Setup uses low RAM settings.

But, i don't can give you a example now.

I am sure some experienced users can give you some hints.

rohandebroy 01-06-2017 02:34

Quote:

Originally Posted by KaktoR (Post 459359)
I would say (for logic :D) define some system specs.

When low RAM is detected, Setup uses low RAM settings.

But, i don't can give you a example now.

I am sure some experienced users can give you some hints.

This is what i wanted to ask so does anyone have any idea how to do this.

78372 05-06-2017 08:29

Anyone can give me the download link of latest freearc(September 2014 maybe)? I want full version, not only arc.exe

kassane 05-06-2017 09:23

1 Attachment(s)
Quote:

Originally Posted by 78372 (Post 459496)
Anyone can give me the download link of latest freearc(September 2014 maybe)? I want full version, not only arc.exe

This.

78372 05-06-2017 09:27

Bro, just as I said, I need full version(with unarc.dll etc.), not arc.exe

kassane 05-06-2017 09:34

The latest full version is March 2014. Never announced a new version to the public!

Edit:

The latest unarc release from jully 2014. Probably with htmlarc support.

KaktoR 05-06-2017 09:57

I have installed v0.67 (March 2014).

I don't have the installer, but i can give you pre-installed folder if you wish.

pakrat2k2 05-06-2017 10:01

1 Attachment(s)
Freearc Alpha 0.67

78372 05-06-2017 10:19

Got something to give a try, thanks for helping

L0v3craft 06-06-2017 12:29

Someone here can explain to me how to repack Dishonored 2 in a good way ?

I seen some repack of 22GB. I know those repackers used reflate.

I tested reflate on a little file (game1_004.resources | 595Mb) and it is so slow ! I can't imagine how can be slow on other big files ! Someone can help me to understand ?

KaktoR 06-06-2017 12:39

Have this game any deflate streams at all?

Haven't checked yet.

Try to unpack game files, compress them, then pack the files to it's original again and make sure md5 is the same.

L0v3craft 06-06-2017 13:09

Quote:

Originally Posted by KaktoR (Post 459532)
Have this game any deflate streams at all?

Haven't checked yet.

Try to unpack game files, compress them, then pack the files to it's original again and make sure md5 is the same.

I checked with Zlib Checker Pro and it freezes on big files:

game2.resources | 6.01GB
game3.resources | 5.87GB
shared_2_3.sharedrsc | 7.87GB

Btw the program didn't freeze on the first file and found some stream inside game1.resources (7.28GB).

Someone suggested to me to use reflate. I tried with reflate 1500 by razor on a little file like I said and it is very slow. It takes more than 10 minutes to install LOL.

Tried with pzlib v3.2 and these parameters:

pzlib e -t8 -ct8 -c256m -b512k -r9

and it makes a very good work but I get error of crc mismatch with the installation. These .resources files given to me problems with pzlib and The Sims 4 files too. Seems like pzlib damages .resources files.

Anyone here can give to me the best version of reflate and pack command for arc.ini file(I'm using masked data compressor) ?

KaktoR 06-06-2017 13:49

Use this instead, it's better and not freezing at all (even with 19gb single file).
http://fileforums.com/showthread.php?t=98731

This settings should work without problems

packcmd = pZLib e -m2 -x -c32m -t25p - -o - $$arcdatafile$$.tmp -o - <stdout> -v
unpackcmd = pZLib d -t100p - -o - <stdin> <stdout>

And Sims 4 decompression is OK here. So no problems with resource files.

And for reflate, use reflateapi -> http://krinkels.org/resources/reflate-api.247/

It's faster.

L0v3craft 06-06-2017 16:16

Quote:

Originally Posted by KaktoR (Post 459536)
Use this instead, it's better and not freezing at all (even with 19gb single file).
http://fileforums.com/showthread.php?t=98731

This settings should work without problems

packcmd = pZLib e -m2 -x -c32m -t25p - -o - $$arcdatafile$$.tmp -o - <stdout> -v
unpackcmd = pZLib d -t100p - -o - <stdin> <stdout>

And Sims 4 decompression is OK here. So no problems with resource files.

And for reflate, use reflateapi -> http://krinkels.org/resources/reflate-api.247/

It's faster.

Thanks for your help. Btw I'm trying reflateapi with a file (game1_004.resources / 595MB) and you can see here how much time it takes:

https://s10.postimg.org/urlw88mcl/Immagine.png

reflate seems to be slow like a snail. Never seen this with pzlib.

I have an Intel Xeon E3-1230 v3 and I'm using this command for reflate:

reflate c/d -l8 -t8 $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp

I tried with "l6" too, but it is the same. Any suggestion ?

Edit: I solved the problem, like an idiot I used "c/d" for compression XD

mikey26 06-06-2017 18:08

Quote:

Originally Posted by L0v3craft (Post 459540)
Thanks for your help. Btw I'm trying reflateapi with a file (game1_004.resources / 595MB) and you can see here how much time it takes:

https://s10.postimg.org/urlw88mcl/Immagine.png

reflate seems to be slow like a snail. Never seen this with pzlib.

I have an Intel Xeon E3-1230 v3 and I'm using this command for reflate:

reflate c/d -l8 -t8 $$arcdatafile$$.tmp -o $$arcpackedfile$$.tmp

I tried with "l6" too, but it is the same. Any suggestion ?

Reflate is slow.but that Xeon is not going to make any difference cause that cpu only boosts to 3.7ghz on 1 core on normal boards thats why its so slow.

But if you have a good asrock mobo with the right bios you can get it to boost at 3.7ghz on all 4 cores and that will improve alot on your repacking not only with reflate but with other compressions.and a good hdd or ssd will help also.

rohandebroy 07-06-2017 11:08

How to compress ext4fs image file

Andu21 08-06-2017 05:30

How can i terminate a process after a succesful extraction or after hitting cancel, in Isdone 0.6 script?

Gupta 09-06-2017 05:24

Exec(ExpandConstant('{sys}\taskkill.exe'), ' /F /IM pZLib.exe{YOUR EXE NAME HERE IS PZLIB}', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);

Andu21 10-06-2017 05:42

Working great so far Gupta, i have another question, how can i run more parallel runs/threads of the same program to speed decompression in said script?

note: The program doesn't have -t4 option or something similar.

Gupta 10-06-2017 06:08

Replace below function with the function here in this script
i am not gonna explain furthur details you have to answer it yoursef

Code:

function EXEC_UNPACK( const Exec , Option , inFiles, inDir : string; Deldest : boolean): boolean;
var
  ExecError :boolean;
  FindHandle1, ColFiles1, CurIndex1 : Integer;
  InFilePath, OutFilePath, OutFileName : PAnsiChar;
  temp : string;
  #ifdef ppx2
    Str : array of string;
    cmd : string;
    i : integer;
  #endif
begin
  FindHandle1:=ISFindFiles(0,inFiles,ColFiles1);
  ExecError:=false;
  #ifndef ppx2
    while not ExecError and ISPickFilename(FindHandle1,inDir,CurIndex1,DelDest) do
    begin
      temp := option;
      InFilePath:=ISGetName(0);
      OutFilePath:=ISGetName(1);
      OutFileName:=ISGetName(2);
      StringChangeEx(temp,'<infile>',InFilePath,true);
      StringChangeEx(temp,'<outfile>',OutFilePath,true);
      ExecError:=not ISExec(0, 0, 0, Exec,temp,ExpandConstant('{tmp}'),OutFileName,false);
    end;
  #else
    i := 1;
    CreateDir(ExpandConstant('{tmp}\Bat'));
    while not ExecError and ISPickFilename(FindHandle1,inDir,CurIndex1,false) do
    begin
      temp := option;
      InFilePath:=ISGetName(0);
      OutFilePath:=ISGetName(1);
      OutFileName:=ISGetName(2);
      StringChangeEx(temp,'<infile>',InFilePath,true);
      StringChangeEx(temp,'<outfile>',OutFilePath,true);
      Cmd := '"' + Exec + '" ' + temp;
      SaveStringToFile(ExpandConstant('{tmp}\bat\rest'+inttostr(i)+'.bat'),Cmd,False);
      i := i + 1;
      temp := '';
    end;
    if delDest then
      setArrayLength(Str,3)
    else
      setArrayLength(Str,2);
    Str[0] := 'title Restoring File';
    Str[1] := 'dir /b *rest*bat | "' + ExpandConstant('{tmp}\ppx2.exe') + '" -I {} -P %NUMBER_OF_PROCESSORS% -L 1 "{}"';
    if deldest then
      Str[3] := 'del /q /s  ' + inFiles ;
    SaveStringsToFile(ExpandConstant('{tmp}\Bat\Cmd_Master.bat'),Str,false);
    MsgBox('Wainting',mbInformation,mrOk);
    ExecError := not ISExec( 0, 0, 0, ExpandConstant('{tmp}\bat\Cmd_Master.bat'), '', ExpandConstant('{tmp}'), 'Restoring Files..',false) ; // Launches Batch File
    deltree(ExpandConstant('{tmp}\Bat'),true,true,true);
  #endif
  ISFindFree(FindHandle1);
  Result := ExecError;
end;


Andu21 10-06-2017 06:19

Fair enough, i will do my best to figure it out, thanks again.

rohandebroy 16-06-2017 11:36

Quote:

Originally Posted by Razor12911Lover (Post 459704)
anyone can tell how to know password of an freearc archive
i have a file so i want to extract it with my setup.exe
it's rg mechanics repacked archive please tell me
it's saints row the third'

Repackers used password on their archives so that no one can use their compressed archives for Pirating. And there's no such way of getting the password but u can brute force it. And the better option is to repack game by yourself and then use your own installer. :)

Viper645 23-06-2017 10:41

Just a query(needed for a work) Is compression of srep 1.5(Yes, 1.5, no other version) superior than latest rep?

Bulat 28-06-2017 09:18

Quote:

Originally Posted by Viper645 (Post 460021)
Just a query(needed for a work) Is compression of srep 1.5(Yes, 1.5, no other version) superior than latest rep?

no. but it can be made equivalent to modern -m4 which is very close to maximum compression provided by the -m5

Viper645 28-06-2017 09:26

Many many thanks bro
But what's meant by "it can be made"?

Bulat 28-06-2017 11:25

there is the combination of options

doofoo24 28-06-2017 23:10

i been using srep with m5f -l16 -c8 -a1 it help with 4x4:lzma:a1:mfbt4:d1m:fb273:mc10000:lc8,
but when try to use lzma:a1:mfbt4:d1024m:fb273:mc10000:lc8 i get almost the same ratio but when i change srep to m3f -l512 -c256 -a1 and use lzma:a1:mfbt4:d1024m:fb273:mc10000:lc8 i get better ratio in the end...
what the best setting for srep to use with 4x4:lzma:a1:mfbt4:dm:fb273:mc10000:lc8

Viper645 02-07-2017 17:48

Quote:

Originally Posted by Bulat (Post 460239)
there is the combination of options

Can you please explain?

Bulat 02-07-2017 20:57

i was wrong. i mean that part of history:

Quote:

-m2 -lN now is the same as -m3 -lN -cN: compression ratio is average between -m1 and -m3, while speed is the same as in old versions
so you can improve -m2 -lN method in srep 2.0 by using -m3 -lN -cN instead

Andu21 10-10-2017 10:21

Hi guys, i'm testing xz 5.2.1 and i'm having a hard time in making it work with freearc. I'm using these parameters:

Code:

[External compressor:xz]
packcmd  = xz.exe -9 -v -c <stdin> <stdout>
unpackcmd = xz.exe -d -c <stdin> <stdout>

It achieves 99~100% but at the end shows this error:
Code:

ERROR: general (de)compression error in xz
Any clues?


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

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