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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-04-2020, 15:22
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Lightbulb Light Installer (Compatible with UltraArc/DiskSpan)

I read some user comments here on the forum looking for the simplest installer possible, but with the features present in CIU and ASIS.

Ligth Installer has the same compressors as CIU/ASIS, but with the simplicity of a basic Inno Setup installer, ideal for beginners.
Special thanks to all the developers of the compressors and librarys used in this installer.

It can be used with internal or external "Setup.ini" (External is a priority if it exists) using the [ExtractSettings] section, or an external "Records.ini" file that is usually generated by UltraArc/DiskSpan.

The key 64BitOnly= from [InstallOptions] section in "Setup.ini" must be set to 1 if the game is only compatible with 64-bit systems.
This configuration changes the availability of the compressors in "COMPRESSOR_GUI (Light).exe".

Others settings and also the language definition are made within the *.iss script through ISPP definitions.
I hope it will be useful to users looking for compression only, not design.
Code:
Changelog:

VERSION: 1.0.0.3 - Release based on CIU version 3.0.0.0.u9/3.0.0.1.b6
  - Added Hungarian language to Light Installer.
  - Added checking if executable exists to create shortcuts.
  - Added language checking for files to be extracted depending on the installer's chosen language.
  - Added support for ISSKin and VCLStyles on installation and uninstallation.
  - Added custom SelectFolder form to fix errors in some skins.
  - Updated DiskSpan library to version R3 (Modifyed version).
  - Fixed PMT for RAZOR and MPZ compressors.
  - Fixed errors related to the size parameter for correct percentage of the progress bar during the extraction.
  - Added an option to make it possible to use the internal DiskSpan RequestDisk (Optional) if extraction errors occur.
    >> If errors happen you can remove the ";" line ";#define INTERNAL_DiskSpan_RequestDisk" to use the internal RequestDisk of DiskSpan library.
    >> This makes it possible to check if the error is due to using RequestDisk in the script.
  - Added ZSTDRec precompressor option separately in "COMPRESSOR_GUI.exe".

VERSION: 1.0.0.2 - Release based on CIU version 3.0.0.0.u8/3.0.0.1.b5 (like the previous version)
  - Fixed size of the game that did not work above 4 GB (Include Calc.exe).
  - Added option Rezizable to set resizable style (Supported only with Inno Setup 6).
  - Fixed errors when compiling with Inno Setup 5.
  - Fixed Transparency of the logo when compiled with Inno Setup 5.
  - Fixed the use of PMT for RAZOR and MPZ that was not working before.
  - Fixed Inno Setup 6 messages DiskSpaceGBLabel, DiskSpaceMBLabel in Portuguese (Brasil) language.

VERSION: 1.0.0.1 - Release based on CIU version 3.0.0.0.u8/3.0.0.1.b5
  - Updated decompressor RAR (UnRAR.dll) from v5.80 to v5.90

  - Added support for "PMT - Parallel Multithreaded Encoder/Decoder" for "RAZOR" and "MPZ" compressor.
    >> PMT is a 4x4 like algorithm to make everything run parallelly. 
    >> You can run any compressor/encoder that supports stdio/stdin/stdout or even nothing. 
    >> The program can make a single threaded compressor multithreaded by using blocks, just like 4x4.
    >> For more information visit: https://fileforums.com/showthread.php?t=103230

VERSION: 1.0.0.0 - Release based on CIU version 3.0.0.0.u7/3.0.0.1.b4




To avoid errors using Light Installer 1.0.0.3 it is necessary to compress the game using the new version of UltraArc (DiskSpan R3).
The file with UltraArc (DiskSpan R3) is attached to post #2.
Attached Files
File Type: 7z Light Installer 1.0.0.0 SRC.7z (10.74 MB, 279 views)
File Type: 7z Light Installer 1.0.0.1 SRC.7z (12.36 MB, 194 views)
File Type: 7z Light Installer 1.0.0.2 SRC.7z (12.59 MB, 200 views)
File Type: 7z Light Installer 1.0.0.3 SRC [2020.06.21].7z (12.63 MB, 751 views)

Last edited by Cesar82; 21-06-2020 at 13:16. Reason: Updated to version 1.0.0.1
Reply With Quote
The Following 22 Users Say Thank You to Cesar82 For This Useful Post:
ADMIRAL (02-04-2020), Balaji007 (15-04-2020), Behnam2018 (03-04-2020), BLACKFIRE69 (11-04-2020), devil777 (09-04-2020), Emorian (28-05-2020), Entai44 (03-04-2020), ff20 (03-04-2020), ffmla (29-06-2020), Gehrman (03-04-2020), houcine80 (23-07-2020), hydefromt70s (08-07-2020), KaktoR (03-04-2020), lolaya (22-07-2020), mausschieber (28-04-2020), parnexcodes (23-06-2020), pat81 (16-06-2020), pincoball (30-04-2020), Razor12911 (22-05-2020), shazzla (22-05-2020), Stor31 (29-06-2020), Titeuf (03-04-2020)
Sponsored Links
  #2  
