FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   [CIUv3] Custom Installer Ultimate v3 (https://fileforums.com/showthread.php?t=102510)

KaktoR 30-10-2020 05:28

@Cesar:

You should check this https://fileforums.com/showpost.php?...5&postcount=25

alucard1973 30-10-2020 12:44

Quote:

Originally Posted by Cesar82 (Post 488713)
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

alucard1973 30-10-2020 15:17

Quote:

Originally Posted by Cesar82 (Post 488715)
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};

KaktoR 31-10-2020 01:57

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).

KaktoR 31-10-2020 02:05

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).

alucard1973 31-10-2020 06:43

Quote:

Originally Posted by Cesar82 (Post 488725)
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

mausschieber 01-11-2020 07:55

anybody have this error with these option in Borderlands 3
ue4dt+xzlib+srep:m3f+4x4:lzma

https://i.ibb.co/gTQDjN5/Borderlands-3.png

alucard1973 03-11-2020 04:04

Quote:

Originally Posted by Cesar82 (Post 488724)
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

alucard1973 03-11-2020 05:58

Quote:

Originally Posted by Cesar82 (Post 488770)
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

Kitsune1982 03-11-2020 18:59

**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.**

Kitsune1982 04-11-2020 11:19

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!! :D
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
-

alucard1973 05-11-2020 02:57

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

alucard1973 05-11-2020 03:38

Quote:

Originally Posted by cesar82 (Post 488804)
@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 :)

alucard1973 05-11-2020 03:41

Quote:

Originally Posted by alucard1973 (Post 488805)
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?

alucard1973 06-11-2020 13:06

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


All times are GMT -7. The time now is 18:23.

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