FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Arc Gui (beta) (https://fileforums.com/showthread.php?t=98152)

felice2011 26-11-2016 11:20

Fix the problem of "WARNING: Can not Read Directory", Fix also the output of the size, ratio and the state, it is not counted at the end of or during compression...Seeks to reduce the steps for creating a single compression of method, the utility when it closes it happens that eliminates arc.exe and arc.ini files, also when it closes the utility does not save the configuration and the name of the methods inserted for compression, automatically, or maybe I was wrong some step.
Globally a great job.

JRD! 26-11-2016 11:59

Thanks for the feed,

I need to know what operating system you are, because I don't have a message "WARNING: cannot read directory".

Quote:

Fix also the output of the size, ratio and the state, it is not counted at the end of or during compression...
I will correct the problem but the ratio will appear after the compression finished not during ...

Quote:

Seeks to reduce the steps for creating a single compression of method.
I will add a context menu to start the compression, I add the checkboxes only to compress the items that are checked, I will put in options for the hidden but this will imply that all the elements will be waiting for compression.

Quote:

the utility when it closes it happens that eliminates arc.exe and arc.ini files
I have no idea about this problem I have not yet met, I only use a delete procedure when deleting temporary files, I will have to restrict the choice of working files can be I Do not know, I make sure to correct this as soon as possible.

Quote:

also when it closes the utility does not save the configuration and the name of the methods inserted for compression, automatically, or maybe I was wrong some step
These are changes that should not be detected or the status has been reset incorrectly, this will quickly fix.

oltjon 26-11-2016 12:24

https://s16.postimg.org/lx602bonp/errore.png

win 10 64 bit

JRD! 26-11-2016 12:38

The "arc.exe" file is needed, place the program in the folder that contains "arc.exe"

if you do not have the file download Masked Compression Archive.7z (by panker1992) then put the program in the folder where the compressors.

felice2011 26-11-2016 15:15

http://i63.tinypic.com/2n9xtlv.png

Use the "ControlChars.Quote" module, to use as a constant for the character control.

Quick Example..

Code:

Dim id As String
id = Application.StartupPath & "\" & "Resources\Arc.exe"

Dim Method1 As String
Method1 = String.Format("a -s; -ep1 -di -i2 -r -ed -w.\_tmp " + Method_Text.Text + " {0} {1}", _
                        ControlChars.Quote & Out_Path.Text.ToString & ControlChars.Quote & _
                        ControlChars.Quote & In_Path.Text.ToString & ControlChars.Quote)

At the end of compression when you execute the specified delegate for the removal of temporary files, also eliminates files "arc.exe" & "arc.ini" .

JRD! 26-11-2016 16:09

Quote:

Originally Posted by felice2011 (Post 454059)
http://i63.tinypic.com/2n9xtlv.png

Use the "ControlChars.Quote" module, to use as a constant for the character control.

Quick Example..

Code:

Dim id As String
id = Application.StartupPath & "\" & "Resources\Arc.exe"

Dim Method1 As String
Method1 = String.Format("a -s; -ep1 -di -i2 -r -ed -w.\_tmp " + Method_Text.Text + " {0} {1}", _
                        ControlChars.Quote & Out_Path.Text.ToString & ControlChars.Quote & _
                        ControlChars.Quote & In_Path.Text.ToString & ControlChars.Quote)

At the end of compression when you execute the specified delegate for the removal of temporary files, also eliminates files "arc.exe" & "arc.ini" .

You try to compress the "C:\Windows", this is a place that requires an elevation of rights for some operations, some file are used by the system and protect in writing.

And in terms of deleting the files "arc.exe" and "arc.ini", do you specify the working folder (temp) in the same location where the program is located?

PS: My function for execute:

Code:

function ExecAndWait(const AFileName, AParameters: string; const ShowCmd: integer): Cardinal;
var
  ShellExecuteInfo: TShellExecuteInfoW;
begin
  Result := 0;

  FillChar(ShellExecuteInfo, SizeOf(ShellExecuteInfo), #0);
  ShellExecuteInfo.cbSize := SizeOf(TShellExecuteInfo);

  with ShellExecuteInfo do
  begin
    fMask := SEE_MASK_NOCLOSEPROCESS;
    Wnd := Application.Handle;
    lpFile := PChar(AFileName);
    lpParameters := PChar(AParameters);
    lpDirectory := PChar(ExtractFilePath(AFileName));
    nShow := ShowCmd;
  end;

  if ShellExecuteEx(@ShellExecuteInfo) then
  begin
    repeat
      while
WaitForSingleObject(ShellExecuteInfo.hProcess, 0) = WAIT_TIMEOUT do
      Application.ProcessMessages;
      GetExitCodeProcess(ShellExecuteInfo.hProcess, Result);
    until
    (ExitCode <> STILL_ACTIVE) or Application.Terminated;
  end;
end;


felice2011 26-11-2016 16:32

I'm not trying to compress the folder "C:\Windows", but if the folder to be compressed is located in "C:", for example "C:\Data", this problem it may happen, that's why I advised you to using the module "ControlChars.Quote":)
Oh Yep.. I have specified the same temp folder where they are the files arc.exe and arc.ini, but that does not mean that at the end of work must remove the files arc.exe & arc.ini, but only temporary files.:D

JRD! 26-11-2016 17:49

Quote:

I'm not trying to compress the folder "C:\Windows", but if the folder to be compressed is located in "C:", for example "C:\Data", this problem it may happen, that's why I advised you to using the module "ControlChars.Quote":)
- The execution of the application as administrator will now be required.

