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

Reply
 
Thread Tools Display Modes
  #736  
Old 24-01-2024, 14:53
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 168
Thanks: 454
Thanked 182 Times in 118 Posts
hitman797 is on a distinguished road
@BLACKFIRE69, can you add these two events to the form object.
FForm:
Code:
    procedure OnActivate(Event: TNotifyEvent);
    procedure OnDeactivate(Event: TNotifyEvent);
Reply With Quote
The Following User Says Thank You to hitman797 For This Useful Post:
audiofeel (26-01-2024)
Sponsored Links
  #737  
Old 24-01-2024, 20:11
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by hitman797 View Post
@BLACKFIRE69, can you add these two events to the form object.
FForm:
Code:
    procedure OnActivate(Event: TNotifyEvent);
    procedure OnDeactivate(Event: TNotifyEvent);


these two events don't get triggered for 'FForm', so nothing will change with these two events, and they'll never get triggered.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (26-01-2024), hitman797 (25-01-2024)
  #738  
Old 27-01-2024, 00:11
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Modern FitGirl Installer

Modern FitGirl Installer for Windows 11+



Quote:
How would it look if FitGirl's installer is created in 2024 and specifically targeted Windows 11+?

Let's give a modern look to a classic interface and compare it with modern styles.
Quote:
What's new:

* Nothing new; i just gave a retouch to the classic interface.
Quote:
Notes:

* This is just a concept, not for general use. if you need the complete script with all the features, let me know.
* Remember to change 'Opacity' as you prefer in your case.
Quote:
; Setup: Theme
#define Opacity "0.0" /* Opacity Level: <0.0> to <1.0> */


.
Attached Images
File Type: png 1.png (116.6 KB, 509 views)
File Type: png 2.png (101.0 KB, 505 views)
File Type: png 3.png (104.2 KB, 500 views)
File Type: png 4.png (104.9 KB, 494 views)
File Type: png 5.png (102.3 KB, 488 views)
File Type: png 6.png (97.8 KB, 486 views)
File Type: png 7.png (116.4 KB, 479 views)
File Type: png 8.png (113.3 KB, 483 views)
File Type: png 9.png (92.8 KB, 489 views)
Attached Files
File Type: rar FMXInno - FitGirl Modern Installer.rar (8.76 MB, 244 views)
Reply With Quote
The Following 14 Users Say Thank You to BLACKFIRE69 For This Useful Post:
ADMIRAL (28-01-2024), audiofeel (27-01-2024), Behnam2018 (27-01-2024), Cesar82 (27-01-2024), CipaRus (11-08-2024), Ele (28-01-2024), ffmla (30-01-2024), Harsh ojha (04-02-2024), hitman797 (28-01-2024), ItsAtomic (27-01-2024), Jahan1373 (28-01-2024), Lord.Freddy (27-01-2024), ScOOt3r (07-02-2024), Wanterlude (08-02-2024)
  #739  
Old 01-02-2024, 13:20
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno v1.0.0.2 - Updates

FMXInno Final Release: [2024-Jan-31]




New update uploaded to first post, check it out.



Code:
What's new:

1. Added FMXInno WebView2 custom class.
2. Updated HTML text (updated _HTML-Syntax.txt).
3. Updated ISArcExCleanUp.
4. Added a simple tool (Installer Template Generator).
5. Addressed known issues.
6. Quality fixes and improvements.

1. FMXInno WebView2:

Code:
1. Support for the latest Windows 10 and Windows 11 only.

   -- This requires the WebView2 Runtime package.
   -- Alternatively, download it manually:  Microsoft Edge WebView2

2. Support for HTML 5.

3. FWebview is always on top of all other controls, just like the FVideoPlayer.
   Therefore, it's better to create this on an FCustomFluentWindow in real use.









2. Installer Template Generator:

Code:
1. A simple tool to generate installer templates.

   - The script will include all the fundamental functions that the installer requires.


.

Last edited by BLACKFIRE69; 14-07-2024 at 03:17.
Reply With Quote
The Following 8 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (01-02-2024), Behnam2018 (01-02-2024), Ele (05-02-2024), hitman797 (04-02-2024), Lord.Freddy (01-02-2024), nordi (24-02-2024), Tihiy_Don (02-02-2024), Wanterlude (08-02-2024)
  #740  
Old 07-02-2024, 09:43
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 42
Thanks: 89
Thanked 23 Times in 16 Posts
Tihiy_Don is on a distinguished road
Maybe it will be useful to someone.
Automatically set the unpacking parameters depending on the amount of RAM:

