HTV04/wiilove

[Question] Compiling for GameCube?

Closed this issue · 5 comments

shazz commented

Hi,

I tried to recompile wiilove for the gamecube but there is a dependency on luajit, where can I find this library?

Thanks!

shazz commented

Ah I guess this is this one https://github.com/HTV04/LuaJIT :)

HTV04 commented

Hey, yeah that would be the one 👍

Beware that I haven't added GameCube support for LuaJIT yet (mostly because I haven't had an opportunity to test it), so you'll need to tinker with the code a little to get it to compile.

Also it's worth noting that GameCube support is definitely coming to WiiLÖVE. I even hinted at it in some source files. However, any help getting GameCube support ready would be very appreciated :)

shazz commented

Yeah I did recompile for the GC LuaJIT, grrlib-mod, png-mod and finally Wiilove... sorry Cubelove :) but got a black screen when running the wiilove.dol (but I did not know what to expect)

I'll go back and check first the deps I recompiled still work :)

Happy to help !

HTV04 commented

Just wondering, are you testing this on real hardware, and if so, do you have an SD Gecko? Unfortunately Dolphin can't emulate those at the moment, but if you have one, in theory you should be able to store and load WiiLÖVE games from it.

shazz commented

Yeah I'm only testing on a real GameCube, I found Dolphin pretty...inaccurate, most of my stuff just doesn't work in Dolphin.

To debug I have a USB Gecko but I prefer to use the BBA, faster and more reliable, I wrote a simple network launcher / debugger (similar to PS2Link).

I also have an SD Gecko and a sd2sp2, I'll check how you're mounting the fat, normally easier with libogc2 + libfat than libogc.

So I tested luaJIT with a simple API example, it works on my GC, so I guess I broke something in Wiilove.