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
  #1  
Old 08-02-2024, 01:59
Tihiy_Don Tihiy_Don is offline
Registered User
 
Join Date: Mar 2023
Location: Los Angeles Lakers
Posts: 43
Thanks: 91
Thanked 26 Times in 18 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
Sponsored Links
  #2  
Old 12-02-2024, 11:13
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 - 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, 282 views)
File Type: png 2.png (29.5 KB, 286 views)
File Type: png 3.png (62.8 KB, 286 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)
  #3  
Old 22-02-2024, 06: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 05:59. Reason: English translation
Reply With Quote
  #4  
Old 23-02-2024, 06: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,836
Thanks: 20
Thanked 342 Times in 224 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)
  #5  
Old 24-02-2024, 05: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 - 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, 217 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)
  #6  
Old 26-02-2024, 06:44
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 - 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 02: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)
  #7  
Old 27-02-2024, 17:30
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
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 02: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)
  #8  
Old 01-03-2024, 02:29
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 168
Thanks: 486
Thanked 202 Times in 122 Posts
hitman797 is on a distinguished road
FMXInno features

HI, @BLACKFIRE69, can you add Radiant Shapes to the FMXInno.
  • Radiant Parallelogram.
  • Radiant Hexagon.
Attached Images
File Type: png Screenshot 2024-03-01 112257.png (43.4 KB, 261 views)
Reply With Quote
The Following 4 Users Say Thank You to hitman797 For This Useful Post:
audiofeel (01-03-2024), Behnam2018 (01-03-2024), BLACKFIRE69 (05-03-2024), Jahan1373 (01-03-2024)
  #9  
Old 05-03-2024, 11:21
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Auto Update Directory Space on Directory Edit

Code for Edit Box
Code:
  Page2Edit.FCreate(Page2.Handle);
  Page2Edit.SetBounds(NSSX(100), NSSY(190), NSSX(520), NSSY(35));
  Page2Edit.FontSetting('{#FontName}', VCLFontSizeToFMX2(13), ALGainsBoro);
  Page2Edit.CanFocus(True);
  Page2Edit.Enabled(True);
  Page2Edit.Text(MinimizePathName(WizardForm.DirEdit.Text, WizardForm.DirEdit.Font, WizardForm.DirEdit.Width));
  Page2Edit.OnTyping(@BrowseEditOnChange);

Logic for procedure
Code:
procedure BrowseEditOnChange(Sender: TObject);
var
  PrevDrive, CurrentDrive: String;
begin
  PrevDrive := ExtractFileDrive(WizardForm.DirEdit.Text);
  CurrentDrive := ExtractFileDrive(Page2Edit.GetText);

  // Set the installation path to the edited text value
  WizardForm.DirEdit.Text := Page2Edit.GetText;

  if PrevDrive <> CurrentDrive then
    DirUpdateProc(nil);
