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
  #46  
Old 12-07-2022, 02:09
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Updates

FMXInno - Updates


If you want to protect your data especially things like graphics, it's now easy to do so with features built into the FMXInno. What happens here is that the FMXInno accesses those file in memory, which means that no file is created in the hard disk.


Let's see how to do it.

Quote:
1. First, make changes to your script as per the given example and compile it. (don't run the Setup.exe)
2. After that run the FXPcker.exe and add the files you want to hide. Also browse the Setup.exe compiled in the first step and generate a data file. (let's say Setup.dat)
3. We're almost done. Now just run the Setup.exe. That's all.

* Be sure to create a new data file (Setup.dat) whenever you make changes to the script and recompile it. Because that file (Setup.dat) is unique. Otherwise, accessing the data file (Setup.dat) will be treated as unauthorized access.

The attached example includes more details.


Code:
function InitializeSetup(): Boolean;
begin
  // FXStream
  FXOk := FXUnPckrInit(ExpandConstant('{src}\Setup.dat'), '@#123_Test');

  if not FXOk then
  begin
    MsgBox('Failed to initialize the setup. The installation process cannot continue.', mbError, MB_OK);
    Result := False;
  end
  else
  begin
    FMXInnoInit;
    Result := True;
  end;
end;

// ...

procedure FMXDesigning;
begin
  { FMX Form }
  FMXForm.FCreateImageFormFromFXStream(WizardForm.Handle, 'PicForm.png', 1.00); 
  FMXForm.SetCursor(ExtractAndLoad('Dark2.ani'));

  { Music Equ }
  MusicEqu.FCreate(FMXForm.Handle, NSX(620), NSY(100), NSX(110), NSY(42), 1.5, 8, '');
  MusicEqu.SetPictureFromFXStream('EqualizerLight.png');
  MusicEqu.OnClick(@MusicEquOnClick);

  { PicBtn[1] }
  PicBtn[1].FCreateFromFXStream(FMXForm.Handle, 'Button.png', NSX(600), NSY(455), NSX(125), NSY(45));
  PicBtn[1].Text('&Cancel');
  PicBtn[1].OnClick(@CommonOnClick);

  // ...

  { PicPart }
  PicPart.FCreateFromFXStream(FMXForm.Handle, 'mspaint.png', MusicEqu.GetLeft, MusicEqu.GetTop + NSY(100), 100, 100, 50, 50, 100, 100);

  // ...

  { PicPB[1] }
  PicPB[1].FCreateFromFXStream(FMXForm.Handle, 'pb.png', 'pbbkg.png', PctLabel.GetLeft + NSX(20), PctLabel.GetTop + NSY(50), 380, 25, True);
  PicPB[1].Value(69, 100);

  // ...
end;

.

Last edited by BLACKFIRE69; 14-07-2024 at 01:34.
Reply With Quote
The Following 7 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (14-07-2022), ffmla (14-07-2022), Gehrman (12-07-2022), Harsh ojha (31-07-2022), houcine80 (13-07-2022), Razor12911 (19-08-2022), ScOOt3r (12-07-2022)
Sponsored Links
  #47  
Old 24-07-2022, 21:40
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno v1.0.0.2 - Updates

Code:
-- Added Auto DarkMode.
-- Added auto-scroll form background image depending on mouse position.
   1. function FCreateScrollableImgForm(WParent: HWND; AddImage: String): HWND;
   2. function FCreateScrollableImgFormFromFXStream(WParent: HWND; AddImage: String): HWND;

-- Added blend on moving effect.
-- Prevented the resizing of the fmx form.
-- Removed old color functions (which were buggy) and added new functions instead.
Quote:
{ VCL COLORS }
function VCLColorToFMXColor(const VColor: TColor): TAlphaColor;
function VCLColorToFMXColor2(const VColor: TColor; const Opacity: Single): TAlphaColor;
{ FMX COLORS }
function FMXColorToVCLColor(const FColor: TAlphaColor): TColor;
function FMXColorSetOpacity(const FColor: TAlphaColor; const Opacity: Single): TAlphaColor;
{ IMAGE COLORS }
function GetImgColorFMX(const Image: UnicodeString): TAlphaColor;
function GetImgPartColorFMX(const Image: UnicodeString; const PixelX, PixelY, PixelW, PixelH: Single): TAlphaColor;
function GetImgColorVCL(const Image: UnicodeString): TColor;
function GetImgPartColorVCL(const Image: UnicodeString; const PixelX, PixelY, PixelW, PixelH: Single): TColor;
{ HTML COLORS }
function HTMLColorStrToVCLColor(const HTMLHexClrStr: string): TColor;
function HTMLColorToVCLColor(const Color: Longint): TColor;
function HTMLColorToVCLColor2(const R, G, B: Byte): TColor;
function HTMLColorStrToFMXColor(const HTMLHexClrStr: string): TAlphaColor;
function HTMLColorToFMXColor(const Color: Longint): TAlphaColor;
function HTMLColorToFMXColor2(const R, G, B: Byte): TAlphaColor;
{ DARKER / LIGHTER }
function ClrDarkerVCL(const VColor: TColor; const Percent: Byte): TColor;
function ClrLighterVCL(const VColor: TColor; const Percent: Byte): TColor;
function ClrDarkerFMX(const FColor: TAlphaColor; const Percent: Byte): TAlphaColor;
function ClrLighterFMX(const FColor: TAlphaColor; const Percent: Byte): TAlphaColor;
{ DESKTOP IMAGE COLOR }
function GetDesktopImgColorVCL: TColor;
function GetDesktopImgColorFMX: TAlphaColor;

Last edited by BLACKFIRE69; 19-08-2022 at 08:58.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (27-07-2022), ffmla (27-07-2022), ScOOt3r (29-07-2022)
  #48  
Old 19-08-2022, 08:57
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno Demo

Demo - WPI Corepack

.

Last edited by BLACKFIRE69; 14-07-2024 at 01:35.
Reply With Quote
The Following 8 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (20-08-2022), audiofeel (20-08-2022), Gehrman (30-08-2022), Harsh ojha (22-08-2022), hitman797 (21-08-2022), houcine80 (20-08-2022), Razor12911 (19-08-2022), Scotty.5055 (30-11-2024)
  #49  
Old 19-08-2022, 11:51
ScOOt3r ScOOt3r is offline
Registered User
 
Join Date: Jun 2019
Location: Canada
Posts: 79
Thanks: 696
Thanked 41 Times in 35 Posts
ScOOt3r is on a distinguished road
That's another good looking installer
Reply With Quote
The Following User Says Thank You to ScOOt3r For This Useful Post:
BLACKFIRE69 (20-08-2022)
  #50  
Old 19-08-2022, 14:55
Snake288 Snake288 is offline
Registered User
 
Join Date: Nov 2018
Location: Paris
Posts: 209
Thanks: 92
Thanked 36 Times in 29 Posts
Snake288 is on a distinguished road
Hello BLACKFIRE69

Demo - WPI Corepack Can You Extract the Full Version ?
The Health of Your Labor Looks Very Beautiful
Can you Include the DiskSpan_GUI Compression Application in the Full Version
I Hope You Can Prepare It As Soon As Possible
Reply With Quote
The Following User Says Thank You to Snake288 For This Useful Post:
BLACKFIRE69 (20-08-2022)
  #51  
Old 30-08-2022, 05:14
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Demo - WPI Corepack

.
for fast startup.

Code:
[Setup]
//...
Compression=zip/1
SolidCompression=False
InternalCompressLevel=none
//...
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
ScOOt3r (30-08-2022)
  #52  
Old 07-09-2022, 19:29
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno v1.0.0.2 - Updates

  • Added a new UI material.

Code:
function FCreateFluent(WParent: HWND; DarkTheme, NewMaterial, CleanThanDefault, 
         NoBorder: Boolean): HWND;


Default material:






New material:






.

Last edited by BLACKFIRE69; 14-07-2024 at 01:35.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Razor12911 (09-09-2022), ScOOt3r (07-09-2022)
  #53  
Old 08-09-2022, 09:41
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow

Quote:
Originally Posted by BLACKFIRE69 View Post
FMXInno v1.0.0.2 - Updates

  • Added a new UI material.
.
New UI Material Example:

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:36.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
Razor12911 (09-09-2022), ScOOt3r (08-09-2022)
  #54  
Old 09-09-2022, 02:54
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Greetings to BLACK FIRE 69 ! If you use any form of "Fluent", then when moving it floats behind the pointer, it is late. it is possible that this is only on my PC. I attach the video. https://youtu.be/-UrabBzYYdI
i don't think that FMXInno can solve this internally. but i'll see if there's anything i can do.
maybe this depends on the windows os + graphics performance of the pc. but i don't know exactly.

Quote:
Greetings to BLACK FIRE 69 ! If the "FToggleCheckBox" is set to "Enable(False)", then everything works fine, it is not pressed and is not active. but if you click on the text that is from him, then it will work. video attached.https://youtu.be/3TvsmJKM4i4
yes, a small oversight. thanks for reporting.

(extra (WPI_CorePack): you can also navigate through pages by clicking page labels.)

Last edited by BLACKFIRE69; 15-10-2022 at 16:12.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (13-09-2022)
  #55  
Old 13-09-2022, 01:53
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno - Updates


Code:
- Added ability to change the opacity and brightness of Fluent forms. 
   (MainForm, DirForm, StartForm, CustomForm)

- Fixed focus issue in FluentDirBrowse / FluentStartBrowse.
- Minor bugs have been fixed.
- Some improvements.


function FCreateFluent(WParent: HWND; DarkTheme, NoBorder: Boolean; Opacity: Single;
         BrightnessPct: Byte): HWND;

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:36.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (13-09-2022), houcine80 (13-09-2022), ScOOt3r (13-09-2022)
  #56  
Old 17-09-2022, 19:43
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
BlackFire69
is there anything you can do with scaling "FSwitch" and "FCheckBox"?
https://ibb.co/ryBnyV1
https://ibb.co/5F5SM4J

maybe try using new values for Top and Width for higher DPI.

Code:
var
  FCurrentDPI: Cardinal;
begin
  FCurrentDPI := GetCurrentDPIValue;

  if FCurrentDPI < 120 then
    Switch1.Width(NSX(78))
  else
    Switch1.Width(NSX(58));


DPI	  PCT

96	- 100%
120	- 125%
144	- 150%
192	- 200%

Code:
procedure FMXDesigning;
var
  FOffset: Integer;
begin
...
  #ifdef Component1
    FOffset := 0;
    Component[1].FCreate(Page3.Handle, True, 'Install {#C1[59]}');
    Component[1].SetBounds(NSX(20), NSY(185), NSX(250), NSY(25));
    Component[1].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
  #ifdef Component2
    FOffset := FOffset + 5;
    Component[2].FCreate(Page3.Handle, True, 'Install {#C2[59]}');
    Component[2].SetBounds(NSX(20), NSY(210 + FOffset), NSX(250), NSY(25));
    Component[2].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));