Quote:
function GetRamMemory: Integer;
var i: Integer;
s: String;
begin
s:=MbOrTb(RamInfo.TotalRam, 0);
for i:=length(s) downto 1 do
if not (s[i] in ['0','1','2','3','4','5','6','7','8','9']) then delete(s,i,1);

Result:=StrToInt(s);
end;

procedure CurStepChanged(CurStep: TSetupStep);
var
XValue, LRamValue, LCpuValue, SValue: String;
begin
case GetRamMemory of
0..2:
begin
XValue:= 't4';
SValue:= '512mb';
LRamValue:= '512mb';
LCpuValue:= '4';
end;
3..4:
begin
XValue:= 't4';
SValue:= '768mb';
LRamValue:= '768mb';
LCpuValue:= '4';
end;
5..6:
begin
XValue:= 't45p';
SValue:= '1024mb';
LRamValue:= '1024mb';
LCpuValue:= '4';
end;
7..8:
begin
XValue:= 't65p';
SValue:= '1536mb';
LRamValue:= '1536mb';
LCpuValue:= '4';
end;
9..12:
begin
XValue:= 't75p';
SValue:= '2064mb';
LRamValue:= '2064mb';
LCpuValue:= '4';
end;
13..16:
begin
XValue:= 't85p';
SValue:= '20%';
LRamValue:= '50%';
LCpuValue:= '6';
end;
17..32:
begin
XValue:= 't85p';
SValue:= '40%';
LRamValue:= '40%';
LCpuValue:= '6';
end;
33..150:
begin
XValue:= 't85p';
SValue:= '40%';
LRamValue:= '40%';
LCpuValue:= '6';
end;
end;

if CurStep = ssInstall then
begin
ISArcExCancel:= 0;
ISArcExDiskCount:= 0;
ISArcDiskAddingSuccess:= False;
ISArcExError:= True;

ExtractTemporaryFile('Russian.ini');
ExtractTemporaryFile('unarc.dll');
ExtractTemporaryFile('arc.ini');
ExtractTemporaryFile('cls.ini');
ExtractTemporaryFile('Facompress.dll');

#ifdef xtool_zlib
ExtractTemporaryFile('zlibwapi.dll');
ExtractTemporaryFile('xtool.exe');
if IsWin64 then
begin
SetIniString('External compressor:xtool', 'unpackcmd', ' "xtool" drecomp:' + XValue + ' - - <stdin> <stdout>', ExpandConstant('{tmp}\arc.ini'));
end else
begin
SetIniString('External compressor:xtool', 'unpackcmd', ' "xtool" drecomp:' + XValue + ' - - <stdin> <stdout>', ExpandConstant('{tmp}\arc.ini'));
end;
#endif

#ifdef srep
ExtractTemporaryFile('cls-srep.dll');
if IsWin64 then
begin
ExtractTemporaryFile('cls-srep_x64.exe');
SetIniString('Srep', 'Memory', SValue, ExpandConstant('{tmp}\cls.ini'));
end else
begin
ExtractTemporaryFile('cls-srep_x86.exe');
SetIniString('Srep', 'Memory', SValue, ExpandConstant('{tmp}\cls.ini'));
end;
#endif

