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

Reply
 
Thread Tools Display Modes
  #706  
Old 07-01-2024, 04:01
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
Quote:
Originally Posted by Tihiy_Don View Post
For now, I want to deal with this problem at the file level in the folder that is being created in the temporary folder. I checked, the file "segmdl2.ttf" is there. I don't quite understand yet, and there should be a Windows font directory here.
Still, I think part of the problem lies in the fact that this is a system font and Windows does not allow it to be deleted so easily. use this font Material Symbols and Icons - Google Fonts
, I think that the problem will disappear when deleting and the characters there are more interesting and even switches and checkboxes are there.
I have one example where I didn't use the style for the checkboxes and made them through the font
It looks something like this
Code:
    TObject(Page2CheckBox[1].GetObject):
    begin
      if Page2CheckBox[1].GetText = #$F16B then
        Page2CheckBox[1].Text(#$F16C)
      else
        Page2CheckBox[1].Text(#$F16B);

    if Page2CheckBox[3].GetText = #$F16C then
    begin
      Page3Lbl[3].SetText(CustomMessage('Page3Lbl3R'));
      Page3Lbl[4].SetText('{#RedistName}');
      Exec(ExpandConstant('{src}\{#RedistPath}'), '{#RedistKey}', '', SW_HIDE, ewWaitUntilTerminated, ErrCode);
    end;
    end;
Attached Images
File Type: png 77.png (198.6 KB, 84 views)

Last edited by audiofeel; 07-09-2024 at 20:51.
Reply With Quote
The Following 2 Users Say Thank You to audiofeel For This Useful Post:
Jahan1373 (07-01-2024), Tihiy_Don (07-01-2024)
Sponsored Links
  #707  
Old 07-01-2024, 05:33
Jahan1373 Jahan1373 is offline
Registered User
 
Join Date: Jan 2022
Location: Yes
Posts: 46
Thanks: 92
Thanked 8 Times in 8 Posts
Jahan1373 is on a distinguished road
https://www.mediafire.com/file/58adn...dicam.rar/file

Hello friends, does anyone know a solution to this problem?
There is a problem with the colors of this installation
More than 20 colors have this problem
The symbols and texts of this installation are not readable
The creator of this script says go learn design
Do you all know how to design on this forum?
The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct.
And read the texts of this installation in different colors
Thanks to those who help
Reply With Quote
  #708  
Old 07-01-2024, 05:35
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Tihiy_Don View Post
this is exactly the error that occurs if the font is deleted in the first place. As recommended by the author of the library.





well,

* first of all, this isn't an error message; it's a warning message indicating that the font cannot be removed completely but only partially.

* as @audiofeel mentioned, the font (segmdl2.ttf) you're using is a system font that is already installed in the system, hence this warning will be displayed.



to avoid this issue:

1. 'InstallFMXFont' is intended for custom fonts, not system fonts. in a future update, i'll modify the DLL to prevent the installation of system fonts accidentally.

2. For the current situation, what you need to do is install your font file as a copy of the current system file. this simply means renaming your font file (segmdl2.ttf) to something else, such as 'segmdl2_New.ttf' or 'segmdl2_Copy.ttf', or any other name you prefer. this'll prevent the warning message from appearing.

Code:
Rename:  segmdl2.ttf   >>>   segmdl2_BF69.ttf


[Files]
...
Source: ".\Files\segmdl2_BF69.ttf"; DestDir: "{tmp}"; Flags: dontcopy;

{Code]
function InitializeSetup(): Boolean;
begin
  InstallFMXFont(ExtractAndLoad('segmdl2_BF69.ttf'));

  FMXInnoInit;
  ...
end;

procedure DeinitializeSetup();
begin
  DeleteFMXFont(ExpandConstant('{tmp}\segmdl2_BF69.ttf'));

  ISArcExCleanUp;
  FMXInnoShutDown;
end;


* ISArcExCleanUp:

regarding 'ISArcExCleanUp,' when you call the function 'ISArcExCleanUp,' it performs internal memory clean-up for the current process. this may include cleaning up the font memory cache, which could be why the warning message isn't displayed. however, it isn't recommended to call 'ISArcExCleanUp' before 'DeleteFMXFont'.
Reply With Quote
The Following 3 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (07-01-2024), Behnam2018 (07-01-2024), Tihiy_Don (07-01-2024)
  #709  
Old 07-01-2024, 06:09
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
Question Google translator

@BLACKFIRE69.A question about the Google translator. Why does he add extra characters to the translation? and the translation differs from the result of an online translator?

Here is my code.
Code:
StatusLB.Text(GoogleTranslate('Welcome to Installation', 'en', 'ru'));
And that's what happens online (not a single mistake in meaning).
Добро пожаловать в установку.

And that's what happens through the function.
Добро пожаловать%20to%20Установка

And another question.... how do I get the language code where the installation is running?
Reply With Quote
  #710  
Old 07-01-2024, 08:40
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Jahan1373 View Post
https://www.mediafire.com/file/58adn...dicam.rar/file

Hello friends, does anyone know a solution to this problem?
There is a problem with the colors of this installation
More than 20 colors have this problem
The symbols and texts of this installation are not readable
The creator of this script says go learn design
Do you all know how to design on this forum?
The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct.
And read the texts of this installation in different colors
Thanks to those who help

oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here?

Last edited by BLACKFIRE69; 07-01-2024 at 08:46.
Reply With Quote
The Following User Says Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (07-01-2024)
  #711  
Old 07-01-2024, 09:23
Jahan1373 Jahan1373 is offline
Registered User
 
Join Date: Jan 2022
Location: Yes
Posts: 46
Thanks: 92
Thanked 8 Times in 8 Posts
Jahan1373 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here?

I mentioned the list of problematic colors, except for white and black, other colors have problems. I tested all the installed colors one by one.
But the manufacturer just says that I have to learn to design. You are a designer
If this problem is not solved, we will all face problems
Why should green have a problem with white, but the manufacturer does not agree
Reply With Quote
  #712  
Old 07-01-2024, 09:33
Jahan1373 Jahan1373 is offline
Registered User
 
Join Date: Jan 2022
Location: Yes
Posts: 46
Thanks: 92
Thanked 8 Times in 8 Posts
Jahan1373 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
oh boy, are you serious? sorry to say this but you need to have common sense. yes, indeed, texts with a font color close to white is difficult to see on a white background or vice versa. so what's the magic here?
Why is yellow a problem?
Why colors with a little white in them are not readable
Why do some greens have problems?
FF AD FF 2F
FF FF FF 00
You are the great designers of the forum
Why is there no such problem in similar facilities?
Reply With Quote
  #713  
Old 07-01-2024, 09:43
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Jahan1373 View Post
I mentioned the list of problematic colors, except for white and black, other colors have problems. I tested all the installed colors one by one.
- i mean colors that are close to the white color, not the exact white. colors like 'Aliceblue', 'AntiqueWhite', 'Azure', etc., that you marked are not very bright colors; they are very close to the white color.



Quote:
Originally Posted by Jahan1373 View Post
But the manufacturer just says that I have to learn to design. You are a designer
If this problem is not solved, we will all face problems.
- no one will face any issue with colors except you.



Quote:
Originally Posted by Jahan1373 View Post
Why should green have a problem with white, but the manufacturer does not agree
- green (FF 00 80 00) color is just fine.
Reply With Quote
  #714  
Old 07-01-2024, 09:53
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by Jahan1373 View Post
Why is yellow a problem?
Why colors with a little white in them are not readable
Why do some greens have problems?
FF AD FF 2F
FF FF FF 00
You are the great designers of the forum
Why is there no such problem in similar facilities?


i can't believe this. there's no problem with the colors; the only thing is that some colors are hard to see on a white background. Please, grow up.


1. FF AD FF 2F
2. FF FF FF 00

.

Last edited by BLACKFIRE69; 14-07-2024 at 03:15.
Reply With Quote
  #715  
Old 07-01-2024, 10:12
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
Lightbulb

Quote:
Originally Posted by Jahan1373 View Post
https://www.mediafire.com/file/58adn...dicam.rar/file

Hello friends, does anyone know a solution to this problem?
There is a problem with the colors of this installation
More than 20 colors have this problem
The symbols and texts of this installation are not readable
The creator of this script says go learn design
Do you all know how to design on this forum?
The designer of this script does not accept that there is a problem with the installation and says go learn design. I have uploaded the list of problematic colors. Please help to permanently solve this problem so that the colors of this script are correct.
And read the texts of this installation in different colors
Thanks to those who help
--------------------
To be honest, I don't really like the design of this installer, and for me it looks like an Indian painted bus (no offense, it will be said in front of our Indian friends, in our country everyone remembers who Indira Gandhi is). In this design, the buttons as well as the "dirdit" and "memo" are made in black. And this is the feature of this installer. Here is an example of the most vivid and successful selection of colors.

Yes, for many it is probably a discovery that beautiful design is not only bright colors

Use the online assistant for the selection of shades, there are many tools., you can even upload your own picture and display the average color or pick up shades. 1 - Create a gradient. 2 - Text and background color generator. 3 - Shade generator. 4 - Mixing colors.

https://gradients.app/ru/newpalette
Attached Images
File Type: png 2.png (172.0 KB, 79 views)

Last edited by audiofeel; 07-01-2024 at 10:16.
Reply With Quote
  #716  
Old 07-01-2024, 10:29
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
Wink

In my opinion, it turned out well with the selection

Everything is in your hands.
Attached Images
File Type: jpg lD2ux3LwhV4.jpg (121.2 KB, 74 views)
File Type: jpg moXcc3-zG_I.jpg (66.4 KB, 74 views)
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (07-01-2024)
  #717  
Old 07-01-2024, 10:44
Jahan1373 Jahan1373 is offline
Registered User
 
Join Date: Jan 2022
Location: Yes
Posts: 46
Thanks: 92
Thanked 8 Times in 8 Posts
Jahan1373 is on a distinguished road
Quote:
Originally Posted by BLACKFIRE69 View Post
i can't believe this. there's no problem with the colors; the only thing is that some colors are hard to see on a white background. Please, grow up.


1. FF AD FF 2F
2. FF FF FF 00

.
I'm glad I didn't grow up with a programmer.
That part should always be black to be readable
My problem was mostly only on Autoran's page. Thank you again. Good night my friend
Reply With Quote
  #718  
Old 07-01-2024, 16:00
BLACKFIRE69's Avatar
BLACKFIRE69 BLACKFIRE69 is offline
Registered User
 
Join Date: Mar 2019
Location: In the Hell
Posts: 670
Thanks: 471
Thanked 2,400 Times in 544 Posts
BLACKFIRE69 is on a distinguished road
Quote:
Originally Posted by audiofeel View Post
@BLACKFIRE69.A question about the Google translator. Why does he add extra characters to the translation? and the translation differs from the result of an online translator?

Here is my code.
Code:
StatusLB.Text(GoogleTranslate('Welcome to Installation', 'en', 'ru'));
And that's what happens online (not a single mistake in meaning).
Добро пожаловать в установку.

And that's what happens through the function.
Добро пожаловать%20to%20Установка

And another question.... how do I get the language code where the installation is running?



the decoding issue was fixed, but it seems like the translated output is incorrect. this is out of my hands because it's up to Google's APIs. we'll see what we can do about it.


.

Last edited by BLACKFIRE69; 14-07-2024 at 03:15.
Reply With Quote
The Following 2 Users Say Thank You to BLACKFIRE69 For This Useful Post:
audiofeel (07-01-2024), hitman797 (08-01-2024)
  #719  
Old 07-01-2024, 16:17
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
- why are the %20 characters added when translating ?

- Because %20 is a space code
I do not know what to do with it, to be honest
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (08-01-2024)
  #720  
Old 07-01-2024, 16:22
audiofeel's Avatar
audiofeel audiofeel is online now
Registered User
 
Join Date: Jan 2013
Location: Russia
Posts: 367
Thanks: 443
Thanked 849 Times in 309 Posts
audiofeel is on a distinguished road
Code:
StatusLB.Text(GoogleTranslate('Welcome+To+Installation', 'en', 'en'));
I do not know how correct this is, but it seems to work like this, instead of a space, we write a plus

Last edited by audiofeel; 07-01-2024 at 16:26.
Reply With Quote
The Following User Says Thank You to audiofeel For This Useful Post:
hitman797 (08-01-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 07:09.


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