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

Reply
 
Thread Tools Display Modes
  #781  
Old 13-05-2024, 07:52
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
The error handler will remain active; I won't permit bypassing it.
.
No issues. Completely understandable. I'll just rewrite my code again. Can you please implement 4, 5 and 7 (optional, if possible).
Reply With Quote
Sponsored Links
  #782  
Old 14-05-2024, 03:50
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
No issues. Completely understandable. I'll just rewrite my code again. Can you please implement 4, 5 and 7 (optional, if possible).


Quote:
Originally Posted by Fak Eid View Post
Hi @Blackfire69,

3. Functionality to have FImgSlideShow or FFormImgSlide inside FRectangle (not HWND)
1. 'FImgSlideshow' requires its parent as 'HWND' because it's originally based on a VCL component.
2. You can create a 'FFormImgSlide' on an 'FRectangle' because its parent's type requires 'TFMXObject'.



Quote:
Originally Posted by Fak Eid View Post

4. A variable on ProgressCallback to fetch the total disk size extracted in case of multiple disks. I tried doing (Installation % * Size) div 100 but it is just workaround. (Picture 2 & 3 for reference)
the callback function already has too many parameters, so i'll add two new functions instead.

Code:
function ISArcExGetTotalSizeMBOfAllDisks: Integer;
  --> Uncompressed (Original) size of all the disks (in MB).

function ISArcExGetExtractedSizeMBOfAllDisks: Integer;
  --> Currently extracted size of all the disks (in MB).
Code:
Example:

function ProgressCallback(...): longword;
var
  S: WideString;
begin
  ...

  // Extra: Titlebar Caption
  S := 'Total Extraction:  ' + IntToStr(ISArcExGetExtractedSizeMBOfAllDisks) + 
       '  MB  /  ' + IntToStr(ISArcExGetTotalSizeMBOfAllDisks) + '  MB';

  WizardForm.Caption := S;

  Result := ISArcExCancel;
end;
Code:
Stats:

data1.bf  ==  914 MB
data2.bf  ==  764 MB
data3.bf  ==  613 MB

Total == 2,291 MB


Quote:
Originally Posted by Fak Eid View Post

5. In some cases, the CpuUsage.Name gives value seperated by Tabs. Any way to remove that? Like:
Processor: { Tab Space } AMD Ryzen 9
Code:
  Something := Trim(CpuUsage.Name);


Quote:
Originally Posted by Fak Eid View Post

7. FCombineText: if have 0 Tab space must get the width of Text 1 and Text 2 should start after some space
To use spaces instead of tab spaces, use a 'Negative' value for 'Tabs'.
  • Positive values for Tabs:
    • 1 = One Tab
    • 2 = Two Tabs
    • 3 = Three Tabs
    • etc.

  • Negative values for Tabs:
    • -1 = One Space
    • -2 = Two Spaces
    • -3 = Three Spaces
    • etc.


Code:
{ ACombineText }
ACombineText.FCreate(FMXForm.Handle, 50, 80, 'The Module Name:', 'FMXInno.dll', -3, False);

ACombineText.Text1Setting('Segoe UI SemiBold', 16, ALBlack, False);
ACombineText.Text2Setting('Segoe UI', 16, ALRed, False);
ACombineText.Text1ShadowSetting(ALBlack, 0.2, 0.2);
ACombineText.Text2ShadowSetting(ALRed, 0.1, 0.6);


.

Last edited by BLACKFIRE69; 14-07-2024 at 02:20.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (14-05-2024), Ele (14-05-2024), Fak Eid (14-05-2024), ScOOt3r (14-05-2024)
  #783  
Old 16-05-2024, 08:29
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Thank you for the enhancements. But there seems to be a bug.
When trying to open this FCustomFluentWindow for the first time, I'm able to see a header on top of it which goes away after dragging.

It is only happening for the first time and for this FCustomFluentWindow. For other it is working as expected. Can you let me know what could be the issue here?
Attached Images
File Type: gif Recording 2024-05-16 205356.gif (753.8 KB, 107 views)
Reply With Quote
The Following 2 Users Say Thank You to Fak Eid For This Useful Post:
Behnam2018 (19-05-2024), Jahan1373 (17-05-2024)
  #784  
Old 16-05-2024, 09:00
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Thank you for the enhancements. But there seems to be a bug.
When trying to open this FCustomFluentWindow for the first time, I'm able to see a header on top of it which goes away after dragging.

It is only happening for the first time and for this FCustomFluentWindow. For other it is working as expected. Can you let me know what could be the issue here?


Code:
SetWin11FormCorners(CusForm.ParentHandleHWND, ctw11Sharp);
this could be the cause of that.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (16-05-2024), Behnam2018 (19-05-2024), hitman797 (16-05-2024)
  #785  
Old 17-05-2024, 01:21
R6S R6S is offline
Registered User
 
Join Date: Apr 2024
Location: United States
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
R6S is on a distinguished road
Quote:
Originally Posted by xNoah View Post
Hello upon testing this, it doesn't seem to work. I am still have the same issue.
link can downloud the best existing compression tool that works with WPI_CorePack
Reply With Quote
The Following User Says Thank You to R6S For This Useful Post:
Behnam2018 (19-05-2024)
  #786  
Old 17-05-2024, 01:24
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Code:
SetWin11FormCorners(CusForm.ParentHandleHWND, ctw11Sharp);
this could be the cause of that.
Commented that line of code. Now the form comes in round corners, but it is still happening. Any other fix?
Attached Images
File Type: gif FaK.gif (788.3 KB, 93 views)

Last edited by Fak Eid; 17-05-2024 at 01:28.
Reply With Quote
The Following User Says Thank You to Fak Eid For This Useful Post:
Behnam2018 (19-05-2024)
  #787  
Old 17-05-2024, 01:44
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 818 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Commented that line of code. Now the form comes in round corners, but it is still happening. Any other fix?
is the newest version of the dll from May 11th in use? and do you use a style file in your work? if so, then give it up and try again.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Behnam2018 (19-05-2024)
  #788  
Old 17-05-2024, 02:16
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
is the newest version of the dll from May 11th in use? and do you use a style file in your work? if so, then give it up and try again.
I use the 14th May version from the link Blackfire shared above, with my enhancements. Yes, I do use a style file for FMemo, FEdit, FCheckbox and in future for FSwitch. I tested without style.bin file but still the issue persists.

The fact that it is only happening for InstallPage: FCustomFluentWindow only for the first time and not again, and not happening for ExitPage and SettingsPage confuses me.

Last edited by Fak Eid; 17-05-2024 at 02:26.
Reply With Quote
The Following User Says Thank You to Fak Eid For This Useful Post:
Behnam2018 (19-05-2024)
  #789  
Old 17-05-2024, 04:14
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
I use the 14th May version from the link Blackfire shared above, with my enhancements. Yes, I do use a style file for FMemo, FEdit, FCheckbox and in future for FSwitch. I tested without style.bin file but still the issue persists.

The fact that it is only happening for InstallPage: FCustomFluentWindow only for the first time and not again, and not happening for ExitPage and SettingsPage confuses me.

i can't easily explain why this is happening, and i can't recreate the situation to test it. but anyway,

FMXInno - [2024-May-17].rar
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (18-05-2024), Behnam2018 (19-05-2024), Fak Eid (18-05-2024), hitman797 (17-05-2024), ScOOt3r (17-05-2024)
  #790  
Old 18-05-2024, 03:00
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
i can't easily explain why this is happening, and i can't recreate the situation to test it. but anyway,
17th May version has some more issues.
But I figured, in 14th May version. This anomaly is only happening in InstallPage @1080p 125% resolution only which is FCustomFluentWindow with both FCreateBlankForm only(not any other FCreate functions).

For the rest other resolutions, it is working fine. Sharing you files to look and please let me know if I'm doing something wrong as well. I'll try correcting it from next time as well. [This is just dummy code set]

Required Files in 'Game' folder.
FMX files in Files/Modules
Section to review: Search by keyword 'InstallPage'

