[Feature Request] Direct RGB/HSL/HSV Numerical Input for UI Colours - MX Player

Hi, thank you for your guide. However i'd like to customize even further the player style so it matches exactly my color scheme, but i couldn't find any hex/rgb/hsl inputs. So i went into the mxplayer xml config file (/data/data/com.mxtech.videoplayer.ad/shared_prefs/com.mxtech.videoplayer.ad_preferences.xml) and found some entries regarding color stuff, but the values are some negative numbers (maybe it's a proprietary format or maybe it's an obscure encoding). So i'd like to know how to convert from hex/rgb/hsl to mxplayer config color numbers. Thanks in advance.

plumbe0 said:
Hi, thank you for your guide. However i'd like to customize even further the player style so it matches exactly my color scheme, but i couldn't find any hex/rgb/hsl inputs. So i went into the mxplayer xml config file (/data/data/com.mxtech.videoplayer.ad/shared_prefs/com.mxtech.videoplayer.ad_preferences.xml) and found some entries regarding color stuff, but the values are some negative numbers (maybe it's a proprietary format or maybe it's an obscure encoding). So i'd like to know how to convert from hex/rgb/hsl to mxplayer config color numbers. Thanks in advance.
Click to expand...
Click to collapse
@bleu8888 could you help with his inquiry?

up

Moving this to a new thread for visibility.

plumbe0 said:
Hi, thank you for your guide. However i'd like to customize even further the player style so it matches exactly my color scheme, but i couldn't find any hex/rgb/hsl inputs. So i went into the mxplayer xml config file (/data/data/com.mxtech.videoplayer.ad/shared_prefs/com.mxtech.videoplayer.ad_preferences.xml) and found some entries regarding color stuff, but the values are some negative numbers (maybe it's a proprietary format or maybe it's an obscure encoding). So i'd like to know how to convert from hex/rgb/hsl to mxplayer config color numbers. Thanks in advance.
Click to expand...
Click to collapse
This is ARGB format means 1st byte is Alpha, 2nd is Red, 3rd is Green, and 4th is Blue.
You may need to convert it to a hex value and do some byte operation to manually change value.
See following link for more information;
http://en.wikipedia.org/wiki/RGBA_color_space
However you can enter each ARGB value manually on color picker screen of v1.7.38

http://forum.xda-developers.com/apps/mx-player/customizable-ui-themes-t2988237
In case you weren't already aware.

Related

How to correct this layout ? [SOLVED]

