Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-03-2022, 01:34
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Talking ISArcEx - A FreeArc Archive Extractor Plugin for InnoSetup

ISArcEx - Advanced FreeArc Extraction API for Inno Setup
========================================

Code:
> Overview:
ISArcEx is a high-performance extraction library meticulously crafted
for Inno Setup. It provides a robust interface for handling FreeArc
archives, offering advanced progress tracking and precise extraction 
metrics that standard tools often lack.

> Specifications:
- Version	: v0.5
- Author	: BLACKFIRE69
- Build		: 6997A400
- Compatibility	: Inno Setup v6.0 or later (Required)
- License       : Proprietary (See LICENSE file for details)
- Tested Engine	: FreeArc v0.67
Code:
> Key Features:
- Archive Support: Specialized in Normal FreeArc 
  archives. Note: Splitted archives are not supported.
- Selective Extraction: Use ISArcExAddDisksEx to extract specific 
  folders from within an archive.
- Advanced Progress Tracking: Real-time metrics for Overall Progress, 
  Current Disk Progress, and Extracted/Total File Counts.
- Performance Metrics: Accurate Current and Average Speed (MB/s).
- Time Management: Intelligent "Time Remaining" and "Elapsed Time"
  tracking with three customizable display formats.
- Process Control: Built-in functions to Suspend, Resume, or Stop
  the extraction process safely.
- UI Stability: Includes "Calc Accuracy" reduction logic to prevent
  erratic jumping in speed and ETA displays.
- Localization: Easily switch between languages using external .ini
  configuration files.
Code:
> Supported External Tooling:
ISArcEx integrates seamlessly with common FreeArc external-processors:
- SREP, XTool, LOLZ, NZ, RZ.
- Support for Facompress (MT and Standard).

> Distribution Files:
- ISArcEx.dll 	— Core API Library.
- UnArc_32.dll	— FreeArc engine integration.
- ISArcEx.iss 	— Header for Inno Setup.
- arc.ini / CLS.ini — Configuration for external-processors.
- English.ini / Russian.ini — Language configuration files.
.
Attached Images
File Type: png 2.png (19.4 KB, 95 views)
File Type: png 1.png (19.7 KB, 95 views)
File Type: png 3.png (21.3 KB, 97 views)
File Type: png 4.png (24.9 KB, 97 views)
File Type: png 5.png (20.4 KB, 97 views)
File Type: png 6.png (22.8 KB, 97 views)
Attached Files
File Type: 7z ISArcEx v0.5 + Examples.7z (3.48 MB, 31 views)
File Type: 7z ISArcEx v0.5 - Update 01 (LibOnly).7z (61.1 KB, 21 views)
File Type: 7z ISArcEx v0.5 - Update 02 (LibOnly).7z (61.1 KB, 8 views)

Last edited by BLACKFIRE69; 19-04-2026 at 15:36. Reason: Added latest update
Reply With Quote
The Following 37 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (27-03-2022), auaksa (09-01-2023), audiofeel (24-03-2022), buttignol (12-03-2022), Cesar82 (20-03-2022), chepgameps4 (21-03-2022), crachlow (01-08-2023), dixen (12-03-2022), Ele (13-03-2022), ffmla (12-03-2022), FIFA_LOVER (13-03-2022), Gehrman (13-03-2022), GTX590 (12-03-2022), Harsh ojha (12-03-2022), hdneo (11-05-2023), hitman797 (07-01-2023), Junior53 (14-09-2023), Karekas (08-03-2023), kj911 (16-03-2022), kozmik (28-02-2023), L0v3craft (13-03-2022), lolaya (20-03-2022), Lord.Freddy (17-08-2022), meadwey (17-05-2024), nordi (16-12-2024), ramydarkness (22-03-2022), Razor12911 (09-04-2026), RedDanzig (06-09-2023), ScOOt3r (12-03-2022), sennen (22-03-2024), shazzla (12-03-2022), st0rm (29-03-2022), TheTh1996 (17-07-2024), vint56 (12-03-2022), Vladislav989 (04-01-2023), Wanterlude (13-03-2022), wrathma (28-03-2026)
Sponsored Links
  #2  
Old 20-03-2022, 19:03
lolaya lolaya is offline
Banned
 
Join Date: Jul 2011
Location: still life
Posts: 138
Thanks: 156
Thanked 38 Times in 29 Posts
lolaya is on a distinguished road
i love u work ♥
Reply With Quote
The Following User Says Thank You to lolaya For This Useful Post:
BLACKFIRE69 (21-03-2022)
  #3  
