Homebrew BillardGL comes to the Wii after 22 years

mudrik

Member
OP
Newcomer
Joined
Nov 18, 2022
Messages
23
Trophies
0
Age
31
XP
199
Country
Turkey
Some of you might be old enough to remember the nice open source 3D game BillardGL from the early thousands (from 2002, precisely). It's written in C++ using OpenGL 1.1, which as we all know, is not supported by the Wii. Well, at least until a wise guy wrote opengx, a library that wraps the GX API presenting it as the OpenGL API. The project was abandoned back in 2009, but the author was so kind to write detailed documentation on the design of this project, that it would have been a waste not to put it into use.

So, recently the opengx project has been revived and functionality has been added to make it support more of OpenGL 1.1. We are still far from the finish line, but it's nice to see that a non trivial game like BillardGL could be ported with almost no changes to the code.
Screenshot from 2024-05-12 23-28-15.png

You are welcome to visit the project at https://github.com/mardy/billardgl/tree/wii-port - see the "Releases" section for a downloadable zip file to add the game to your Homebrew channel.

Please note that not all changes required to builg the game have been integrated into opengx yet, so if you want to build the game from source, you'll need this branch.
 

DDinghoya

Well-Known Member
Member
Joined
Jun 2, 2016
Messages
132
Trophies
0
Age
45
XP
1,936
Country
Korea, South
Some of you might be old enough to remember the nice open source 3D game BillardGL from the early thousands (from 2002, precisely). It's written in C++ using OpenGL 1.1, which as we all know, is not supported by the Wii. Well, at least until a wise guy wrote opengx, a library that wraps the GX API presenting it as the OpenGL API. The project was abandoned back in 2009, but the author was so kind to write detailed documentation on the design of this project, that it would have been a waste not to put it into use.

So, recently the opengx project has been revived and functionality has been added to make it support more of OpenGL 1.1. We are still far from the finish line, but it's nice to see that a non trivial game like BillardGL could be ported with almost no changes to the code.
View attachment 436827
You are welcome to visit the project at https://github.com/mardy/billardgl/tree/wii-port - see the "Releases" section for a downloadable zip file to add the game to your Homebrew channel.

Please note that not all changes required to builg the game have been integrated into opengx yet, so if you want to build the game from source, you'll need this branch.

Is there a way to add Korean fonts for translation?
 

mudrik

Member
OP
Newcomer
Joined
Nov 18, 2022
Messages
23
Trophies
0
Age
31
XP
199
Country
Turkey
Is there a way to add Korean fonts for translation?
It's not easy for me to reply, since I'm not the original author of the game, and it's all written in German :-(

If someone is able to figure out how to add additional fonts I'll be glad to accept code contributions, but I'm afraid I don't have time to spend on this myself.
 

DDinghoya

Well-Known Member
Member
Joined
Jun 2, 2016
Messages
132
Trophies
0
Age
45
XP
1,936
Country
Korea, South
It's not easy for me to reply, since I'm not the original author of the game, and it's all written in German :-(

If someone is able to figure out how to add additional fonts I'll be glad to accept code contributions, but I'm afraid I don't have time to spend on this myself.

I don't know the program, but it seems to call the characters in buchstaben.bmp and buchstabenalpha.bmp as fonts. (\billardgl\Texturen\2)
 

KleinesSinchen

GBAtemp's Backup Reminder + Fearless Testing Sina
Member
GBAtemp Patron
Joined
Mar 28, 2018
Messages
4,476
Trophies
2
XP
15,057
Country
Germany
and it's all written in German
WTF? Who writes programs with file names, comments and variable/method names in other languages?

I don't even do that for my occasional toddler level hobby programming just for myself. I could easily translate all the text in the sources, but man, doing this correctly not missing any references so that it still compiles, that is a hard piece of work.

Somebody good with awk and sed might be able to do it quickly in semi-automated manner. Or maybe some IDE can assist? These bloated things nowadays have 1000s of functions.
 
Last edited by KleinesSinchen,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    +1
    Xdqwerty @ Xdqwerty: :sad: