Hacking Easy Multilanguage for Waninkoko's 1.4 USBL

  • Thread starter Thread starter WiiCrazy
  • Start date Start date
  • Views Views 2,392
  • Replies Replies 8

WiiCrazy

Be water my friend!
Member
Joined
May 8, 2008
Messages
2,397
Reaction score
27
Trophies
1
Location
Istanbul
Website
www.tepetaklak.com
XP
425
Country
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...
 
"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?
 
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...
 
@WiiCrazy

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

Site & Scene News

Popular threads in this forum