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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30-10-2020, 12:44
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
If the changes I suggested above worked (not tested), I can include a key for this in future versions of CIU.




It is not how it works.
You are using the wrong value in the ArcFile2= key.


ADDITIONAL NOTES:
To add the DLC as a task (As additional languages) you can use it by adding Task:<TaskID>;
You can also use Records.ini (if you prefer) by setting key Component=2 (To tasks use key Task=<TaskID>).
The same data file can be used in different tasks or components simply by separating the IDs with a comma (like Task:1,3,4;).
I tried with comp:2 and it doesn't install the DLC
I would test tomorrow morning with the record.ini

I saw in the script that there was for the backups, is there an argument to put in the Setup.ini file like SaveFolderGame={userdocs}\Total War Warhammer?
I ask for my No Steam games

Last edited by alucard1973; 30-10-2020 at 12:56.
Reply With Quote
Sponsored Links
  #2  
Old 30-10-2020, 15:17
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
Talking

Quote:
Originally Posted by Cesar82 View Post
I'll test later.

The SaveGamesFolder#= key is used to inform the folder path with the game saves.
If the key is defined as:
Code:
SaveGameFolder1={app}\Saves
At the beginning of the uninstallation, the "Saves" folder will be moved from within {app} to a backup folder, and after uninstalling it will be restored to its original path.
P.S: The folder informed in the SaveGamesFolder#= keys will only be kept if "Yes" is answered to the question during the uninstallation.
I just tested
it does not work, it does not uninstall the backup
Also testing .md5, doesn't work either
Well i think that's all for now

[InstallOptions]
------------------------------------------------------------------------------------------------------------------------------------------------------
ApplicationName=Streets of Rage 4
//Publisher=Square Enix
//GameSize=32200
GameSize=5049535945 Bytes
Lang=ar,en,fr,it,de,es,ko,pl,ptbr,pt,ru,cns,cnt
Editor=Cesar82
ProductCode=Streets of Rage 4
SetupVersion=1.0.0
GameVersion=05-g
//UninstallFolder={userdocs}\Shadow of the Tomb Raider\Uninstall
AllowWithoutAutorun=1
AllowWithoutSmallInstaller=1
64BitOnly=0
AllowYouTube=0
AddDXFilter=0

[SaveGameFolder]
SaveGameFolder1={userdocs}\Streets of Rage 4 Save and Config

[HashSettings_] //.md5, .sha1, .sha256, .sha512
------------------------------------------------------------------------------------------------------------------------------------------------------
StartCheck=1
HashFile1={src}\Streets of Rage 4.md5;DestDir:{app};
Reply With Quote
  #3  
Old 03-11-2020, 04:04
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
There is no [SaveGameFolder] section in CIU.

See the _Setup.ini file in the Help folder of the source code.
The correct way to use it would be to use the key in the [Installoptions] section:
Code:
[InstallOptions]
//...
SaveGameFolder1={userdocs}\Streets of Rage 4 Save and Config
Hello,
I come back to another concern
I can't change {pf} to {sd} in the script, it tells me
Line 21: Unknown constant "commonsd". Use two consecutive "{" characters if you are trying to embed a single "{" and not a constant.

after test, the backup to delete works, I had written it wrong

Last edited by alucard1973; 03-11-2020 at 04:54.
Reply With Quote
  #4  
Old 03-11-2020, 05:58
alucard1973 alucard1973 is offline
Registered User
 
Join Date: Apr 2015
Location: Madrid
Posts: 45
Thanks: 1
Thanked 3 Times in 3 Posts
alucard1973 is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
You said you're trying to use {sd}
but the error reports {commonsd}.

Constant called {commonsd} does not exist in Inno Setup.
You should only use {sd}.

The CIU code has an ISPP parameter for compatibility with Inno Setup 5 and also Inno Setup 6.
When used with Inno Setup 6 add "commom" before "pf" to compatibility with Inno Setup 6.
Code:
Just change the line:
DefaultDirName={{#defined(IS_V6) ? "common" : ""}pf}\{code:GetAppPublisher}\{code:GetAppName}

To:
DefaultDirName={sd}\{code:GetAppPublisher}\{code:GetAppName}
These changes above will not change the path in DirEdit.
It is also necessary to look in the code and change "{pf}" to "{sd}" also on this line (Here is line 22357).
Code:
WizardForm.DirEdit.Text := AddBackslash(ExpandConstant('{pf}\') + GetAppPublisher('')) + GetAppName('');
for me it's line 22366 because I use the u2 version and not u3 because decompression problem as explained later
thanks

Last edited by alucard1973; 03-11-2020 at 06:01.
Reply With Quote
The Following User Says Thank You to alucard1973 For This Useful Post:
Cesar82 (03-11-2020)
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
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 13:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 07:19



All times are GMT -7. The time now is 02:17.


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