Quote:

Oh Yep.. I have specified the same temp folder where they are the files arc.exe and arc.ini, but that does not mean that at the end of work must remove the files arc.exe & arc.ini, but only temporary files.:D
- I will create a function that only targets temporary freearc folders.

Quote:

Fix also the output of the size, ratio and the state, it is not counted at the end of or during compression
- Fixed the display of the size and the ratio.


Thanks for the feed!

JRD! 04-12-2016 10:44

Updated

JRD! 05-12-2016 03:17

I re-uploaded because I had forgotten to enable the temporary folder deletion function, sorry for the inconvenience.

Gupta 05-12-2016 05:23

Probably a bug
Even when the binaries are present it is showing they aren't
only happens with binaries with suffix '.exe'

http://i.imgur.com/Ey2Z4dm.png

FEATURE REQUEST

What about a preprocessor section in which we can assign specific preprocessor other then which can be used with freearc to the specific files not always dependent on masks
something like ogg comes with UltraARC but user define and not masks dependent but we can make our own list
for Example GTA V, it has all major files with extension .rpf but only some of them can be process with something like reflate and other are incompressible multimedia containers.
and also if the program is single threaded if arcGUI can feature multi TASK

ANd yes most important thing, thanks for such a good program

and one more thing let the arcGUI to search in %PATH% for arc.exe

JRD! 05-12-2016 06:19

Quote:

Probably a bug
Even when the binaries are present it is showing they aren't
only happens with binaries with suffix '.exe'
Thanks for this, I will fix this.

Quote:

What about a preprocessor section in which we can assign specific preprocessor other then which can be used with freearc to the specific files not always dependent on masks
something like ogg comes with UltraARC but user define and not masks dependent but we can make our own list
for Example GTA V, it has all major files with extension .rpf but only some of them can be process with something like reflate and other are incompressible multimedia containers.
I was thinking about how to set up such a thing, I wanted to extend the possibilities of the filter tab, to create a "masked group" and "masked filter" in order to simplify the creation of custom methodes depending on the type of data.

Quote:

and also if the program is single threaded if arcGUI can feature multi TASK
When you say "multi TASK", you mean several execution simultaneously?

Quote:

and one more thing let the arcGUI to search in %PATH% for arc.exe
I will add this, it will be for the next version ;)

Thanks for feedback, very Useful.

Gupta 05-12-2016 06:21

Quote:

When you say "multi TASK", you mean several execution simultaneously?
Yes, something like ppx2.:-)

