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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-01-2023, 15:15
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
Quote:
Originally Posted by BLACKFIRE69 View Post
yes, there's something incorrect. see the hint below.

Code:
v0.4.0.0 (Old)  >>  ISArcDiskAddingFalied

v0.4.0.1 (New)  >>  ISArcDiskAddingSuccess
Maybe I am not following, but I don't see how changing the name of the Boolean for the disk adding command will fix the issue.
Reply With Quote
Sponsored Links
  #2  
Old 05-01-2023, 21:11
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
Maybe I am not following, but I don't see how changing the name of the Boolean for the disk adding command will fix the issue.

i know it's a bit confusing. but note that it's not just changing the variable name, the ISArcExAddDisks function has also changed.


1).
in the previous version (v0.4) ISArcExAddDisks function returns error state when adding the disks.

i.e. it returns true if a disk was added unsuccessfully (failed). so you need to catch the error state.
Code:
ISArcDiskAddingFalied:= ISArcExAddDisks(...);
if ISArcDiskAddingFalied then break;

2).
the new version (v0.4.0.1) returns the success of adding disks.

i.e. it returns true if a disk was added successfully.

Code:
ISArcDiskAddingSuccess:= ISArcExAddDisks(...);
if not ISArcDiskAddingSuccess then break;

3).
this is the summarized difference.

Code:
v0.4
procedure CurStepChanged(CurStep: TSetupStep);
begin
   ...
   ISArcDiskAddingFalied := True;
   ...
   repeat
      if FileExists(...) then 
      begin
        ISArcDiskAddingFalied:= ISArcExAddDisks(...);
        if ISArcDiskAddingFalied then break;
        ISArcExDiskCount := ISArcExDiskCount + 1;
      end;
      ...
   until true;
 
   if (not ISArcDiskAddingFalied) and ISArcExInit(...) then
   begin
    ...
   end;
end;
Code:
v0.4.0.1
procedure CurStepChanged(CurStep: TSetupStep);
begin
   ...
   ISArcDiskAddingSuccess := False;
   ...
   repeat
      if FileExists(...) then 
      begin
        ISArcDiskAddingSuccess:= ISArcExAddDisks(...);
        if not ISArcDiskAddingSuccess then break;
        ISArcExDiskCount := ISArcExDiskCount + 1;
      end;
      ...
   until true;
  
   if (ISArcDiskAddingSuccess) and ISArcExInit(...) then
   begin
    ...
   end;
end;

Last edited by BLACKFIRE69; 05-01-2023 at 21:32.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
Gehrman (06-01-2023)
  #3  
Old 06-01-2023, 01:48
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
@BLACKFIRE69

Thank you for the expansion of your little hint (steps 1 and 2) it was more than sufficient to help me understand the logic behind the instructions. Thanks again and apologies.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
BLACKFIRE69 (06-01-2023)
  #4  
Old 20-03-2023, 11:48
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

ISArcEx - Quality Updates

Code:
How to Update:

- Just replace the old DLL(v0.4.0.1 - 2023-Jan-05) 
     with the new DLL(v0.4.0.1 - 2023-Mar-20).

Last edited by BLACKFIRE69; 03-04-2023 at 14:08.
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (16-05-2023), audiofeel (20-03-2023), ffmla (17-05-2023), hitman797 (21-03-2023), Lord.Freddy (20-03-2023), ScOOt3r (20-03-2023)
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
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 17:12.


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