Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-06-2021, 11:00
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
I assume
Code:
ISDoneStop;
will stop the install timer?
Reply With Quote
Sponsored Links
  #2  
Old 10-06-2021, 19:18
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
I assume
Code:
ISDoneStop;
will stop the install timer?
In the ISDone documentation it says:
Code:
1)
function ISDoneStop: boolean;
During a test pass, it calculates all data by checkpoints and writes to the file specified in the initialization, clears some variables, etc.

2)
Stopping internal library timers, freeing memory from library variables, writing the records.inf file during a test run, etc.
Code:
Original information:
1)
при тестовом проходе рассчитывает все данные по чекпоинтам и записывает в файл, заданный в инициализации, очищает некоторые переменные, и т.д.

2)
остановка внутренних таймеров библиотеки, освобождение памяти от переменных библиотеки, запись файла records.inf при тестовом прогоне, и т.д.
I think it's a deinitialization function (like IsDoneUnInit).
But if you call IsDoneInit and after the procedure calls ISDoneStop it is necessary to call UnloadDLL(<isdonedllpath>) to be able to initialize the IsDoneInit function again (If you don't call UnloadDLL you will get an error message).

I can say this because I had to do this in order to extract the decompressor files from DLL Setup.dll in CIU.
Initially CIU extracts only Records.ini to check the installer type information, then Isdone is rebooted to extract the decompressor files and finally if everything is ok, reboots again to perform game extraction.

Last edited by Cesar82; 10-06-2021 at 19:33.
Reply With Quote
  #3  
Old 16-06-2021, 16:00
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Hi all,

Does anyone know how to force the redists box for ASIS to be ticked? I'm currently using the redists to force some scripts to run and don't want there to be any chance of the end-user mucking up the install.

Another question I have is does anyone know why, in v7.2.0 compact mode, the redists box remains unavailable, however in v7.2.2a compact mode, the redist box is selectable?

EDIT: After editing the v7.2.0 script a bit I got the redists to work, however I'm yet to figure out the answer to my first question.

Last edited by L33THAK0R; 16-06-2021 at 17:28.
Reply With Quote
  #4  
Old 16-06-2021, 23:45
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
L33THAK0R

Why not go to the ssPostInstall part of the setup and write an Exec2 statement to run your script?

This way, the script will be ran instantly after the files are extracted, Regardless of whether the user opts to install redists or not.
Reply With Quote
  #5  
Old 17-06-2021, 00:27
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
L33THAK0R

Why not go to the ssPostInstall part of the setup and write an Exec2 statement to run your script?

This way, the script will be ran instantly after the files are extracted, Regardless of whether the user opts to install redists or not.
Honestly I investigated your suggestion and using the redists seems like the easiest solution. Did about 5 minutes of looking through the script (I posted my question rather hastily, as I was excited to finish my repack of the series this method is required for, and was caught up in the moment talking to some lads and a quite skilled re-packer about it.), and figured out the function/call/whatever its classified as that's responsible for checking if the redists are selected is "UseRedists" (for anyone looking for a similar solution in the future) on line ~4918 (I've modified ASIS v7.2.0 a fair bit to suit my needs better so the line number might not be exact), and it works perfectly.
Reply With Quote
  #6  
Old 17-06-2021, 02:33
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
L33THAK0R

Why not go to the ssPostInstall part of the setup and write an Exec2 statement to run your script?

This way, the script will be ran instantly after the files are extracted, Regardless of whether the user opts to install redists or not.
Just wanted to update and say yeah you're right ssPostInstall is heaps cleaner to organise than a redist, decided to take your advice, thanks for the help!
Reply With Quote
  #7  
Old 20-06-2021, 23:48
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Hi all,

Does anyone know how to add additional commands/options to srep for unpacking with ASIS? I'm currently using pzlib v3 (xtool doesn't inflate the files as well) + srep + lolz/rz (experimenting with different combinations right now) for the 2015 title "Mad Max" and I always seem to get either a -1 or CRC fail error at some point when unpacking. According to this thread using the "-hash" command to ignore bad CRC checks, may resolve this bug, and if not then I'll just have to investigate a different method. Would it be as simple as editing the arc.ini to include a srep header or would I need to add/edit something in the script? Thanks for taking the time to read this post.
Reply With Quote
  #8  
Old 21-06-2021, 10:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Hi all,

Does anyone know how to add additional commands/options to srep for unpacking with ASIS? I'm currently using pzlib v3 (xtool doesn't inflate the files as well) + srep + lolz/rz (experimenting with different combinations right now) for the 2015 title "Mad Max" and I always seem to get either a -1 or CRC fail error at some point when unpacking. According to this thread using the "-hash" command to ignore bad CRC checks, may resolve this bug, and if not then I'll just have to investigate a different method. Would it be as simple as editing the arc.ini to include a srep header or would I need to add/edit something in the script? Thanks for taking the time to read this post.
I had no issues decompressing mad max when using profrager's cls-srep.

If you are using srep.exe to decompress, try with cls-srep
Reply With Quote
  #9  
Old 21-06-2021, 10:30
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
I had no issues decompressing mad max when using profrager's cls-srep.

If you are using srep.exe to decompress, try with cls-srep
Darn, might be the version of pzlib I'm using then! I've been using the stock standard cls-srep that ASIS v7.2.0 ships with, time to test out some older versions of pzlib me thinks.
Reply With Quote
  #10  
