Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 34

Threaded View

  1. #21
    Member +
    Join Date
    Apr 2011
    Location
    Greece
    Age
    55
    Posts
    47
    Rep Power
    15

    Default

    Quote Originally Posted by kunix View Post
    gvp
    Just to make sure you are aware....
    Usually the translated strings are required to occupy no more bytes then the strings being replaced.
    Otherwise something in the firmware would have to be rewritten by the extended string section.
    i'm aware of that ... thank you

    Quote Originally Posted by ddabcd277 View Post
    Very good point kunix! I forgot about that! @ gvp/abba33 try not to exceed the intended 39916 bytes for the text. And keep in mind 0x00 between every word! If you miss one 0x00 everything will be screwed up! Maybe kunix or someone else can create a script for unpacking the words in a text file then again in a bin if that is going to be easier for you.
    i translate the bin file with freeware HxD hex editor. it's easy .. no need for the script ... thank you

    @ abba33
    first of all: 0x preffix means hex number ... so when you see 0x20 means hex number "20" which represent space character in ANSI character set ...
    0x00 number is the null ANSI character but HxD hex editor represent it as "."=dot character as you can see in the photo below (marked red in photo).
    1. don't delete or move these 0x00 characters (you MUST use the space between two 0x00 characters for your translation. If it's not enough use abbreviations. If it's more than enough use space character = 0x20 (hex number) (marked blue in photo)
    2. don't change the size of the file
    3. if it's a lot of work, translate the strings you need. the others keep them in english ...

    Master ddabcd277 & kunix ... if I miss something please correct me ....................

    hex2

    be careful
    in the photo below the 0x00 character is the last one. This you shouldn't move or delete it.
    the first 3 0x2E is the dot character and you can replace them if you want ...
    hex3

    ===============================================
    Quote Originally Posted by kunix View Post
    ddabcd277
    There is no need to create such script. Just replace all occurences of 0x0A (ASCII code for the new line character) with 0x7E (ASCII code for '~') with your favorite hex editor. Then replace all occurrences of 0x00 with 0x0A.
    Make sure that '~' is absent in the original strings section, otherwise find some other absent character.
    Then you can edit the text with any text editor which accepts 0x0A as a new line indicator (notepad++ is good enough).
    good idea ... thanks !!!
    '~' is absent in the original strings section ... i've checked it.

    transl
    Last edited by gvp; 25th October 2012 at 04:43 PM.

  2.    Advertissements


 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •