Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: OPL 0.8 Lang aspects on game list
  

Results 1 to 4 of 4
  1. #1 OPL 0.8 Lang aspects on game list 
    toze3's Avatar
    toze3 is offline Member
    Join Date
    Jul 2010
    Location
    Portugal
    Posts
    155
    Downloads
    13
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Hi

    I was adding some games in my HDD and i noticed if i put a accent in the game name, opl cut the name in that character.

    For example:

    name of the game:
    BUZZ! Quem é o Génio Português?

    and OPL gives me only:
    BUZZ! Quem

    In HDloader 0.8c the name presented is correct.

    In my settings i have portuguese lang (and also the ttf file).

    How do i correct this error?

    thanks
    Sony PSP (FAT + SLIM)
    Sony PS2 FAT - V7 + NA 320GB
    Sony PS3 SLIM CECH-2004A -> 750GB

    Sega Game Gear
    Sega Master System II
    Sega Megadrive I + MegaCD II + 32X
    Sega Saturn
    Sega Dreamcast + Arcade Stick
    Reply With Quote  

  2. #2  
    ronysales is offline Member
    Join Date
    Apr 2010
    Posts
    36
    Downloads
    7
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    Quote Originally Posted by toze3 View Post
    Hi

    I was adding some games in my HDD and i noticed if i put a accent in the game name, opl cut the name in that character.

    For example:

    name of the game:
    BUZZ! Quem é o Génio Português?

    and OPL gives me only:
    BUZZ! Quem

    In HDloader 0.8c the name presented is correct.

    In my settings i have portuguese lang (and also the ttf file).

    How do i correct this error?

    thanks
    Tenta renomealo sem os acentos. com no máximo 32 caracteres.
    Reply With Quote  

  3. #3  
    toze3's Avatar
    toze3 is offline Member
    Join Date
    Jul 2010
    Location
    Portugal
    Posts
    155
    Downloads
    13
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    That way i know it works, the funny thing is that all characters are there, simple aren't visible.
    Sony PSP (FAT + SLIM)
    Sony PS2 FAT - V7 + NA 320GB
    Sony PS3 SLIM CECH-2004A -> 750GB

    Sega Game Gear
    Sega Master System II
    Sega Megadrive I + MegaCD II + 32X
    Sega Saturn
    Sega Dreamcast + Arcade Stick
    Reply With Quote  

  4. #4  
    dlanor is offline Member
    Join Date
    Sep 2004
    Location
    Sweden
    Posts
    10,107
    Downloads
    5
    Uploads
    0
    Mentioned
    1 Post(s)
    Tagged
    2 Thread(s)
    Likes Given
    0
    Likes Received
    126
    Quote Originally Posted by toze3 View Post
    Hi

    I was adding some games in my HDD and i noticed if i put a accent in the game name, opl cut the name in that character.

    For example:

    name of the game:
    BUZZ! Quem é o Génio Português?

    and OPL gives me only:
    BUZZ! Quem
    The character 'é' has an ascii code of 0xE9, which places it far outside the normal range of the english alphabet, which I think some string parsers of OPL are optimized for. This probably causes some routine to consider that character to be a string terminator. (or to consider it an invalid character causing emergency termination)

    In HDloader 0.8c the name presented is correct.
    Possibly because it uses another means of identifying the character.

    In my settings i have portuguese lang (and also the ttf file).
    Those files define how the GUI is to use UTF8 encoded text to present information for you, but they do not define how to parse game description strings.

    How do i correct this error?
    You can't completely fix it yourself. That needs to be done by modifying those string parsers of OPL, so as to not just invalidate all characters above the limit of english letters, but to test individual flags for each possible ascii character. With ascii text that should be very easy to do, as normal ascii only needs 256 different flags to test. (At least I assume that ascii is used here. Else it may be more complex.)

    But a simple workaround you can do yourself (for now) is just to avoid using the letters that don't exist in the English alphabet for the game descriptions.

    This is essentially the same advice ronysales gave, though it probably needs to be applied to ALL non-English letters, and not only the ones with 'accent'.

    And like he also said, you must always observe the max limit of 32 characters in the game descriptions.

    Best regards: dlanor
    Reply With Quote  

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