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

Reply
 
Thread Tools Display Modes
  #271  
Old 22-03-2023, 11:29
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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.

Last edited by audiofeel; 22-03-2023 at 11:46.
Reply With Quote
Sponsored Links
  #272  
Old 22-03-2023, 13:54
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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/
Attached Images
File Type: jpg 1.JPG (61.3 KB, 119 views)
File Type: png illuvium358.png (302.8 KB, 113 views)

Last edited by audiofeel; 22-03-2023 at 14:01.
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, 22:43
Behnam2018 Behnam2018 is offline
Registered User
 
Join Date: Jun 2018
Location: IRAN
Posts: 50
Thanks: 719
Thanked 23 Times in 19 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 22-03-2023, 23:28
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 978
Thanks: 253
Thanked 1,128 Times in 527 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, 07:38
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 506
Thanks: 361
Thanked 1,606 Times in 387 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.

.
Attached Images
File Type: png 1.png (41.0 KB, 96 views)

Last edited by BLACKFIRE69; 31-03-2023 at 09:52.
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, 15:19
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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 '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_Deinit;
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_Show;                                          
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_SetDir(Dir: PAnsiChar);
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_Install;
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_Progress(Status, Filename: PAnsiChar; Curr, Max: Integer);
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_Finished(Success: Boolean);
  external '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_Info(Info1, Info2: String);
  external '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_AddComponent(Component: String; Size, Group: Integer; Redist: Boolean);
  external '[email protected]:ISFMXUI.dll cdecl';
function SetupUI_Component(Component: String): Boolean;
  external '[email protected]:ISFMXUI.dll cdecl';
function SetupUI_Shortcuts(Desktop: Boolean): Boolean;
  external '[email protected]:ISFMXUI.dll stdcall';
procedure SetupUI_AddBkgImg1(Buff: PAnsiChar; Size: Integer);
  external '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_AddBkgImg2(Filename: String);                                                           
  external '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_AddAppInfo(Info: String);
  external '[email protected]:ISFMXUI.dll cdecl';
procedure SetupUI_AddInstInfo(Info: String);
  external '[email protected]:ISFMXUI.dll cdecl';

Last edited by audiofeel; 26-03-2023 at 06: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, 11:15
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 506
Thanks: 361
Thanked 1,606 Times in 387 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 09: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, 11:34
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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.
Attached Images
File Type: jpg font.jpg (30.9 KB, 55 views)

Last edited by audiofeel; 11-04-2023 at 19:48.
Reply With Quote
  #279  
Old 27-03-2023, 12:29
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 506
Thanks: 361
Thanked 1,606 Times in 387 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, 12:54
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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
Attached Images
File Type: png gh.png (146.4 KB, 52 views)
Reply With Quote
  #281  
Old 27-03-2023, 13:14
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 506
Thanks: 361
Thanked 1,606 Times in 387 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, 13:57
Razor12911's Avatar
Razor12911 Razor12911 is offline
Programmer
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,712
Thanks: 2,115
Thanked 10,817 Times in 2,264 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, 52 views)
File Type: png some_bug.PNG (12.0 KB, 49 views)

Last edited by Razor12911; 27-03-2023 at 14: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, 16:17
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 506
Thanks: 361
Thanked 1,606 Times in 387 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 16:20.
Reply With Quote
  #284  
Old 27-03-2023, 16:25
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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
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, 17:38
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: USSR
Posts: 138
Thanks: 177
Thanked 243 Times in 95 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?

Last edited by audiofeel; 11-04-2023 at 19: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 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
Windows Phone Installer Enhanced Mod (HMI 7.2 Final) Chayan Manna Conversion Tutorials 93 02-10-2019 12:42
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:20.


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