Hi guys,
Any good ideas how to :
1- correct this layout in the first screenshot?
2 - reduce font size in the second screenshot?
Forward thks
SEE HERE POST 18 & 19 http://forum.xda-developers.com/showthread.php?p=4432627#post4432627
it looks like my topaz when i tried new font, so try to change yours and it should be ok
Agreed with the above. It's the font size. Either 1. Install a new font. or 2. Re-make the font a little smaller.
prdic said:
it looks like my topaz when i tried new font, so try to change yours and it should be ok
Click to expand...
Click to collapse
Well ... thks for those precious information. Unfortunately, this is what I thought ... too. I should have added that I wanted to keep the fonts. I like those two
I tried to change font size with SK or tweak but with any results.
Any other suggestion ?
Have you tried setting up an alias? Its a registry tweak
Code:
HKLM → System → GDI → V1 → FontAlias
Key: [B]<fontNameToChange>[/B]: [B]<fontSizeToChange>[/B]
Value: [B]<newName>[/B]: [B]<newSize>[/B]
for example:
Code:
key: MS Sans Serif:-13
value: Arial:-14
will change all MS Sans Serif fonts in size 13 to Arial size 14
but you have to find out which size you have
keep in mind that this change is system-wide, it will affect not only today screen, but all apps with same fontname and size.
while i havent tried this, couldnt you edit the lua file (CalendarConsts.luac) and just change the line font size in there?
ztracenyDen said:
Have you tried setting up an alias? Its a registry tweak
Code:
HKLM → System → GDI → V1 → FontAlias
Key: [B]<fontNameToChange>[/B]: [B]<fontSizeToChange>[/B]
Value: [B]<newName>[/B]: [B]<newSize>[/B]
for example:
Code:
key: MS Sans Serif:-13
value: Arial:-14
will change all MS Sans Serif fonts in size 13 to Arial size 14
but you have to find out which size you have
keep in mind that this change is system-wide, it will affect not only today screen, but all apps with same fontname and size.
Click to expand...
Click to collapse
Hi,
I have allready alias in the registgry and how you said ... the most difficult is to find which size I have. I tried several settings out but gave nothing. Probably I used inapropriate combinations. How to find it out ?
However, something looks strange ...
This was my registry setting before I tried to change fonts size
[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]
Arial:-14="Tahoma:-12"
MS Sans Serif:-13="Tahoma:-9"
version=dword:0002000C
This is my registry setting after I changed fonts size
[HKEY_LOCAL_MACHINE\System\GDI\V1\FontAlias]
Arial:-14="Tahoma:-12"
MS Sans Serif:-13="Tahoma:-9"
version=dword:0002000C
And whatever fonts I install (with diffent sizes), registry settings above remains identical. That means there is no relation beetwen original installed fonts and graphic fonts, no ? The best way is certainly to change size in the original graphic font. I saw somewhere an app and a tuto explaining how to create your own graphic fonts ... Have to find it again
font size
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
kangmas said:
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
Click to expand...
Click to collapse
Hi,
'scuze ... bro ? what does it means, bro ?
Have you ever seen something on the net which is not free ?
Well .. I can post them. Could you resize them and repost then of course ?
kangmas said:
hi bro, look like only the numbers are the problem. You can use font creator to resize them. ( but its NOT freeware ).
Can you upload that font that you are using here?
Click to expand...
Click to collapse
Question regarding using Fonts Creator application ...
The installed font for TF3D uses :
cour.ttf
Helvetica Neue OTS.ttf
HelveticaNeue LT 35.ttf
HelveticaNeueOTS.ttf
Tahoma.ttf
Tohamabd.ttf
Wingding.ttf
Which one of those fonts do I need to resize with the app ?
thereisntone said:
Hi,
And whatever fonts I install (with diffent sizes), registry settings above remains identical. That means there is no relation beetwen original installed fonts and graphic fonts, no ? The best way is certainly to change size in the original graphic font. I saw somewhere an app and a tuto explaining how to create your own graphic fonts ... Have to find it again
Click to expand...
Click to collapse
I think you misunderstood what alias is supposed to do
You have to create new key with font name and size, so in your case, the name of key should be something like "Comic Sans: -18" (that minus sign stands for relative height, as you know it from Word, without minus sign it will take a height in pixels). The key value then should be for example "Comic Sans: -16". That will cause that everything that was displayed in Comic Sans 18 will be shown in Comic Sans 16.
You just have to figure out the correct font name and the font size that is used on today.
And repeat the same for Manilla calendar. Seems like you have different font in that app.
ztracenyDen said:
I think you misunderstood what alias is supposed to do
You have to create new key with font name and size, so in your case, the name of key should be something like "Comic Sans: -18" (that minus sign stands for relative height, as you know it from Word, without minus sign it will take a height in pixels). The key value then should be for example "Comic Sans: -16". That will cause that everything that was displayed in Comic Sans 18 will be shown in Comic Sans 16.
You just have to figure out the correct font name and the font size that is used on today.
And repeat the same for Manilla calendar. Seems like you have different font in that app.
Click to expand...
Click to collapse
Yep, it becomes clearer. However it seems, this works only if you have classical fonts and not graphical fonts composed by assembly of different fonts as well as you pointed it out.
That's a nightmare this manila and this TF3D
manila uses these:
Helvetica Neue OTS
HelveticaNeue LT 35 Thin (that's not a typo, no space between helveticaneue)
I think aliasing will work on any font you enter. Just get the right name ;-)
I am using SKTools to figure out font names (Tune Up - Fonts - there is a list of fonts). But I am sure there is a "freeware" way to figure it out For example Total Commander and his Change Font menu in About screen
ztracenyDen said:
manila uses these:
Helvetica Neue OTS
LT 35 Thin (that's not a typo, no space between helveticaneue)
I think aliasing will work on any font you enter. Just get the right name ;-)
I am using SKTools to figure out font names (Tune Up - Fonts - there is a list of fonts). But I am sure there is a "freeware" way to figure it out For example Total Commander and his Change Font menu in About screen
Click to expand...
Click to collapse
Hi,
Thks for you patience ... it will cost me 2 beers next time I go to Tchequie However, even I did harder thinks in my life, I am being probably stupid and I am unable to bring it out.
Lets have a look on enclosed files :
For test, I reduced all fonts size categories to 200 p with SK Tools but only popup menu's fonts decreassed .... and no manila fonts and no TF3D fonts ! No lucky to with MaxTTM (here I got an system error ...)
I fiddle somethig with the registry ... no luck again ! Certainly wrong, what I did. Nowhere to manage HelveticaNeue in SK Tools
Yes, for special thinks ... I am a noob especially for the time
Your future help, comments, solution (ie correct my screenshots and send them back) will be welcome
"bro" is a simple english gesture for friend.
resize
thereisntone said:
Hi,
'scuze ... bro ? what does it means, bro ?
Have you ever seen something on the net which is not free ?
Well .. I can post them. Could you resize them and repost then of course ?
Click to expand...
Click to collapse
Hi bro, have check your cab file. And I see the problem. Its made up of 3 different type of fonts. So resizing them wont be simple or easy for me. Perhaps others with more skill can try. Why not you try this fonts that I pack for Topaz. Just click on the link below:
http://forum.xda-developers.com/showpost.php?p=4151058&postcount=7
tomtommy306 said:
"bro" is a simple english gesture for friend.
Click to expand...
Click to collapse
Yup, thanks for explaining.
Hi,
I love this Bro .. will try to remerber it
Thks any way for the ole Cambria Italic ... I will keep my ComicFonts and give up for the other exotic fonts until I find a solution (if there is one)
Hi Bro ...s
HERE WE GO !! Finally I got it !
Probably I did not chose the best way to solve my font layout problem, but I did it.
How did I make it? Simple ... (say it quick) because in fact it is not really simple. Find somewhere on the net, Fontcreator app (V5 or V6 better).
1- Open all fonts or just this one which is concerned by :
tahomabd.ttf -> WM bold font (task and bottombar and ...)
or
tahoma.ttf -> WM6.5 regular font (regular text)
or
HelveticaNeueOTS.ttf -> TF3D Regular Font (all titles text in TF3D tab.)
or
HelveticaNeue LT 35 Thin.ttf -> TF3D Bold Font (all small text in TF3D tab)
2- Check and/or adjust "the left side bearing point" in "Glyphs transformer" in "tools"
3- Check and/or adjust "metrics" for the glyphs (space before and after glyphs)
4- If necessary, adjust glyphs width and/or height by using outlines scale in Glyphs Transformer
5- Save your font(s), rebuild your cab, install on your D2
Guys ... Usually fonts looking nice on website page but once installeted on your ppc, they are unreadable. Beware of using fonts coming from other forum or thread. Incredible what you can find in the cab or in the font files ! Amazing !
Enclosed two fonts cabs with correct layout for D2 and in case in ... zip file with original fonts.
*******
I remain opened to any other solution ... for futur font changing because this was the worst ! There should be a way to change some other parameters in WM6.5 or TF3D
Cheers
Hi Bros
There an other way to correct a wrong layout due to inadapted font size !!!!!
Forget those all previous posts from every one above ... to much work and to wasted time. However, I have learned how to manage FontCreator
Go to windows directory and copy and paste to your desktop (or some where else), the files "Titanium_800x480.cpr" and "Titanium_480x800.cpr" Open them with notepad or any other txt editor. Go to <!-- Title text --> find the concerned "ID Text" and change the values, you want or, that need to be changed (color, size, layout ....)
You just need to stay clear headed about what do you want.
Have fun

