Page 1 of 2 1 2 LastLast
Results 1 to 10 of 18

Thread: Incorrect character in spanish victory message text

  
  1. #1
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Incorrect character in spanish victory message text

    As you know, Spanish language has inverse exclamation and question characters:
    ¡Hola!
    ¿Cómo te llamas?

    When you win, the inverse exclamation character in the text message it is not correct, it is an "i" (the 9th character of the alphabet) with grave accent (Spanish doesn't have GRAVE accent! --> àèìòù, just only the normal accent --> áéíóú).

    Original spanish victory message (incorrect):
    ÌFelicidades! La tierra es tuya. Pulsa espacio para pasar al siguiente reino.
    Click image for larger version. 

Name:	DK - victoria original.png 
Views:	20 
Size:	3.6 KB 
ID:	1429

    Spanish victory message (corrected):
    ¡Felicidades! La tierra es tuya. Pulsa espacio para pasar al siguiente reino.
    Click image for larger version. 

Name:	DK - victoria correcto.png 
Views:	16 
Size:	3.8 KB 
ID:	1430


    Looking at the file gtext_spa.dat, the character is as "-".

    Mefistotelis, can you correct this please? Maybe we need to edit the charset tile? Or just editing gtext_spa.dat?
    Last edited by jomalin; June 22nd, 2014 at 11:54.

  2. #2
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Incorrect character in spanish victory message text

    The .dat file in KeepertFX is just an output file, generated during build.

    Either .po file or character conversion table (char_encoding_tbl_eu.txt) needs to be modified.

  3. #3
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by mefistotelis View Post
    The .dat file in KeepertFX is just an output file, generated during build.

    Either .po file or character conversion table (char_encoding_tbl_eu.txt) needs to be modified.
    I have checked the file gtext_spa.po and it is correctly written:
    Code:
    #. Generic victory message
    #: guitext:0
    msgctxt "In-game message"
    msgid "Success! The land is yours. Press Space to proceed to the next realm."
    msgstr ""
    "¡Felicidades! La tierra es tuya. Pulsa espacio para pasar al siguiente reino."
    And looking at char_encoding_tbl_eu.txt it is also well:
    Code:
    0xad	¡
    So, if both are correct... why it is not well shown?
    Last edited by jomalin; June 22nd, 2014 at 12:34.

  4. #4
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by jomalin View Post
    I have checked the file gtext_spa.po and it is correctly written:
    Code:
    #. Generic victory message
    #: guitext:0
    msgctxt "In-game message"
    msgid "Success! The land is yours. Press Space to proceed to the next realm."
    msgstr ""
    "¡Felicidades! La tierra es tuya. Pulsa espacio para pasar al siguiente reino."
    Ok, so translation is good.

    Quote Originally Posted by jomalin View Post
    And looking at char_encoding_tbl_eu.txt it is also well:
    Code:
    0xad	¡
    This means that character "¡" is in font sprites file at position 0xad.
    The font is created from KeeperFX GFX sources, and in "font2-64/filelist_font2.txt" - which is a list of sprites used to generate font - it's in line 143 (0xad - 0x1e = 173 - 30 = 143).

    You have to check if PNG file in that line contains the correct character.

    EDIT:
    I see that this character has Unicode code 00a1, and unicode codes are included in file names, so the PNG file at line 143 should have this in its name.
    Last edited by mefistotelis; June 22nd, 2014 at 14:14.

  5. #5
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by mefistotelis View Post
    Ok, so translation is good.



    This means that character "¡" is in font sprites file at position 0xad.
    The font is created from KeeperFX GFX sources, and in "font2-64/filelist_font2.txt" - which is a list of sprites used to generate font - it's in line 143 (0xad - 0x1e = 173 - 30 = 143).

    You have to check if PNG file in that line contains the correct character.

    EDIT:
    I see that this character has Unicode code 00a1, and unicode codes are included in file names, so the PNG file at line 143 should have this in its name.

    Well, i have investigated this.
    Here you can search Unicode characters by the character itself or the code, and get the character and the code. For example, this is to know about the inverted exclamation:
    http://unicode-table.com/en/search/?q=%C2%A1

    The problem is:
    the PNG file for the inverted exclamation sign is simply wrong, that is the file: font2-64\char_u00a1.png. It is an EXACT copy (byte by byte) of the file char_u00ec.png

    I edited the PNG and made the inverted exclamation. I attach it here. Can you replace it to solve the problem?
    I made it with PaintShop Pro, the image has also the respective shadow. My PNG is 27 bytes less, and i don't know if the PNG file requires some special headers or something (I don't know PNG format). Check it if you want with an hexadecimal editor to see if it is correct.

    THANKS!
    Attached Images Attached Images  

  6. #6
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by jomalin View Post
    I edited the PNG and made the inverted exclamation. I attach it here. Can you replace it to solve the problem?
    I made it with PaintShop Pro, the image has also the respective shadow. My PNG is 27 bytes less, and i don't know if the PNG file requires some special headers or something (I don't know PNG format). Check it if you want with an hexadecimal editor to see if it is correct.
    The file looks OK; attached is the font generated after replacing this char:
    keeperfx_0_4_5_spanish_font_fix.zip

  7. #7
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by mefistotelis View Post
    The file looks OK; attached is the font generated after replacing this char:
    keeperfx_0_4_5_spanish_font_fix.zip
    Thanks mefisto for generating the files to let me try them, but i made a little mistake with the red colour range in the character. I send you the new one with the red colour ranges in the right order. Can you generate me again the files please? Sorry.
    Attached Images Attached Images  

  8. #8
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Incorrect character in spanish victory message text


  9. #9
    Ghost
    Join Date
    Dec 2010
    Location
    Madrid, Spain
    Posts
    368

    Default Re: Incorrect character in spanish victory message text

    Quote Originally Posted by mefistotelis View Post
    Sorry for the delay, but looking at the other fonts, the same character it is also wrong! So give me some time to fix them and i will attach you all in a zip file, ok?

  10. #10
    Beetle Ecarus's Avatar
    Join Date
    Dec 2013
    Location
    Venezuela
    Posts
    108
    Gamer IDs

    Steam ID: ecarus333

    Default Re: Incorrect character in spanish victory message text

    This is a minor bug, isnt something really problematic, I had never notice that (I speak spanish too), also, in the forum I think we both are the only who speak spanish.

Similar Threads

  1. Long way to victory
    By eldarkt in forum DK1 Maps
    Replies: 6
    Last Post: December 31st, 2013, 19:39
  2. Replies: 6
    Last Post: July 5th, 2013, 15:41
  3. Mission victory dialogue missing
    By prune in forum KeeperFX
    Replies: 3
    Last Post: May 12th, 2012, 14:13
  4. Incorrect trap boxes title bug
    By jomalin in forum KeeperFX
    Replies: 6
    Last Post: February 13th, 2011, 23:46
  5. Incorrect Wall block draw?
    By jomalin in forum KeeperFX
    Replies: 3
    Last Post: January 8th, 2011, 20:31

Tags for this Thread

Posting Permissions

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