FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Light Installer Script (LIS) - DiskSpan_GUI (https://fileforums.com/showthread.php?t=103408)

Cesar82 13-02-2021 14:29

Quote:

Originally Posted by bolek932 (Post 490407)
No no no. I don't put records.ini at the end of disckspsn_gui because I'm using the old version without this option. records.ini is created automatically by diskspan_gui together From the archive. I packed the games before and didn't even touch the file. Now to install the game I have to remove it ... I don't understand anything ...

If you are going to recompress, use the current version of diskspan_gui together with the current light installer 1.0.0.8 (Replace DiskSpan_GUI fix)

If you are not going to decompress, send me your entire project by PM (except compressed data files). Then I will analyze.

hydefromt70s 26-03-2021 09:42

Recently I found very annoying that you cannot set default "split tab" – how many times I forgot to change it from default DVD5 to unlimited and had to repack from scratch... For those who prefer one big archive instead of splitting would be nice to have an option to set the default "split tab" to Unlimited for instance :)

And is there any chance to change naming convention from "setup.bin.001, .002 ..." to "setup-1.bin, setup-2.bin" etc.? .001 extensions does just look weird to me and it doesn't follow standard naming.

Cesar82 26-03-2021 10:13

Quote:

Originally Posted by hydefromt70s (Post 491117)
Recently I found very annoying that you cannot set default "split tab" – how many times I forgot to change it from default DVD5 to unlimited and had to repack from scratch... For those who prefer one big archive instead of splitting would be nice to have an option to set the default "split tab" to Unlimited for instance :)

And is there any chance to change naming convention from "setup.bin.001, .002 ..." to "setup-1.bin, setup-2.bin" etc.? .001 extensions does just look weird to me and it doesn't follow standard naming.

1) I just didn't leave it as an option, set the UNLIMITED tab as default because the EDIT of OUTPUT directory will not be visible (Manual division components will be displayed).
I'll think of something, but I don't think that will change that for now.

2) Yes, this is not yet possible, but in a future version the names may be used as names as Setup1a-01.bin as standard.
However, the future version will no longer support 32-bit systems (It will only be 64-bit with only 64-bit compressors).
But for now only .001 names.

Edit:
DiskSpan_GUI updated in the first post.
- Functionality has been included to allow leaving the disk UNLIMITED selection tab as default.

mashamiskasalo 15-04-2021 16:37

Hi, thanks for your hard work and great program. I wanted to ask if virustotal reacts very negatively to the setup.exe installers it creates. Interestingly, this problem can be solved?

Cesar82 16-04-2021 09:21

Quote:

Originally Posted by mashamiskasalo (Post 491368)
Hi, thanks for your hard work and great program. I wanted to ask if virustotal reacts very negatively to the setup.exe installers it creates. Interestingly, this problem can be solved?

Check and let me know which file is captured as false positive by the virustotal (Setup.exe or Setup.dll).

If it is Setup.dll, try using different methods (only the decompressors used in Setup.dll will be included), to find out which method is including the false positive.

I did a test here with setup.exe.
Compile Setup.exe with Inno Setup 5.59 which will have less false positives in the analysis of the totalvirus.

mashamiskasalo 16-04-2021 10:41

even responds to standard setup exe
InstallerScript [2021.02.07]_original.iss

here is my script (setup.exe)
https://www.virustotal.com/gui/file/...ef51/detection

nothing but the names of the game has changed

https://www.upload.ee/files/13059926/divinity.iss.html

Cesar82 16-04-2021 12:36

Quote:

Originally Posted by mashamiskasalo (Post 491372)
even responds to standard setup exe
InstallerScript [2021.02.07]_original.iss

here is my script (setup.exe)
https://www.virustotal.com/gui/file/...ef51/detection

nothing but the names of the game has changed

https://www.upload.ee/files/13059926/divinity.iss.html


There is nothing that can be done.
Only a basic installer of Inno Setup is already accused as a virus in some of the analyzes.

pratikpatel8982 28-04-2021 01:02

Help
 
Hi, I wanted to ask a few noob questions.
  1. If I created a data.bin.001 using the DiskSpan_GUI which is included inside the light Installer, then what things do I need to add/change in the included Installer script so that it extracts the data.bin.001 successfuly.
  2. Also one more question, do I need to include compressors in [Files] section of the script? AND WILL THE SETUP WORK IF I INCLUDED THE WHOLE "Resources" folder inside the Compressor folder?? Or do I need to copy each compressor seperately??
  3. Where do I put records.ini after compression? And do I need to include it in script??
Thank you

Cesar82 28-04-2021 10:21

Quote:

Originally Posted by pratikpatel8982 (Post 491613)
Hi, I wanted to ask a few noob questions.
  1. If I created a data.bin.001 using the DiskSpan_GUI which is included inside the light Installer, then what things do I need to add/change in the included Installer script so that it extracts the data.bin.001 successfuly.
  2. Also one more question, do I need to include compressors in [Files] section of the script? AND WILL THE SETUP WORK IF I INCLUDED THE WHOLE "Resources" folder inside the Compressor folder?? Or do I need to copy each compressor seperately??
  3. Where do I put records.ini after compression? And do I need to include it in script??
Thank you

After you extract the "Light Installer" source code, extract and delete the "COMPRESSOR" folder.
Download DiskSpan_GUI 1.0.0.4, extract and place the "COMPRESSOR" folder in "Light Installer" folder where you deleted the previous one.

1. Go to the "COMPRESSOR" folder and run "_DiskSpan_GUI_CONFIG.bat" and change the settings you need and click "Save" and close DiskSpan_GUI.

2. Go back to the main "Light Installer" folder and open the script with Inno Setup to create and compile the script after making the necessary changes to the script. Your Setup.exe will be created in the "COMPRESSOR\Setup_Files" folder.

3. Now you can compress the game. After compressing the game, the compressed files will be in the selected output directory (Default is COMPRESSOR\Conversion_Output).
Subfolders will be created according to the configuration on DiskSpan_GUI (By default it creates DVD_1, DVD_2, etc) during the compression of the game.
Your setup.exe compiled previously will be automatically copied to the DVD_1 folder and the disk space will be calculated according to the settings in DiskSpan_GUI.
All necessary files will be in the DVD_# folder. So do not remove any files from the DVD_# folder.
For example, if you compress an 8 GB game (DiskSpan mode) and the compression is 6 GB, then in the "COMPRESSOR \ Conversion_Output" folder you will have these files:

Code:

COMPRESSOR\Conversion_Output\DVD_1
Autorun.inf          //Disk autoplay information.
Data1a.bin.001      //Compressed file (first split part).
Records.ini          //Information file about compressed filesfiles that setup.exe reads.
Setup.dll            //File of type ".arc" (compressed -m3) containing all external compressors and also CLS and FreeArc configuration files necessary to perform the extraction of the file.
Setup.exe            //Setup created by Light Installer script.
Setup.ico            //Icon of Light Installer to display on the DVD/Blu-Ray drive.

COMPRESSOR\Conversion_Output\DVD_2
Autorun.inf          //Disk autoplay information.
Data1a.bin.002      //Compressed file (second split part).
Setup.ico            //Icon of Light Installer to display on the DVD/Blu-Ray drive.

P.S: You can merge Records.ini in the Setup.dll file on the finish page of DiskSpan_GUI after compression (optional).

Cesar82 28-04-2021 10:23

Quote:

Originally Posted by Gehrman (Post 491616)
Cesar82 Dear
Please add the archive test option (arc t data.bin) after compression and create MD5 hash.

I did not understand your request. If possible, explain further.
If you want you can send a PM with more details of your request.

Gehrman 28-04-2021 13:35

Quote:

Originally Posted by Cesar82 (Post 491619)
I did not understand your request. If possible, explain further.
If you want you can send a PM with more details of your request.

Test archive after operation
Very useful and essential. This option

https://s18.picofile.com/file/8432126392/1.jpg

Cesar82 28-04-2021 18:59

Quote:

Originally Posted by Gehrman (Post 491621)
Test archive after operation
Very useful and essential. This option

https://s18.picofile.com/file/8432126392/1.jpg

I did some tests using the -t parameter on the commandline, and for me to include this functionality it would be necessary to include several files (More than 15 Mb) in the resources folder just for testing.
It would also be necessary to include a checkbox to enable the test.

I may include this in version 2.0 of DiskSpan_GUI, but I don't promise anything (I don't know if it will work for all methods).

Currently it has a button that makes the extraction process simulating the installer. This test is more reliable because if for some reason any decompressor is missing it will fail.
The FreeArc test will test the file, but if any decompressor or config is missing from Setup.dll, even though the FreeArc test is OK, it may happen that the installer fails during installation (If anything is missing from Setup.dll).


About the MD5 check, what was your suggestion?
Generate a hash for the Data.bin.001 files?
If so, I don't think it would work because the files would be in separate folders or on some kind of disk. It would only work if they had all files in one folder.

Mypko 12-05-2021 02:03

Thanks for the program! Wondering if you can use quickbms for Lego games?

Masquerade 12-05-2021 12:24

Quote:

Originally Posted by Mypko (Post 491913)
Thanks for the program! Wondering if you can use quickbms for Lego games?

Well, yeah you need to use quickbms but this has no relation to the script. quickbms is a standalone tool.

kast1450 22-05-2021 19:41

Hello, is there any way to add plugins aside from decompiling and recompiling DiskSpan_GUI?

I like compressing Unity games, and I saw there is a XTool 2019 plugin for Unity Engine which seems nice.
Unity uses LZ4 for compression, and I noticed there's an LZ4 switch already implemented, but it would be nice to be able to add custom plugins anyways.

I also have a question about LOLZ, I noticed that it supports media compression in the documentation, such as raw audio and stuff. Is something such as MSC needed before LOLZ or will LOLZ take care of that entirely?

Thanks in advance


All times are GMT -7. The time now is 11:53.

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