MP 1.0.1 missing selected buttons names with Czech language, MP crash (1 Viewer)

hoborg

Portal Pro
June 13, 2008
4,413
1,644
Nový Jičín
Home Country
Czech Republic Czech Republic
Just found this ugly bugs:

Start MP 1.0.1
Go to setting, general and swap language to Czech.

Now roll to first button - name disapear.
01.JPG

There are more such buton names disapear like:
02.JPG03.JPG

Now close MP and try to run it again - MP crash
Here crash LOGs:
View attachment 38879

Setting language back to ENG in configuration and MP works again.
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    MP uses D3D textures to render fonts. These textures are cached in the skin cache folder. If the new language uses different character range from the previous one, the cache should be cleared and the font textures recreated. Note that English uses characters up to 255 but Czech uses characters up to 382 (0x17E) IIRC (use charmap to see the Unicode code for a character - displayed as "U+xxxx"). Unfortunately AFAIK MP doesn't do that at the moment, although it should. :(

    If you exit MP and clear the skin cache, then restart MP you will find that everything works as expected.

    nikos1671 & frenzy: The crash would also happen with Greek if the language file was correct. Right now "characters" is set to 255 in the strings_el.xml but it should be 974 (0x3CE).

    Hope some dev that knows his way around the font manager can fix this.
     

    frenzy

    Portal Pro
    April 29, 2008
    228
    10
    Home Country
    France France
    It has been like that in the previous version too but the error didn't occur.

    However, the cache clearing+characters correction:mad: does fix it so for greek language users download the corrected strings_el.xml, replace the old one in program files/team mediaportal/mediaportal/language folder, and clear the cache.
    Cheers arion_p, should you see errors like that in the future report them in the appropriate thread
     

    rtv

    Retired Team Member
  • Premium Supporter
  • April 7, 2005
    3,622
    301
    Osnabruck
    Home Country
    Germany Germany
    Just found this ugly bugs:

    Here crash LOGs:
    View attachment 38879

    Setting language back to ENG in configuration and MP works again.
    Code:
    09:41:31.250000 [Info.][MPMain]: d3dapp: Graphic adapter 'Intel(R) 82945G Express Chipset Family' is using driver version '6.14.10.4926'
    09:41:31.250000 [Info.][MPMain]: d3dapp: Pixel shaders supported: 96 (Version: 2.0), Vertex shaders supported: 0 (Version: 0.0)

    Sorry - don't expect your weak Intel GPU to work without flaws.

    Does the same happen if you choose Czech initially from the configuration?
     

    hoborg

    Portal Pro
    June 13, 2008
    4,413
    1,644
    Nový Jičín
    Home Country
    Czech Republic Czech Republic
    Just found this ugly bugs:

    Here crash LOGs:
    View attachment 38879

    Setting language back to ENG in configuration and MP works again.
    Code:
    09:41:31.250000 [Info.][MPMain]: d3dapp: Graphic adapter 'Intel(R) 82945G Express Chipset Family' is using driver version '6.14.10.4926'
    09:41:31.250000 [Info.][MPMain]: d3dapp: Pixel shaders supported: 96 (Version: 2.0), Vertex shaders supported: 0 (Version: 0.0)

    Sorry - don't expect your weak Intel GPU to work without flaws.

    Does the same happen if you choose Czech initially from the configuration?

    Well, my week Intel GPU is my working PC here at work :)
    The problem is cache.
    Cache should be deleted/recreated when language is switched inside MP.

    It is working fine when language is configured from MP configuration.
     

    Users who are viewing this thread

    Top Bottom