|
#31
|
||||
|
||||
|
R2 uploaded
Changes -Removed custom open dialog ability -Added default open dialog Notes -Seems like source had to be changed a bit for this, good thing I uploaded source here because I no longer had it. -Ran 2 tests and no bugs so I guess bug is fixed. -Data not affected, just replace cls and add functions to iss to fix old cls bugs. Last edited by Razor12911; 07-11-2017 at 19:07. |
| Sponsored Links |
|
#32
|
|||
|
|||
|
Thanks razor but can you help me with my second issue?
i want to be able to extract another single arc archive after the split archive extraction is done, the installer is skipping it. |
|
#33
|
||||
|
||||
|
Thanks Razor12911
Works well.
|
| The Following User Says Thank You to Simorq For This Useful Post: | ||
Razor12911 (08-11-2017) | ||
|
#34
|
||||
|
||||
|
^Could you share compiled source?
__________________
Haters gonna hate
|
|
#35
|
|||
|
|||
|
__________________
NOT AVAILABLE |
|
#36
|
||||
|
||||
|
Sorry bro, i have just to open my eyes
__________________
Haters gonna hate
|
|
#37
|
||||
|
||||
|
Upload iss and compressor
|
|
#38
|
|||
|
|||
|
#39
|
||||
|
||||
|
Code:
procedure ISDone_Unpack;
begin
ISDone_Resources;
ISDoneError:=false;
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0,0,0, MainForm.Handle, 512, @ProgressCallback) then
begin
ChangeLanguage('English');
if SrepInit(AddBackSlash(ExpandConstant('{app}')),512 ,0) and PrecompInit('',128, 0) and FileSearchInit(true) then
begin
WizardForm.ProgressGauge.Position := 0;
Wizardform.ProgressGauge.Max := 1000;
ClsSourcePath(ExpandConstant('{src}'));
ClsDiskRequest(@MyDiskRequest);
if not ISArcExtract(0, 90, ExpandConstant('{src}\data.001'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
//here dear razor
if not ISArcExtract(0, 10, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True;
end;
ISDoneStop;
end;
if ISDoneError = True then
WizardForm.CancelButton.OnClick(nil);
end;
Code:
if not ISArcExtract(0, 90, ExpandConstant('{src}\data.001'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
//here dear razor
if not ISArcExtract(0, 10, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True;
Code:
if not ISArcExtract(0, 90, ExpandConstant('{src}\data.001'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
if not ISArcExtract(0, 10, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True;
you forgot to add ISDoneError := True for data.001, so to fix it, it has to be Code:
procedure ISDone_Unpack;
begin
ISDone_Resources;
ISDoneError:=false;
if ISDoneInit(ExpandConstant('{tmp}\records.inf'), $F777, 0,0,0, MainForm.Handle, 512, @ProgressCallback) then
begin
ChangeLanguage('English');
if SrepInit(AddBackSlash(ExpandConstant('{app}')),512 ,0) and PrecompInit('',128, 0) and FileSearchInit(true) then
begin
WizardForm.ProgressGauge.Position := 0;
Wizardform.ProgressGauge.Max := 1000;
ClsSourcePath(ExpandConstant('{src}'));
ClsDiskRequest(@MyDiskRequest);
if not ISArcExtract(0, 90, ExpandConstant('{src}\data.001'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True; // that is what you missed
if not ISArcExtract(0, 10, ExpandConstant('{src}\data.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), false) then
ISDoneError := True;
end;
ISDoneStop;
end;
if ISDoneError = True then
WizardForm.CancelButton.OnClick(nil);
end;
|
| The Following 5 Users Say Thank You to Razor12911 For This Useful Post: | ||
ADMIRAL (07-05-2020), danswano (08-11-2017), EzzEldin16 (11-11-2017), oltjon (08-11-2017), pakrat2k2 (08-11-2017) | ||
|
#40
|
|||
|
|||
|
What the world can do without you dear razor.
Really appreciate your kind help and efforts. God bless you. |
| The Following User Says Thank You to danswano For This Useful Post: | ||
Razor12911 (09-11-2017) | ||
|
#41
|
||||
|
||||
|
Hi,
Razor12911, with your permission, I would love to add this to the compression tool I created as a FreeArc compression method. That said, I can't really figure out what to add into the Arc.ini file in order to get it working, so if you would, could you please explain that? Thank you.
__________________
Ultimate Conversion Compressor Creator (Discontinued/Abandoned) My Other Tools: File Splitter and Merger - Multiple Text/String Replacer (MTSR) - UCC Files & Folders Lister Microsoft Certified Professional Retired Conversion Creator |
|
#42
|
||||
|
||||
|
Quote:
cls do not work with arc.ini
|
| The Following User Says Thank You to Razor12911 For This Useful Post: | ||
78372 (10-11-2017) | ||
|
#43
|
||||
|
||||
|
So how does it work with the arc.exe command, it just needs to be in the same folder? or is there something else?
__________________
Ultimate Conversion Compressor Creator (Discontinued/Abandoned) My Other Tools: File Splitter and Merger - Multiple Text/String Replacer (MTSR) - UCC Files & Folders Lister Microsoft Certified Professional Retired Conversion Creator |
|
#44
|
||||
|
||||
|
Quote:
Quote:
|
| The Following 2 Users Say Thank You to Razor12911 For This Useful Post: | ||
EzzEldin16 (12-11-2017), vollachr (12-11-2017) | ||
|
#45
|
||||
|
||||
|
Yeah, pretty much figured that out by now, just one thing I noticed..
It seems DiskSpan only works correctly if there are no other methods set before it or there are External Compressors set for method before it. I couldn't get it to work when setting the FreeArc internal methods such as M2, M3 or M4 before DiskSpan, it spits out an error. Also, So far all the attempts I made in adding support for DiskSpan to my compression tool failed, it's basically a batch script (bat file), thing is Arc.exe keeps crashing when I'm making it use DiskSpan in my script, I can't figure out why. UPDATE: OK, Managed to get it partially working, it creates the .001 file when the size can fit in one archive but I get an error when it actually need to start to split (creating the .002 file), also, it seems arc.exe only crashes when there's no other external compressor defined before diskspan.
__________________
Ultimate Conversion Compressor Creator (Discontinued/Abandoned) My Other Tools: File Splitter and Merger - Multiple Text/String Replacer (MTSR) - UCC Files & Folders Lister Microsoft Certified Professional Retired Conversion Creator Last edited by vollachr; 12-11-2017 at 06:50. |
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UltraARC Tutorials, Hints and Examples | Razor12911 | Conversion Tutorials | 35 | 17-03-2021 11:56 |
| Quantum Break | GTX590 | PC Games - CD/DVD Conversions | 105 | 25-03-2019 08:28 |
| Bioshock Infinite Complete Edition (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* | GTX590 | PC Games - CD/DVD Conversions | 13 | 17-06-2017 10:55 |
| Call of Duty Black OPS 3 + DLC Awakening (11xDVD5) | GTX590 | PC Games - CD/DVD Conversions | 22 | 30-12-2016 07:46 |
| Mortal Kombat XL (7xDVD5) UltraArc + CIU v2.0.3 By *Yener90* | GTX590 | PC Games - CD/DVD Conversions | 1 | 13-10-2016 16:03 |