PS: Please also add GetSelectedDiskName (to get the name of the selected drive) on FDiskList.
Attached Files
File Type: rar Steam Installer.rar (19.39 MB, 49 views)
File Type: rar Setup.rar (19.00 MB, 39 views)
Reply With Quote
The Following 2 Users Say Thank You to Fak Eid For This Useful Post:
BLACKFIRE69 (18-05-2024), Jahan1373 (18-05-2024)
  #791  
Old 18-05-2024, 07:20
Gummy Bear Gummy Bear is offline
Registered User
 
Join Date: Nov 2021
Location: Moscow
Posts: 8
Thanks: 3
Thanked 1 Time in 1 Post
Gummy Bear is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Modern FitGirl Installer for Windows 11+













.
Looks very cool, is there a script with working functionality?
Reply With Quote
  #792  
Old 18-05-2024, 08:12
ScOOt3r ScOOt3r is offline
Registered User
 
Join Date: Jun 2019
Location: Canada
Posts: 71
Thanks: 595
Thanked 35 Times in 30 Posts
ScOOt3r is on a distinguished road
@GummyBear yes there is a script that works just fine, its on the first page, it has several installers in it so choose the one you like. if you still want the fitgirl installer then look for the fitgirl script. this is currently my favourite script.

ScOOt3r
Reply With Quote
The Following 2 Users Say Thank You to ScOOt3r For This Useful Post:
BLACKFIRE69 (18-05-2024), Jahan1373 (18-05-2024)
  #793  
Old 19-05-2024, 00:35
Gummy Bear Gummy Bear is offline
Registered User
 
Join Date: Nov 2021
Location: Moscow
Posts: 8
Thanks: 3
Thanked 1 Time in 1 Post
Gummy Bear is on a distinguished road
Quote:
Originally Posted by ScOOt3r View Post
@GummyBear yes there is a script that works just fine, its on the first page, it has several installers in it so choose the one you like. if you still want the fitgirl installer then look for the fitgirl script. this is currently my favourite script.

ScOOt3r
Thank you, is there a translation into Russian?
Reply With Quote
  #794  
Old 19-05-2024, 05:10
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno

guys, if you recall, in a previous build of FMXInno, even though 'SetActiveThemeModeAwareness' is enabled, if the installer is minimized, i ignore the installer’s color mode change. this means that for 'SetActiveThemeModeAwareness' to take effect, the installer shouldn't be minimized.

someone asked me if this is an issue with FMXInno. No, FMXInno is just fine, but there's an issue that comes from Windows itself. i'm not a Windows developer, so i can't fix it. therefore, FMXInno ignores 'SetActiveThemeModeAwareness' if the installer is minimized.

check the screenshot below:



.

Last edited by BLACKFIRE69; 14-07-2024 at 02:20.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (19-05-2024), Ele (19-05-2024), hitman797 (19-05-2024), ScOOt3r (19-05-2024)
  #795  
Old 19-05-2024, 10:24
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
17th May version has some more issues.
But I figured, in 14th May version. This anomaly is only happening in InstallPage @1080p 125% resolution only which is FCustomFluentWindow with both FCreateBlankForm only(not any other FCreate functions).

For the rest other resolutions, it is working fine. Sharing you files to look and please let me know if I'm doing something wrong as well. I'll try correcting it from next time as well. [This is just dummy code set]

Required Files in 'Game' folder.
FMX files in Files/Modules
Section to review: Search by keyword 'InstallPage'

PS: Please also add GetSelectedDiskName (to get the name of the selected drive) on FDiskList.

  • adding compatibility for higher DPI is a headache, but anyway, we've to deal with it.
  • this update will fix the issue that shows the titlebar at higher DPI settings (>= 125%).
  • feel free to report back if there are other issues.

(Tested at 125% scale)

Last edited by BLACKFIRE69; 21-05-2024 at 08:46.
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (19-05-2024), Fak Eid (19-05-2024), hitman797 (19-05-2024), ScOOt3r (19-05-2024), Tihiy_Don (19-05-2024)
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
Windows Fluent Effects Standalone API - InnoSetup / VCL / FXM BLACKFIRE69 Conversion Tutorials 0 15-11-2023 17:35
Windows Phone Installer similar to razor12911's original design? Kitsune1982 Conversion Tutorials 0 02-07-2020 13:04
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48



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


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