Homebrew Wii2600 + RVL-CNT-01-TR compatibilty

Kartoffel7

Member
OP
Newcomer
Joined
Jul 19, 2007
Messages
5
Trophies
0
XP
206
Country
United States
Was wondering if anyone had recompiled Wii2600 with the latest libogc so it is compatible with the newer Wii Remote Plus (RVL-CNT-01-TR) controllers. I've been unsuccessful compiling it myself. It would be great to be able to play this emulator with these new remotes.
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Por nada, supongo que es lo menos que puedo hacer en un día libre. :P
________________________

So, here's it: http://www58.zippyshare.com/v/97964091/file.html.

I had to make a lot of changes to get this baby to compile properly with the latest libs (seriously, A LOT). I haven't tested it since I don't really have any ATARI 2600 games, but I guess it should work fine.

*Maybe* I broke the compatibility with the Stelladaptor, because I had to modify the USB code in order to reflect the changes in libogc. Heck, I don't even know if it worked in the first place; I had the impression there was missing code. :/

Source: http://www58.zippyshare.com/v/75823723/file.html. Just in case any of you guys want to add new features / fix something else without going through the hassle of updating it for the recent libraries. Make sure you have libSDL installed on the libogc dir before compiling! (r101, compiled today)
 

Thomas83Lin

Retro Gamer
Member
Joined
Jul 22, 2009
Messages
1,587
Trophies
1
Website
www.thomas83lincodes.com
XP
1,779
Country
United States
Could you please post an screenshot?
Sure, here you go.
j90f.jpg

edit: Its happens as soon as I load the Emu from HBC.
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Well, this is weird. According to GDB, the problem is in line 2675 of the video.c file from libogc source, specifically in the VIDEO_GetFrameBufferSize function, which is never used in the application.

Maybe it's just a conflict with libSDL, I'll look into the problem and try to upload a new binary.
 

Wiimpathy

Well-Known Member
Member
Joined
Mar 3, 2010
Messages
1,013
Trophies
2
XP
3,130
Country
France
That's a problem with the video buffer. The video part in SDL has changed.
You declared the extern frame_buffer as static and NULL. However, it doesn't exist anymore in SDL that's why there's an error.
I had issues too with wiixl plugin. I used extern GXRModeObj *vmode instead for the 2 wii_xfb buffer and it seems to work.

There's also an issue with the files, it always see them as a folder. Maybe you could replace the statbuf.st_mode with another test.
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
most likely trying to write to an area already used (and taken) , or that simply does not exists. (access violation)

careful with assigning macros that talk directly with hardware, by setting them to NULL or zero
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
That's a problem with the video buffer. The video part in SDL has changed.
You declared the extern frame_buffer as static and NULL. However, it doesn't exist anymore in SDL that's why there's an error.
I had issues too with wiixl plugin. I used extern GXRModeObj *vmode instead for the 2 wii_xfb buffer and it seems to work.

There's also an issue with the files, it always see them as a folder. Maybe you could replace the statbuf.st_mode with another test.

Thanks, I was not aware of those changes in the SDL library. I'll check that as soon as I get to my home (I'm in the university right now).

EDIT: Yup, it was just like you said, the constant names in libSDL were changed. I have tested the application now and it works fine (I also fixed the problems with the directory reading). However, instead of using vmode = wii_xfb[cur_xfb], I had to use vmode->xfbMode = *wii_xfb[cur_xfb], since the compiler was bitching about wii_xfb not being of GXRModeObj type.

Thank you very much for the tips, really! :)


I already deleted the previous files from ZippyShare to avoid confusion (except for the SDL library, it may come in handy for someone else).
 

DarkMatterCore

Finding my light.
Developer
Joined
May 30, 2009
Messages
1,292
Trophies
1
Age
28
Location
Madrid, Spain
Website
github.com
XP
2,606
Country
Spain
Thanks for your work DMC, I wonder if you can do the same for wii7800 :grog:

I suppose I won't know 'til I try. ;)

EDIT: Well, after a few modifications I got the application to compile. It lists the ROMs properly and lets me load any of them. The problem is that there is no video output when you select one, just sound.

I'm even compiling the emulator with the modified SDL library the source code included, but I'm suspecting I'll have to try with a different build if I want to solve this.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu