Police des sous titres sur écran 4K

Salle dédiée à la version BMS de Falcon 4
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Police des sous titres sur écran 4K

#1

Message par ertiyu »

Bonsoir à vous.

Je viens d'avoir un écran 4K.

Mais les sous titres sont maintenant un peu petit.
J'ai trouvé comment passer de 10 à 15 secondes la durée de l’affichage pour me laisser un peu de temps. :emlaugh:

J'ai trouvé ce paramètre, mais je ne vois pas à quoi il peut servir ?

g_fSubtitleWrapWidth
Radio subtitle text line width before it gets wrapped, 0.0 (nothing) to 2.0 (full view width) Default = 0.6.

Existe t'il une façon d'augmenter la taille de la police ?
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#2

Message par ertiyu »

Personne pour me dire à quoi correspond la ligne de configuration ?

Pour palier à la taille de police j'ai trouvé une "astuce" à partir de Helios.
Je copie la zone d'écran sur le 4k et je l'affiche sur mon écran tactile qui lui et en HD rendant par la même occasion le texte "plus gros".
Avatar de l’utilisateur

spiryth
Pilote Philanthrope
Pilote Philanthrope
Messages : 5228
Inscription : 22 mai 2008

Re: Police des sous titres sur écran 4K

#3

Message par spiryth »

solution : écouter au lieu de lire ? :...: ... ok :exit:

J'ai aucune idée de si c'est possible et comment

WrapWidth c'est pas la longueur avant le retour à la ligne ?
word wrap n (computing: continuing text on new line) retour automatique à la ligne nm
width n (dimension) largeur nf
Image PC: Z790-A WIFI – I9 13900K@5.5GHz – 32Go DDR5 – RTX2080 SUPER - Windows 10 pro (x64) - Souris Razer Mamba TE - Clavier Razer BlackWidow X Chroma - MicroCasque Razer BlackShark V2
Stick : Thrustmaster HOTAS Cougar & mod : FSSB R1 - Trottle : Thrustmaster VIPER TQS Mission Pack - Rudder : Thrustmaster Pendular Rudder - Track IR v5 & TrackClip pro - MFD CougarPack - ICP PalatynSM - Elgato Stream Deck
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#4

Message par ertiyu »

Hé hé je l’attendais cette remarque :jerry:

J'ai déjà du mal à comprendre les texte alors la parole ! :emlaugh: :emlaugh:

Mais j'essaye :yes:

Merci spiryth pour la piste de la longueur tu texte, je regarderais si s'est ça. ;)
Avatar de l’utilisateur

Dud FFW36
Pilote Confirmé
Pilote Confirmé
Messages : 3120
Inscription : 18 avril 2005

Re: Police des sous titres sur écran 4K

#5

Message par Dud FFW36 »

Hzllo

Pour moi ton paramètre permet de changer la taille des sous-titres.

Après changement à 2.0 ça donne quoi ?
Image
Avatar de l’utilisateur

Flow
Pilote Philanthrope
Pilote Philanthrope
Messages : 2983
Inscription : 20 février 2018

Re: Police des sous titres sur écran 4K

#6

Message par Flow »

Le "wrap" c'est juste le retour à la ligne.

Les réponses sur le forum de BMS :
https://www.benchmarksims.org/forum/showthread.php?23246-How-can-i-change-position-of-comm-box
https://www.benchmarksims.org/forum/showthread.php?28877-Radio-subtitles-font-size
...\Data\Art\ckptart\otwfonts.dat is the file you're after - you should be able to open it in Notepad, it's pretty much self explanatory once open.
Malc, thank you. I don't know if you're a BMS dev or just a plain smart guy, but that's exactly what I was looking for. Appreciate it.

Found the file, figured it out, customized it as follows:

Now the messages are MUCH more readable for my high resolution. I would suggest to anyone who is contemplating upgrading to a 4k-UHD monitor in the future to keep this customization option in mind...

// The below '#fontmanager' value reflects how many defined font management blocks of data are in the file
// I added an eighth block at bottom containing font info I want for the resolution I use, and then
// changed the original '#fontmanager 7' to '#fontmanager 8' (this number must match the total number of listed blocks)

#fontmanager 8

// On each line, '#font' is followed by five values: Index - Bold - Italic - FontSize - FontName
// Index values are: 0=infoline, 1=radiomessages, 2=radiomenu, 3=3d-pit, 4=the rest

#resolution 800 600
#font 0 1 0 10 Arial //Example- This font is shown across the bottom of the screen (infoline), in bold, no italic, FontSize 10, FontName Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1024 640
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1024 768
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1280 960
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1440 900
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1600 900
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 1920 1200
#font 0 1 0 10 Arial
#font 1 1 0 12 Arial
#font 2 0 0 10 Arial
#font 3 1 0 12 Arial
#font 4 1 0 12 Arial

