Wii2600 + RVL-CNT-01-TR compatibilty

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

Jan 1, 2013
  1. Kartoffel7

    Newcomer Kartoffel7 Newbie

    Joined:
    Jul 19, 2007
    Messages:
    5
    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.
     


  2. Thomas83Lin

    Member Thomas83Lin Retro Gamer

    Joined:
    Jul 22, 2009
    Messages:
    1,283
    Country:
    United States
    Sorry to bump a old thread but I'm also in the hunt for a compiled version.
     
  3. Magnus87

    Member Magnus87 GBAtemp Regular

    Joined:
    Apr 28, 2013
    Messages:
    115
    Country:
    Argentina
    Would be nice if someone taken up again the project Atari 2600 Emulator for Wii
     
  4. sabandellos

    Newcomer sabandellos Advanced Member

    Joined:
    May 28, 2010
    Messages:
    81
    Country:
    Spain
  5. OriginalHamster

    Member OriginalHamster UStealthy

    Joined:
    Nov 2, 2008
    Messages:
    2,499
    Country:
    Chile
  6. Arm73

    Member Arm73 GBAtemp Addict

    Joined:
    Mar 4, 2006
    Messages:
    2,020
    Location:
    Zurich
    Country:
    Italy
  7. Hielkenator

    Member Hielkenator GBAtemp Psycho!

    Joined:
    Feb 7, 2010
    Messages:
    4,055
    Country:
    Netherlands
  8. DarkMatterCore

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    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.
     
  9. sabandellos

    Newcomer sabandellos Advanced Member

    Joined:
    May 28, 2010
    Messages:
    81
    Country:
    Spain
    Perfecto!. Con eso sera suficiente. Graciaaaas!!!!!

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

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    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.
  11. Thomas83Lin

    Member Thomas83Lin Retro Gamer

    Joined:
    Jul 22, 2009
    Messages:
    1,283
    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?
     
  12. DarkMatterCore

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    Location:
    Cabimas, Zulia, Venezuela.
    Country:
    Venezuela
    Could you please post an screenshot?
     
  13. Thomas83Lin

    Member Thomas83Lin Retro Gamer

    Joined:
    Jul 22, 2009
    Messages:
    1,283
    Country:
    United States
    Sure, here you go.
    Warning: Spoilers inside!

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

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    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.
     
  15. Wiimpathy

    Member Wiimpathy GBAtemp Fan

    Joined:
    Mar 3, 2010
    Messages:
    360
    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.
     
  16. Coto

    Member Coto Octal Taken.

    Joined:
    Jun 4, 2010
    Messages:
    2,132
    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
     
  17. DarkMatterCore

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    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).
     
    sabandellos and Thomas83Lin like this.
  18. Thomas83Lin

    Member Thomas83Lin Retro Gamer

    Joined:
    Jul 22, 2009
    Messages:
    1,283
    Country:
    United States
    Thanks its working great now. No Issues
     
  19. OriginalHamster

    Member OriginalHamster UStealthy

    Joined:
    Nov 2, 2008
    Messages:
    2,499
    Country:
    Chile
    Thanks for your work DMC, I wonder if you can do the same for wii7800 :grog:
     
  20. DarkMatterCore

    Member DarkMatterCore I like turtles.

    Joined:
    May 30, 2009
    Messages:
    821
    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.
     

Share This Page