end;
Logic for Directory Update Procedure:
Code:
procedure DirUpdateProc(Sender: TObject);
begin
  DiskUsage.SetDir(WizardForm.DirEdit.Text);
  SelectDirLabel[3].Text('Total Space - ' + MbOrTb(DiskUsage.TotalSpace, 1) + #13 +
                         'Available Space - '+ MbOrTb(DiskUsage.FreeSpace, 1) + #13 +
                         'Repack Size - ' + MbOrTb({#RepackSize}, 1));
  if Round(DiskUsage.FreeSpace) > StrToInt('{#RequiredSpace}') then
  begin
    WizardBtn[4].Enabled(True);  //Install Button enabled if there is space
  end else
  begin
    WizardBtn[4].Enabled(False); //Install Button disabled if no space
    ShowMessage('Not Enough Space', 'Selected Directory does not have required space. Please select a different directory location.');
  end;
end;
Attached Images
File Type: gif Recording 2024-03-06 003906.gif (508.9 KB, 239 views)
Reply With Quote
The Following 8 Users Say Thank You to Fak Eid For This Useful Post:
ADMIRAL (07-03-2024), audiofeel (05-03-2024), Behnam2018 (05-03-2024), BLACKFIRE69 (05-03-2024), JIEXA MEDVED (18-03-2024), Lord.Freddy (05-03-2024), Tihiy_Don (06-03-2024), Wanterlude (13-07-2025)
  #10  
Old 05-03-2024, 11:34
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Common Code to extract Data/Component Files

Declare a global variable DiskSkip in the top
Code:
var
DiskSkip: Boolean;
Updated changes here:
Code:
procedure CurStepChanged(CurStep: TSetupStep);
var
  i: Integer;
begin
  DiskSkip:= False;
  if CurStep = ssInstall then begin
    ISArcExCancel := 0;
    ISArcExDiskCount := 0;
    ISArcDiskAddingSuccess := False;
    ISArcExError := True;

    #include "Game/UnpackTools_Init.iss"
    { - ADDING DISKS: BEGIN -}
    repeat
      {< Main Archives >}
      #ifdef Data1
        VerifyFileExist('Data-01.bin');
        if DiskSkip then break;
      #endif
      #ifdef Data2
        VerifyFileExist('Data-02.bin');
        if DiskSkip then break;
      #endif

      {< Components >}
      #ifdef Component1
        if Checkbox[8].ISChecked then
        VerifyFileExist('selective-english.bin');
      #endif
      #ifdef Component2
        if Checkbox[9].ISChecked then
        VerifyFileExist('selective-bonus.bin');
      #endif
      until true;
    { - ADDING DISKS: END -}

      ISArcExStop;
      if ISArcExError then
        ShowMessage('Installation was interrupted', 'Either the installation has been cancelled by the user,' +#13+ 'or the files are corrupted.');
      end else if not (ISArcDiskAddingSuccess) and (DiskSkip) then
        ShowMessage('Installation is corrupted', 'Required disks could not be located.');

Common procedure to handle all Data files
Code:
procedure VerifyFileExist(FilePath: WideString);
var
  sPath, sFile: WideString;
  sExt: String;
begin
  sPAth := AddBackslash(ExpandConstant('{src}'));
  if FileExists(sPAth + FilePath) then begin
    ISArcDiskAddingSuccess:= ISArcExAddDisks(sPAth + FilePath, '{#DiskPassword}', ExpandConstant('{app}'));
    if not ISArcDiskAddingSuccess then begin
      DiskSkip:= True;
      Exit;
    end;
    ISArcExDiskCount := ISArcExDiskCount + 1;
  end else
    begin
    ShowMessage('Setup Needs the Next Disk', 'Please browse Disk: [ ' + FilePath +  ' ] after closing this prompt'#13#10'If this disk can be found in another folder, browse to the correct path.');
    sExt:= ExtractFileExt(FilePath); StringChange(sExt, '.', '');
    if OpenFileModern(FMXForm.HandleHWND, sExt, FilePath,  sPAth, 'Please specify the location of the next disk', sFile) then
    begin
      sPAth := ExtractFilePath(sFile);
      ISArcDiskAddingSuccess:= ISArcExAddDisks(sPAth + FilePath, '{#DiskPassword}', ExpandConstant('{app}'));
      if not ISArcDiskAddingSuccess then begin
        DiskSkip:= True;
        Exit;
      end;
      ISArcExDiskCount := ISArcExDiskCount + 1;
    end else begin
      ISArcDiskAddingSuccess := False;
      DiskSkip:= True;
      Exit;
    end;
  end;
end;
Reply With Quote
The Following 4 Users Say Thank You to Fak Eid For This Useful Post:
audiofeel (05-03-2024), Behnam2018 (05-03-2024), BLACKFIRE69 (05-03-2024), ScOOt3r (05-03-2024)
  #11  
Old 08-03-2024, 03:09
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Issue with FCustomFluentWindow

Hi @BlackFire,

I have identified that in 1080p the Form doesn't pop-up at the center of the screen, it is slightly to the left. This is not happening with everyone.

Another issue with FCustomFluentWindow is if once triggered it keeps on popping-up repeatedly and cannot be closed.

Code:
MessageForm.FCreate(FMXForm.HandleHWND, True, False, 0.56, 0);
Temporary fix where it doesn't happen
Code:
MessageForm.FCreateBlankForm(FMXForm.HandleHWND, ALBlack, '');
This is also happening for few people. I'm using a gaming mouse but macro is not enabled. Can you please take a look or let me know the reason or fix?

I've created two videos associated to this. Copy-paste the link after 'youtube.com/' as I'm unable to post the link because they get automatically parsed.
Code:
watch?v=lKhINB7hyBY&ab_channel=FaKEid
Issue notified at 00:40 - 1:30
Code:
watch?v=xopBfI90T-g&ab_channel=FaKEid
Edit : Added GIF to display the issue
Attached Images
File Type: gif Recording 2024-03-08 162211.gif (917.8 KB, 214 views)
Reply With Quote
  #12  
Old 08-03-2024, 06:48
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Yes the issue is the resolution scale. In 100%, it comes completely in the center of the screen, but in 125%, it is slightly to the left.

I'm not using any custom theme file here. No code changes here, just the default template shared by @Blackfire for WPI Corepack and the issue is happening for FCustomFluentWindow for me.
Reply With Quote
The Following User Says Thank You to Fak Eid For This Useful Post:
Behnam2018 (08-03-2024)
  #13  
Old 12-03-2024, 03:52
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 Dev

Hola everyone,

This is the FMXInno official development library, encompassing all features. my intention with this update is to address known issues so far. therefore, i need your assistance in testing it, especially in this development build. i intend to ensure the correct behavior of forms, including proper scaling and positioning.

Code:
1. Note: This is in the development stage and not recommended for use in production.

2. Don't forget to share your feedback and feel free to report any bugs you discover.


Quote:
* Information:

1. Rewrote some core/fundamental code, including forms, etc.:

-- Ensures correct scaling and positioning of forms and FMX objects.
-- All forms will now be centered on the screen.

-- Disabled file size reduction tricks and temporary memory management.
-- Replaced all animations with TAnimator for better performance.

-- Some features (e.g., MinimizeWindowCustomAnimated) have been deprecated due to issues; they can still be called but will have no effect.
-- NewScaller is no longer part of FMXInno, so make sure to remove all related functions (NS, NSS, etc.) from your scripts.

-- The new FForm will be slightly shorter in width/height as the extra frame width is not added to it.
-- When testing with higher DPI values and using .style files, ensure the .style file is HigherDPI-Aware.

-- Some features may not function properly on older systems like Windows 7. Since many developers, including Microsoft, have ceased support for outdated systems, my priority is to ensure compatibility with currently active systems such as Windows 10 and Windows 11.

-- Additionally, there's no guarantee that any issues encountered through virtual machines (VMware, etc.) will be resolved.

-- For 'FCustomPage', use 'Page#.Visible(False)' in 'FMXDesigning' to avoid visibility of all pages at setup startup.
Code:
Example:

procedure FMXDesigning;
begin
  {...}
  Page1.FCreate(FMXForm.Handle);
  Page1.Visible(False);
  
  {...}
  
  Page2.FCreate(FMXForm.Handle);
  Page2.Visible(False);
  {...}
end;

Quote:
2. Rewrote some fluent effects code:

-- Ensures FluentForms react only to system color mode (light/dark) changes.
-- 'SetActiveThemeModeAwareness' will be ignored if the form is minimized.


3. Download the attachment below and perform tests under the following conditions:

OS:

- Windows 11
- Windows 10
- Windows 8 / 8.1 ( Optional )
- Windows 7 ( Optional )

DPI:

- 100%
- 125%
- 150%, etc.



4. Also, test with your own scripts:
-- Replace your current 'FMXInno.dll' and 'FMXInnoHandle.iss' with the provided ones.


5. Some users have reported that it takes a bit of time to compile their scripts. this is because it takes time to read the default 'FMXInnoHandle.iss', which contains declarations of all features. if you have enough experience to deal with it, you can remove unused code from it for your specific script, which may help.

Code:
* FMXInno Form Types:

1. Normal Form:
   -- This is just an FMX layer; you can create any FMX object over it.
   -- You can still see through and access every InnoSetup object as this is a layer.

2. Blank Form:
   -- A standard FMX form filled with a solid color or an image by default.

3. Fluent Form / Fluent Color Form / Fluent Null (no-color) Form:
   -- FMX forms that have enabled Windows Fluent (or Acrylic/Aero) effects by default.

4. Gradient Form:
   -- A standard FMX form filled with a gradient color by default.

5. Image Form:
   -- An FMX form based on an image (form has the same shape as the image).

6. Background image scrolling Form:
   -- An FMX form that has a scrolling image background according to mouse movements.

Quote:
* Scaling:

1. Note that there's no guarantee for any custom scaling value for correct scaling (see first screenshot).
2. Make sure to use only the values supported by your display (see second screenshot).



.
Attached Images
File Type: jpg 01.jpg (34.1 KB, 194 views)
File Type: jpg 02.jpg (20.0 KB, 195 views)

Last edited by BLACKFIRE69; 11-05-2024 at 09:02.
Reply With Quote
The Following 7 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (12-03-2024), Behnam2018 (12-03-2024), Cesar82 (12-03-2024), hitman797 (12-03-2024), Lord.Freddy (12-03-2024), ScOOt3r (12-03-2024), Tihiy_Don (12-03-2024)
  #14  
Old 15-03-2024, 00:32
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Help with Animation of FCustomPage

Can someone help me in animating this section down on the click of 'i' (info button) ? Check the gif:
Page[1]: FCustomPage;
PageContent[1]: FRectangle;

Code:
  Page[1].FCreate(ShadowImg.Handle);
  Page[1].Visible(False);

  PageContent[1].FCreate(Page[1].Handle);
  PageContent[1].FillColor(HTMLColorStrToFMXColor('#1f2227'));
  PageContent[1].SetBounds(20, 70, 780, 150);
  PageContent[1].Opacity(0.85);
  PageContent[1].CornerStyle(2, 2, [tcTopLeft, tcTopRight, tcBottomLeft, tcBottomRight], ctRound);
Attached Images
File Type: gif Recording 2024-03-15 135117.gif (79.4 KB, 165 views)
Reply With Quote
  #15  
Old 15-03-2024, 12:39
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 147
Thanks: 98
Thanked 152 Times in 54 Posts
Fak Eid is on a distinguished road
Issue resurfaced with FCreateBlankForm

Hi @Blackfire

The earlier issue with FCreateBlankForm, where it loads with a blank image before load, has resurfaced. When running for the first time it is for more time, it subsequently gets faster (depending upon SSD/HDD, I suppose). Can you please look into it?

I'm not sure if there is already a fix for it, as I lost track of some recent changes in FMXInno. If there is a fix, let me know.

Image and gif added for review.
Attached Images
File Type: jpg Screenshot 2024-03-16 020237.jpg (72.3 KB, 163 views)
File Type: gif Recording 2024-03-16 020144.gif (248.4 KB, 156 views)
Reply With Quote
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 17:00.


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