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

Reply
 
Thread Tools Display Modes
  #271  
Old 22-03-2023, 12:29
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
Added OnMouseWheel event for FMXForm and Trackbar. let me know if you need OnMouseWheel event for other components as well.
.
This is great and understandable. What do users usually make a music (volume) button out of? Most likely from "FEqualizer" "FText" and "FColorButton". I just assumed.
__________________
https://t.me/FMXInno

Last edited by audiofeel; 22-03-2023 at 12:46.
Reply With Quote
Sponsored Links
  #272  
Old 22-03-2023, 14:54
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Here, a little higher, a user under the nickname Behnam2018 posted a screenshot with the installer. An experienced eye will notice that the fonts that should be displayed are not displayed there. Most likely, Behnam2018 is installed "Windows7". On it, with the "temporary" installation of fonts, small problems sometimes arise. As a temporary solution, I propose this.
Code:
function InitializeSetup(): Boolean;
var
  ResultCode: Integer;
begin
  if not FontExists('My Font') then
  begin
    ExtractTemporaryFile('MyFont.ttf');
    ExtractTemporaryFile('FontReg.exe');
    Exec(ExpandConstant('{tmp}\FontReg.exe'), '/copy', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
  end;


  Result:= True;
end;
https://code.kliu.org/misc/fontreg/
__________________
https://t.me/FMXInno

Last edited by audiofeel; 27-12-2023 at 11:08.
Reply With Quote
The Following 3 Users Say Thank You to audiofeel For This Useful Post:
BLACKFIRE69 (22-03-2023), hitman797 (23-03-2023), Masquerade (22-03-2023)
  #273  
Old 22-03-2023, 23:43
Behnam2018 Behnam2018 is offline
Registered User
 
Join Date: Jun 2018
Location: IRAN
Posts: 58
Thanks: 961
Thanked 24 Times in 20 Posts
Behnam2018 is on a distinguished road
Red face I thank and apologize to all my friends

made BY KaOs Repack
Reply With Quote
  #274  
Old 23-03-2023, 00:28
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,172
Thanks: 284
Thanked 1,370 Times in 618 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Behnam2018 View Post
made BY KaOs Repack
No, made by audiofeel, as written in credits, and thanks to BLACKFIRE69 for the IsArcEx and FMXInno libraries!
Reply With Quote
The Following 3 Users Say Thank You to Masquerade For This Useful Post:
audiofeel (23-03-2023), BLACKFIRE69 (23-03-2023), hitman797 (23-03-2023)
  #275  
Old 24-03-2023, 08:38
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,422 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno v1.0.0.2 - Updates


Code:
* Now almost all components are ready to work with FXPacker and FXStream.

.

Last edited by BLACKFIRE69; 14-07-2024 at 02:54.
Reply With Quote
The Following 4 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (25-03-2023), audiofeel (24-03-2023), hitman797 (24-03-2023), wangfeilong0317 (26-03-2023)
  #276  
Old 25-03-2023, 16:19
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Hi BLACKFIRE69, could you add an analog of the checklistbox
Perhaps the calculation of the size of components will also be implemented there
Quote:
Originally Posted by hitman797 View Post
hi, BLACKFIRE69.
can you include this in FMXInno v1.0.0.3.
Code:
Comp1Name=Game voices>English                                               
Comp1Size=2000
Comp1Group=1
                                                  
Comp2Name=Game voices>Russian                                               
Comp2Size=2100
Comp2Group=1

Comp6Name=Offline MP                                              
Comp6Size=4000
Comp6Group=0
Code:
procedure SetupUI_Init(Handle1, Handle2, Handle3: HWND);
  external 'func01@files:ISFMXUI.dll cdecl';
procedure SetupUI_Deinit;
  external 'func02@files:ISFMXUI.dll stdcall';
procedure SetupUI_Show;                                          
  external 'func03@files:ISFMXUI.dll stdcall';
procedure SetupUI_SetDir(Dir: PAnsiChar);
  external 'func04@files:ISFMXUI.dll stdcall';
procedure SetupUI_Install;
  external 'func05@files:ISFMXUI.dll stdcall';
procedure SetupUI_Progress(Status, Filename: PAnsiChar; Curr, Max: Integer);
  external 'func06@files:ISFMXUI.dll stdcall';
procedure SetupUI_Finished(Success: Boolean);
  external 'func07@files:ISFMXUI.dll cdecl';
procedure SetupUI_Info(Info1, Info2: String);
  external 'func08@files:ISFMXUI.dll cdecl';
procedure SetupUI_AddComponent(Component: String; Size, Group: Integer; Redist: Boolean);
  external 'func09@files:ISFMXUI.dll cdecl';
function SetupUI_Component(Component: String): Boolean;
  external 'func10@files:ISFMXUI.dll cdecl';
function SetupUI_Shortcuts(Desktop: Boolean): Boolean;
  external 'func11@files:ISFMXUI.dll stdcall';
procedure SetupUI_AddBkgImg1(Buff: PAnsiChar; Size: Integer);
  external 'func12@files:ISFMXUI.dll cdecl';
procedure SetupUI_AddBkgImg2(Filename: String);                                                           
  external 'func13@files:ISFMXUI.dll cdecl';
procedure SetupUI_AddAppInfo(Info: String);
  external 'func14@files:ISFMXUI.dll cdecl';
procedure SetupUI_AddInstInfo(Info: String);
  external 'func15@files:ISFMXUI.dll cdecl';
__________________
https://t.me/FMXInno

Last edited by audiofeel; 26-03-2023 at 07:18.
Reply With Quote
The Following 2 Users Say Thank You to audiofeel For This Useful Post:
ffmla (25-03-2023), hitman797 (25-03-2023)
  #277  
Old 27-03-2023, 12:15
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,422 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Question FMXInno - Custom Fonts

Quote:
Originally Posted by audiofeel View Post
Here, a little higher, a user under the nickname Behnam2018 posted a screenshot with the installer. An experienced eye will notice that the fonts that should be displayed are not displayed there. Most likely, Behnam2018 is installed "Windows7". On it, with the "temporary" installation of fonts, small problems sometimes arise. As a temporary solution, I propose this.
Code:
function InitializeSetup(): Boolean;
var
  ResultCode: Integer;
begin
  if not FontExists('My Font') then
  begin
    ExtractTemporaryFile('MyFont.ttf');
    ExtractTemporaryFile('FontReg.exe');
    Exec(ExpandConstant('{tmp}\FontReg.exe'), '/copy', '', SW_HIDE, ewWaitUntilTerminated, ResultCode);
  end;


  Result:= True;
end;
https://code.kliu.org/misc/fontreg/


could you test this?


Code:
function InitializeSetup(): Boolean;
begin
{ Font }
  ExtractTemporaryFile('{#MyFont1}');
  ExtractTemporaryFile('{#MyFont2}');

  InstallFMXFont(ExpandConstant('{tmp}\{#MyFont1}'));
  InstallFMXFont(ExpandConstant('{tmp}\{#MyFont2}'));
{ Font }

  FMXInnoInit;

  Result := True;
end;

procedure DeinitializeSetup();
begin
{ Font }
  DeleteFMXFont(ExpandConstant('{tmp}\{#MyFont1}'));
  DeleteFMXFont(ExpandConstant('{tmp}\{#MyFont2}'));
{ Font }

  FMXInnoShutDown;
end;


procedure FMXDesigning;
begin
  { FMX Blank Form }
  FMXForm.FCreateBlankForm(WizardForm.Handle, ALCrimson, '');
  FMXForm.SetCursor(ExtractAndLoad('Dark2.ani'));
    // Font
  InvalidateFMXFont;

  ....

end;

Last edited by BLACKFIRE69; 31-03-2023 at 10:52.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (27-03-2023), audiofeel (27-03-2023), hitman797 (27-03-2023)
  #278  
Old 27-03-2023, 12:34
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
could you test this?
I have no way to test this on Windows 7. On Windows 11, everything is fine.
__________________
https://t.me/FMXInno

Last edited by audiofeel; 27-12-2023 at 11:08.
Reply With Quote
  #279  
Old 27-03-2023, 13:29
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,422 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
I have no way to test this on Windows 7. On Windows 11, everything is fine.
DeleteFMXFont function is not needed, you can remove it.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (27-03-2023)
  #280  
Old 27-03-2023, 13:54
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
DeleteFMXFont function is not needed, you can remove it.
If you run and cancel the installation several times, this happens (I realized this by increasing the speed of the cooler). I can make a mistake, but nothing was launched except the installation
__________________
https://t.me/FMXInno

Last edited by audiofeel; 27-12-2023 at 11:08.
Reply With Quote
  #281  
Old 27-03-2023, 14:14
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,422 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
If you run and cancel the installation several times, this happens (I realized this by increasing the speed of the cooler). I can make a mistake, but nothing was launched except the installation
oops...
Reply With Quote
  #282  
Old 27-03-2023, 14:57
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,746
Thanks: 2,141
Thanked 11,101 Times in 2,296 Posts
Razor12911 is on a distinguished road
Win 7, works fine on win 10 though.

edit: multiple instances of taskkill.exe have been running in background, noticed 30 mins later and they've been eating cpu this whole time.
Attached Images
File Type: png win7.PNG (94.1 KB, 114 views)
File Type: png some_bug.PNG (12.0 KB, 109 views)

Last edited by Razor12911; 27-03-2023 at 15:35.
Reply With Quote
The Following 3 Users Say Thank You to Razor12911 For This Useful Post:
audiofeel (27-03-2023), BLACKFIRE69 (28-03-2023), hitman797 (28-03-2023)
  #283  
Old 27-03-2023, 17:17
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 673
Thanks: 479
Thanked 2,422 Times in 547 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
edit: multiple instances of taskkill.exe have been running in background, noticed 30 mins later and they've been eating cpu this whole time.

does it happen even after executing DeleteFMXFont??

Last edited by BLACKFIRE69; 27-03-2023 at 17:20.
Reply With Quote
  #284  
Old 27-03-2023, 17:25
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
does it happen even after executing DeleteFMXFont??
after executing DeleteFMXFont everything is clean
__________________
https://t.me/FMXInno
Reply With Quote
The Following 2 Users Say Thank You to audiofeel For This Useful Post:
BLACKFIRE69 (27-03-2023), Razor12911 (27-03-2023)
  #285  
Old 27-03-2023, 18:38
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 379
Thanks: 451
Thanked 876 Times in 317 Posts
audiofeel is on a distinguished road
@BLACKFIRE69
I found another oddity or feature. On FMXForm.FCreateImageForm does
not display VideoPlayer. Is it possible to implement it?
__________________
https://t.me/FMXInno

Last edited by audiofeel; 11-04-2023 at 20:48.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (28-03-2023)
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 18:35
Windows Phone Installer similar to razor12911's original design? Kitsune1982 Conversion Tutorials 0 02-07-2020 14:04
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 03:05
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 10:48



All times are GMT -7. The time now is 22:37.


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