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
  #376  
Old 24-10-2018, 22:18
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Quote:
Originally Posted by Midnights View Post
And for OS, how specify x86 or x64? Thank
On the same settings.ini on the top there is an option to set it up for x64 only.

64BitOnly=0 (for x86/x64)
64BitOnly=1 (for x64 only)

I dont think its possible to indicate the bit version on the OS section but im not 100% sure.
Reply With Quote
Sponsored Links
  #377  
Old 25-10-2018, 02:42
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
It is possible, but you have to add the check for yourself on HW Page

Look in ISSysInfo.iss, there are all possible things
Code:
function GetOSArchitecture: Byte; external 'GetOSArchitecture@files:ISSysInfo.dll stdcall delayload';
__________________
Haters gonna hate
Reply With Quote
  #378  
Old 25-10-2018, 16:51
Midnights Midnights is offline
Registered User
 
Join Date: Aug 2015
Location: Canada
Posts: 23
Thanks: 2
Thanked 0 Times in 0 Posts
Midnights is on a distinguished road
Ok forget that ^^

Thank

Last edited by Midnights; 26-10-2018 at 03:40.
Reply With Quote
  #379  
Old 27-10-2018, 09:51
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 4,312
Thanks: 6,755
Thanked 11,699 Times in 3,223 Posts
mausschieber is on a distinguished road
it is not compatible with Inno setup 5.6 U
must have Inno Setup Enhanced Unicode otherwise welcome page is not shown
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #380  
Old 27-10-2018, 14:05
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Yep, or use included compiler.exe
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
mausschieber (27-10-2018)
  #381  
Old 14-12-2018, 22:53
kocchi96x's Avatar
kocchi96x kocchi96x is offline
Registered User
 
Join Date: Aug 2016
Location: USA
Posts: 29
Thanks: 14
Thanked 14 Times in 12 Posts
kocchi96x is on a distinguished road
I like this script and am enjoying how it works but their is one thing that bugs me, and thats the records ini is their some way i can get it to work with the setup exe itself without having to keep it in the source directory with it to work. Ive played around with it trying to get it work to no avail.
Reply With Quote
  #382  
Old 15-12-2018, 15:19
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
Not without rewriting bunch of code.

I think the fastest "workaround" would be to include records.ini to setup.exe and let it unpack to temp folder (or let setup.exe create a new one instead). Before archive unpacking starts, use SaveStringToFile function and change "Source=" to source dir (from where you install) and "Output=" to target dir (destination of the game or whatever).

I have not looked up the code, but all needed info should be in "procedure UltraArc".

This way records.ini will be stored and read from %temp% folder instead of source folder (so it's not directly visible to the users).

The complicated way is to use ISArcExtract
Code:
if not ArcExtract(100,'Archive.arc') then break;
But for this much more code changing is needed.
__________________
Haters gonna hate

Last edited by KaktoR; 15-12-2018 at 15:23.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
kocchi96x (15-12-2018)
  #383  
Old 15-12-2018, 21:07
kocchi96x's Avatar
kocchi96x kocchi96x is offline
Registered User
 
Join Date: Aug 2016
Location: USA
Posts: 29
Thanks: 14
Thanked 14 Times in 12 Posts
kocchi96x is on a distinguished road
Quote:
Originally Posted by KaktoR View Post
Not without rewriting bunch of code.

I think the fastest "workaround" would be to include records.ini to setup.exe and let it unpack to temp folder (or let setup.exe create a new one instead). Before archive unpacking starts, use SaveStringToFile function and change "Source=" to source dir (from where you install) and "Output=" to target dir (destination of the game or whatever).

I have not looked up the code, but all needed info should be in "procedure UltraArc".

This way records.ini will be stored and read from %temp% folder instead of source folder (so it's not directly visible to the users).

The complicated way is to use ISArcExtract
Code:
if not ArcExtract(100,'Archive.arc') then break;
But for this much more code changing is needed.
After some trial and error i got it working thanks for the lead their and thanks for the script.
Reply With Quote
  #384  
Old 15-12-2018, 21:47
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Yep, its not so complicated, i had this already done for my setups on asis. Just include the records.ini on the asis script to be copy over to the tmp folder just the same way you include an compressor. Then change on the script the src values to tmp for the records.ini. Works perfect this way
Reply With Quote
  #385  
Old 15-12-2018, 21:57
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Here is a detailed way how to add it to asis (in my case i place the records.ini where the settings.ini file is). I add some more code so if someone wants to add it it can be located in easy way

First part on very top of the script:
Code:
#define ScriptVersion "7.1.0"

#include "Settings.ini"
#include "Compressor.ini"
#include "Records.ini"
On the same script a bit after:

Code:
Source: Include\ASIS.png; DestDir: {tmp}; Flags: dontcopy;
Source: Include\ASIS.bmp; DestDir: {tmp}; Flags: dontcopy;
Source: Settings.ini; DestDir: {tmp}; Flags: dontcopy; 
Source: Records.ini; DestDir: {tmp}; Flags: dontcopy;
And finally this:

Code:
  ExtractTemporaryFile('Settings.ini'); 
  ExtractTemporaryFile('Records.ini');
After all this 3 entries just on the same script look for all

{src}\records.ini

and change them to:

{tmp}\records.ini

Remember, records.ini should be placed on the root folder of asis this way.
Reply With Quote
The Following 5 Users Say Thank You to K4miKaZe For This Useful Post:
Grumpy (16-12-2018), KaktoR (16-12-2018), kocchi96x (16-12-2018), pakrat2k2 (15-12-2018), Titeuf (16-12-2018)
  #386  
Old 15-12-2018, 22:40
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by K4miKaZe View Post
Here is a detailed way how to add it to asis (in my case i place the records.ini where the settings.ini file is). I add some more code so if someone wants to add it it can be located in easy way

First part on very top of the script:
Code:
#define ScriptVersion "7.1.0"

#include "Settings.ini"
#include "Compressor.ini"
#include "Records.ini"
On the same script a bit after:

Code:
Source: Include\ASIS.png; DestDir: {tmp}; Flags: dontcopy;
Source: Include\ASIS.bmp; DestDir: {tmp}; Flags: dontcopy;
Source: Settings.ini; DestDir: {tmp}; Flags: dontcopy; 
Source: Records.ini; DestDir: {tmp}; Flags: dontcopy;
And finally this:

Code:
  ExtractTemporaryFile('Settings.ini'); 
  ExtractTemporaryFile('Records.ini');
After all this 3 entries just on the same script look for all

{src}\records.ini

and change them to:

{tmp}\records.ini

Remember, records.ini should be placed on the root folder of asis this way.
thanks for posting such detailed information, i'm sure there will be more then just a few who may want to do this.
Reply With Quote
The Following 3 Users Say Thank You to pakrat2k2 For This Useful Post:
Grumpy (16-12-2018), K4miKaZe (16-12-2018), Titeuf (16-12-2018)
  #387  
Old 16-12-2018, 17:27
K4miKaZe's Avatar
K4miKaZe K4miKaZe is offline
Registered User
 
Join Date: Sep 2018
Location: Spain
Posts: 146
Thanks: 177
Thanked 235 Times in 84 Posts
K4miKaZe is on a distinguished road
Quote:
Originally Posted by pakrat2k2 View Post
thanks for posting such detailed information, i'm sure there will be more then just a few who may want to do this.
Glad to help
Reply With Quote
  #388  
Old 17-12-2018, 12:56
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,684
Thanks: 1,106
Thanked 7,331 Times in 2,834 Posts
KaktoR is on a distinguished road
I need some testers for next version (I made some big changes).

PM me if you're interested.
__________________
Haters gonna hate
Reply With Quote
  #389  
Old 19-12-2018, 17:10
Chrushev Chrushev is offline
Registered User
 
Join Date: Dec 2018
Location: US
Posts: 17
Thanks: 0
Thanked 1 Time in 1 Post
Chrushev is on a distinguished road
Sorry Im new to this. Is there a tutorial on how to use this with other games?
Reply With Quote
  #390  
Old 19-12-2018, 22:01
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,043 Times in 3,086 Posts
pakrat2k2 is on a distinguished road
no tutorial needed everything is handled by settings.ini. Download the archive & look in the setup folder, there you will see the images/names for them. Look in settings.ini for the corresponding line for the image name. Thats all there is to it basically. Edit the ini with the game information it asks for, find images you want to use, make them the same size as those in setup folder.

only change i've made is names...

In settings.ini KaktoR has the name of the game before extension, ive just removed the name of the game & left it with just the name.

IE:

Code:
[Installer]
//----------------------------------------------- Setup\Filename.bmp
WelcomeBackground=Welcome.bmp
FinishBackground=Finish.bmp
BannerBackground=Banner.bmp
before it was gamename.Welcome.bmp which personally was way too much work to change everytime, easiest to just leave it short, as above.
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 03:51.


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