Easy Multilanguage for Waninkoko's 1.4 USBL

Discussion in 'Wii - Hacking' started by WiiCrazy, Apr 14, 2009.

Apr 14, 2009
  1. WiiCrazy
    OP

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
    download : http://www.tepetaklak.com/data/USBL04Multi.rar

    Readme explains it... basically you can edit build.bat and multilang.h file and build with
    build TR / build EN / blah blah...

    Code:
    14 April 2009 - WiiCrazy / I.R.on
    ---------------------------------------------------------------------------
    It's too late... no long descriptions... it's the same with Waninkoko's
    1.4 usb loader except you can easily make it multi language...
    I provided support for Turkish in this...
    
    If you have a strange language like Turkish without a proper internalization
    support, then you need to change the console_font_8x16.c and recompile ogc 
    library. Poor me changed it bit by bit calculating in the source file since 
    I couldn't found a proper Turkish font file....
    
    Next time...
     
  2. sallama

    Newcomer sallama Member

    Joined:
    Apr 9, 2009
    Messages:
    12
    Country:
    Turkey
    thx.. nice work
     
  3. talflanzman

    Newcomer talflanzman Member

    Joined:
    Mar 15, 2009
    Messages:
    39
    Country:
    Israel
    Can you add links to Lib OGC sources please.
    I want to try and recompile it with other language support.
     
  4. kyogc

    Member kyogc GBAtemp Fan

    Joined:
    Nov 24, 2008
    Messages:
    324
    Country:
    Taiwan
    "If your language needs proper font support then you'll need to recompile ogc changing the console_font_8x16.c"

    Could anyone tell me how exactly I can do it?
     
  5. WiiCrazy
    OP

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
    Ok, download libogc sources from devkitpro's site

    http://sourceforge.net/project/showfiles.p...ckage_id=126925

    filename is : libogc-src-1.7.1a.tar.bz2

    Extract it to somewhere, under libogc you'll see the default console font with name console_font_8x16.c

    It is basically a 8x16 font converted into a c data declaration...
    Next find a 8x16 bitmap font (256 ascii characters) for your language and using raw2c make it a c data file... (do the cosmetics...)

    And issue make in the extracted libogc folder... It will compile the sources...
    Assuming you have the same version of libogc installed in your devkitpro, you just need to copy
    lib\wii\ogc\libogc.a -> devkitpro\libogc\lib\wii\ ..... (paths may not be right but the essence is there...)


    Now, every application you build will use your changed default font... No unicode by the way.

    @kyogc : Probably you can't do Chinese/Japanese and similar far east languages that way... you most possibly will need unicode for those...
     
  6. talflanzman

    Newcomer talflanzman Member

    Joined:
    Mar 15, 2009
    Messages:
    39
    Country:
    Israel
    Thanks
    I will try it.
     
  7. kyogc

    Member kyogc GBAtemp Fan

    Joined:
    Nov 24, 2008
    Messages:
    324
    Country:
    Taiwan
    @WiiCrazy

    Thanks you very much for youe explanation. Now I only have trouble to get unicode c date file....
     
  8. WiiCrazy
    OP

    Member WiiCrazy Be water my friend!

    Joined:
    May 8, 2008
    Messages:
    2,391
    Location:
    Istanbul
    Country:
    Turkey
  9. kyogc

    Member kyogc GBAtemp Fan

    Joined:
    Nov 24, 2008
    Messages:
    324
    Country:
    Taiwan
    Thanks for your help. I wii try to figure it out.
     

Share This Page