#ifdef lolz
ExtractTemporaryFile('cls-lolz.dll');
if IsWin64 then
begin
ExtractTemporaryFile('cls-lolz_x64.exe');
SetIniString('lolz', 'MaxThreadsUsage', '4', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxMemoryUsage', LRamValue, ExpandConstant('{tmp}\cls.ini'));
end else
begin
ExtractTemporaryFile('cls-lolz_x86.exe');
SetIniString('lolz', 'MaxThreadsUsage', '4', ExpandConstant('{tmp}\cls.ini'));
SetIniString('lolz', 'MaxMemoryUsage', LRamValue, ExpandConstant('{tmp}\cls.ini'));
end;
#endif
....
Reply With Quote
The Following 4 Users Say Thank You to Tihiy_Don For This Useful Post:
audiofeel (07-02-2024), Behnam2018 (07-02-2024), hitman797 (07-02-2024), Lord.Freddy (07-02-2024)
  #741  
Old 07-02-2024, 11:30
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 372
Thanks: 446
Thanked 864 Times in 312 Posts
audiofeel is on a distinguished road
Wink

Quote:
Originally Posted by Tihiy_Don View Post
Maybe it will be useful to someone.
Automatically set the unpacking parameters depending on the amount of RAM:
If it comes to that, then you can do the same with the number of processor cores and with its frequency (where necessary).
Can also implement a comparison of free disk space and, based on the results, place a temporary folder there for unpacking.

Last edited by audiofeel; 07-02-2024 at 11:37.
Reply With Quote
The Following 2 Users Say Thank You to audiofeel For This Useful Post:
Behnam2018 (07-02-2024), hitman797 (07-02-2024)
  #742  
Old 08-02-2024, 01:11
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Tihiy_Don View Post
Maybe it will be useful to someone.
Automatically set the unpacking parameters depending on the amount of RAM:


Code:
function GetRamMemory: Integer;
var i: Integer;
s: String;
begin
s:=MbOrTb(RamInfo.TotalRam, 0);
for i:=length(s) downto 1 do
if not (s[i] in ['0','1','2','3','4','5','6','7','8','9']) then delete(s,i,1);

Result:=StrToInt(s);
end;

procedure CurStepChanged(CurStep: TSetupStep);
var
XValue, LRamValue, LCpuValue, SValue: String;
begin
case GetRamMemory of
0..2:
begin
XValue:= 't4';
SValue:= '512mb';
LRamValue:= '512mb';
LCpuValue:= '4';
end;
3..4:
begin
XValue:= 't4';
SValue:= '768mb';
LRamValue:= '768mb';
LCpuValue:= '4';
end;

// ....
end;


how about this way? i think it's more convenient.


Code:
procedure _GetMeRAMInGB;
var
  MyRamInGB: Integer;
begin
  // Note:  ARamUsage.TotalRam --> Total RAM in MB.

  MyRamInGB := Round(ARamUsage.TotalRam / 1024);  // 0, 1, 2, 3, ....

  case MyRamInGB of
    0..2:
    begin
      MsgBox('RAM: 0..2 GB', mbInformation, MB_OK);
    end;

    3..4:
    begin
      MsgBox('RAM: 3..4 GB', mbInformation, MB_OK);
    end;

    // ....

    else
    begin
      MsgBox('Are you sure you really have RAM installed?  ;)', mbError, MB_OK);
    end;
  end;
end;
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (08-02-2024), Tihiy_Don (08-02-2024)
  #743  
Old 08-02-2024, 02:58
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 42
Thanks: 89
Thanked 23 Times in 16 Posts
Tihiy_Don is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
how about this way? i think it's more convenient.


Code:
procedure _GetMeRAMInGB;
var
  MyRamInGB: Integer;
begin
  // Note:  ARamUsage.TotalRam --> Total RAM in MB.

  MyRamInGB := Round(ARamUsage.TotalRam / 1024);  // 0, 1, 2, 3, ....

  case MyRamInGB of
    0..2:
    begin
      MsgBox('RAM: 0..2 GB', mbInformation, MB_OK);
    end;

    3..4:
    begin
      MsgBox('RAM: 3..4 GB', mbInformation, MB_OK);
    end;

    // ....

    else
    begin
      MsgBox('Are you sure you really have RAM installed?  ;)', mbError, MB_OK);
    end;
  end;
end;
It's more convenient, yes. I did this because I thought that it could only be done through the MbOrTb function and asked about it in the FMX Q&A topic, but I never got an answer, so I did and already released a repack on the torrent tracker, the main thing is that it works.

I was not afraid to make it on FMX and release it, I even worked on supporting 32-bit machines.

Last edited by Tihiy_Don; 08-02-2024 at 03:05.
Reply With Quote
The Following 2 Users Say Thank You to Tihiy_Don For This Useful Post:
ADMIRAL (10-02-2024), BLACKFIRE69 (08-02-2024)
  #744  
Old 08-02-2024, 02:59
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 42
Thanks: 89
Thanked 23 Times in 16 Posts
Tihiy_Don is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
If it comes to that, then you can do the same with the number of processor cores and with its frequency (where necessary).
Can also implement a comparison of free disk space and, based on the results, place a temporary folder there for unpacking.
I know what can be done with kernels in mind, but it doesn't make sense for my repack.
Reply With Quote
  #745  
Old 12-02-2024, 12:13
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - documentation

FMXInno - documentation




Quote:
* A documentation for FMXInno may arrive someday, but not in the near future. what are your thoughts on this?



.
Attached Images
File Type: png 1.png (19.5 KB, 232 views)
File Type: png 2.png (29.5 KB, 237 views)
File Type: png 3.png (62.8 KB, 237 views)
Reply With Quote
The Following 10 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (12-02-2024), Behnam2018 (14-02-2024), Cesar82 (13-02-2024), hitman797 (12-02-2024), Jahan1373 (13-02-2024), Masquerade (13-02-2024), nordi (13-02-2024), ScOOt3r (12-02-2024), Tihiy_Don (12-02-2024), Wanterlude (12-02-2024)
  #746  
Old 22-02-2024, 07:18
Ponasss Ponasss is offline
Registered User
 
Join Date: Feb 2024
Location: Москва
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Ponasss is on a distinguished road
Why does it show so many Trojans?

(че столько троянов показывает?)

Last edited by Joe Forster/STA; 23-02-2024 at 06:59. Reason: English translation
Reply With Quote
  #747  
Old 23-02-2024, 07:01
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,798
Thanks: 16
Thanked 329 Times in 214 Posts
Joe Forster/STA is on a distinguished road
Quote:
Originally Posted by Ponasss View Post
Why does it show so many Trojans?
(This is an English-only forum.) Your virus scanner may be overreacting. I suggest that you upload suspicious files to https://www.virustotal.com, an online multi-engine virus scanner.
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
The Following User Says Thank You to Joe Forster/STA For This Useful Post:
audiofeel (23-02-2024)
  #748  
Old 24-02-2024, 06:40
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Updates

* FMXInno - Updates [2024-Feb-24]


Code:
1. Integrated all updates up to this point.
2. Removed FMXInno's memory (RAM) truncation.
3. Fixed issues with invalid handles and owners.
4. Resolved some memory leaks.
5. Addressed previously encountered issues.
6. Implemented various improvements.
7. Updated all examples to Inno Setup 6.2.2.
8. Compiled with RadStudio 12 Athens + Patch 01.
9. This build is free from false positive trojans.


The first post has been updated; check it out.



.
Attached Images
File Type: png z0.png (26.4 KB, 165 views)
Reply With Quote
The Following 8 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (24-02-2024), Behnam2018 (24-02-2024), Cesar82 (24-02-2024), hitman797 (24-02-2024), Jahan1373 (25-02-2024), Lord.Freddy (25-02-2024), ScOOt3r (24-02-2024), Tihiy_Don (24-02-2024)
  #749  
Old 26-02-2024, 07:44
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Arrow FMXInno - Final Release: Hotfix_01

FMXInno - Final Release: Hotfix_01


* The FMXInno final build includes three main types of FMXInno libs. (yes, i should have mentioned these facts earlier; i really forgot, sorry.)


Code:
1. FMXInno Standard:
   - Contains all FMXInno features.
   - Path1: .\Files\FMXInno.dll
   - Path2: .\FMXInno+FXPacker\Files\FMXInno.dll

2. FMXInno Standard + SKIA:
   - Includes all Standard features and SKIA features.
   - Path: .\SKIA\FMXInno.dll
   - Requires 'sk4d.dll' to be next to 'FMXInno.dll'.

3. FMXInno Standard + Blend2D:
   - Combines Standard features with Blend2D features.
   - Path: .\_Blend2D\Files\FMXInno.dll
   - Requires 'blend2d_win32.dll' to be next to 'FMXInno.dll'.


================================================== =========

* in the latest final release (FMXInno + SKIA + Blend2D - Final Release [2024-Feb-24]), i also forgot the following:

Code:
1. For SKIA:
   a. To replace Firemonkey canvas with SKIA canvas.
   b. To enable GPU Acceleration.

   >> Resulting in the lowest FPS rate and the experience of slow animations and lags.

2. For XBass_F:
   a. To adjust to be compatible with new changes.

   >> Resulting in unexpected behavior and crashes when closing the 'setup.exe'.

3. Additionally, i slightly sped up the Dark-Light mode transition.


thanks to @audiofeel for reporting these bugs.



================================================== =========

* to apply Hotfix_01:

Code:
1. Just replace the old files with the new ones.



.

Last edited by BLACKFIRE69; 14-07-2024 at 03:17.
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (26-02-2024), hitman797 (26-02-2024), Lord.Freddy (26-02-2024), ScOOt3r (26-02-2024), Tihiy_Don (26-02-2024)
  #750  
Old 27-02-2024, 18:30
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 672
Thanks: 476
Thanked 2,411 Times in 546 Posts
BLACKFIRE69 is on a distinguished road
Lightbulb FMXInno - News

FMXInno - News


Quote:
1. just uploaded the FMXInno project to GitHub, but it's not published yet. it'll be available for everyone someday (, or perhaps never).




.

Last edited by BLACKFIRE69; 14-07-2024 at 03:18.
Reply With Quote
The Following 5 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (28-02-2024), Cesar82 (27-02-2024), hitman797 (27-02-2024), Lord.Freddy (28-02-2024), Tihiy_Don (27-02-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 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 00:54.


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