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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14-04-2021, 18: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
Alright got 2 more questions for you lads and then I promise I'll stop spamming 'em.

So I've got a repack with a few optional components and I was wondering if its possible for the setup once launched to have a look to see if the component file is present, and if it comes back false, can the setup disable the user from selecting that component?

like changing
Code:
Component1.Enabled=1
to
Code:
Component1.Enabled=0
My second question kinda builds off this first one, by which I mean can you have multiple CRC check files for different combinations of components selected and tell ASIS which one to select based of the selected components?


(like checksums1.md5 for main files & checksums2.md5 for main files + ost)
Reply With Quote
Sponsored Links
  #2  
Old 17-04-2021, 01:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,334 Times in 2,837 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by L33THAK0R View Post
Alright got 2 more questions for you lads and then I promise I'll stop spamming 'em.

So I've got a repack with a few optional components and I was wondering if its possible for the setup once launched to have a look to see if the component file is present, and if it comes back false, can the setup disable the user from selecting that component?

like changing
Code:
Component1.Enabled=1
to
Code:
Component1.Enabled=0
My second question kinda builds off this first one, by which I mean can you have multiple CRC check files for different combinations of components selected and tell ASIS which one to select based of the selected components?


(like checksums1.md5 for main files & checksums2.md5 for main files + ost)
code change is neccessary for this

Quote:
Originally Posted by L33THAK0R View Post
Also a super small question, if I have a compressor that is name differently to how it is named in ASIS, is it possible to change this in ASIS? in this case I'm using "afr_019" but this isn't recognised by ASIS.
In latest version asis will use whatever you put inside setup.dll.

asis itself doesn't have any compressor settings anymore.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
L33THAK0R (17-04-2021)
  #3  
Old 17-04-2021, 20:19
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 KaktoR View Post
code change is neccessary for this



In latest version asis will use whatever you put inside setup.dll.

asis itself doesn't have any compressor settings anymore.
Hey so this is a bit of a dumb question but where do you put setup.dll when you've generated it
Reply With Quote
  #4  
Old 17-04-2021, 21:16
Cesar82's Avatar
Cesar82 Cesar82 is online now
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 L33THAK0R View Post
Hey so this is a bit of a dumb question but where do you put setup.dll when you've generated it
Setup.dll is a ".arc" file (compressed -m0..-m8 and renamed to .dll) that contains the compressors that must be placed next to Setup.exe.
If you rename the Setup.exe file for example to Install.exe, you must also rename the Setup.dll file to Install.dll.
The Setup.dll file is automatically generated by DiskSpan_GUI when compressing the game, but you can include different compressors as long as you also create the settings in the INI files.

In the COMPRESSOR folder on DiskSpan_GUI you have a ".bat" file called "_Compress Optional DLL (Drop Folder or Setup.dll) .bat" that is especially useful for this situation.
You just create a folder and put compressors, cls libraries and .ini files
After placing all decompressor files in a folder just click on the folder and drop the folder on the .bat file to create Setup.dll file.

The standard INI file names are:
Code:
- ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Optimal.ini for when installation is done on 64-bit systems.
- ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Standard.ini for when installation is done on 64-bit systems.
and
Code:
- ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Optimal.ini for when installation is done on 32-bit systems.
- ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Standard.ini for when installation is done on 32-bit systems.
P.S: Arc.ini/CLS.ini is also compatible and will be read if the ones mentioned above do not exist.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
L33THAK0R (18-04-2021), pratikpatel8982 (29-04-2021)
  #5  
Old 18-04-2021, 02:57
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 Cesar82 View Post
Setup.dll is a ".arc" file (compressed -m0..-m8 and renamed to .dll) that contains the compressors that must be placed next to Setup.exe.
If you rename the Setup.exe file for example to Install.exe, you must also rename the Setup.dll file to Install.dll.
The Setup.dll file is automatically generated by DiskSpan_GUI when compressing the game, but you can include different compressors as long as you also create the settings in the INI files.

In the COMPRESSOR folder on DiskSpan_GUI you have a ".bat" file called "_Compress Optional DLL (Drop Folder or Setup.dll) .bat" that is especially useful for this situation.
You just create a folder and put compressors, cls libraries and .ini files
After placing all decompressor files in a folder just click on the folder and drop the folder on the .bat file to create Setup.dll file.

The standard INI file names are:
Code:
- ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Optimal.ini for when installation is done on 64-bit systems.
- ARC_Optimal_x64.ini / ARC_Standard_x64.ini / CLS_Standard.ini for when installation is done on 64-bit systems.
and
Code:
- ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Optimal.ini for when installation is done on 32-bit systems.
- ARC_Optimal_x86.ini / ARC_Standard_x86.ini / CLS_Standard.ini for when installation is done on 32-bit systems.
P.S: Arc.ini/CLS.ini is also compatible and will be read if the ones mentioned above do not exist.
I understand all this but what I mean is where physically should "setup.dll" be present when making the .exe with ASIS, or is it not included inside of the .exe generated by ASIS?
Reply With Quote
  #6  
Old 18-04-2021, 05:17
Cesar82's Avatar
Cesar82 Cesar82 is online now
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 L33THAK0R View Post
I understand all this but what I mean is where physically should "setup.dll" be present when making the .exe with ASIS, or is it not included inside of the .exe generated by ASIS?
I had already answered before...
Setup.dll must be next to Setup.exe (Same folder) when starting the decompression using ASIS.

Complementing the answer, for those who did not understand:
Setup.dll is not needed before build Setup.exe.
ASIS will check if there is a file with the same name as the executable, but with a .dll extension and will extract it using UnArc.dll/IsDone.dll.
Only these 2 libraries are included in ASIS and are required prior to build Setup.exe.
Nothing else is needed inside Setup.exe during the build of Setup.exe.
Reply With Quote
  #7  
Old 18-04-2021, 16:39
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 Cesar82 View Post
I had already answered before...
Setup.dll must be next to Setup.exe (Same folder) when starting the decompression using ASIS.

Complementing the answer, for those who did not understand:
Setup.dll is not needed before build Setup.exe.
ASIS will check if there is a file with the same name as the executable, but with a .dll extension and will extract it using UnArc.dll/IsDone.dll.
Only these 2 libraries are included in ASIS and are required prior to build Setup.exe.
Nothing else is needed inside Setup.exe during the build of Setup.exe.
Ah alright, sorry was just hoping that'd it'd be possible to put the needed resources inside of the ASIS generated .exe, as was possible with v7.2.0.0, guess I won't be using v7.2.2.0+ lol
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
[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 10:38.


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