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

Reply
 
Thread Tools Display Modes
  #826  
Old 13-06-2024, 08:04
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Can someone help me in creating these using style file?
Attached Images
File Type: jpg Screenshot 2024-06-13 202856.jpg (2.4 KB, 208 views)
Reply With Quote
Sponsored Links
  #827  
Old 13-06-2024, 08:14
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 818 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Can someone help me in creating these using style file?
The style file contains three atlases with images. for a scale of 15x and 20x. If you can draw this in Photoshop or another image editor, then it won't be difficult to add these images to the style file. You can draw them all on a separate image file.(I do not guarantee that everything will work)
Attached Images
File Type: png 56.png (72.3 KB, 215 views)
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Behnam2018 (13-06-2024)
  #828  
Old 15-06-2024, 10:45
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Does anyone have any idea how can this be implemented?
I have SettingsForm: FCustomFluentWindow, and I just want to display this section on the form, without having another pop-up. How can this be implemented?

Like we have FStartMenuFolderTreeView, but it can only be on HWND handler, like FMXForm.HandleHWND. I'd want it inside an FCustomPage.Handle
Attached Images
File Type: jpg Screenshot 2024-06-15 231514.jpg (43.2 KB, 198 views)

Last edited by Fak Eid; 15-06-2024 at 13:01.
Reply With Quote
  #829  
Old 16-06-2024, 16:56
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 818 Times in 299 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Does anyone have any idea how can this be implemented?
I have SettingsForm: FCustomFluentWindow, and I just want to display this section on the form, without having another pop-up. How can this be implemented?

Like we have FStartMenuFolderTreeView, but it can only be on HWND handler, like FMXForm.HandleHWND. I'd want it inside an FCustomPage.Handle
Is this solution not suitable for you?
Attached Images
File Type: png 4.png (631.2 KB, 192 views)
Reply With Quote
  #830  
Old 17-06-2024, 00:18
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Is this solution not suitable for you?
This is for the directory. If this can somehow display menu folders, it can work. I thought if this feature was already present (like FStartMenuFolderTreeView) and if there exist a standard way by which we can do it.
Reply With Quote
  #831  
Old 17-06-2024, 09:10
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 668
Thanks: 471
Thanked 2,374 Times in 542 Posts
BLACKFIRE69 is on a distinguished road
Arrow FXSignVerifier

Code:
App:       FXSignVerifier, A Signature Verifier For FMXInno  
Date:      2024-June-16  
Compiler:  Zig v0.12.1

From now on, every FMXInno update attachment will be signed with a digital signature to verify that the update comes from a trusted source (in this case, me) and has not been tampered with.

So, what's the actual big deal with digital signing over checksum? Is a checksum not enough?


Checksum:
Quote:
1. No, a checksum is not enough. A checksum is used to verify the integrity of a file. It ensures that the file has not been corrupted or altered during transmission or storage.

2. Checksums are not secure against intentional tampering because if someone alters the file, they can also recompute the checksum.

3. Additionally, a checksum doesn't ensure that the file is coming from the original author (a trusted source).
Digital Signature:
Quote:
1. That's why digital signing comes in handy. A digital signature provides both integrity and authenticity. It ensures that the file has not been corrupted or altered and verifies the identity of the author.

2. Digital signatures are much more secure. They provide strong guarantees against tampering and forgery because the private key is known only to the signer (author).

3. They ensure the origin of the file (authenticity) and protect against modifications/corruptions (integrity).

Usage:
Code:
  FXSignVerifier.exe [-s sig_file] <-k pubkey> <-i file>

* You'll find the signature file and the public key for the latest version of FMXInno (2024-June-10) (.rar).
* The signature file will look like this:
Quote:
-----BEGIN SIGNATURE-----
Signature: signature from private key
RUTMYX9YetwBhHoWjuISrHpxLpFyXg2XiG02ff4cknKQU/6CAGlDsEIzuptvOLwACYfwEZhxNU9BRs4Kk78+obqIjcAPLkXU uQI=
Trusted: timestamp:1718633776, file:FMXInno + SKIA + Blend2D - Final Release [2024-June-10].rar, prehashed
3k+phFDdOLHstaec5OdCDUgQ2mEtZj1x4wpLkRPxGadrhSLovK 7TCBvb8Utsxj4JcYyxHkAjP0BbTBAVFRNzBA==
------END SIGNATURE------


.
Attached Images
File Type: png 0.png (14.5 KB, 176 views)
File Type: png 1.png (9.7 KB, 174 views)
File Type: png 2.png (9.8 KB, 175 views)
File Type: png 3.png (8.8 KB, 171 views)
Attached Files
File Type: rar FXSignVerifier.rar (146.0 KB, 9 views)
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (17-06-2024), hitman797 (17-06-2024), Jahan1373 (17-06-2024)
  #832  
Old 17-06-2024, 10:53
hitman797's Avatar
hitman797 hitman797 is offline
Registered User
 
Join Date: Feb 2013
Location: Algeria
Posts: 167
Thanks: 443
Thanked 180 Times in 117 Posts
hitman797 is on a distinguished road
Red face

Quote:
Originally Posted by Fak Eid View Post
This is for the directory. If this can somehow display menu folders, it can work. I thought if this feature was already present (like FStartMenuFolderTreeView) and if there exist a standard way by which we can do it.
use this procedure.
Code:
procedure SetPaths(const AUserPrograms, ACommonPrograms, AUserStartup, ACommonStartup: String);
Reply With Quote
The Following 3 Users Say Thank You to hitman797 For This Useful Post:
audiofeel (17-06-2024), Behnam2018 (17-06-2024), Jahan1373 (17-06-2024)
  #833  