Old 24-03-2022, 01:51
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road

what is the problem?
Reply With Quote
  #4  
Old 28-03-2022, 13:09
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post

what is the problem?

Code:
1. Goto line 546, (Ctrl + G then 546)

2.

Change
  LabelTime3 := TLabel.Create(WizardForm);
  with LabelTime3 do begin
    ...
    Left     := 180;
    Top      := 200;
  end;

To
  LabelTime3 := TLabel.Create(WizardForm);
  with LabelTime3 do begin
    ...
    Left     := WizardForm.FinishedLabel.Left;
    Top      := WizardForm.FinishedLabel.Top + ScaleY(120);
  end;
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Gehrman (28-03-2022)
  #5  
Old 19-05-2022, 05:24
Spotless's Avatar
Spotless Spotless is offline
Registered User
 
Join Date: Nov 2021
Location: Egypt
Posts: 28
Thanks: 0
Thanked 2 Times in 2 Posts
Spotless is on a distinguished road
Hello Blackfire
Could you edit this script for me?

i want to add launch a game check box to the finish page
and when i type the shortcut name called Battle.net it must be Battle.net.lnk for my file location but it does not make it correct
and open a website checkbox too

and a question can i copy ur dll to a new empty script and add my archives to it? because i wanna do some edits with the wizardform designer

thanks!
Attached Files
File Type: rar ISArcEx_Example.rar (4.6 KB, 52 views)
__________________
Be kind so that people be kind with you

Last edited by Spotless; 19-05-2022 at 10:44.
Reply With Quote
The Following User Says Thank You to Spotless For This Useful Post:
ADMIRAL (27-07-2022)
  #6  
Old 26-07-2022, 03:49
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Spotless View Post
a question can i copy ur dll to a new empty script and add my archives to it? because i wanna do some edits with the wizardform designer

thanks!
sorry for the late reply.
you can include ISArcEx for any script. but just copying the dll is not enough.
you should know how to work with the ISArcEx.dll. follow the examples provided for help. or you can PM your script and i can help you out.

Quote:
Originally Posted by Spotless View Post
Hello Blackfire
Could you edit this script for me?

i want to add launch a game check box to the finish page
and when i type the shortcut name called Battle.net it must be Battle.net.lnk for my file location but it does not make it correct
and open a website checkbox too
ok, check out the attachment. also press "CTRL + F" and search for the word "NewChanges".

.
Attached Images
File Type: png 2.png (6.2 KB, 1562 views)
File Type: png 3.png (8.0 KB, 1568 views)
File Type: png 4.png (27.0 KB, 1564 views)
File Type: png 1.png (7.1 KB, 1578 views)

Last edited by BLACKFIRE69; 03-04-2023 at 14:06.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (27-07-2022), Gehrman (26-07-2022)
  #7  
Old 26-07-2022, 06:15
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,372
Thanked 89 Times in 48 Posts
Gehrman is on a distinguished road
Hi BLACKFIRE69
How to remove this section?
Reply With Quote
  #8  
Old 26-07-2022, 08:21
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
Hi BLACKFIRE69
How to remove this section?
1. Comment the second line of [types] section.

Code:
[Types]
Name: full; Description: Full installation; Flags: iscustom
;Name: custom; Description: Custom installation;
2. Remove types from the [Components] section.
Code:
Before:

[Components]
Name: extra; Description: Extra; Types: full custom;
...
Name: voice; Description: Interface Language and Voices; Types: full;
...

After:

[Components]
Name: extra; Description: Extra;
...
Name: voice; Description: Interface Language and Voices;
...
.
Attached Images
File Type: png 1.png (7.8 KB, 1555 views)
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (27-07-2022), Gehrman (03-08-2022)
  #9  
Old 20-12-2022, 14:11
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,404 Times in 637 Posts
Masquerade is on a distinguished road
First of all, sorry for digging up this topic.

I have a small question about IsArcEx. If I wanted to run a batch file or other script after unpacking the FreeArc archive but also keep the elapsed timer running, whereabouts should I put the command?

All my post-FreeArc command run in a procedure called masquerade_work, so I call this after the FreeArc extraction finishes.

I have tried putting it on the line above IsArcExStop();, but this does not keep the timer running after the last archive has finished extracting:

Code:
for i:= 1 to ISArcExDiskCount do
  begin
    ISArcExError := not ISArcExExtract(i, ExpandConstant('{app}\'), ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'));
    if ISArcExError then break;
  end;
  until true;
  masquerade_work();
ISArcExStop;
Is there something I am doing incorrectly? The reason I would like to keep the elapsed timer running is because some of my scripts run for a long time after extracting data (recompressing, patching large files etc..) so it's important that the installer does not look stuck towards the user.

Thanks,
Masquerade
Reply With Quote
  #10  
Old 21-12-2022, 01:14
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
First of all, sorry for digging up this topic.

I have a small question about IsArcEx. If I wanted to run a batch file or other script after unpacking the FreeArc archive but also keep the elapsed timer running, whereabouts should I put the command?

All my post-FreeArc command run in a procedure called masquerade_work, so I call this after the FreeArc extraction finishes.

I have tried putting it on the line above IsArcExStop();, but this does not keep the timer running after the last archive has finished extracting:

Code:
for i:= 1 to ISArcExDiskCount do
  begin
    ISArcExError := not ISArcExExtract(i, ExpandConstant('{app}\'), ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'));
    if ISArcExError then break;
  end;
  until true;
  masquerade_work();
ISArcExStop;
Is there something I am doing incorrectly? The reason I would like to keep the elapsed timer running is because some of my scripts run for a long time after extracting data (recompressing, patching large files etc..) so it's important that the installer does not look stuck towards the user.

Thanks,
Masquerade


@Masquerade

Timer will run until it calls ISArcExStop.


Code:
...

  masquerade_work();
  ISArcExStop;  // Timer Stops

...

Last edited by BLACKFIRE69; 03-04-2023 at 14:07.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Cesar82 (21-12-2022), Masquerade (21-12-2022)
  #11  
Old 05-01-2023, 13:40
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 231
Thanks: 158
Thanked 88 Times in 62 Posts
kj911 is on a distinguished road
Typo error?? --> ISArcDiskAddingFalied ! Correct? No. --> ISArcDiskAddingFailed
Reply With Quote
The Following User Says Thank You to kj911 For This Useful Post:
Masquerade (05-01-2023)
  #12  
Old 15-05-2023, 13:15
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 43
Thanks: 91
Thanked 26 Times in 18 Posts
Tihiy_Don is on a distinguished road
Excellent DDL, switched to it from isDone. Thank you.
Reply With Quote
The Following User Says Thank You to Tihiy_Don For This Useful Post:
BLACKFIRE69 (11-06-2023)
  #13  
Old 22-06-2023, 23:20
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 43
Thanks: 91
Thanked 26 Times in 18 Posts
Tihiy_Don is on a distinguished road
I ask you to change the ISArcExCancel variable to boolean to match the general concept by analogy with ISArcExError.

Accordingly, if the installation was canceled, it is not an error.
Why not cancel the example and make the download of an excellent unpacking by example:
Quote:
if (CurStep = ssPostInstall) and (ISArcExCancel>0), then....
?

Last edited by Tihiy_Don; 22-06-2023 at 23:23.
Reply With Quote
  #14  
Old 01-08-2023, 07:53
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow ISArcEx - Updates

Update Available!

Code:
What's New

- Some improvements.
Code:
* How to update?

>> just replace the old DLL with the new one.
.
Attached Images
File Type: png 00.png (7.7 KB, 185 views)
Attached Files
File Type: 7z ISArcEx - LibOnly [2023-July-31].7z (60.9 KB, 34 views)
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (01-08-2023), ffmla (05-08-2023), hitman797 (01-08-2023), Lord.Freddy (01-08-2023), Tihiy_Don (01-08-2023)
  #15  
Old 06-08-2023, 12:11
MMBDON MMBDON is offline
Registered User
 
Join Date: May 2015
Location: INDIA
Posts: 53
Thanks: 2
Thanked 5 Times in 3 Posts
MMBDON is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Update Available!

Code:
What's New

- Some improvements.
Code:
* How to update?

>> just replace the old DLL with the new one.
.
Sir, plz add button click sounds to the script.
Reply With Quote
Reply


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
ASIS: Advanced Simple Installer Script KaktoR Conversion Tutorials 1477 20-05-2026 10:52
XTool 2020 (Plugins) Razor12911 Conversion Tutorials 405 24-12-2024 05:30
Game Installer Designer by altef_4 altef_4 Conversion Tutorials 236 28-05-2021 02:54
Best Compression For Archiving brispuss PC Games 12 03-01-2020 13:34
Compression Questions yasitha Conversion Tutorials 10 09-01-2019 12:29



All times are GMT -7. The time now is 16:17.


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