[Tutorial] Where to change the text colour of softkeys and taskbar app name

After searching a while, and partly thanks to poyensa who pointed me to maxtf3d tool, I compared the whole HKCU and HKLM reg trees before and after using that to change the softkey colours, and here's the summary:
Go into the following reg folder
Code:
HKCU\Software\Microsoft\Today
and create (if not already present) a string key named
Code:
Skin
in which you insert any name (example "myskin") and then create a folder in the same path with the same name of the skin and go in there.
In case the key "skin" already exists you have to go into the folder which goes by that name.
The key
Code:
Color_CommandBarText
is the one you want, if already present in the preset theme you need to change it, if instead you created the skin reference, or the key was not present in the preset theme, create a BINARY key by that name, and insert a 4bytes value inside.
For the black value it would be
Code:
00 00 00 00
Restart, the softkeys text colour will have changed.
To change the application name in the taskbar, you have to go into
Code:
HKLM\Software\Microsoft\Color\
and add a BINARY key (if not already present) named
Code:
9
in which you set the text colour in the same manner you did for the softkeys. Restart, served.
The colour for the start menu icons text should be situated in that same folder, in the BINARY key named 39, yet adding that key and restarting doesn't work.
Absolutely noone knows?
Yes, this is a bump
Hellooww
I know as a fact that it's possible, as GTX sports black text softkeys... noone actually cares to share the info?
Have a look HERE my friend...I suppose it could help you !
try this http://forum.xda-developers.com/showthread.php?t=493011
for me HD2 it works but only the tab for color>commandbar text, active enable box and once you have choose your favourite color in RGBA code press activate, TRefresh and softeresset afterwards
Method posted by poyensa worked, I could finally change the text colour of the softkeys using his instructions... thank you
Yet I am prone to tin2404 approach, as I need to know *how* to change that, I mean registry wise or manila wise, which are the things that I manually need to change, otherwise after each flash I will need to use max tf3d utility
Updated thread with working method.
Thankyou ephestione, i have changed the color blue (08 08 8A) using your instructions and it works!
Hi, in your first part of changing the softkey bar text you don't need to add a new skin you only have to go into HTC Black.tsk or whichever theme you're using, then edit the Color_CommandBarText with the colour code you wish to use (default is white FF FF FF 00). In here you can also edit the highlight colour of the text (Color_CommandBarText_Highlight). Hope this helps.
AvRS said:
Hi, in your first part of changing the softkey bar text you don't need to add a new skin you only have to go into HTC Black.tsk or whichever theme you're using, then edit the Color_CommandBarText with the colour code you wish to use (default is white FF FF FF 00). In here you can also edit the highlight colour of the text (Color_CommandBarText_Highlight). Hope this helps.
Click to expand...
Click to collapse
Yes, I have read about that also in MS KB, yet I had no entry whatsoever for any skin under that registry folder, I had to create one specifically for that purpose...
@poyensa, karma going back and forth, you pointed me to max tf3d utility, and only then I could "reverse engineer" it to devise a method
Hi all,
newbie questions,
how to add a new binary key using the PHM registry editor?
How to change the color of the taskbar clock's number?
Thanks in advance.
Sorry I don't use PHM regeditor, but for that purpose I use totalcommander, go into \\plugins folder in root, then registry, then continue from there. pressing the +Add Value+ item
Also DotFred's advanced taskmanager has a registry editor which is not bad at all
ephestione said:
Sorry I don't use PHM regeditor, but for that purpose I use totalcommander, go into \\plugins folder in root, then registry, then continue from there. pressing the +Add Value+ item
Also DotFred's advanced taskmanager has a registry editor which is not bad at all
Click to expand...
Click to collapse
Hi ephestione,
You made my day! Thank u very much!
I installed totalcommander and followed all your instructions and I did it successfully.
Any idea on how to change the color of the taskbar clock?
Thanks in advance.
ehm, no idea about that one
Anyway happy you found a functional registry editor, also, totalcommander is a great tool in general
Anyway, if skinning the taskbar clock is what you're after, then you gotta get BattClock, search in XDA forums for that
ephestione said:
ehm, no idea about that one
Anyway happy you found a functional registry editor, also, totalcommander is a great tool in general
Anyway, if skinning the taskbar clock is what you're after, then you gotta get BattClock, search in XDA forums for that
Click to expand...
Click to collapse
Hi Ephestione,
Yeah, you're right, totalcommander is a great one, I'm playing with it now and it's really good, btw do u know how to go back to a previous step?
Also, I appreciate your suggestion about BattClock which is very good app, but personally I like the simplicity and nice look of the Battline one and unfortunately there is a kind of conflict between those programs.
Thank you very much.
[email protected] said:
Hi Ephestione,
Yeah, you're right, totalcommander is a great one, I'm playing with it now and it's really good, btw do u know how to go back to a previous step?
Also, I appreciate your suggestion about BattClock which is very good app, but personally I like the simplicity and nice look of the Battline one and unfortunately there is a kind of conflict between those programs.
Thank you very much.
Click to expand...
Click to collapse
What conflict is there? Do the Stripes occupy the same space? If yes, just make them empty in BattClock or put them in another place or show other information.

