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

Reply
 
Thread Tools Display Modes
  #496  
Old 11-09-2023, 23:10
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 Tihiy_Don View Post
I ask you to observe backward compatibility or write what types of variables you changed in the libraries. Since I am now trying to update the script for a new library and get a lot of errors.

In some functions, you have changed the type from integer to single. I ask you to indicate this, since it is problematic to observe compatibility when updating the library.


adding backward compatibility can be a drawback in many cases. so, we should embrace the latest.


Quote:
Originally Posted by BLACKFIRE69 View Post
NOTE:
This update involves modifications to certain functions/procedures, which might require adjustments to current scripts.



Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
hitman797 (12-09-2023), Tihiy_Don (11-09-2023)
Sponsored Links
  #497  
Old 12-09-2023, 00:58
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 146
Thanks: 95
Thanked 140 Times in 54 Posts
Fak Eid is on a distinguished road
@audiofeel
I'm playing a video using FVideoPlayer in the background of a FCustomPage. I want to display a FPopupBox over this FCustomPage. I want to know if it can be made possible.

Quote:
Originally Posted by audiofeel View Post
Perhaps you need to play video through a third-party dll. This script at least has text over the video.

Last edited by Fak Eid; 12-09-2023 at 01:11.
Reply With Quote
  #498  
Old 12-09-2023, 01:20
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 Fak Eid View Post
@audiofeel
I'm playing a video using FVideoPlayer in the background of a FCustomPage. I want to display a FPopupBox over this FCustomPage. I want to know if it can be made possible.
I tried to place something over the video in different ways, it doesn't work. I think that FMXInno does not play the video itself (it does not have built-in codecs for video) and just passes it to Windows. Therefore, nothing works.
__________________
https://t.me/FMXInno
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Fak Eid (12-09-2023)
  #499  
Old 12-09-2023, 08:47
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 -Updates

FMXInno Update - [2023-Sep-12]


Code:
* Added new functions.
* Disabled runtime integrity checks.
* Fixed DirBrowse Edit.
* Updated FCreate* functions.
* Updated 'MinimizeWindowCustomAnimated' for ImageForms.
* Updated 'XBass' (internal/external).
* Updated 'ISArcEx' (internal/external).
* Removed lzma2 algorithm and used the lowest compression level.
  - FinalSize(old): 2.86 MB
  - FinalSize(new): 3.41 MB

Code:
{ PowerPlan ID }
const
  USER_PP_POWER_SAVER          = $0002;
  USER_PP_BALANCED             = $0004;
  USER_PP_HIGH_PERFORMANCE     = $0006;
  USER_PP_ULTIMATE_PERFORMANCE = $0008;
  USER_PP_UNKNOWN              = $0001;
 
function wPowerPlanGetActivePlan: Byte;
function wPowerPlanExist(const PowerPlanID: Byte): Boolean;
function wPowerPlanSetOrCreate(const PowerPlanID: Byte): Boolean;

var
   CurActivePowerPlanID: Byte;
Code:
function InitializeSetup(): Boolean;
begin
  CurActivePowerPlanID := wPowerPlanGetActivePlan;

  if (CurActivePowerPlanID = USER_PP_POWER_SAVER) or // Power saver
     (CurActivePowerPlanID = USER_PP_BALANCED) or // Balanced
     (CurActivePowerPlanID = USER_PP_UNKNOWN) then // Unknown (optional)
  begin
    if (not wPowerPlanSetOrCreate(USER_PP_HIGH_PERFORMANCE)) then // High performance
      MsgBox('High performance powerplan error.', mbError, MB_OK);
  end;

  FMXInnoInit;
  Result := True;
end;

procedure DeinitializeSetup();
begin
  wPowerPlanSetOrCreate(CurActivePowerPlanID);

  FMXInnoShutDown;
end;


-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by audiofeel View Post
@blackfire69
MinimizeWindowCustomAnimated).

It was also noticed that if the type of form is selected (FCreateImageForm), then the form does not return to its normal state after folding, but turns into a small rectangle (I attach a screenshot). Maybe it's my jamb (look through my script and maybe you'll find an error).

'MinimizeWindowCustomAnimated' has been fixed for 'ImageForms'.


-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Fak Eid View Post
@Blackfire69

1. Please acknowledge this issue when trying to use Edit on Directory section:
https://fileforums.com/showpost.php?...&postcount=471

fixed.


-----------------------------------------------------------------------------------------------------------------------
Quote:
Originally Posted by Fak Eid View Post

2. Installation speed is still not smooth. When transitioning from, say suppose Data-01 to Data-02, it still drops after a certain point of time. For eg: At Data-01 if it was 64mb/s, when extracting Data-02 it refreshes (resets) and becomes 12mb/s after some time.
Not sure if it helps, but save the previous/average installation speed and when the disk transition happens, do (prev installation speed+ current callback speed)/2 (like take average)


