FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   How to use cls-diskspan with installer (https://fileforums.com/showthread.php?t=106786)

Dunnowho69 24-06-2025 00:01

How to use cls-diskspan with installer
 
How can i integrate cls-diskspan with my installer so that it won't ask for the second disk everytime ? I am trying to use it with Simple Installer https://fileforums.com/showthread.php?t=104745 , since in this normally i don't have to specify the archives, it always asks me to specify the second archive and then crashes. How can i write the record.ini and use this with the installer

L33THAK0R 24-06-2025 20:28

I found some versions of diskspan very temperamental, I use the following hashed version for the best results, make sure you're only specifying the first archive in the diskspan converted output, and to not rename the outputs to anything other than the initial output. For my archives I use "l33t-XXX-1.bin" as the output, diskspan will then use that numbering for subsequent split outputs.

Code:

MD5: 255783423af3f6e9513d6600685d51c8
As it's a CLS plugin you also won't need to specify anything in the arc.ini for decomp, in your method string, you just need to specify the size of the split archives, i.e. diskspan:19.98gb

The record.ini entry would look something like this if you're struggling.

Code:

[Record24]
Type=Freearc_Original
Source={src}\l33t-XXX-1.bin
Output={app}\
Disk=24
Component=2


Dunnowho69 24-06-2025 22:09

Quote:

Originally Posted by L33THAK0R (Post 508079)
I found some versions of diskspan very temperamental, I use the following hashed version for the best results, make sure you're only specifying the first archive in the diskspan converted output, and to not rename the outputs to anything other than the initial output. For my archives I use "l33t-XXX-1.bin" as the output, diskspan will then use that numbering for subsequent split outputs.

Code:

MD5: 255783423af3f6e9513d6600685d51c8
As it's a CLS plugin you also won't need to specify anything in the arc.ini for decomp, in your method string, you just need to specify the size of the split archives, i.e. diskspan:19.98gb

The record.ini entry would look something like this if you're struggling.

Code:

[Record24]
Type=Freearc_Original
Source={src}\l33t-XXX-1.bin
Output={app}\
Disk=24
Component=2


Thank you very much for your response. But the main issue I'am facing is how to string the record.ini so that my installers will use it to extract the archives. I have tried many installer and tried to use the record.ini or there own data parts but all of them had some issues even if i specify only the first or all the archives.

If i use [ arc.exe a -i1 -ds -ep1 -r -s; -ed -w.\_Temp -m=xtool+srep+lolz+diskspan:2gb _Output\data-1.bin "_Pack\*"] to make the split the archives , what to do with this part in the installer....

if ISDoneInit(ExpandConstant('{tmp}\record.ini'), $F777, 0, 0, 0, MainForm.Handle, 512, @ProgressCallback) and FileSearchInit(True) then
begin
ExtractTemporaryFile('ENGLISH.INI');
ChangeLanguage('English');
repeat
if ISArcExtract(0, 0, ExpandConstant('{src}\*{#myextension}'), ExpandConstant('{app}'), '', False, '', ExpandConstant('{tmp}\Arc.ini'), ExpandConstant('{app}'), False) then
ISDoneError := False
else
Break;
until True;
ISDoneStop;
end;

Currently for single disk it works just fine but for multiple it always asks for the second disk


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

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