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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 29-12-2020, 16:12
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 96
Thanks: 421
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
You can use an older version of ASIS. Perhaps KaktoR still has earlier versions.
Or make your changes to the current script to include your compressors within setup.exe.
Yes but how to do that exactly? For example the first problem is that the setup checks if is present a "setup.dll" file created from "COMPRESSOR_GUI". And i don't know how to remove that requisite.
Reply With Quote
Sponsored Links
  #2  
Old 29-12-2020, 17:05
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 L0v3craft View Post
Yes but how to do that exactly? For example the first problem is that the setup checks if is present a "setup.dll" file created from "COMPRESSOR_GUI". And i don't know how to remove that requisite.
I find it easier to use it with the Setup.dll external file.
Otherwise it would take a lot of stretches in the script for you to include your compressors.
Extracting the compressors from the Setup.dll file is much faster than extracting from within setup.exe.
You can create your own Setup.dll with your compressors, just by compressing the contents of your compressor folder with FreeArc using the -m1 method.
Then you can use your bat file to compress your game.
I think that in the UltraArc folder there is a BAT (_Compress Optional DLL) to you drop your compressors folder and Setup.dll will be generated.
Then just move Setup.dll to your Setup.exe.
Setup.dll supports including Arc.ini and CLS.ini with their original names.
You will also need the information of the compressed files in an external file records.ini (you can include Records.ini within Setup.dll).
You can also configure the methods on DiskSpan_GUI. DiskSpan_GUI is 95% configurable. DiskSpan_GUI will soon support freearc masks.

Last edited by Cesar82; 29-12-2020 at 17:09.
Reply With Quote
  #3  
Old 30-12-2020, 09:55
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 96
Thanks: 421
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
I find it easier to use it with the Setup.dll external file.
Otherwise it would take a lot of stretches in the script for you to include your compressors.
Extracting the compressors from the Setup.dll file is much faster than extracting from within setup.exe.
You can create your own Setup.dll with your compressors, just by compressing the contents of your compressor folder with FreeArc using the -m1 method.
Then you can use your bat file to compress your game.
I think that in the UltraArc folder there is a BAT (_Compress Optional DLL) to you drop your compressors folder and Setup.dll will be generated.
Then just move Setup.dll to your Setup.exe.
Setup.dll supports including Arc.ini and CLS.ini with their original names.
You will also need the information of the compressed files in an external file records.ini (you can include Records.ini within Setup.dll).
You can also configure the methods on DiskSpan_GUI. DiskSpan_GUI is 95% configurable. DiskSpan_GUI will soon support freearc masks.
Tested. The problem is that it doesn't decompress my "data.arc" archive. Also the file "records.ini" is present where is the setup, same for the setup.dll (tried also to create it manually with freearc). No errors, simply doesn't install anything.
Reply With Quote
  #4  
Old 30-12-2020, 18:16
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 L0v3craft View Post
Tested. The problem is that it doesn't decompress my "data.arc" archive. Also the file "records.ini" is present where is the setup, same for the setup.dll (tried also to create it manually with freearc). No errors, simply doesn't install anything.
If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).
Reply With Quote
  #5  
Old 31-12-2020, 05:11
L0v3craft's Avatar
L0v3craft L0v3craft is offline
Registered User
 
Join Date: Dec 2015
Location: Rome
Posts: 96
Thanks: 421
Thanked 24 Times in 15 Posts
L0v3craft is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
If you want to send me your project (by PM) I can help you more easily (send me the complete project including the compressors).
Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".
Reply With Quote
The Following 2 Users Say Thank You to L0v3craft For This Useful Post:
Cesar82 (31-12-2020), KaktoR (31-12-2020)
  #6  
Old 31-12-2020, 06:07
Ele's Avatar
Ele Ele is offline
Registered User
 
Join Date: Nov 2020
Location: Near Mars
Posts: 93
Thanks: 89
Thanked 96 Times in 37 Posts
Ele is on a distinguished road
Quote:
Originally Posted by L0v3craft View Post
Incredible, this is the reason:

the original file "records.ini" that comes with ASIS is this:

[Record1]
Type=Freearc_Original
Source={src}\data.arc
Output={app}\
Disk=1

and it doesn't work, works only changing that "Type=Freearc_Original" to "Type=FreeArc_Original".

Infact the code does this check:

if Data[i - 1].Arc[0] = 'FreeArc_Original' then

it is "FreeArc" and not "Freearc".
But Inno setup is non case sensitive. isn't?
Reply With Quote
  #7  
Old 31-12-2020, 08:43
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 Ele View Post
But Inno setup is non case sensitive. isn't?
ASIS even has a case sensitive comparison.
In CIU and LIS these options are compared with LowerCase.
You can change the ASIS script in 2 places, just by entering LowerCase.
Code:
if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Original') then

if LowerCase(Data[i - 1].Arc[0]) = LowerCase('FreeArc_Split') then
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 09:15.


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