Easy Multilanguage for Waninkoko's 1.4 USBL

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

  1. WiiCrazy
    OP

    WiiCrazy Be water my friend!

    Member
    2,391
    1
    May 8, 2008
    Istanbul
    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

    sallama Member

    Newcomer
    12
    0
    Apr 9, 2009
    thx.. nice work
     
  3. talflanzman

    talflanzman Member

    Newcomer
    39
    0
    Mar 15, 2009
    Iceland
    Can you add links to Lib OGC sources please.
    I want to try and recompile it with other language support.
     
  4. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    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

    WiiCrazy Be water my friend!

    Member
    2,391
    1
    May 8, 2008
    Istanbul
    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

    talflanzman Member

    Newcomer
    39
    0
    Mar 15, 2009
    Iceland
    Thanks
    I will try it.
     
  7. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    Taiwan
    @WiiCrazy

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

    WiiCrazy Be water my friend!

    Member
    2,391
    1
    May 8, 2008
    Istanbul
  9. kyogc

    kyogc GBAtemp Fan

    Member
    324
    0
    Nov 24, 2008
    Taiwan
    Thanks for your help. I wii try to figure it out.