refresh accent color after change the registry key

hi everyone, this question is more about developing, but I can't post there now because i'm new.
I'd like to write an app (using the new WP7 RootToolsSDK from heathcliff74) that changes the accent color, just like Dave Amenta's "accent changer".
But I'd like that my app also can change the accent color on the phone, after you have selected it; just like the one on the settings on the phone.
This because now if I want to change Blue, for example, I have to change the blue accent color, then Settings->theme, select another, then reselect blu.
When I change the value of the key "CurrentAccent", the native apps already opened (including the menù) doesn't changes the color (of course they don't know something changes). For example, if I open Messages (with every instance closed), the accent color is changed!
Anyone knows if there is something that I can do about?
for real no one knows something about?
same problem
wondering if you ever fixed that issue?
the start screen needs some kind of refresh function call that happens when you go through Settings/Themes and select the color in the list. I cannot find what function gets called, I also looked at the WP7RootToolsSDK.RegistryKey.RefreshKey() function, but it is not documented so not sure how to use it or if it will help.
anyway if you ever found a workaround, I would be grateful for your help!

Default text size and type in S Note

First of all, I am rooted. I have searched through pages and pages to try to track down an initial setting for S Note to configure font. I know how to change font within text, or after doing handwriting to text. However, I would like S Note to always type in Ariel 8pt instead of the huge Robotic 16pt font used by default. I don't need to be able to see integrals from across campus, so 16pt is a little large for my taste.
My question is, is there a configuration file which can be edited somewhere with root explorer?
scary-animal said:
First of all, I am rooted. I have searched through pages and pages to try to track down an initial setting for S Note to configure font. I know how to change font within text, or after doing handwriting to text. However, I would like S Note to always type in Ariel 8pt instead of the huge Robotic 16pt font used by default. I don't need to be able to see integrals from across campus, so 16pt is a little large for my taste.
My question is, is there a configuration file which can be edited somewhere with root explorer?
Click to expand...
Click to collapse
Install Xposed Framework and then App Settings module. From there you can change font scale.
Spere said:
Install Xposed Framework and then App Settings module. From there you can change font scale.
Click to expand...
Click to collapse
Unfortunately, no joy on the font scaling adjustment. Got framework and app settings installed, scaled it down to 50 with no change in the default font size for handwriting to text. It isn't a huge deal, was just hoping to adjust something that will hopefully be considered with the next software update.

