Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 26-11-2016, 12:24
oltjon's Avatar
oltjon oltjon is offline
Registered User
 
Join Date: Dec 2013
Location: UNITED STATES OF ALBANIA
Posts: 218
Thanks: 1,132
Thanked 168 Times in 79 Posts
oltjon is on a distinguished road


win 10 64 bit
Reply With Quote
Sponsored Links
  #2  
Old 26-11-2016, 12:38
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
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.
__________________
Practice makes perfect.
Reply With Quote
The Following 2 Users Say Thank You to JRD! For This Useful Post:
oltjon (26-11-2016), Simorq (26-11-2016)
  #3  
Old 26-11-2016, 15:15
felice2011's Avatar
felice2011 felice2011 is offline
Registered User
 
Join Date: Feb 2011
Location: italy
Posts: 836
Thanks: 357
Thanked 1,158 Times in 390 Posts
felice2011 is on a distinguished road


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" .
__________________
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« I Mediocri Imitano, I Geni Copiano, Dio Crea & Distrugge » (Io Ridefinisco & Perfeziono le Loro Opere Rendendole Uniche)
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈ ≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
« Mediocrities Imitate, Genius Copy, God Creates & Destroys » (I Reconsider & Improve Their Works, Rending Them One And Only)
Reply With Quote
  #4  
Old 26-11-2016, 16:09
JRD!'s Avatar
JRD! JRD! is offline
Registered User
 
Join Date: Sep 2015
Location: Matrix
Posts: 274
Thanks: 225
Thanked 600 Times in 168 Posts
JRD! is on a distinguished road
Quote:
Originally Posted by felice2011 View Post


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;
__________________
Practice makes perfect.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista beta 2 blocking Starforce ronandex CD/DVD Copy Protections & Utilities 4 31-05-2006 02:37
Neverwinter Nights v1.66.8071 (Beta) doomerdgr8 PC Games 1 28-05-2005 10:18
Copying Socom2 Beta Is It Possible dblue PS2 Games 6 14-10-2003 19:14
OT: Opinion and BETA testers neded for my upcomming products! krondike PC Games 3 06-10-2003 08:29
PAL Patcher 0.93 Beta Megalexxx DC Games 18 03-01-2003 09:23



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


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