#resolution 4096 2160
#font 0 1 0 12 Arial
#font 1 1 0 18 Arial
#font 2 0 0 12 Arial
#font 3 1 0 12 Arial
#font 4 1 0 14 Arial

--------------------------------------------

NOTE that I added the above eighth block of font info under the seven default blocks.

* The first line (#resolution) specifies the applicable resolution (that I actually use in the 3D world)

* The second line (#font 0) specifies font values (Bold - Italic - FontSize - FontName) to use for the InfoBar at the bottom of the screen

* The third line (#font 1) specifies font values (Bold - Italic - FontSize - FontName) to use for the radio messages that displays along the top left of the screen.
(This is the where I increased the FontSize to 18 for FAR better readability at my high resolution...)

* The fourth line (#font 2) specifies font values (Bold - Italic - Size - FontName) to use for the radio commands (to Tower/AWACS/Wingman/Flight/etc.)

* etc.

Bold, Italic, & Size values are True/False (represented by 1/0)
Addendum:

Further tweaking...

For ATC/Flight/Wingman/etc. menus, I increased the font size from 10 to 12 for improved readability in the 'otwfonts.dat' file described in the above post. This caused the text to crowd the menu box that contains the text. To increase the size of the menu box so that it can display the text without clipping, I did the following:

1) Find 'menu.dat' in the same folder (\ckptart) and open it with a text editor.

2) The very first line is '#menumanager 6 30 19'. Change that to '#menumanager 6 30 20'

3) Find the line '#resolution 1920 1200 375 1676 637 1916'

4) Immediately below that line, add the following line: '#resolution 4096 2160 375 1676 660 1975'

The breakdown of the numerical values in this line is as follows:

1st pair of numbers: screen width - screen height (3D world screen resolution)
2nd pair of numbers: menuBoxUpperLeftVertical - menuboxUpperLeftHorizontal (375 from the top of the screen, 1676 from the left edge of the screen) This is the top left corner of the menu box
3rd pair of numbers: menuBoxLowerRightVertical - menuBoxLowerRightHorizontal (660 from the top of the screen, 1975 from the left edge of the screen) This is the bottom right corner of the menu box

NOTE: This added line assumes that your functioning resolution is 4096x2160, and it slightly increases the size of the menu box to an appropriate size for the font size I'm now using. If you're resolution is different, then adjust the values in this line appropriately.

Finally, note that with this understanding of the size and positioning of the menu box, you can place this menu box so that it appears anywhere on the screen that you wish, although I personally think the BMS devs' positioning is pretty much ideal.

IMPORTANT: If you later decide to delete that added '#resolution' line, you must also change the top '#menumanager' line back from 20 to 19. This value must reflect the total number of grouped '#resolution' lines in this file.
13600KF • 4080 • FSSB R3 Lighting • Varjo Aero • 35ppd ♥
Image
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#7

Message par ertiyu »

Merci Flow !! :notworthy

Je regarde ça !

J'avais fait une recherche mais certainement pas avec les bons mots.
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#8

Message par ertiyu »

Super !

Sa marche !

j'ai eu juste à rajouter ça :

#resolution 3840 2160
#font 0 1 0 12 Arial
#font 1 1 0 18 Arial
#font 2 0 0 12 Arial
#font 3 1 0 12 Arial
#font 4 1 0 14 Arial


A la suite du fichier : "...\Data\Art\ckptart\otwfonts.dat"

Même pas à faire la modif dans le deuxième fichier, la résolution est déjà rentrée.

Encore Merci ! :notworthy
Avatar de l’utilisateur

Flow
Pilote Philanthrope
Pilote Philanthrope
Messages : 2983
Inscription : 20 février 2018

Re: Police des sous titres sur écran 4K

#9

Message par Flow »

Parfait :) Happy flying !
13600KF • 4080 • FSSB R3 Lighting • Varjo Aero • 35ppd ♥
Image
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#10

Message par ertiyu »

Pour info il a bien fallu modifier le fichier "menu.dat", je pensais qu'il servait pour les affichages des voix.
Ce fichier sert à modifier la taille et l'emplacement des menus permettant de voir les choix pour l'ATC, AWAC, Tanker etc.

J'ai modifié la ligne suivante :
#resolution 3840 2160 130 3520 380 3830

Par :
#resolution 3840 2160 130 3400 400 3830

Sans la modification les lignes se chevauchaient sur certaine commande. La case était trop petite.
Avatar de l’utilisateur

Topic author
ertiyu
Apprenti-Mécano
Apprenti-Mécano
Messages : 249
Inscription : 11 août 2018

Re: Police des sous titres sur écran 4K

#11

Message par ertiyu »

Et j'ai aussi modifié la couleur du texte de l'ATC :

set g_sRadioTowerCol "0xFF00FF00" // Sets radio tower comm subtitles to bright green

Par un vert plus foncé :

set g_sRadioTowerCol "0xFF006600" // Sets radio tower comm subtitles to bright green
Répondre

Revenir à « Falcon 4.0 BMS »