#1
|
||||
|
||||
Light Installer Script (LIS)
I read some user comments here on the forum looking for the simplest installer possible, but with the features present in CIU and ASIS.
Light Installer Script (LIS) has the same compressors as CIU/ASIS, but with the simplicity of a basic Inno Setup installer, ideal for beginners. Remove ";" from the beginning of the ;#define Is64BitOnly line in the InstallerScript file if the game is only compatible with 64-bit systems. Others settings and also the language definition are made within the *.iss script through ISPP definitions. Special thanks to all the developers of the compressors and librarys used in this installer. I hope it will be useful to users looking for compression only, not design. Code:
Changelog: VERSION: 1.0.1.6 - Release based on CIU version 3.0.0.1 (final) - Added compatibility with DiskSpan GUI 2.0.2.1+. - Fixed some minor bugs. VERSION: 1.0.1.5 - Release based on CIU version 3.0.0.1 (final) - Updated XHashEx.dll library to v1.0.0.0 build 230729 no UPX version. - Updated SplitLib.dll library to v1.0.0.5 build 240330 (UPX). - Added support to splash image (IsGsg.dll by South.Tver). - Added watter efects in all installer images (WaterCtrl.dll by RESTOOL). - Added suport to skinsharp (SkinH.dll library by Shegorat) with Inno Setup 5. - Added support to include compressor inside "Setup.exe" file. >> Add the compressors to a "DECOMPRESSOR" folder next to the script before compiling to include the desired compressors within "Setup.exe" file. >> It also supports using folder structure with desired compressors. - Added support to new hash algorithms using key Size= of the "Records.ini" file to set algorithm type. >> If key Size= exists, LIU will use the "VerifyHashesFromFileEx" function from "XHashEx.dll", otherwise it will use the "VerifyHashesAutoFromFileEx" function. >> If you enter the type of algorithm you have 21 algorithm options, otherwise only 5 algorithm options. >> If you prefer, you can also enter just the algorithm number from "0" to "21' in the parameter value. ** crc32, md5, sha1, sha256, sha512 (These 5 algorithm are supported in auto mode). ** sha512_256, sha3_256, sha3_512, blake2_128, Blake2_256, blake3_256, haval3_128, haval3_256, ** ripemd_128, ripemd_256, tiger_128, tiger_192, tiger2_128, tiger2_192, murmurhash_32, xxhash_32 - Fixed some minor bugs. VERSION: 1.0.1.4 - Release based on CIU version 3.0.0.1.b9.u5 - Updated XHashEx.dll library to v1.0.0.0 build 2300303 no UPX version (Thanks to BLACKFIRE69). - Added compatibility with DiskSpan GUI 2.0.1.7+. - Added fade effect on move installer window. - Added example of using components and tasks. - Fixed some minor bugs. VERSION: 1.0.1.3 - Release based on CIU version 3.0.0.1.b9.u4 - Updated support to DiskSpan GUI 2.0.1.4+ - Updated SplitLib.dll library to v1.0.0.1 build 221204. - Updated XHashEx.dll library to v1.0.0.0 build 221120 (Thanks to BLACKFIRE69). VERSION: 1.0.1.2 - Release based on CIU version 3.0.0.1.b9.u3 - Updated support to DiskSpan GUI 2.0.1.3+ - Updated XHashEx.dll library (Thanks to BLACKFIRE69). - Added extraction progress and hash checking progress in taskbar. - Fixed some minor bugs. VERSION: 1.0.1.1 - Release based on CIU version 3.0.0.1.b9.u3 - Fixed ISSP condition to work cjstyles skin parammeter. - Added support to DiskSpan GUI 2.0.1.2+ >> Added page to do file integrity check (Thanks to BLACKFIRE69 for XHashEx.dll library). >> Added support for running external executables or command lines via cmd from pre-settings in DiskSpan GUI. VERSION: 1.0.1.0 - Release based on CIU version 3.0.0.1.b9 - Added support for Persian (Farsi) language to Light Installer Script (Thanks to Gehrman for collaboration). - Added support for skinsharp skins (SkinH.dll library by Shegorat) to Light Installer Script. >> The library of the skinsharp does not support special characters like cyrillic characters. >> So languages like Russian and Japanese and Persian should get broken using skinsharp. - Fixed some minor bugs. VERSION: 1.0.0.9 - Release based on CIU version 3.0.0.1.b9 - Updated support to DiskSpan_GUI 2.0.0.0 - Added optional second ProgressBar. - Added polish language support. VERSION: 1.0.0.8 - Release based on CIU version 3.0.0.1.b8.u2 - Removed COMPRESSOR_GUI/DiskSpan.bat support (Only DiskSpan_GUI is supported). - Removed support for internal extraction data settings (Removed internal and external Setup.ini) - Removed CreateDLL function (Only needed for DiskSpan.bat/UltraARC.exe). - Fixed some minor bugs. VERSION: 1.0.0.7 - Release based on CIU version 3.0.0.1.b7.u5 - Added support for XTool 2020 to LIS. - Added LIS compatibility with DiskSpan_GUI tool. >> Now an external DLL with the compressor files is needed to perform the extraction. >> When compressing the game using the DiskSpan_GUI tool, the DLL will be created automatically with only the compressors needed to perform the extraction. >> If you compress using another tool such as UltraArc or DiskSpan.bat, you will need to create the DLL manually, selecting in the COMPRESSOR_GUI.exe the compressors you want to include. >> Then click on the button "Create DLL" or enable the line ";#define CreateDLL" at the beginning of the CIU script (The compressors defined in COMPRESSOR_GUI.exe will be used). - Fixed some minor bugs. VERSION: 1.0.0.6 - Release based on CIU version 3.0.0.1.b7.u3 - Updated compressor/decompressor "ZStandard" (ZSTD) from v1.4.4 to v1.4.5 (x64 + x86). - Fixed an error that did not include compressors/decompressors when selecting RazorTools tools that are specific to one of the games. VERSION: 1.0.0.5 - Release based on CIU version 3.0.0.1.b7.u2 - Fixed CRC error when performing the extraction. >> Does not match checksum! (ERROR: <FileName> CRC Check) (FreeArc error code -12) >> The error was in the "COMPRESSOR_GUI.exe" file that displayed errors when using compressors XTool or ZTool. - Added functionality to use the "CLS-DISKSPAN.dll" original build by Razor12911 just replacing the DLL in the folder. VERSION: 1.0.0.4 - Release based on CIU version 3.0.0.1.b7.u1 - Updated UltraARC to version 2900 R9. - Fixed the "LabelCurrFileName" label to display the correct path of the file being extracted. - Fixed progress bar to display the bar by the amount of file "Data#.bin.001" when not using the key Size=. >> The Size= key used in the "Records.ini" file or in the [ExtractSettings] section of the "Setup.ini" file. - Removed "PMT" from LIS (Reason: "MTX" has the same functionality). - Removed "PrecompX" from LIS (Reason: "MTX" has the same functionality). - Added "MTX" v5.0 to LIS compression methods like: precomp, mpzapi, razor, lolz. >> Use in DiskSpan.bat: precomp_mtx, mpzapi_mtx, razor_mtx, lolz_mtx. >> More information about MTX at: https://fileforums.com/showthread.php?t=103664 - Added new RazorTools decompression method ue4dt/UE4DT "Unreal Engine 4 Decryption Tool". >> More information about ue4dt.exe at: https://www.fileforums.com/showthread.php?t=103145 >> DiskSpan.bat defined method like using: >> set GAME[1].METH[1]=ue4dt:m2:k0x5DD20432F2AD810071033FC3F925FFDFD647514524D0A0D222E17D76BAF57BFD+lzma:ultra >> ue4dt.exe e|d -m# -c# -b# -k# <stdin> <stdout> >> -m = method (1 = games that use borderlands3, street figher v... format, 2 = games that use rune ii format) >> -c = chunk size >> -b = block count >> -k = key in hexadecimal. - Added new "RazorTools" decompression method "Metro Exodus", "Project CARS 3", "Saints Row 3 Remastered", "Death Stranding" >> Currently LIS supports all these Razor12911 tools. >> FIFA 19 Cas Decryption Tool + Precompressor https://fileforums.com/showthread.php?t=102461 >> Project CARS 2|3 Bff Decryption Tool https://fileforums.com/showthread.php?t=102524 >> Death Stranding Decryption Tool https://fileforums.com/showthread.php?t=103699 >> Metro Exodus Precompression Tool https://fileforums.com/showthread.php?t=103563 >> SRTTR Precompression Tool https://fileforums.com/showthread.php?t=103546 >> LZO Precompressor (Side project) https://fileforums.com/showthread.php?t=102615 >> LZX Precompressor (Side project) https://fileforums.com/showthread.php?t=102675 >> ZSTD Precompressor (Side project) https://fileforums.com/showthread.php?t=102599 >> Unreal Engine 4 Decryption Tool https://fileforums.com/showthread.php?t=103145 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 Script. - 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 P.S: The current version of the "Light Installer Script" must be used together with the "DiskSpan_GUI 2.0.2.1+" (by Cesar82) that comes with the source code. INFO: Download DiskSpan_GUI (Last Version) and extract the "COMPRESSOR" folder to the Light Installer Script SRC folder (Along with InstallerScript.iss). Last edited by Cesar82; 16-08-2024 at 08:36. Reason: Updated to version 1.0.1.6 |
The Following 59 Users Say Thank You to Cesar82 For This Useful Post: | ||
78372 (15-11-2020), ADMIRAL (02-04-2020), Balaji007 (15-04-2020), Bango88 (09-09-2020), Behnam2018 (03-04-2020), Beliathal (06-08-2021), BLACKFIRE69 (11-04-2020), Black_Angel_Kjh (10-07-2021), boobuts (05-11-2020), DarkGen (16-09-2021), DarkMaster007 (13-03-2022), devil777 (09-04-2020), DoomRG (05-09-2023), Emorian (28-05-2020), Entai44 (03-04-2020), fabrieunko (17-09-2022), ff20 (03-04-2020), ffmla (29-06-2020), FoRMaT-2007 (17-11-2021), Furjack (07-05-2023), gantengmaut88 (10-04-2021), Gehrman (03-04-2020), Harsh ojha (28-04-2021), hdneo (30-09-2022), Hiereus (25-12-2023), houcine80 (23-07-2020), hydefromt70s (08-07-2020), KaktoR (03-04-2020), lolaya (22-07-2020), Lord.Freddy (16-08-2022), mausschieber (28-04-2020), MOSTAPHA_VIP (10-02-2021), Mypko (21-06-2021), nemesis8 (21-11-2020), oo7 (20-12-2020), parnexcodes (23-06-2020), pat81 (16-06-2020), pincoball (30-04-2020), Prettyboy099 (24-12-2020), Python-Boy (01-01-2021), Rabbit67 (10-11-2020), ravikant (07-08-2023), Razor12911 (22-05-2020), Rekulou (25-05-2021), sajmon83 (13-02-2021), sakhjack (07-08-2021), sawno (03-04-2022), shazzla (22-05-2020), Stor31 (29-06-2020), Sup4hSoak3r (03-02-2022), SwampGoblin (05-03-2021), TheTimickRus (26-03-2021), Titeuf (03-04-2020), Valtus (03-09-2021), Vladislav989 (03-09-2022), wangfeilong0317 (07-04-2023), Welder05 (06-04-2021), yasserdivar (06-10-2023) |
Sponsored Links |
#2
|
||||
|
||||
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 Last edited by Cesar82; 16-05-2024 at 06:31. |
#3
|
||||
|
||||
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) Light Installer version 1.0.0.3 is compatible with the UltraArc/DiskSpan files from post #2. Code:
UltraARC 2900 R7 FULL (DISK SPAN R3) [2020-06-11].7z - Light Installer version 1.0.0.4 has a "CRC check" error when performing the extraction when using XTool or ZTool. - Light Installer version 1.0.0.5 there are errors when using RazorTools tools (only for specific ones for a game). - Light Installer version 1.0.0.8 compatible with DiskSpan_GUI 1.0.0.5 in post #2. - Light Installer version 1.0.1.1 compatible with DiskSpan_GUI 2.0.1.2 (only). - Light Installer version 1.0.1.2 compatible with DiskSpan GUI 2.0.1.3+. - Light Installer version 1.0.1.3 compatible with DiskSpan GUI 2.0.1.4+. - Light Installer version 1.0.1.4 compatible with DiskSpan GUI 2.0.1.7+. Files moved from the main post: Code:
Light Installer Script 1.0.0.0 (296 views) Light Installer Script 1.0.0.1 (194 views) Light Installer Script 1.0.0.2 (200 views) Light Installer Script 1.0.0.3 (825 views) Light Installer Script 1.0.0.4 (128 views) Light Installer Script 1.0.0.5 (201 views) Light Installer Script 1.0.0.6 (268 views) Light Installer Script 1.0.0.7 (247 views) Light Installer Script 1.0.0.8 (1004 views) Light Installer Script 1.0.0.9 (501 views) Light Installer Script 1.0.1.0 (702 views) Light Installer Script 1.0.1.1 (43 views) Light Installer Script 1.0.1.2 (177 views) Light Installer Script 1.0.1.3 (238 views) Light Installer Script 1.0.1.4 (701 views) Light Installer Script 1.0.1.5 (225 views) Last edited by Cesar82; 16-08-2024 at 08:33. Reason: Moved old version from first post |
The Following 4 Users Say Thank You to Cesar82 For This Useful Post: | ||
#4
|
|||
|
|||
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 |
#5
|
||||
|
||||
Quote:
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. |
#6
|
|||
|
|||
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) |
#7
|
||||
|
||||
I also get this freeze. Seems like the installer is freeze for a few seconds/minutes. Just wait, it will work.
__________________
Haters gonna hate
|
The Following User Says Thank You to KaktoR For This Useful Post: | ||
pincoball (22-05-2020) |
#8
|
||||
|
||||
Light Installer 1.0.0.2
Quote:
I updated the file in the first post. I think it's working now. Last edited by Cesar82; 22-05-2020 at 21:22. |
#9
|
||||
|
||||
Quote:
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. |
#10
|
|||
|
|||
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) |
#11
|
||||
|
||||
Quote:
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. |
The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Gehrman (23-05-2020) |
#12
|
|||
|
|||
Hi,
How do I incorporate the Records.ini file so that it is not next to it? |
#13
|
||||
|
||||
Quote:
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. |
#14
|
|||
|
|||
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. |
#15
|
||||
|
||||
Quote:
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 |
The Following User Says Thank You to Cesar82 For This Useful Post: | ||
Emorian (25-05-2020) |
Tags |
asis, ciu, inno, installer, ultraarc |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Help] need Advanced Installer script with Razor1911's UltraArc module | rez3vil | Conversion Tutorials | 3 | 15-04-2024 02:24 |
Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 09:27 |
INDEX - Conversion Tutorial Index | Razor12911 | Conversion Tutorials | 5 | 11-06-2020 02:05 |
How many forum members does it take to change a light bulb? | rms2001 | XBox Games | 6 | 12-01-2004 05:31 |