1. 'ISArcEx' only calculates the current extraction speed for the current archive.
2. 'ISArcExReduceCalcAccuracy' has been updated.
- procedure ISArcExReduceCalcAccuracy(Factor: Byte);
- Factor: 1-5 (default = 1).


.

Last edited by BLACKFIRE69; 14-07-2024 at 03:05.
Reply With Quote
The Following 6 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (12-09-2023), Fak Eid (12-09-2023), hitman797 (12-09-2023), Lord.Freddy (13-09-2023), ScOOt3r (12-09-2023), Tihiy_Don (12-09-2023)
  #500  
Old 12-09-2023, 11:03
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 hitman797 View Post
Other component can be added by adding TabControl2
and Handle TabControl2 in FMXForm.
and add objects to TabControl2.
strange behavior. it doesn't work without a style file
__________________
https://t.me/FMXInno
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (12-09-2023)
  #501  
Old 12-09-2023, 20:34
XH75819116 XH75819116 is offline
Registered User
 
Join Date: Jun 2022
Location: china
Posts: 4
Thanks: 0
Thanked 3 Times in 3 Posts
XH75819116 is on a distinguished road
win10 21h1 FMXForm:= InitFormHandle unresponsive
Reply With Quote
  #502  
Old 12-09-2023, 21:54
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 XH75819116 View Post
win10 21h1 FMXForm:= InitFormHandle unresponsive

i don't have Windows 10 21H1 at the moment, but it's working fine on Windows 10 22H2 (even on a virtual machine).


screenshot:

.

Last edited by BLACKFIRE69; 14-07-2024 at 03:06.
Reply With Quote
  #503  
Old 13-09-2023, 06:58
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

Is it impossible to get an icon to display by the icon index?
wGetSysDefaultIcons2

something like this...

%SystemRoot%\System32\SHELL32.dll, -123
__________________
https://t.me/FMXInno
Reply With Quote
  #504  
Old 13-09-2023, 09:14
BYRedex BYRedex is offline
Registered User
 
Join Date: Jun 2013
Location: Koenigsberg
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
BYRedex is on a distinguished road
Question

Hi! What about rounding out the shape?
I want to use "FMXForm.FCreateNormal(WizardForm.Handle);" so that I can put any image on top of the form and it will be rounded.

On the screenshots you can see it perfectly well, everything turns out using this:

Code:
function SetWindowRgn(hWnd: HWND; hRgn: LongWord; bRedraw: BOOL): Integer;
external '[email protected] stdcall';

SetWindowRgn(FMXForm.Handle, FormRegion, True);
But then the form and FMX live separately, i.e. the FMX layer moves on the WizardForm form.

SetWindowRgn works only with "FMXForm.FCreateNormal", I want to have the same view for all systems (from Win7 to 11) and have the ability to set parameters of form rounding.
Attached Images
File Type: png 1.PNG (1.27 MB, 72 views)
File Type: png 2.PNG (1.06 MB, 70 views)
Reply With Quote
  #505  
Old 13-09-2023, 09: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 audiofeel View Post
@BLACKFIRE69

Is it impossible to get an icon to display by the icon index?
wGetSysDefaultIcons2

something like this...

%SystemRoot%\System32\SHELL32.dll, -123


maximum size will be 32x32. if this is ok to you, let me know.


.

Last edited by BLACKFIRE69; 14-07-2024 at 03:06.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (13-09-2023), hitman797 (13-09-2023)
  #506  
Old 13-09-2023, 09:39
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
maximum size will be 32x32. if this is ok to you, let me know.
.
Disappointment. The size is too small. But still this function is useful in future cases as in the screenshot below.
__________________
https://t.me/FMXInno

Last edited by audiofeel; 27-12-2023 at 11:06.
Reply With Quote
  #507  
Old 13-09-2023, 10:59
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
Disappointment. The size is too small. But still this function is useful in future cases as in the screenshot below.


how about now?


.

Last edited by BLACKFIRE69; 14-07-2024 at 03:06.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (13-09-2023), Lord.Freddy (13-09-2023)
  #508  
Old 13-09-2023, 11:02
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
how about now?
.
Great!
__________________
https://t.me/FMXInno
Reply With Quote
  #509  
Old 13-09-2023, 13:32
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 hitman797 View Post
Metro Installer

Metro Installer
do you remember when we did the metro install? now the necessary objects have been added, but I don't understand everything. can you show an example
MultiView, SpeedBtn etc.
__________________
https://t.me/FMXInno
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (13-09-2023)
  #510  
Old 13-09-2023, 18:03
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 168
Thanks: 461
Thanked 182 Times in 118 Posts
hitman797 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
do you remember when we did the metro install? now the necessary objects have been added, but I don't understand everything. can you show an example
MultiView, SpeedBtn etc.
Metro Installer
Attached Files
File Type: 7z Metro Installer.7z (13.14 MB, 51 views)
Reply With Quote
The Following 3 Users Say Thank You to hitman797 For This Useful Post:
ADMIRAL (16-09-2023), audiofeel (14-09-2023), Jahan1373 (14-09-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 01:23.


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