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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-05-2025, 13:36
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Hi audiofeel, can you explain to me how to modify/create a style file (*.fsf) to use in InnoSetup? Do i need some external software installed? Thanks!

Edit: I Found the solution using Embarcadero Delphi.Lite

Last edited by Yourname; 01-05-2025 at 14:26.
Reply With Quote
Sponsored Links
  #2  
Old 02-05-2025, 01:51
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
In fact, there are two ways to save the style file. In binary form (it turns out to be smaller in size with the . fsf extension) and simply in text form (it turns out to be larger in size with the . style extension). I used the first option as if to save space. The style file in binary form can only be edited in the "RAD Studio" program (its installation takes up a lot of space, about 6 GB). Now the question...what do you need to change and where? Perhaps a simple text version will help, where you can adjust all the settings, if you need it, then I will recode the style files into a regular text format and you will be able to edit it in any advanced notepad
Hi Audiofeel, thanks a lot for your reply. I already have Delphi installed (with the FMX style editor), so I can export a .fsf file to a .style file and it works. I was thinking about creating a tool that can convert .fsf files to .style without having to install all 6GB of software. I was looking for a converter in the /bin folder of Delphi, but there are a lot of .exe files to check. Do you know if there is a .dll or .exe file that does this? Then integrate it into a C++/Python or Pascal tool. Thanks again!
Reply With Quote
  #3  
Old 02-05-2025, 02:17
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
There is such a converter, but the style version there is 2.0, not 2.5. I am not sure that after conversion everything will work as intended by the user.
https://github.com/Crayon2000/StyleC...r7itb782757129
Thanks for the reply again. Searching deeper, I think I found something better, the file is called "vsf2fm" and is located in the bin folder of Delphi. The procedure is this:
Take the fsf or style file and add it as a final argument in the command line of vsf2fm
- If you want to convert from fsf to style you use: "vsf2fm -origin style.fsf"
- If instead you want to convert from style to fsf FMX 2.5 you use: "vsf2fm -idx style.style" (-bin instead of -idx if you want FMX 2.0)
Code:
Convert VCL style to FireMonkey style
Usage:
  vsf2fm <file or folder>

Params:
  -origin - raw converter result
  -bin - convert to binary fsf-format instead textual style-format
  -idx - convert to indexed binary fsf-format instead textual style-format
Reply With Quote
The Following User Says Thank You to Yourname For This Useful Post:
audiofeel (02-05-2025)
  #4  
Old 02-05-2025, 03:12
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Well, the vsf2fm tool doesn't convert everything completely, in fact it leaves out some things. I'm writing a code in Delphi that completely converts the styles that will then be read with inno (In FMX 2.5)
Reply With Quote
  #5  
Old 02-05-2025, 12:37
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Hello again, i completed the "Beta" of the tool i called fsf2raw (but it can also do raw2fsf). That converts FMX 2.5 styles from Plain to Indexed Binary and vice-versa.
To use it:
- fsf2raw tf input.style output.fsf
or
- fsf2raw ts input.fsf output.style

The download can be found on my site HERE.

The password is of course "Felix_550" (without the quotes).
__________________
My Site -> felix550.unaux.com
Reply With Quote
The Following User Says Thank You to Yourname For This Useful Post:
audiofeel (02-05-2025)
  #6  
Old 03-05-2025, 01:12
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
Everything seems to be working
I think this utility needs a GUI. It's not 1999
Oh, and here I was still thinking it was the year 2000... I guess I’ll have to update it—
Time to get to work!
__________________
My Site -> felix550.unaux.com
Reply With Quote
  #7  
Old 03-05-2025, 04:01
Yourname's Avatar
Yourname Yourname is offline
Registered User
 
Join Date: Mar 2024
Location: Pyramiden in Svalbard
Posts: 17
Thanks: 7
Thanked 7 Times in 4 Posts
Yourname is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
but in general I would like a small, not very cumbersome utility for quick editing of styles without resorting to rad studio
Yes I was thinking of something like this, but creating it with Delphi (I know almost nothing about it) is a big job. Do you happen to know if there is some library/dll to use in VB.net or c++, that allows you to use or modify FMX styles like a wrapper or, much better, something native? Thanks!
__________________
My Site -> felix550.unaux.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
ASIS: Advanced Simple Installer Script KaktoR Conversion Tutorials 1477 20-05-2026 10:52
FMXInno - Windows Fluent Design Installer UI for Inno BLACKFIRE69 Conversion Tutorials 626 08-04-2026 12:33
INDEX - Conversion Tutorial Index Razor12911 Conversion Tutorials 5 11-06-2020 02:05
Installer Creator Source Code Razor12911 Conversion Tutorials 19 13-12-2015 10:20



All times are GMT -7. The time now is 04:40.


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