JRD! 05-12-2016 06:53

Quote:

Originally Posted by PrinceGupta2000 (Post 454214)
Yes, something like ppx2.:-)

I will set up a multi-tasking system with the ability to set the number of simultaneous tasks to wish.

JRD! 11-12-2016 00:35

1 Attachment(s)
- Fixed save problem with external compressor detection conflict in method editor (the problem only occurs if you edit external compressors and autosave is disabled)
- Added decompression feature

Attachment 16500

rinaldo 28-01-2017 21:01

it is impressive 10+ JRD
tried now .. the more good big project in this field that I know .. the good that is in Delphi and also very well planned

Siber Pro 28-01-2017 22:15

Error
 
1 Attachment(s)
Its Good. I tested In Win10 x64 But Have Error.
Why Can't Work The Methods

rinaldo 28-01-2017 23:59

use voice Tools in menu

JRD! 29-01-2017 15:10

Quote:

Originally Posted by rinaldo (Post 455563)
it is impressive 10+ JRD
tried now .. the more good big project in this field that I know .. the good that is in Delphi and also very well planned

Thanks Rinaldo, I put the decompression side part for now, I integrated a part "Inno Setup Script Editor" in order to decompressed blocks of data compressed with ArcGUI, a mode of advanced compression where all extensions will be moved into folders for this, any content can be scanned and so is based on the content of the files arcgroups to predict the best method among the present based on extensions and thus accelerated the compression, a module for inno setup is required if you used the mode advanced, it detects the compressors not present as well as the present, is arcgroups indicates the methods using these, when adding external compressor it detected what origin and offers sheets with Visual objects to adjusted easily compressor settings, for now is managed "7-zip, Srep, precomp", in the section, a password strength indicator, memorization of the position of the columns of the listview, and a lot of other things, with the arrival of Freearc Next I hope that will change any of the current engine... Later and thanks for the support.

Gupta 29-01-2017 20:43

Freearc next is gonna be a commercial product, better to go with Zarc, plus it is written in delphi and seems to have better external compression support, once completed

rinaldo 09-02-2017 19:59

check
 
1 Attachment(s)
error in delphi code

JRD! 13-02-2017 13:47

This version is expired, the part filters no longer says "filter" are the algorithm of freearc managed internally, the entire system been revised for safety and reliability.
The system detection of errors with the external compressor et les méthodes is 100% functional, the level of errors based on the external compressor or groups of extentions,
I'll soon shared a beta version, the advanced compression system will not present, but you through the evolution of the project, thanks for the feed.

banuazizi 21-03-2017 14:24

How do I download the program ? I cannot see any links to it anywhere on this post.

pakrat2k2 22-03-2017 09:43

Must be fixing & re-uploading, keep checking first post. That's where it would normally be.

JRD! 31-03-2017 04:05

I will soon post a beta version to test.

No help, no multithreading, no multilanguage, I will implement these soon, I've had some hard shots lately, thanks to all.

ImmortalArc 31-03-2017 04:12

Can tell me uses of this???

JRD! 31-03-2017 04:17

I have to do some last test, in the day normally this will share.

JRD! 31-03-2017 11:11

If I have time I will make a brief usage demonstration so that you can see more clearly.

The present compressor pack only serves as a demonstration, free to you to make your own database and to share if it tells you.

Do not hesitate to notify me any type of bugg, thanks to all!

romulus_ut3 31-03-2017 16:43

Hi, can I make a feature request?
Is it possible to make a self extractor for the archives?

JRD! 31-03-2017 21:39

Quote:

Originally Posted by romulus_ut3 (Post 457616)
Hi, can I make a feature request?
Is it possible to make a self extractor for the archives?

I will add this afterwards as well as the decompression part, header detection of imported files for more flexibility ..

Stor31 01-04-2017 13:01