Old 21-06-2021, 12:18
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,217
Thanks: 294
Thanked 1,405 Times in 637 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Darn, might be the version of pzlib I'm using then! I've been using the stock standard cls-srep that ASIS v7.2.0 ships with, time to test out some older versions of pzlib me thinks.
Why are you not using xtool?
Reply With Quote
  #11  
Old 21-06-2021, 16:18
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
Why are you not using xtool?
Best I can get with xtool (zlib codec, version 0.3.20), with srep and lolz, is ~9gb output (I forgot if thats with preflate or reflate, but I tried both), pzlib v3 is able to squash the input down to ~3gb, I know it's possible (and likely at this point) that the outputs from pzlib v3 may be corrupt, however they're in-line with results claimed by other users on this forum.
Reply With Quote
  #12  
Old 21-06-2021, 10:39
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: -
Posts: 203
Thanks: 97
Thanked 188 Times in 101 Posts
:( Sad8669 is on a distinguished road
Try this thread.

Most probably caused by different versions of PZlib.
Reply With Quote
  #13  
Old 06-07-2021, 03:17
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
The Cesar update

Code:
v7.3.1
_____________________________________________________
- ASIS is now fully compatible with DiskSpan GUI v2.0+ (thanks to Cesar82)
  > Old DiskSpan GUI versions aren't compatible anymore
  > You can still use your own archives with ASIS (make Setup.dll manually!)
  > ASIS is now x64 ONLY!
- Remade the Redists code part (thanks to Cesar82)
  > You can now use theoretical unlimited items for your Redists
- Added options for InternalDLL and PasswordDLL inside Script.iss (thanks to Cesar82)
  > Putting Setup.dll next to the script will compress the DLL file into the Setup.exe file
  > Same password used in DiskSpan_GUI to extract decompressors from Setup.dll files
- Changed components (thanks to Cesar82)
  > The components are now exclusive for game collections
- Added Tasks (thanks to Cesar82)
  > With tasks you can define optional content to install for your installation, such 
    as languages, soundtrack, wallpapers, ... (this was the former components)
- It is now possible to use TXT and RTF files for EULA (thanks to Cesar82)
- Changed the time remaining label (thanks to Cesar82)
  > It will now be visible with more then one archive.
    Progress is now calculated according to the size of the arc generated by DiskSpan GUI.
    Example: If DiskSpan GUI generates 2 archives, the first 400 mb and the second 100 mb means 
    that the first archive will occupy 80% and the second 20%.
    So when extracting arc1, 0.80 will be passed in the second parameter (PctOfTotal) of IsDone's 
    IsArcExtract function. For the second file 0.20 will be sent.
    If you don't have the sizes in Records.ini, it will be divided by the number of files, which is 0.50/0.50.
    If you don't use DiskSpan GUI for generating records.ini, you can do it manually (like with records.inf)
- Updated BASS.dll library (thanks to Cesar82)
- Updated some other things (thanks to Cesar82)
I did many tests with this, but maybe I didn't test all 100%. If you encounter any bugs, let us know.

First post updated with new images.
Attached Files
File Type: 7z ASIS.v7.3.1.7z (34.08 MB, 376 views)
File Type: 7z Hotfix.7z (34.9 KB, 81 views)
__________________
Haters gonna hate

Last edited by KaktoR; 12-07-2021 at 02:28.
Reply With Quote
The Following 10 Users Say Thank You to KaktoR For This Useful Post:
BKR-TN (11-07-2021), Cesar82 (06-07-2021), Grumpy (06-07-2021), L33THAK0R (06-07-2021), mausschieber (06-07-2021), Mortal Lord (08-07-2021), pratikpatel8982 (08-07-2021), SwampGoblin (10-07-2021), Titeuf (08-05-2022), XxAZAxX (11-07-2021)
  #14  
Old 06-07-2021, 17:31
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,074
Thanks: 1,814
Thanked 2,304 Times in 787 Posts
Cesar82 is on a distinguished road
Fix ASIS error on disable task page:
Change text in script line 4063.
Code:
#ifdef UseTasks

change to:

#if UseTasks
Reply With Quote
The Following 4 Users Say Thank You to Cesar82 For This Useful Post:
BKR-TN (11-07-2021), KaktoR (07-07-2021), mausschieber (06-07-2021), Mortal Lord (08-07-2021)
  #15  
Old 06-07-2021, 19:05
L33THAK0R's Avatar
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 406
Thanks: 137
Thanked 117 Times in 70 Posts
L33THAK0R is on a distinguished road
Would it be possible to add some of the changes to the CheckCRC section of ASIS v7.3.1 to v7.2.0? Specifically line 5527 under the [Custom Messages] section:
Code:
english.label2={#if CompactMode}Overall progress:{#else}Total files: %1  Files processed: %2    Ok: %3  Missing: %4  Bad: %5{#endif}
I attempted to do so myself but was met unsucessful.
Reply With Quote
Reply


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
[Help] need Advanced Installer script with Razor1911's UltraArc module rez3vil Conversion Tutorials 3 15-04-2024 02:24
Portable Installer Inno Setup Script y_thelastknight Conversion Tutorials 59 23-10-2020 00:02
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Simple Arc Installer 78372 Conversion Tutorials 1 15-06-2017 15:37
MSC+Srep+lzma Simple Script Example gozarck Conversion Tutorials 10 07-09-2015 16:31



All times are GMT -7. The time now is 06:08.


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