Wii2600 + RVL-CNT-01-TR compatibilty

Discussion in 'Wii - Emulation and Homebrew' started by Kartoffel7, Jan 1, 2013.

Jan 1, 2013
    • Newcomer

    Kartoffel7 New Member

    Member Since:
    Jul 19, 2007
    Message Count:
    3
    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.


    • Member

    Thomas83Lin Retro Gamer

    Member Since:
    Jul 22, 2009
    Message Count:
    1,232
    Country:
    United States
    Sorry to bump a old thread but I'm also in the hunt for a compiled version.
    Last edited by Thomas83Lin, Jul 3, 2013
    • Newcomer

    Magnus87 New Member

    Member Since:
    Apr 28, 2013
    Message Count:
    83
    Country:
    Argentina
    Would be nice if someone taken up again the project Atari 2600 Emulator for Wii
    • Newcomer

    sabandellos New Member

    Member Since:
    May 28, 2010
    Message Count:
    81
    Country:
    Spain
    • Member

    OriginalHamster New Member

    Member Since:
    Nov 2, 2008
    Message Count:
    1,886
    Country:
    Chile
    • Member

    Arm73 New Member

    Member Since:
    Mar 4, 2006
    Message Count:
    2,019
    Location:
    Zurich
    Country:
    Italy
    • Member

    Hielkenator New Member

    Member Since:
    Feb 7, 2010
    Message Count:
    3,963
    Country:
    Netherlands
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    I'll go and *try* to compile it myself, though I can't make any improvements to emulation accuracy.
    • Newcomer

    sabandellos New Member

    Member Since:
    May 28, 2010
    Message Count:
    81
    Country:
    Spain
    Perfecto!. Con eso sera suficiente. Graciaaaas!!!!!

    TRANSLATION: Perfect. That is enough. Thanks a lot!!!
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    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)
    sabandellos and Thomas83Lin like this.
    • Member

    Thomas83Lin Retro Gamer

    Member Since:
    Jul 22, 2009
    Message Count:
    1,232
    Country:
    United States
    I haven't had a chance to test, but thanks alot!!

    Edit: I'm getting a code dump, both on (vwii) and a standard wii. any ideas?
    Last edited by Thomas83Lin, Jul 12, 2013
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    Could you please post an screenshot?
    • Member

    Thomas83Lin Retro Gamer

    Member Since:
    Jul 22, 2009
    Message Count:
    1,232
    Country:
    United States
    Sure, here you go.
    WARNING! Spoilers inside!


    edit: Its happens as soon as I load the Emu from HBC.
    Last edited by Thomas83Lin, Jul 12, 2013
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    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.
    • Member

    Wiimpathy New Member

    Member Since:
    Mar 3, 2010
    Message Count:
    347
    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.
    • Member

    Coto Challenge Taken.

    Member Since:
    Jun 4, 2010
    Message Count:
    2,081
    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
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    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).
    Last edited by DarkMatterCore, Jul 13, 2013
    sabandellos and Thomas83Lin like this.
    • Member

    Thomas83Lin Retro Gamer

    Member Since:
    Jul 22, 2009
    Message Count:
    1,232
    Country:
    United States
    Thanks its working great now. No Issues
    • Member

    OriginalHamster New Member

    Member Since:
    Nov 2, 2008
    Message Count:
    1,886
    Country:
    Chile
    Thanks for your work DMC, I wonder if you can do the same for wii7800 :grog:
    • Member

    DarkMatterCore I like turtles.

    Member Since:
    May 30, 2009
    Message Count:
    725
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    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.
    Last edited by DarkMatterCore, Jul 14, 2013

SPONSORED LINKS
 

Share This Page