@JRD! error !!!!
[2017/04/01:20:09:59] Creating archive: Pinball FX2.bin (1/1)
[2017/04/01:20:15:28] IntputPath: C:\Pinball FX2
[2017/04/01:20:15:28] InputSize: 5,3 GB
[2017/04/01:20:15:28] FilesCount: 92
[2017/04/01:20:15:28] Parameters: a --logfile=C:\Temp\freearc.log -ma9 -ds -lc1024 -ld1024 -di+$ -i2 -ep1 -ed -r
[2017/04/01:20:15:28] MethodName: level4
[2017/04/01:20:15:28] MethodValue: -mreflate+static+xz
[2017/04/01:20:15:28] OutputSize: 0 Bytes
[2017/04/01:20:15:28] Ratio: 0,00 %
[2017/04/01:20:15:28] Status: unknown (de)compression error (Error code: 2)
[2017/04/01:20:15:28] Compression time: 00:05:28

008black 01-04-2017 17:15

Any help is appreciated
How to add pack_ARC in arc.ini pls tell the commandline
AND HOW TO COMBINE MULTIPLE .BIN FILE INTO 1

JRD! 01-04-2017 20:19

Quote:

Originally Posted by Stor31 (Post 457693)
@JRD! error !!!!
[2017/04/01:20:09:59] Creating archive: Pinball FX2.bin (1/1)
[2017/04/01:20:15:28] IntputPath: C:\Pinball FX2
[2017/04/01:20:15:28] InputSize: 5,3 GB
[2017/04/01:20:15:28] FilesCount: 92
[2017/04/01:20:15:28] Parameters: a --logfile=C:\Temp\freearc.log -ma9 -ds -lc1024 -ld1024 -di+$ -i2 -ep1 -ed -r
[2017/04/01:20:15:28] MethodName: level4
[2017/04/01:20:15:28] MethodValue: -mreflate+static+xz
[2017/04/01:20:15:28] OutputSize: 0 Bytes
[2017/04/01:20:15:28] Ratio: 0,00 %
[2017/04/01:20:15:28] Status: unknown (de)compression error (Error code: 2)
[2017/04/01:20:15:28] Compression time: 00:05:28

The problem comes from the method, try another method, I believe that reflate does not support blocks over 2GB...

JRD! 02-04-2017 00:37

Quote:

Originally Posted by 008black (Post 457698)
Any help is appreciated
How to add pack_ARC in arc.ini pls tell the commandline
AND HOW TO COMBINE MULTIPLE .BIN FILE INTO 1

"How to add pack_ARC in arc.ini pls tell the commandline"
Code:

[External compressor:pack_ARC]
packcmd={compressor} a -np {options}
unpackcmd={compressor} x -np {options}
datafile=$$arcdatafile$$.tmp
packedfile=$$arcpackedfile$$.tmp
solid=0

"AND HOW TO COMBINE MULTIPLE .BIN FILE INTO 1"

I did not quite understand your request

008black 02-04-2017 02:35

Quote:

Originally Posted by JRD! (Post 457708)
"How to add pack_ARC in arc.ini pls tell the commandline"
Code:

[External compressor:pack_ARC]
packcmd={compressor} a -np {options}
unpackcmd={compressor} x -np {options}
datafile=$$arcdatafile$$.tmp
packedfile=$$arcpackedfile$$.tmp
solid=0

"AND HOW TO COMBINE MULTIPLE .BIN FILE INTO 1"

I did not quite understand your request

Thank you
I want to merge compressed data files into one i have compressed game into 3 archives data1.bin data2.bin and data 3.bin want to merge them into single data.bin sry for my bad english

JRD! 02-04-2017 03:22

Sorry, I do not know the command line.

Does anyone know the freearc command that merges to merge multiple archives?

Thank's

Stor31 02-04-2017 04:24

JRD! plz add pzlib by razor .... thx

Bulat 07-04-2017 10:07

join command: arc j all 1 2 3

JRD! 08-04-2017 05:51

Thanks Bulat, I will be able to implement this function soon.

008black 09-04-2017 05:20

Quote:

Originally Posted by jrd! (Post 457910)
thanks bulat, i will be able to implement this function soon.

👍👍


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

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