Old 19-06-2024, 13:24
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
@Blackfire69, Any idea how to import [Files] conditionally using FNewINI? No with pre-processor.

Any update on these?
FStartmenuFolderTreeView
HTMLViewer to play YT video
FDiskList enhancement and .mp4 support for FVideoPlayer

I tried this with HTML Viewer with WebView, but the huge logos of YT headbar takes the whole screen. My dimension for showing this is small. Anyways, if this can be done, will be a huge help for my Steam Limitless, as then the user won't have to import and include the video file in Setup.

Last edited by Fak Eid; 19-06-2024 at 13:31.
Reply With Quote
The Following User Says Thank You to Fak Eid For This Useful Post:
Behnam2018 (19-06-2024)
  #834  
Old 24-06-2024, 04:12
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Preprocessing value creation

This can read all single values of your Installer.ini without any use of plugin. Check example here or here

Code:
#define ReadInstaller(Section, Key, Default) ReadIni(SourcePath	+ "Game\Installer.ini", Section, Key, Default)

[Setup]
AllowNoIcons=yes
AllowRootDirectory=true
AppId={{F9787790-D97B-457E-80DA-F69C91F862A8}
AppName={#ReadInstaller("Installer", "Name", "")}
AppVersion=1.0
AppCopyright=Random_Gamertags
DefaultDirName=C:\{#ReadInstaller("Installer", "DirName", "")}

Last edited by Fak Eid; 24-06-2024 at 12:42.
Reply With Quote
  #835  
Old 28-06-2024, 11:29
CrownRepack CrownRepack is offline
Registered User
 
Join Date: Apr 2024
Location: In My Home
Posts: 24
Thanks: 30
Thanked 20 Times in 13 Posts
CrownRepack is on a distinguished road
Hi, I'm trying to add a function in my installer similar to CODEX or FLT installer where there's a checkbox that is "Copy Crack from directory" or "Apply Crack" ,

I want to repack the game in its original uncracked state and do multiple selections for a crack, so what I want is someone to help me write a code, or there is a template to basically just copy the crack from a specific folder

For example I have a game Cuphead, and in the main directory folder of the game I have a folder called "Crack" and in there I have the cracks

So what's the code to basically just copy the contents of the Crack folder to the game after installing if the user checks the checkbox... thank you
Reply With Quote
  #836  
Old 28-06-2024, 12:25
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
You should rather put your "Crack" folder in source than in application installation location. I prefer that.

Code:
[Files]
Source: "{src}\Crack\*"; DestDir: "{app}"; Check: ApplyCrack
Code:
function ApplyCrack: Boolean;
begin
  Result := Checkbox[1].IsChecked;
end;
Reply With Quote
  #837  
Old 28-06-2024, 17:28
audiofeel's Avatar
audiofeel audiofeel is offline
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 356
Thanks: 435
Thanked 818 Times in 299 Posts
audiofeel is on a distinguished road
Red face

Quote:
Originally Posted by CrownRepack View Post
Hi, I'm trying to add a function in my installer similar to CODEX or FLT installer where there's a checkbox that is "Copy Crack from directory" or "Apply Crack" ,

I want to repack the game in its original uncracked state and do multiple selections for a crack, so what I want is someone to help me write a code, or there is a template to basically just copy the crack from a specific folder

For example I have a game Cuphead, and in the main directory folder of the game I have a folder called "Crack" and in there I have the cracks

So what's the code to basically just copy the contents of the Crack folder to the game after installing if the user checks the checkbox... thank you
I wouldn't do that for several reasons. The antivirus scan block this executable file. It can be replaced by an administrator or a moderator of an internet resource (or someone else when they post this repack on their site). We need to check whether the real file was actually copied from that folder, or if it was replaced (We need to check the file size or its hash value.). Only then "Result:=True". In general, you're trying to complicate things and invent a new wheel, even though it's already been invented for a long time. It would be much clearer if you had the executable file in a single archive.

Last edited by audiofeel; 28-06-2024 at 17:35.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
Behnam2018 (28-06-2024)
  #838  
Old 29-06-2024, 02:12
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
I wouldn't do that for several reasons. The antivirus scan block this executable file. It can be replaced by an administrator or a moderator of an internet resource (or someone else when they post this repack on their site). We need to check whether the real file was actually copied from that folder, or if it was replaced (We need to check the file size or its hash value.). Only then "Result:=True". In general, you're trying to complicate things and invent a new wheel, even though it's already been invented for a long time. It would be much clearer if you had the executable file in a single archive.
Alternate to that, if you really want to do so, you can compress 'Crack' folder like crack.bin and extract it just like additional component based on checkbox click. you can verify that crack.bin in your installer itself, then.
Reply With Quote
  #839  
Old 02-07-2024, 05:15
ErinMonroe ErinMonroe is offline
Registered User
 
Join Date: Jun 2024
Location: Australia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
ErinMonroe is on a distinguished road
Is there a way to add a serial key page using this style? I am new to this!
Reply With Quote
  #840  
Old 02-07-2024, 05:39
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Quote:
Originally Posted by ErinMonroe View Post
Is there a way to add a serial key page using this style? I am new to this!
You can refer Example_QuickMsg_3.iss from the main post
Reply With Quote
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 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 23:27.


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