...

  #ifdef Component8
    FOffset := 0;
    Component[8].FCreate(Page3.Handle, True, 'Install {#C8[59]}');
    Component[8].SetBounds(NSX(340), NSY(185), NSX(250), NSY(25));
    Component[8].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
  #ifdef Component9
    FOffset := FOffset + 5;
    Component[9].FCreate(Page3.Handle, True, 'Install {#C9[59]}');
    Component[9].SetBounds(NSX(340), NSY(210 + FOffset), NSX(250), NSY(25));
    Component[9].FontSetting('Segoe UI', VCLFontSizeToFMX2(10), VCLColorToFMXColor($FFFFFF));
...
end;

Last edited by BLACKFIRE69; 14-07-2024 at 01:36.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (18-09-2022), Jahan1373 (09-06-2023)
  #57  
Old 17-09-2022, 21:24
rash rash is offline
Registered User
 
Join Date: Sep 2022
Location: https://www.google.com/maps/dir/9.9178368,78.1228236//@9.9179195,78.0878038,13z/data=!3m1!4b1!4m4!4m3!1m1!4e1!1m0
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
rash is on a distinguished road
Angry



Change File Not working

script fixed please help me
Reply With Quote
  #58  
Old 18-09-2022, 01:24
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by rash View Post


Change File Not working

script fixed please help me
more details plz?
Reply With Quote
  #59  
Old 18-09-2022, 05:36
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno - Updates

Code:
Added:

  - function EnableWinDarkMode(IsDark: Boolean): Boolean;
  - function IsWinDarkModeEnabled: Boolean;
  - function EnableWinTransparency(Enabled: Boolean): Boolean;
  - function IsWinTransparencyEnabled: Boolean;
  - function EnableWinAccentColor(Enabled: Boolean): Boolean;
  - function IsWinAccentColorEnabled: Boolean;
  - function RestartWinExplorer: Boolean;

  - function GetWinAccentColorVCL: TColor;
  - function GetWinAccentColorFMX: TAlphaColor;

Improved:

  - Customizable exit form.

,

Last edited by BLACKFIRE69; 14-07-2024 at 01:37.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (18-09-2022), hitman797 (18-09-2022), ScOOt3r (18-09-2022)
  #60  
Old 20-09-2022, 10:05
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 688
Thanks: 481
Thanked 2,547 Times in 561 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInnoSk

New FMXInnoSk



FMXInno + Skia >> FMXInnoSk


FMXInnoSk is a side projects of FMXInno itself, where the other external API are integrated into FMXInno.
Here is the integration of Skia (is a cross-platform 2D graphics API developed by Google) to FMXInno as a starting step.


More about Skia:
skia.org
skia4delphi


FMXInnoSk requires the sk4d.dll lib.

(sorry for the low resolution GIFs )


,

Last edited by BLACKFIRE69; 14-07-2024 at 01:38.
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (24-09-2022), audiofeel (20-09-2022), Cesar82 (21-09-2022), Gehrman (20-09-2022), ScOOt3r (20-09-2022)
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
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 15:15.


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