Old 02-04-2020, 15:23
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
LIGHT INSTALLER - Tools

Light Installer script can be compiled with Inno Setup 5.57 or newer.
I recommend using Inno Setup 6 repack (Updated to v6.05).
To compress the game files use the "UltraArc/DiskSpan" compressor in the attachment to this post.
Others tools can use the same tools available on the CIU thread.
https://www.fileforums.com/showthread.php?t=102510
Attached Files
File Type: 7z UltraARC 2900 R7 FULL (DISK SPAN R3) [2020-06-11].7z (22.01 MB, 179 views)

Last edited by Cesar82; 21-06-2020 at 05:44.
Reply With Quote
The Following 3 Users Say Thank You to Cesar82 For This Useful Post:
Emorian (15-06-2020), ffmla (24-06-2020), pincoball (23-06-2020)
  #3  
Old 02-04-2020, 15:23
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
LIGHT INSTALLER - Previous Version

Previous version of Light Installer.
Light Installer version 1.0.0.1/1.0.0.2 is compatible with the UltraArc/DiskSpan tools from the file "_Tools (2020-04-24) .7z" (Removed)

Last edited by Cesar82; 21-06-2020 at 05:41.
Reply With Quote
  #4  
Old 03-04-2020, 02:47
ff20 ff20 is offline
Registered User
 
Join Date: Mar 2020
Location: Spain
Posts: 5
Thanks: 9
Thanked 0 Times in 0 Posts
ff20 is on a distinguished road
Thanks, Cesar82

This might be the toolset I was looking for ^^

btw, what could be the cause of all this false-positives?

https://www.virustotal.com/gui/file/...ec8d/detection
Reply With Quote
  #5  
Old 03-04-2020, 09:40
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by ff20 View Post
Thanks, Cesar82

This might be the toolset I was looking for ^^

btw, what could be the cause of all this false-positives?

https://www.virustotal.com/gui/file/...ec8d/detection
This TOTAL VIRUS (no good) returns many false positives.
I use Kasperky Internet Security (Shareware) here.
The file "Light Installer 1.0.0.0 SRC.7z" has no type of virus.

Maybe it is because some of the internal libraries have UPX compression (To reduce the size).
If you want, after extracting the .7z file, individually test each file or the folder with the file and let me know which of the internal files is returning a false positive.
You may be able to remove UPX compression if this is the case.
Reply With Quote
  #6  
Old 22-05-2020, 08:45
pincoball pincoball is offline
Registered User
 
Join Date: Mar 2020
Location: Italy
Posts: 29
Thanks: 16
Thanked 10 Times in 8 Posts
pincoball is on a distinguished road
I've been trying to use Light Installer on a set of archives splitted by DiskSpan (total packed = 12GB, unpacked = 35GB) when it comes to extract them during installation it remains stuck at "Extracting temporary files..."

Then I compared it with ASIS (and the version of DiskSpan dll it comes with) and it works flawlessly.

What I strangely noticed in Light Script (and your modificed DiskSpan dll) while remaining stuck at the caption said before, it just copy the archives slices (data.bin.001, etc.) in the temp folder %TEMP%\is-[random code].tmp while ASIS doesn't. Moreover I wasn't be able to reproduce the problem with smaller archives compressed with same method