[Q] Uneven Subtitle Font BIG & SMALL

Hi guys, I loved to use MX Player actually and what I hate is, the subtitle combines with big and small uneven fonts, which makes me pretty angry, the subtitle uses *.ass file, I already set ignore the subtitle specific font style requirement but it is still giving me uneven font, and finding the required font is just pain in the ass, I want it just use whatever font is installed / came together with Android OS, is that possible? Uneven fonts are pretty irritating. (It's Traditional Chinese)
soralz said:
Hi guys, I loved to use MX Player actually and what I hate is, the subtitle combines with big and small uneven fonts, which makes me pretty angry, the subtitle uses *.ass file, I already set ignore the subtitle specific font style requirement but it is still giving me uneven font, and finding the required font is just pain in the ass, I want it just use whatever font is installed / came together with Android OS, is that possible? Uneven fonts are pretty irritating. (It's Traditional Chinese)
Click to expand...
Click to collapse
Please check this link: https://sites.google.com/site/mxvpe...-are-missing-incorrect-too-small-or-too-large.
bleu8888 said:
Please check this link: https://sites.google.com/site/mxvpe...-are-missing-incorrect-too-small-or-too-large.
Click to expand...
Click to collapse
Tried, doesn't work, already played with various settings still doesn't work, especially the ass font file contain a lot of different font type, doesn't work,
soralz said:
Tried, doesn't work, already played with various settings still doesn't work, especially the ass font file contain a lot of different font type, doesn't work,
Click to expand...
Click to collapse
@soralz Would you share your subtitle file?
bleu8888 said:
@soralz Would you share your subtitle file?
Click to expand...
Click to collapse
As in attachment. XDA doesn't allow to upload *.ass extension so I added *.txt at the end of the file.
soralz said:
Hi guys, I loved to use MX Player actually and what I hate is, the subtitle combines with big and small uneven fonts, which makes me pretty angry, the subtitle uses *.ass file, I already set ignore the subtitle specific font style requirement but it is still giving me uneven font, and finding the required font is just pain in the ass, I want it just use whatever font is installed / came together with Android OS, is that possible? Uneven fonts are pretty irritating. (It's Traditional Chinese)
Click to expand...
Click to collapse
Hi, your problem is caused by android default font for Trad. Chinese. I've tried and found a suitable Trad. Chinese font which can be used in MX Player and support "italic". I'll upload the font file tonight and you must set "Ignore font specified in SSA/ASS file" option to use the font. Hope it can help you to solve the problem.
<<EDIT>>
Here is the download link (MEGA) => arplmingu20lt.ttf (UTF-8)

Categories

Resources