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
  #1  
Old 06-05-2023, 16:44
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
Thanks, Kaktor.

Ok, since I've never used external checksum files before and this thread is huge, where does this file go if I want to files be checked after the installation ? Setup folder ? I can't get it executed.

Edit: Ok, I got it working. I placed the sucker ( .MD5 file ) next to the script but in this post (#854) was the solution. Cesar mate, you have not fixed the script yet ! Btw, my script version is CIU 3.0.0.1.b9.u4 (2022.12.30).

Quote:
Originally Posted by Cesar82 View Post
There is a small error in the script, sorry.
Just edit line 178 of the script replacing "!=" with "==" (see in green color).
Code:
#if defined(CREATOR) || (Trim(ReadIni(IniFile, "HashSettings", "EnableHash", "1")) == "1")

Last edited by Proxson; 06-05-2023 at 18:15.
Reply With Quote
Sponsored Links
  #2  
Old 03-07-2023, 12:05
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
*bumpson

Hm, I can't make a video (videoAR.mp4) appear before autorun page kicks in. Something to act as a splash screen. I've tried everything but the setup won't call this process.

Code:
[VideoPlayerAR]

Left=10
Top=10
Width=898
Height=480

FrameLeft=20
FrameTop=20
FrameWidth=1280
FrameHeight=1024

Mute=0
Loop=0
Volume=100
Stretch=0
Track=internal
//Source1=
Reply With Quote
  #3  
Old 03-07-2023, 12:22
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
That's because VideoAR will be played on Autorun screen

There is no way to play a video as splash image.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Proxson (03-07-2023)
  #4  
Old 03-07-2023, 12:48
Proxson's Avatar
Proxson Proxson is offline
Registered User
 
Join Date: Nov 2017
Location: Croatia
Posts: 45
Thanks: 34
Thanked 26 Times in 19 Posts
Proxson is on a distinguished road
Thanks Kaktor for you quick answer. It's a shame. It could have been a nice feature.

Edit: I have converted the mp4 video file into gif and named it as splashAR.gif. Works but there are sometimes flickers.

Last edited by Proxson; 03-07-2023 at 16:44.
Reply With Quote
  #5  
Old 01-08-2023, 07:14
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Code:
B9 UPDATE 5:
- Updated BASS.dll from v2.4.16.7 to v2.4.17.0
- Updated CIU_Tools to build 230730, updated help files.
- Updated XHashEx.dll library to v1.0.0.0 build 230729 no UPX version.
- Updated (redone) translation of ChineseS, ChineseT (@wangfeilong0317) and Romanian (@andreiutzu21) language files.
- Fixed bug where Hash page would not enable.
- Fixed the ChineseS and ChineseT language flags (the images of the flags were inverted).
- Fixed bug on click in next button on maintenance page when selecting "Reinstall" option.
- Fixed Registrer, Unregister, Play game from Autorun installer page for UWP games that contain Wildcard characters like "[", "]", etc in the installation path.
- Fixed not to display decimal point in space required labels on Components, Tasks and SelectDir pages when values are integers.
- Fixed getting the correct VRAM value on some laptops (Value is now read from Windows registry).
  >> After this correction, VRAM may not be correctly detected when using graphics cards in SLI/Crosfire.
- Changed name of key OnlyLabel= to OnlyLabelClick= (It is necessary that the label is being displayed).
  >> This key only serves to disable the click outside the label area even if it is inside the button image area.
- Changed name of the key Exe= to ExeFile= in [Executable#] section.
- Changed name of the key Icon= to IconFile= in [Executable#] section.
- Added new key IconIndex= to [Executable#] section to choice index image if IconFile= is a executable file.
- Added new key ShowMaintenanceAlways= in [InterfaceSettings] section.
  >> This option is active by default, but if you use value 0, when you run "Setup.exe" after all components or tasks are already installed.
  >> It will not display the maintenance page, displaying the uninstall page directly.
- Added new "Repair" option on maintenance page that allows to re-install previously installed items.
- Added new key ShowImage= in all buttons sections and group buttons section.
  >> If use value 0 in this key disable the loading of the button image loading a transparent image (It is necessary that the label is being displayed).
- Added new key Language= to the [Component#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component= and Language= to the [Task#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component=, Task= and Language= to the [Launch#] section.
  >> The corresponding item will be disabled if the key value does not match.
- Added new keys Component=, Task= and Language= to the [Executable#] section.
  >> These 3 new keys will be analyzed and the creation of shortcuts or AddToGameExplorer will only be done for the executable that matches the key information.
  >> After installed, only the play buttons will be shown on the autorun page that match with information about components, tasks and language.
- Added new key CreateShortcut= to the [Executable#] section.
  >> This key allows you to deactivate the creation of shortcuts for the executable of the current section.
  >> This will allow you to attach a Play button to the executable that the shortcut will be created on.
- Added support for new Edit.bmp image to delimit the OnMouse access area when using DirectoryEditOnMouse=1.
- Added support for hexadecimal result using "0x" in GetLangNR function like below:
  >> Example to english language use GetLangNR('0x') to return hexadecimal format 0x409, GetLangNR('$') to return hexadecimal format $409 or GetLangNR('') to return decimal value 1033.
- Removed key Type= from [Play#Button] sections.
  >> Now the "Type" information will be inherited from the [Executable#] section appended from the ExecutableID= key in the [Play#Button] sections.
Thanks to César
__________________
Haters gonna hate
Reply With Quote
The Following 7 Users Say Thank You to KaktoR For This Useful Post:
Gehrman (01-08-2023), GTX590 (15-08-2023), mausschieber (01-08-2023), Prettyboy099 (08-08-2023), Proxson (02-08-2023), sajmon83 (08-08-2023), samadrahman74 (06-08-2023)
  #6  
Old 18-09-2023, 17:52
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
CIU 3.0.0.1.b9.u5 (Hotfix 1 & 2)

CIU_3.0.0.1.b9.u5 hotfix 1 fixes a compilation error that locks the compiler in preprocessing mode when using more than 1 executables in INTERNAL mode (mode without Setup.bin).
The same error also compromised the use of PNG images as icons in UWP games.
Thanks to user @mausschieber for reporting the bug.

EDIT:
CIU_3.0.0.1.b9.u5 hotfix 2 fixes some errors related to the [CMDCommands] section of Setup.ini.
Attached Files
File Type: 7z CIU 3.0.0.1.b9.u5.hf2_[2023.12.13].7z (158.6 KB, 21 views)
File Type: 7z CIU 3.0.0.1.b9.u5.hf1_[2023.09.18].7z (158.5 KB, 37 views)

Last edited by Cesar82; 30-12-2023 at 09:29. Reason: Added hotfix 2
Reply With Quote
The Following 5 Users Say Thank You to Cesar82 For This Useful Post:
GTX590 (15-11-2023), jacknilmo (01-12-2023), K4miKaZe (27-01-2024), Lord.Freddy (18-09-2023), mausschieber (18-09-2023)
  #7  
Old 30-12-2023, 09:35
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,337 Times in 2,839 Posts
KaktoR is on a distinguished road
Commenting to let you know that a fix was shared
__________________
Haters gonna hate
Reply With Quote
The Following 4 Users Say Thank You to KaktoR For This Useful Post:
Cesar82 (30-12-2023), K4miKaZe (27-01-2024), Lord.Freddy (30-12-2023), mausschieber (30-12-2023)
  #8  
Old 27-01-2024, 18:44
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
Hi guys, after some long time i came back and wanted to start all over again with CIU. So i got the latest xx.b9 version from the first post and the hf2. Everything was turning great till i was testing the installer. Besides that i couldn't get hash to work like on old version were i manually put the .md5 (i solved this by just using the diskspan option) i had a problem with the Executable entry to create a desktop shortcut. I've been struggling for the last hour trying to fix it and got it working. It's actually an error on the setup.ini that comes with the CIU package, the Executable1 entry is named to Executable_1 (it shouldnt have the _). Just to let you know, in case anyone else starts over with the default setup.ini that comes with CIU.

Regards !!!

PD: Also thank's KaktoR and Cesar for keeping working on CIU, you guys are amazing as always.

EDIT 2:

Also i found this two strings not translated in the SpanishES.txt file, i corrected them myself but will share them here too:

Code:
CreateDesktopIcon=Crear acceso directo en el escritorio
OptimalInstallation=Instalación óptima (Más rápido)

And changed an already translated one from
DiskSpaceGBLabel=Setup requiere [size] en:
to
DiskSpaceGBLabel=La instalación requiere [size] en:

That's for the SpanishES but should be fine for the MX too

Last edited by K4miKaZe; 28-01-2024 at 15:56.
Reply With Quote
The Following 2 Users Say Thank You to K4miKaZe For This Useful Post:
Cesar82 (27-01-2024), mausschieber (28-01-2024)
  #9  
Old 08-02-2024, 18:50
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
So i might have found a long standing bug (or maybe im just too dumb to make it work xD). It's about the [CustomIniFile] section. To make it simple, i've used a copy paste from the CIU Documentation to test it out and the Value entry never got applied to the .ini file, it always put into Value the path and .ini name instead.

Setup.ini:
Code:
{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value: EN=english|ES=Spanish|FR=French|DE=German
After installation the IniFile3.ini is created, the section also is created inside the .ini and the Key also works too. But the Value returns the path instead of the value.

IniFile3.ini created by CIU after install:
Code:
[Settings]
Language={app}\IniFile3.ini
I've tried out a few diff ways on the .ini but none worked, so i took a look into the .iss file and found this:

Code:
          begin
            if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then
            begin
              IniValue := LineDecode(TmpStr, '', '');
And changed it to this:

Code:
IniValue := LineDecode(TmpStr, 'Value', '');
On the setup.ini now its working fine, just needs to remove the spacing between Value: and the value, like this:

Code:
{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value:EN=english|ES=Spanish|FR=French|DE=German
Not sure if this was intended on the .iss and i'm just using a wrong string on the setup.ini. I just leave it here if you want to take a look into it.

Regards !!!
Reply With Quote
The Following User Says Thank You to K4miKaZe For This Useful Post:
Cesar82 (09-02-2024)
  #10  
Old 09-02-2024, 07:46
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 K4miKaZe View Post
So i might have found a long standing bug (or maybe im just too dumb to make it work xD). It's about the [CustomIniFile] section. To make it simple, i've used a copy paste from the CIU Documentation to test it out and the Value entry never got applied to the .ini file, it always put into Value the path and .ini name instead.

Setup.ini:
Code:
{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value: EN=english|ES=Spanish|FR=French|DE=German
After installation the IniFile3.ini is created, the section also is created inside the .ini and the Key also works too. But the Value returns the path instead of the value.

IniFile3.ini created by CIU after install:
Code:
[Settings]
Language={app}\IniFile3.ini
I've tried out a few diff ways on the .ini but none worked, so i took a look into the .iss file and found this:

Code:
          begin
            if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then
            begin
              IniValue := LineDecode(TmpStr, '', '');
And changed it to this:

Code:
IniValue := LineDecode(TmpStr, 'Value', '');
On the setup.ini now its working fine, just needs to remove the spacing between Value: and the value, like this:

Code:
{app}\IniFile3.ini; Section: Settings; Key: Language; Create: 1; Value:EN=english|ES=Spanish|FR=French|DE=German
Not sure if this was intended on the .iss and i'm just using a wrong string on the setup.ini. I just leave it here if you want to take a look into it.

Regards !!!
Thank you for the informations.

It really is wrong and the solution is the same.
Maybe including something to remove the first space in the value if it exists would be interesting.
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
K4miKaZe (09-02-2024)
  #11  
Old 09-02-2024, 12:08
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 Cesar82 View Post
Thank you for the informations.

It really is wrong and the solution is the same.
Maybe including something to remove the first space in the value if it exists would be interesting.
Yeah, that should be easy now, i just leaved it that way because i was too tired yesterday to keep looking. Will take a look in a few and update this message with the full code change. I'm still testing out the new CIU, lot of things have changed since 2020.

Thank's to you for keeping this up !!!

EDIT:

So seems like adding Trim to the LineDecode was enough to fix the spacing issue. I've done some tests and all went fine. 1st test was to just let CIU make a clean .ini with the language feature, second test was letting CIU modify an existent .ini to replace the value with the language feature and another test to add custom values without the language feature. All went fine. So here is the original code on the latest beta hf2 (from december) and the only little change i made to it.

Original:
Code:
          begin
            if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then
            begin
              IniValue := LineDecode(TmpStr, '', '');
              if (IniValue = '') or ((Pos('=', IniValue) > 0) and (Pos('|', IniValue) > 0) and (Pos(LowerCase(ActLangShort + '='), LowerCase(IniValue)) = 0)) then
Modified (marked in red):

Code:
          begin
            if FileExists(IniName) or (StrToIntDef(LineDecode(TmpStr, 'Create', '0'), 0) = 1) then
            begin
              IniValue := Trim(LineDecode(TmpStr, 'Value', ''));
              if (IniValue = '') or ((Pos('=', IniValue) > 0) and (Pos('|', IniValue) > 0) and (Pos(LowerCase(ActLangShort + '='), LowerCase(IniValue)) = 0)) then

Last edited by K4miKaZe; 09-02-2024 at 15:31.
Reply With Quote
The Following User Says Thank You to K4miKaZe For This Useful Post:
Cesar82 (09-02-2024)
  #12  
Old 21-03-2024, 02:53
nachitoponce1419 nachitoponce1419 is offline
Registered User
 
Join Date: Jun 2023
Location: spanish
Posts: 21
Thanks: 0
Thanked 7 Times in 6 Posts
nachitoponce1419 is on a distinguished road
Hello and how can I add images to the installer?
Reply With Quote
  #13  
Old 21-03-2024, 06:47
mausschieber's Avatar
mausschieber mausschieber is offline
Conversion Designer
 
Join Date: Jan 2011
Location: germany
Posts: 4,331
Thanks: 6,768
Thanked 11,740 Times in 3,244 Posts
mausschieber is on a distinguished road
Quote:
Originally Posted by nachitoponce1419 View Post
Hello and how can I add images to the installer?
in Folder Setup/Background
__________________
It would be nice if you appreciate my work with the thanks Button
Reply With Quote
  #14  
Old 21-03-2024, 10:00
nachitoponce1419 nachitoponce1419 is offline
Registered User
 
Join Date: Jun 2023
Location: spanish
Posts: 21
Thanks: 0
Thanked 7 Times in 6 Posts
nachitoponce1419 is on a distinguished road
thank you
Reply With Quote
  #15  
Old 21-03-2024, 10:08
nachitoponce1419 nachitoponce1419 is offline
Registered User
 
Join Date: Jun 2023
Location: spanish
Posts: 21
Thanks: 0
Thanked 7 Times in 6 Posts
nachitoponce1419 is on a distinguished road
What BMP jpg format and size does it accept?
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
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 18:45.


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