So what I ask is if it is some sort of bug and also if I can revert to the original DiskSpan that comes with ASIS (simply changing the declarations of functions didn't seems to work)
Reply With Quote
  #7  
Old 22-05-2020, 08:57
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 3,104
Thanks: 770
Thanked 4,737 Times in 1,711 Posts
KaktoR is on a distinguished road
I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.
__________________
Haters gonna hate
RIP GOD
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
pincoball (22-05-2020)
  #8  
Old 22-05-2020, 19:19
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Light Installer 1.0.0.2

Quote:
Originally Posted by KaktoR View Post
I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.
Updated Light Installer to v1.0.0.2 (REUPLOADED)
I updated the file in the first post. I think it's working now.

Last edited by Cesar82; 22-05-2020 at 21:22.
Reply With Quote
  #9  
Old 22-05-2020, 20:18
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by pincoball View Post
I've been trying to use Light Installer on a set of archives splitted by DiskSpan (total packed = 12GB, unpacked = 35GB) when it comes to extract them during installation it remains stuck at "Extracting temporary files..."

Then I compared it with ASIS (and the version of DiskSpan dll it comes with) and it works flawlessly.

What I strangely noticed in Light Script (and your modificed DiskSpan dll) while remaining stuck at the caption said before, it just copy the archives slices (data.bin.001, etc.) in the temp folder %TEMP%\is-[random code].tmp while ASIS doesn't. Moreover I wasn't be able to reproduce the problem with smaller archives compressed with same method

So what I ask is if it is some sort of bug and also if I can revert to the original DiskSpan that comes with ASIS (simply changing the declarations of functions didn't seems to work)
If possible, let me know which game you compressed and which method you used.
Did you assume that you are copying Data1.001 data files, etc. to the temporary folder? This should not happen.
Remember that version 1.0.0.1 and 1.0.0.2 is necessary to use CIU Tools 3.0.0.0.u8 (The previous tools may not work).
It is not possible to use the ASIS DiskSpan without redoing much of the code and would also not support the Pause button (While unpacking is paused, time is paused as well).

I updated a new file in the first post...
Try now.

Last edited by Cesar82; 22-05-2020 at 21:24.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
kenzo34 (22-05-2020), pincoball (23-05-2020)
  #10  
Old 23-05-2020, 01:57
pincoball pincoball is offline
Registered User
 
Join Date: Mar 2020
Location: Italy
Posts: 29
Thanks: 16
Thanked 10 Times in 8 Posts
pincoball is on a distinguished road
Thank you! Now it seems to be working
FYI the method I used was
Code:
pzlib+srep:m1f:l512+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8 (Battlefield 3)
I didn't test it but I thought it was due to a couple of calling of CopyCompressorsEx function (that indeed you fixed) after extracting in temp folder of other files and thus not due to DiskSpan itself, but I am not pretty sure
Reply With Quote
  #11  
Old 23-05-2020, 02:28
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by pincoball View Post
Thank you! Now it seems to be working
FYI the method I used was
Code:
pzlib+srep:m1f:l512+4x4:b128mb:lzma:a1:mfbt4:64m:fb273:mc1000000:lc8 (Battlefield 3)
I didn't test it but I thought it was due to a couple of calling of CopyCompressorsEx function (that indeed you fixed) after extracting in temp folder of other files and thus not due to DiskSpan itself, but I am not pretty sure
Yes the problem was in the CopyCompressorsEx lines.
This function is to include external compressors only needing to include an external folder and inform it in Records.ini or Setup.ini (If you don't use records.ini).
Before I was copying everything that was in the same folder as Setup.exe to a temporary folder (Now I fixed it).
Just remove the lines that would have corrected.
Thank you for reporting the error.

I will soon share a new version of the Light installer with the new Cls-DiskSpan.dll library by Razor12911.

Last edited by Cesar82; 23-05-2020 at 02:31.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Gehrman (23-05-2020)
  #12  
Old 25-05-2020, 18:44
Emorian Emorian is offline
Registered User
 
Join Date: Oct 2011
Location: Hungary
Posts: 26
Thanks: 12
Thanked 4 Times in 4 Posts
Emorian is on a distinguished road
Hi,

How do I incorporate the Records.ini file so that it is not next to it?
Reply With Quote
  #13  
Old 25-05-2020, 19:13
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Emorian View Post
Hi,

How do I incorporate the Records.ini file so that it is not next to it?
This is not necessary, you can use the [ExtractSettings] section of Setup.ini instead of Records.ini

Example of how to convert sections from Records.ini to [ExtractSettings] from Setup.ini (Note the colors).
Code:
[Record1]
Type=Freearc_Original
Source={src}\Data1.bin.001
Output={app}
Disk=1

[ExtractSettings]
ArcFile1={src}\Data1.bin.001;DestDir:{app};Type:ARC;Disk:1

Last edited by Cesar82; 25-05-2020 at 19:40.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
Emorian (25-05-2020), pincoball (26-05-2020)
  #14  
Old 25-05-2020, 19:33
Emorian Emorian is offline
Registered User
 
Join Date: Oct 2011
Location: Hungary
Posts: 26
Thanks: 12
Thanked 4 Times in 4 Posts
Emorian is on a distinguished road
UltraArc: MSC+SREP+LZMA, Result = Data-1.bin in OutPutDir..
How do I add this to the Setup.ini file?
(Or even a file created with Diskspan?)

Last edited by Emorian; 25-05-2020 at 19:47.
Reply With Quote
  #15  
Old 25-05-2020, 19:45
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 465
Thanks: 568
Thanked 825 Times in 285 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Emorian View Post
UltraArc: MSC+SREP+LZMA, Result = Data-1.bin in OutPutDir..
How do I add this to the Setup.ini file?
(Or even a file created with Diskspan?)
Code:
ArcFile1=Data-1.bin;DestDir:{app};Type:ARC;Disk:1
This is good?
Yes, that's it.
Just specify the first file in Setup.ini when using DiskSpan (Data.bin.001).
DiskSpan used in current version v1.0.0.2 is still the old version of DiskSpan.dll and only supports naming .001, .002, etc.
Code:
ArcFile1=Data1.bin.001;DestDir:{app};Type:ARC;Disk:1
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Emorian (25-05-2020)
Reply

Tags
asis, ciu, inno, installer, ultraarc

Thread Tools
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
[CIUv3] Custom Installer Ultimate v3 KaktoR Conversion Tutorials 538 Yesterday 02:40
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1594 17-04-2020 05:45
[CIUv2] Custom Installer Ultimate v2 Project Source Codes KaktoR Conversion Tutorials 606 26-12-2018 07:28
How many forum members does it take to change a light bulb? rms2001 XBox Games 6 12-01-2004 05:31



All times are GMT -7. The time now is 05:13.


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