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

Reply
 
Thread Tools Display Modes
  #841  
Old 10-06-2022, 16:20
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,267
Thanked 87 Times in 47 Posts
Gehrman is on a distinguished road
Quote:
Originally Posted by lolaya View Post
problem scale on 4k resolution
Code:
Setup.bat
Code:
Reg.exe add "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe" /t REG_SZ /d "~ DPIUNAWARE" /f | START Setup.exe
Reg Delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%~dp0Setup.exe"  /f
Exit

Last edited by Gehrman; 11-06-2022 at 04:53.
Reply With Quote
Sponsored Links
  #842  
Old 13-06-2022, 11:28
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by lolaya View Post
problem scale on 4k resolution
By default CIU has an encoding to enter the value "~DPIUNAWARE" in the registry and relaunch Setup.exe.
I don't have a 4K monitor, but creating a custom resolution here is working. See in the attached video the size of the design before and after committing the line that inserts the value in the register.
The same values reported above by Gehrman are entered by CIU automatically when resolutions above 1920x1080.
Attached Files
File Type: 7z CIU_high_DPI.7z (23.92 MB, 83 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Gehrman (13-06-2022)
  #843  
Old 13-06-2022, 14:16
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,267
Thanked 87 Times in 47 Posts
Gehrman is on a distinguished road
Thanks to Cesar 82

I found a small bug
In the first test, "Test 1 Test 1 Test 1" is incomplete

Using GROUP with Radio causes this bug










Last edited by Gehrman; 13-06-2022 at 14:27.
Reply With Quote
  #844  
Old 13-06-2022, 15:25
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
CIU 3.0.0.1.b9.u1 (HF5/HF6)

CIU 3.0.0.1.b9.u1 hotfix 5 e 6.

Quote:
Originally Posted by Gehrman View Post
Thanks to Cesar 82

I found a small bug
In the first test, "Test 1 Test 1 Test 1" is incomplete

Using GROUP with Radio causes this bug
Although only one RadioButton will never be used as in your example, the error also occurred if there were no checkboxes.
Try with the HF6 attached.
Code:
Hotfix 5:
- Fixed to enable play buttons after installed UWP games.
- Fixed error that occurred when creating UWP game shortcuts when converting png image to icon (Thanks andreiutzu21 for bug information and tests).
- Fixed CheckInfo function when using negation character "!" before the parameter like: Check: CheckInfo('!lang:!en,de');
- Added support for negation character "!" in the CheckInfo function now also in the compared type like as in the example:
  >> Check: CheckInfo('comp:!1,2,3'); >> Only returns true if you have not checked component 1 and have checked components 2 or 3.

Hotfix 6:
- Fixed checklist items position when there are no checkboxes (Thanks Gehrman for report bug).
Attached Files
File Type: 7z CIU 3.0.0.1.b9.u1 (2021.09.11) HF6.7z (135.1 KB, 34 views)

Last edited by Cesar82; 10-07-2022 at 19:54.
Reply With Quote
The Following 4 Users Say Thank You to Cesar82 For This Useful Post:
andreiutzu21 (14-06-2022), Gehrman (13-06-2022), houcine80 (14-06-2022), mausschieber (13-06-2022)
  #845  
Old 10-07-2022, 20:05
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Smile CIU 3.0.0.1.b9.u2

CIU 3.0.0.1 update 2 available.
Now the external mode is functional allowing conversion developers to protect almost all design files.
To use external mode you must compile Setup.exe using the CIU_Tools tool.
The Setup.bin file must be compressed or only after compiling Setup.exe.
Code:
- Fixed bug of items being disabled when clicking "check all" checkbox in all CheckListBox.
- Fixed so that sections of Setup.ini commented out with [ ;SectionName] or [//SectionName] or [_SectionName] or [SectionName_] are ignored in script preprocessing when compiling.
- Fixed bug on the "License" page that when pressing the spacebar on the keyboard, even when the checkbox was unchecked, the installation advanced the page.
- Fixed bug in the "Components" page that when pressing the spacebar on the keyboard, even when all components were unchecked, the installation advanced the page.
- Fixed focused buttons on each page of the CIU installer.
  >> The "CancelButton" is focused on the wpInstalling page (installation progress) and on the UninstProgressPage (uninstallation progress).
  >> The "BackButton" is focused on the UninstQuestionPage (To avoid accidentally uninstalling by pressing the spacebar on the keyboard).
  >> For all other pages the "NextButton" is the page's focused button.
- Fixed so that both ".png" and ".gif" splash images can be used allowing to merge formats.
  >> The ".wav" sound file to splash can be used as long as it has the splash image of the same name, being it ".png" or ".gif".
- Added WorkDir parametter for Play buttons of the CIU.
- Added new key FlagBorderColor= ($RGB) to [LangBox], [AboutSettings] and [AboutSettingsAR] sections.
- Added new HideOnLauncher= (0/1) key in all button sections belonging to autorun page.
  >> This key makes it possible to hide unwanted buttons when using ShowGameLauncher=1 in the [InstallOptions] section.
- Added support new slider volume control (trackbar).
  >> Look the sections [VolumeTrackBar], [VolumeTrackBarAR] and [VolumeTrackBarSI] in CIU help files to understand the new keys and supported images.
- Removed Center= key from [LangBox] section.
   >> This key is no longer needed because using "center" value in key Align= has the same effect.
- Removed CreatePage= key from [AutorunSettings] section.
  >> This key is unnecessary as it has the same effect as removing or renaming the "Setup\Autorun" folder or "Autorun.png" file to another name.
- Added support for the new "OTHER" installer type using with DiskSpan GUI 2.0.1.1+.
  >> It can be used in the InstallerType= key of the [InstallerSettings] section and the Type= key of the [Executable#] and [Play#Button] sections and also as a type in the CheckInfo function.
- Added new function IsOtherGame to use with registry entries in Check parametter;
- Added support to IsOTHER flag in [CustomShortcuts] and [CustomIniFile] sections.
- Added new keys SiteOTHER= and SiteOTHER<LNG>= in [Website#Button] sections.
- Updated to logarithm volume on all music player (previously it was linear volume).
- Updated BASS.dll from v2.4.16.1 to v2.4.16.7
Attached Files
File Type: 7z CIU 3.0.0.1.b9.u2 (2022.07.10).7z (49.83 MB, 89 views)
Reply With Quote
The Following 9 Users Say Thank You to Cesar82 For This Useful Post:
Carldric Clement (11-07-2022), Gehrman (11-07-2022), Grumpy (10-07-2022), GTX590 (29-07-2022), houcine80 (13-07-2022), mausschieber (11-07-2022), Prettyboy099 (10-07-2022), samadrahman74 (14-08-2022), Titeuf (10-07-2022)
  #846  
Old 25-09-2022, 20:37
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
CIU 3.0.0.1.b9.u3

CIU 3.0.0.1 update 3 available (I didn't have time to test).

If you find bugs let me know and I'll fix them and re-upload them.
Some messages regarding the hash page need translation, so if you've collaborated with translations for CIU before and want to collaborate again, then check the link file for untranslated texts and PM me the translations, thanks.
Code:
- Fixed flags type in about pages.
- Fixed to remove all duplicate keys when preprocessing the Setup.ini file.
- Fixed wrong size of SeletFolderForm window when using some ".cjstyles" skin files.
- Fixed several bugs regarding the position of the trackbar images when changing the volume.
- Fixed correct position of volume trackbar when switching between SmallInstaller to Installer and vice versa.
- Fixed starting position of volume trackbar when switching from autorun to installer.
- Fixed trackbar to allow using only one of the image as TrackBarBtn.png or TrackBarImg.png.
  >> Now if using only TrakBarImg by clicking and holding the mouse button it is possible to move the volume trackbar position.
- Added new key CheckBox= in [VolumeTrackBar], [VolumeTrackBarAR], and [VolumeTrackBarSI] (double click on slider to change music state).
  >> If you use value 1, you must use the image for the slider using an image formed by 8 parts of equal sizes arranged vertically (like checkboxes and music icons buttons).
  >> If you use value 0, you must use the image for the slider using an image formed by 4 parts of equal sizes arranged vertically (like the up and down buttons on scroolbars).
- Changed keys names from SliderLeft=/SliderRight= to SpaceBefore=/SpaceAfter= in [VolumeTrackBar], [VolumeTrackBarAR], and [VolumeTrackBarSI] sections.
- Changed keys names from SpaceLeft=/SpaceRight= to SpaceBefore=/SpaceAfter= consecutively in [ProgressBar] and [ProgressBarSI] sections.
- Changed images file names from ProgressBackground2.png/ProgressBackgroundSI2.png to ProgressForeground.png/ProgressForegroundSI.png consecutively.
- Changed checksum library ISHash.dll (by peterf1999) to XHashEx.dll (by BLACKFIRE69).
- Added new key Position= in the [ProgressBar] and [ProgressBarSI] section to change percentage label orientation to vertical.
- Added new key Position= in [ProgressBar] and [ProgressBarSI] sections to change progressbar orientation to vertical.
- Added new key HashFontSize= in the [ProgressBar] section to set the font of the Hash page percentage label.
- Added new key EnableHash= (0/1) in [HashSettings] section.
- Added support to uninstal from file list (UninstallList.ini).
  >> Only deleted files will be deleted on uninstall.
- Added support to DiskSpan GUI 2.0.1.3+
Attached Files
File Type: 7z CIU 3.0.0.1.b9.u3 (2022.09.25).7z (47.76 MB, 87 views)

Last edited by Cesar82; 25-09-2022 at 20:40.
Reply With Quote
The Following 9 Users Say Thank You to Cesar82 For This Useful Post:
andreiutzu21 (06-10-2022), frangoru (25-10-2022), Gehrman (25-09-2022), GTX590 (28-11-2022), houcine80 (26-09-2022), jacknilmo (26-09-2022), mausschieber (26-09-2022), Prettyboy099 (25-09-2022), samadrahman74 (20-10-2022)
  #847  
Old 12-12-2022, 03:04
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,267
Thanked 87 Times in 47 Posts
Gehrman is on a distinguished road
Report a bug

@Cesar82
If we cancel the installation process, it will go to the successful installation page!
Bug2: installer asks if to quit, you select "No" the installer quits (this)
Attached Files
File Type: zip Video_2022-12-12_133138.zip (1.50 MB, 12 views)
File Type: 7z Video_2022-12-12_150706_Bug-2.7z (2.22 MB, 13 views)

Last edited by Gehrman; 12-12-2022 at 04:45.
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
Cesar82 (12-12-2022)
  #848  
Old 12-12-2022, 09:21
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
@Cesar82
If we cancel the installation process, it will go to the successful installation page!
Bug2: installer asks if to quit, you select "No" the installer quits (this)
BUG 1: This has always been the case, since the days when Yener90 created the code.
The same happens when an installation error occurs (IsDone Error).
What do you suggest? Should I close the installer by skipping the Finish page?

BUG 2: Since IsDone cannot resume the installation after canceling, it displays the cancel installation message, but since the return was already IsDoneError = TRUE, even clicking on cancel will exit the installation.
Maybe some change is needed to not display that last message.

If you have any suggestions for improvement, please comment. It is just not possible to resume the installation after clicking Cancel".
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
Gehrman (12-12-2022)
  #849  
Old 12-12-2022, 13:44
Gehrman's Avatar
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 78
Thanks: 1,267
Thanked 87 Times in 47 Posts
Gehrman is on a distinguished road
Thank you Cesar82
The first bug is missing in "CIUv3 3.0.0.1.b9.u1 (2021.09.11)".

The second bug
It seems to be fixed with these changes.
Without using Diskspan, of course

Code:
function BrowseArcFile(const ArcFile, Disk: String; var SrcDir: String): String;
...........................
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := True;
        ResumeProc;
        WizardForm.CancelButton.OnClick(nil);
      end;
Change to
Code:
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := False;
        ResumeProc;
        ClickButton(@CancelBtnClick, nil);
      end;
It is better to be like ASIS so that the installation process can be canceled by clicking Cancel.

Last edited by Gehrman; 12-12-2022 at 14:50.
Reply With Quote
  #850  
Old 12-12-2022, 19:36
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by Gehrman View Post
Thank you Cesar82
The first bug is missing in "CIUv3 3.0.0.1.b9.u1 (2021.09.11)".

The second bug
It seems to be fixed with these changes.
Without using Diskspan, of course

Code:
function BrowseArcFile(const ArcFile, Disk: String; var SrcDir: String): String;
...........................
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := True;
        ResumeProc;
        WizardForm.CancelButton.OnClick(nil);
      end;
Change to
Code:
      IDCANCEL : begin
        Waiting := False;
        ISDoneCancel := 1;
        ISDoneError := False;
        ResumeProc;
        ClickButton(@CancelBtnClick, nil);
      end;
It is better to be like ASIS so that the installation process can be canceled by clicking Cancel.
When I mentioned "any suggestions", I was referring to the behavior of the action when clicking the cancel button, or whether it should display the exit message.
You didn't necessarily need to have informed what changes need to be made.
But anyway, thank you very much!
I will review in a few days. I'm out of time at the moment.

Thanks for reporting so bugs.
Reply With Quote
The Following 2 Users Say Thank You to Cesar82 For This Useful Post:
amin fear (14-12-2022), Gehrman (13-12-2022)
  #851  
Old 27-12-2022, 11:36
fabrieunko fabrieunko is offline
Registered User
 
Join Date: Sep 2021
Location: france
Posts: 156
Thanks: 249
Thanked 42 Times in 35 Posts
fabrieunko is on a distinguished road
Quote:
Originally Posted by Cesar82 View Post
Here's the full autorun PSD, maybe it's useful for you ...
I have no practice in photoshop so may have some unnecessary layers.
Perhaps the same effect will be achieved with fewer layers and effects.
hello Caesar you would not have the same for the installer by harzard?
Reply With Quote
  #852  
Old 29-12-2022, 21:44
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
CIU 3.0.0.1.b9.u4

CIU 3.0.0.1.b9 update 4 available.
I wish everyone a great end of the year!
Code:
- Updated CIU Help file (Recreated).
- Updated CIU_Tools (Fixed several bugs).
- Updated CIULib.dll library to v1.0.0.1 build 221204.
- Updated XHashEx.dll library to v1.0.0.0 build 221120 (Thanks to BLACKFIRE69).
  >> Improved matching when using masks in internal CalculateHashesForDirEx function.
- Fixed the display of non-unicode characters used in Setup.ini when using external mode.
- Fixed some bugs when using windows with native Windows borders.
- Fixed some bugs that occurred when canceling the installation.
- Fixed to display the "Accel" char (ShowAccelChar property) only on button labels.
- Added function to set installer priority to HIGH PRIORITY when start the installer.
- Added new key Font= to [PageBigTitle] section.
- Added support to DiskSpan GUI 2.0.1.4+
- Removed localized Source#<LNG>= keys in [MusicPlayer], [MusicPlayerSI], [VideoPlayer], [VideoPlayerAR] sections.
  >> The Source#<LNG>= key is only present and functional in the [VideoPlayerBG] section.
Attached Files
File Type: 7z CIU 3.0.0.1.b9.u4 (2022.12.30).7z (47.44 MB, 136 views)
Reply With Quote
The Following 8 Users Say Thank You to Cesar82 For This Useful Post:
Carldric Clement (03-01-2023), Gehrman (31-12-2022), GTX590 (05-01-2023), houcine80 (30-12-2022), mausschieber (30-12-2022), Prettyboy099 (29-12-2022), RTX4090 (10-03-2023), ScOOt3r (30-12-2022)
  #853  
Old 02-01-2023, 01:49
fabrieunko fabrieunko is offline
Registered User
 
Join Date: Sep 2021
Location: france
Posts: 156
Thanks: 249
Thanked 42 Times in 35 Posts
fabrieunko is on a distinguished road
hello, i can't get this function to work? nothing happens when the installation is finished it offers me to click on finished. I don't have the checksum test


[HashSettings] // auto detect checksum: crc32, md5 sha1, sha256, sha512
------------------------------------------------------------------------------------------------------------------------------------------------------
EnableHash=1
StartCheck=1

I have activated the calculation in DiskSpan Gui
Reply With Quote
  #854  
Old 02-01-2023, 12:04
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,729
Thanked 2,186 Times in 747 Posts
Cesar82 is on a distinguished road
Quote:
Originally Posted by fabrieunko View Post
hello, i can't get this function to work? nothing happens when the installation is finished it offers me to click on finished. I don't have the checksum test


[HashSettings] // auto detect checksum: crc32, md5 sha1, sha256, sha512
------------------------------------------------------------------------------------------------------------------------------------------------------
EnableHash=1
StartCheck=1

I have activated the calculation in DiskSpan Gui
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")
Reply With Quote
The Following 4 Users Say Thank You to Cesar82 For This Useful Post:
fabrieunko (02-01-2023), houcine80 (03-01-2023), mausschieber (02-01-2023), Proxson (06-05-2023)
  #855  
Old 05-01-2023, 18:27
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,405
Thanks: 1,078
Thanked 7,007 Times in 2,654 Posts
KaktoR is on a distinguished road
@César

Code:
[ProgressBarSI]
//Width=0                         // integer               (Default = SmallInstaller >> Width - 30)
Could you change this to "Default = SmallInstaller TextWidth"? This is the case with [ProgressBar], where this is correct in my opinion.
__________________
Haters gonna hate
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 00:18.


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