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

Reply
 
Thread Tools Display Modes
  #586  
Old 30-10-2020, 06:28
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,025 Times in 2,659 Posts
KaktoR is on a distinguished road
@Cesar:

You should check this https://fileforums.com/showpost.php?...5&postcount=25
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Cesar82 (30-10-2020)
Sponsored Links
  #587  
Old 30-10-2020, 13: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 13:56.
Reply With Quote
  #588  
Old 30-10-2020, 16: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
  #589  
Old 31-10-2020, 02:57
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,025 Times in 2,659 Posts
KaktoR is on a distinguished road
Arc.ini in EXTERNAL folder using [Ressources] will not be copied to %temp% folder (or copied before internal Setup.exe arc.ini, which will be overwritten then).
__________________
Haters gonna hate
Reply With Quote
  #590  
Old 31-10-2020, 03:05
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,413
Thanks: 1,078
Thanked 7,025 Times in 2,659 Posts
KaktoR is on a distinguished road
My external arc.ini is different from the internal arc.ini.

I checked %temp% folder when installation starts and it's still the internal arc.ini.

Edit: Add taskkill for dst_oo2reck.exe (if you cancel installation).
__________________
Haters gonna hate

Last edited by KaktoR; 31-10-2020 at 03:16.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Cesar82 (31-10-2020)
  #591  
Old 31-10-2020, 07:43
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
Here is an update CIU 3.0.0.1.b7.u3 with small fixes.
I updated ZStandard to the latest version, so I think it would be good if someone tests it out.
Other corrections are reported in the changelog.
Any bug found please inform me by PM or comment here.
Thank you for understanding.
I just tested this beta 3 version, no more decompression works, I tested on Z the Game that I created yesterday and that it worked, but after updating this new version, it does not decompress anything anymore
Reply With Quote
  #592  
Old 01-11-2020, 08:55
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 3,687
Thanks: 5,796
Thanked 10,296 Times in 2,727 Posts
mausschieber is on a distinguished road
anybody have this error with these option in Borderlands 3
ue4dt+xzlib+srep:m3f+4x4:lzma

__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #593  
Old 03-11-2020, 05: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 05:54.
Reply With Quote
  #594  
Old 03-11-2020, 06: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 07:01.
Reply With Quote
The Following User Says Thank You to alucard1973 For This Useful Post:
Cesar82 (03-11-2020)
  #595  
Old 03-11-2020, 19:59
Kitsune1982's Avatar
Kitsune1982 Kitsune1982 is offline
Registered User
 
Join Date: Jun 2011
Location: USA
Posts: 110
Thanks: 5
Thanked 86 Times in 47 Posts
Kitsune1982 is on a distinguished road
**post edit: never mind, i found the problem. it was with my setup.ini file not the dxfilters. i had only wanted to know if i could disable them for conversions without videos but i fixed the issue. i must have been using a setup.ini script or isscript that was not compatible with the latest release of CIU. everything is fine now.**

Last edited by Kitsune1982; 03-11-2020 at 20:19.
Reply With Quote
  #596  
Old 04-11-2020, 12:19
Kitsune1982's Avatar
Kitsune1982 Kitsune1982 is offline
Registered User
 
Join Date: Jun 2011
Location: USA
Posts: 110
Thanks: 5
Thanked 86 Times in 47 Posts
Kitsune1982 is on a distinguished road
Cesar, thank you for your assistance with my issue. I also discovered i indeed did not have all the proper codecs installed. i updated my klite mega codec pack and made sure LAV splitters and all required codecs were installed this time. i then replaced all the source setup and autorun files with my own including my downscaled mp3 and then tried to rerun setup and amazingly it worked!!
even turning off 'addDXFilter' in setup.ini did not return any errors plus i got the tiny setup exe size i wanted. thanks for your help, i never would have guessed it was me not having an updated codec pack installed.

PS - Here is the result of my downscaled mp3 size - Original in package: 14 mb for Music1.mp3 and MusicSI.mp3
After removing both and downscaling my autorun music to 64 bits and compressing pngs/wavs/etc, my music1.mp3 for a 1 min 12 sec clip was 504 kb and the output
setup.exe was 7 mb even with the proper encoder/decoders set up. cheers

-Kitsune
-

Last edited by Kitsune1982; 04-11-2020 at 12:22.
Reply With Quote
  #597  
Old 05-11-2020, 03:57
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
Hello cesar82
Do you have a solution or see my error in the setup.ini?
I don't know why it isn't working to choose the version of the game I want to install
thank you

[ExtractSettings] //DiskSpan
------------------------------------------------------------------------------------------------------------------------------------------------------
ArcFile1=Setup1.cab;DestDir:{app}\SteamApps\common \FINAL FANTASY VII;Type:ARC;Disk:1;Comp:1
ArcFile2=Setup1NM.cab;DestDir:{app}\SteamApps\comm on\FINAL FANTASY VII;Type:ARC;Disk:1;Comp:1
ArcFile3=Setup1STEAM.cab;DestDir:{app}\SteamApps;T ype:ARC;Disk:1
ArcFile4=Setup1STEAMICO.cab;DestDir:{pf32}\Steam\s team\games;Type:ARC;Disk:1

[ComponentsSettings]
AlignOnTop=0
AlignOnLeft=0
ShowCheckAll=1

ScrollBarLeft=0
ScrollBarWidth=25
ScrollUpDownHeight=17
ScrollSliderHeight=52
ListBoxItemsHeight=20

Font=D-DIN
FontColor=$ffffff
FontSize=0
FontUC=1
FontBold=0

ShadowVisible=1
ShadowColor=$000000
ShadowMoveX=0
ShadowMoveY=0

LabelX=0
LabelY=2

[Component1]
------------------------------------------------------------------------------------------------------------------------------------------------------
Name=Final Fantasy VII
Size=1.42 GB
FirstBGImage=1
ShowInstallLabel=0
Exclusive=1
Checked=0
Enabled=1

[Component2]
------------------------------------------------------------------------------------------------------------------------------------------------------
Name=Final Fantasy VII (Neo Midgar 1.7)
Size=1.42 GB
FirstBGImage=4
ShowInstallLabel=0
Exclusive=1
Checked=0
Enabled=1
Reply With Quote
  #598  
Old 05-11-2020, 04:38
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
Smile

Quote:
Originally Posted by cesar82 View Post
@alucard1973, as far as i could see you have two versions of the game and want to check only one component at a time (exclusive);
if you use exclusive one of the checkboxes/radiobuttons must be checked by default.
Code:
[component1]
checked=1
i think the error is in the component number that both arc has the same component id 1 (check red color number):
Code:
[extractsettings]
arcfile1=setup1.cab;destdir:{app}\steamapps\common\final fantasy vii;type:arc;disk:1;comp:1
arcfile2=setup1nm.cab;destdir:{app}\steamapps\common\final fantasy vii;type:arc;disk:1;comp:1
arcfile3=setup1steam.cab;destdir:{app}\steamapps;type:arc;disk:1
arcfile4=setup1steamico.cab;destdir:{pf32}\steam\steam\games;type:arc;disk:1
i just tested and it works
thank you cesar82
Reply With Quote
  #599  
Old 05-11-2020, 04:41
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 alucard1973 View Post
i just tested and it works
thank you cesar82
last point
for the register, how i should do to set that the key is for comp1 and another key for comp2?
Reply With Quote
  #600  
Old 06-11-2020, 14:06
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
little bug that I just saw without realizing it, the decompression percentage never goes to 100, all my decompression ends at 33% instead of 100
Reply With Quote
Reply

Thread Tools
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 03:05
[GSERIES] Custom Installer Ultimate V2g Gupta Conversion Tutorials 226 01-06-2018 14:12
Crysis 3 DVD9 to 3xDVD5 Custom Installer spawniectes PC Games - CD/DVD Conversions 79 31-08-2017 08:19



All times are GMT -7. The time now is 12:10.


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