+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 29

m6_patch_font tool

This 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... ...

  1. #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.

  2. #2
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,875
    Thanks
    133
    Thanked 261 Times in 77 Posts
    What! Totally awesome!!

    Will Asian/Special European symbols also work?
    Can't wait to play with the Meizu MX!

  3. #3
    Valued Member
    Join Date
    Nov 2006
    Location
    Belarus, Minsk
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Err0r View Post
    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.

  4. #4
    Founder
    Join Date
    Nov 2006
    Location
    Stockholm
    Posts
    2,875
    Thanks
    133
    Thanked 261 Times in 77 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
    Can't wait to play with the Meizu MX!

  5. #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.

  6. #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.

  7. #7
    Valued Member
    Join Date
    Nov 2006
    Location
    Costa Rica
    Posts
    536
    Thanks
    0
    Thanked 1 Time in 1 Post
    Asmo, which programs do u use to read the hex code?

  8. #8
    Valued Member
    Join Date
    Nov 2006
    Location
    Belarus, Minsk
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Sequa View Post
    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.

    Quote Originally Posted by marcelo1251
    Asmo, which programs do u use to read the hex code?
    PSPad has built-in hex editor.

  9. #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 ?

  10. #10
    Valued Member
    Join Date
    Nov 2006
    Location
    Belarus, Minsk
    Posts
    59
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Erag0n View Post
    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. #11
    Valued Member
    Join Date
    Nov 2006
    Location
    Brisbane, Australia
    Posts
    200
    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.

  12. #12
    Freshman
    Join Date
    Nov 2006
    Location
    Thailand
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Asmo View Post
    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

  13. #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.

  14. #14
    Freshman
    Join Date
    Nov 2006
    Location
    Thailand
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by Asmo View Post
    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

  15. #15
    Freshman
    Join Date
    Nov 2006
    Posts
    46
    Thanks
    1
    Thanked 3 Times in 2 Posts
    Quote Originally Posted by Erag0n View Post
    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.

  16. #16
    Freshman
    Join Date
    Nov 2006
    Location
    Thailand
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wink

    Quote Originally Posted by adobe View Post
    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.

  17. #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.

  18. #18
    Freshman
    Join Date
    Nov 2006
    Location
    Thailand
    Posts
    44
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Quote Originally Posted by Asmo View Post
    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!

  19. #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.

  20. #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.