Wii2600 + RVL-CNT-01-TR compatibilty

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

  1. Kartoffel7
    OP

    Kartoffel7 Newbie

    Newcomer
    5
    1
    Jul 19, 2007
    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.
     


  2. Thomas83Lin

    Thomas83Lin Retro Gamer

    Member
    1,545
    419
    Jul 22, 2009
    United States
    Sorry to bump a old thread but I'm also in the hunt for a compiled version.
     
  3. Magnus87

    Magnus87 GBAtemp Regular

    Member
    211
    80
    Apr 28, 2013
    Argentina
    Would be nice if someone taken up again the project Atari 2600 Emulator for Wii
     
  4. sabandellos

    sabandellos Advanced Member

    Newcomer
    89
    11
    May 28, 2010
    +1
     
  5. OriginalHamster

    OriginalHamster UStealthy

    Member
    3,381
    641
    Nov 2, 2008
    Cote d'Ivoire
    +1
     
  6. Arm73

    Arm73 GBAtemp Addict

    Member
    2,042
    224
    Mar 4, 2006
    Italy
    Switzerland
    +1
     
  7. Hielkenator

    Hielkenator GBAtemp Psycho!

    Member
    4,219
    385
    Feb 7, 2010
    Netherlands
    +5
     
  8. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela.
    I'll go and *try* to compile it myself, though I can't make any improvements to emulation accuracy.
     
  9. sabandellos

    sabandellos Advanced Member

    Newcomer
    89
    11
    May 28, 2010
    Perfecto!. Con eso sera suficiente. Graciaaaas!!!!!

    TRANSLATION: Perfect. That is enough. Thanks a lot!!!
     
  10. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, 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.
  11. Thomas83Lin

    Thomas83Lin Retro Gamer

    Member
    1,545
    419
    Jul 22, 2009
    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?
     
  12. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, Venezuela.
    Could you please post an screenshot?
     
  13. Thomas83Lin

    Thomas83Lin Retro Gamer

    Member
    1,545
    419
    Jul 22, 2009
    United States
    Sure, here you go.
    Warning: Spoilers inside!

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

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, 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.
     
  15. Wiimpathy

    Wiimpathy GBAtemp Fan

    Member
    416
    306
    Mar 3, 2010
    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.
     
  16. Coto

    Coto GBAtemp Addict

    Member
    2,338
    391
    Jun 4, 2010
    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
     
  17. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, 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).
     
    sabandellos and Thomas83Lin like this.
  18. Thomas83Lin

    Thomas83Lin Retro Gamer

    Member
    1,545
    419
    Jul 22, 2009
    United States
    Thanks its working great now. No Issues
     
  19. OriginalHamster

    OriginalHamster UStealthy

    Member
    3,381
    641
    Nov 2, 2008
    Cote d'Ivoire
    Thanks for your work DMC, I wonder if you can do the same for wii7800 :grog:
     
  20. DarkMatterCore

    DarkMatterCore I like turtles.

    Member
    889
    197
    May 30, 2009
    Venezuela
    Cabimas, Zulia, 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.