| |
m6_patch_font toolThis is a discussion on m6_patch_font tool within the Russian forums, part of the Meizu Me International category; I'm tired of waiting for support of russian symbols in txt files. So... I've spent 2 days analysing resource.bin file... ...
11-22-2006
|
#1
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
m6_patch_font tool
I'm tired of waiting for support of russian symbols in txt files. So... I've spent 2 days analysing resource.bin file... Don't really remember how much coffee I've drunk  The result of this "reverse engineering" is m6_patch_font tool.
It makes possible to read russian txt files.
Download
Usage
Download m6_patch_font.zip and extract it for example to C:\Temp.
Place resource.bin file to C:\Temp.
Run in command line:
m6_patch_font.exe resource.bin russian_remap.txt output_resource.bin
As the result output_resource.bin will be created. Copy it to your player and rename to resource.bin. After restart the player will update its resources and you'll be able to read txt files with russian symbols.
Tested with T1.010 RC4.
|
|
|
11-22-2006
|
#2
|
|
Founder
Join Date: Nov 2006
Location: Stockholm
Posts: 2,227
Thanks: 48
Thanked 103 Times in 33 Posts
|
What! Totally awesome!!
Will Asian/Special European symbols also work?
|
|
|
11-22-2006
|
#3
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Err0r
What! Totally awesome!!
Will Asian/Special European symbols also work?
Yes, but I think only for those languages that are already in firmware.
You need to create your own remapping text file like russian_remap.txt.
I can explain how to create it, but I need someone how wants to add support for asian/special european symbols. The best explanation is step by step tutorial.
Last edited by Asmo; 11-22-2006 at 07:42 PM.
|
|
|
11-22-2006
|
#4
|
|
Founder
Join Date: Nov 2006
Location: Stockholm
Posts: 2,227
Thanks: 48
Thanked 103 Times in 33 Posts
|
Hmm, I can't read HEX. There is no possible way of activating all the languages in the firmware at once?
Czech
Danish
Dutch
English
French
Hungarian
German
Italian
Korean
Polish
Portuguese
Russian
Slovak
Spanish
Vietnamnese
|
|
|
11-22-2006
|
#5
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
No, only one language. With my method of course 
I don't understand why the developers in Meizu can't add UNICODE support for txt files. All necessary fonts are already in resource.bin. If I had sources of the firmware I would activate all languages. And even more
Last edited by Asmo; 11-22-2006 at 07:59 PM.
|
|
|
11-22-2006
|
#6
|
|
Passing By
Join Date: Nov 2006
Location: Germany
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
|
Japanese isn't already in the firmware, is it? So it isn't possible to modify the firmware to display Japanese characters?
Does the player at least display ID3 tags properly no matter which language?
My player hasn't arrtived yet, so I couldn't test it.
|
|
|
11-22-2006
|
#7
|
|
Moderator
Join Date: Nov 2006
Location: Costa Rica
Posts: 529
Thanks: 0
Thanked 0 Times in 0 Posts
|
Asmo, which programs do u use to read the hex code?
|
|
|
11-22-2006
|
#8
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Sequa
Japanese isn't already in the firmware, is it? So it isn't possible to modify the firmware to display Japanese characters?
Does the player at least display ID3 tags properly no matter which language?
My player hasn't arrtived yet, so I couldn't test it.
I don't know UNICODE ranges for Japanese characters. Here is the mapping of UNICODE characters. Find your range and I'll answer the questions.
Originally Posted by marcelo1251
Asmo, which programs do u use to read the hex code?
PSPad has built-in hex editor.
|
|
|
11-23-2006
|
#9
|
|
Freshman
Join Date: Nov 2006
Location: Thailand
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
Nice to see someone think to Mod. Firmware about font, Thank you. ,I will try in my Thai language. will report... (But my dealer said Meizu will support Thai lang. in early jan 2007, It's possible support unicode) any Idea ?
|
|
|
11-23-2006
|
#10
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Erag0n
Nice to see someone think to Mod. Firmware about font, Thank you. ,I will try in my Thai language. will report... (But my dealer said Meizu will support Thai lang. in early jan 2007, It's possible support unicode) any Idea ?
Does Thai language have 8-bit encoding? Or only UNICODE? Because text files are displayed using characters 0x0000-0x00ff (ASCII). In remapping text file each line consists of 2 hex numbers:
1st: code of character we want to replace (0x0080-0x00ff)
2nd: code of character we want to replace WITH (unicode codes for your characters)
Last edited by Asmo; 11-23-2006 at 09:22 AM.
|
|
|
11-23-2006
|
#11
|
|
Valued Member
Join Date: Nov 2006
Location: Brisbane, Australia
Posts: 199
Thanks: 0
Thanked 0 Times in 0 Posts
|
As far as I know Chinese and Japanese characters are supported in unicode for mp3 id3 tags, You need to use a program like tag&rename that supports unicode ID3V2 tags. I have tested this using miniplayer set to English language and Chinese and Japanese font can be displayed for ID3V2 Tags.
Full unicode support should be made an priority by meizu if they want international acceptance of this player.
Last edited by FirePower; 11-23-2006 at 10:20 PM.
|
|
|
11-24-2006
|
#12
|
|
Freshman
Join Date: Nov 2006
Location: Thailand
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Asmo
Does Thai language have 8-bit encoding? Or only UNICODE? Because text files are displayed using characters 0x0000-0x00ff (ASCII). In remapping text file each line consists of 2 hex numbers:
1st: code of character we want to replace (0x0080-0x00ff)
2nd: code of character we want to replace WITH (unicode codes for your characters)
My Thai language using character 0x0E00-0x0E4F
Let's me find more info to test first. Thank you
|
|
|
11-24-2006
|
#13
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
Here is 8-bit codepage for Thai language (please check if I'm right).
Here (at the end of the page) you'll find unicode mapping for Thai language.
For each similar characters you should write a line in remapping text file (I'll show the beginning of this file for Thai):
0x00A1 0x0E01
0x00A2 0x0E02
...
And so on for every pair of similar characters.
|
|
|
11-24-2006
|
#14
|
|
Freshman
Join Date: Nov 2006
Location: Thailand
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Asmo
Here is 8-bit codepage for Thai language (please check if I'm right).
Here (at the end of the page) you'll find unicode mapping for Thai language.
For each similar characters you should write a line in remapping text file (I'll show the beginning of this file for Thai):
0x00A1 0x0E01
0x00A2 0x0E02
...
And so on for every pair of similar characters.
Thank you, why start with "0x00A1 0x0E01" in my file made start with "0x00C0 0x0E01"
like you and i will try in this weekend and report on monday
|
|
|
11-25-2006
|
#15
|
|
Freshman
Join Date: Nov 2006
Posts: 43
Thanks: 1
Thanked 1 Time in 1 Post
|
Originally Posted by Erag0n
Thank you, why start with "0x00A1 0x0E01" in my file made start with "0x00C0 0x0E01"
like you and i will try in this weekend and report on monday
i try, but can not start with "0x00A1 0x0E01"
pls, check for start map font.
i don't know, font map for thai start.
|
|
|
11-27-2006
|
#16
|
|
Freshman
Join Date: Nov 2006
Location: Thailand
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by adobe
i try, but can not start with "0x00A1 0x0E01"
pls, check for start map font.
i don't know, font map for thai start.
Report to Thai mod. : Not work any more for Thai lang in title song or .Txt file, it not show any charecter. And I try change title song with unicode in Tag&Rename program still not show any char.
|
|
|
11-27-2006
|
#17
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
Well, I've checked... There are no Thai characters in UNICODE table. You have to wait, maybe they will be added in the next firmware.
|
|
|
11-28-2006
|
#18
|
|
Freshman
Join Date: Nov 2006
Location: Thailand
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
|
Originally Posted by Asmo
Well, I've checked... There are no Thai characters in UNICODE table. You have to wait, maybe they will be added in the next firmware.
 Thank you for checked!
|
|
|
11-28-2006
|
#19
|
|
Valued Member
Join Date: Nov 2006
Location: Germany
Posts: 392
Thanks: 0
Thanked 0 Times in 0 Posts
|
what happens if i copy the part from 449460 ( i think this is the place where the language part starts ) to end, out of a resource that has different languages (e.g. german  ) and paste it into another resource file, which has the original languages, at the same position and overwrite. I tried this, but it didnt work.
|
|
|
11-28-2006
|
#20
|
|
Valued Member
Join Date: Nov 2006
Location: Belarus, Minsk
Posts: 59
Thanks: 0
Thanked 0 Times in 0 Posts
|
German characters are already supported. You don't even need to change anything.
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Hot Deals for Meizu Products |
Related Threads |
|
|
|
All times are GMT. The time now is 08:01 AM.
|
|
|
|
|