Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Compiling for GameCube? #5

Closed
shazz opened this issue May 27, 2022 · 5 comments
Closed

[Question] Compiling for GameCube? #5

shazz opened this issue May 27, 2022 · 5 comments

Comments

@shazz
Copy link

shazz commented May 27, 2022

Hi,

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

Thanks!

@shazz
Copy link
Author

shazz commented May 27, 2022

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

@HTV04
Copy link
Owner

HTV04 commented May 27, 2022

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 :)

@HTV04 HTV04 closed this as completed May 27, 2022
@HTV04 HTV04 changed the title [Question] How to build wiilove? [Question] Compiling for GameCube? May 27, 2022
@shazz
Copy link
Author

shazz commented May 28, 2022

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
Copy link
Owner

HTV04 commented May 28, 2022

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
Copy link
Author

shazz commented May 28, 2022

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.

Repository owner locked and limited conversation to collaborators May 29, 2022
@HTV04 HTV04 converted this issue into discussion #8 May 29, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants