FCEUGC - Adding "stereo" to the emulator

Discussion in 'Wii - Emulation and Homebrew' started by the_randomizer, Jun 3, 2011.

Jun 3, 2011
  1. the_randomizer
    OP

    Member the_randomizer The Temp's official fox whisperer

    Joined:
    Apr 29, 2011
    Messages:
    17,353
    Location:
    Unknown
    Country:
    United States
    Before you tell me to go to the google code page, please hear me out. As one can see in this thread http://forums.ngemu.com/misc-console-discu...1-41-audio.html "Stereo" was added to nestopia, making it sound better in my opinion. My question is, with the Wii/Gamecube port of Fceu Ultra, how would one go about doing the same thing to the source code, that is, separating the square, sawtooth, triangle, etc channels? Is it something that is nearly impossible to alter or code for? If it is simple, what would I use to edit the source code and compile it? And yes, I asked the person who maintains it (a guy named "dborth") and he said "you could add it yourself". Well, seeing as I have very little programming experience, I asked him how I could get started, and he didn't answer me back. Would it be a daunting task to do so? Source code - http://code.google.com/p/fceugc/source/checkout In fact, here's a video demonstrating this fake stereo - Contra: Level One
     
  2. obcd

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    If you have never written any code before, it will be a serious challenge to change things like that.

    First of all you will need understanding of C and C++ programming.

    You can download the devkitpro installer to get a programming environment for the Wii. It will download the tools and libraries needed to compile the program.

    The first challenge is getting the original sources compiled. Usually they only compile and link properly if you use the same library revisions as the originals used to compile the program. Usually in the beginning you will also need to download some additional libraries used by the program.

    Trying out such things can be real helpfull to understand that programs don't automagically create themselves from thin air.
    It takes hours, days, weeks to put these pieces of code together and get them running properly. For that reason, creators sometimes become tired of answering questions about new features. After a period of time working on a project, you need a break to enjoy from the work you have done.

    Don't understand me wrong, we all started programming one day, but it takes time to become experienced.
    The wii is not exactly the most easy platform to start programming for.

    The questions I have answered so far should be enough to keep you busy for the next couple months.. You get the idea?

    Enjoy it, and don't give up to fast. However, don't expect people to be willing to answer any question that might arise.
    Google is always your first source to ask questions.
    Once you start working on things, it's fun. For some of us even more than actually playing the games.
     
  3. the_randomizer
    OP

    Member the_randomizer The Temp's official fox whisperer

    Joined:
    Apr 29, 2011
    Messages:
    17,353
    Location:
    Unknown
    Country:
    United States
    I have used DevkitPro for compiling unofficial versions of emulators via Tortoise SVN, which while it was tricky at first, I finally got the hang of it. After getting the SVN, I used Programmers Notepad and made it from there, so I at least know what DevkitPro is in addition the Wii/Gamecube environment. What file would need editing, i.e. what string(s) of code would allow one to change the output of the channels? Just how difficult is it? I would think that changing how the channels are outputted wouldn't be excruciatingly difficult.
     
  4. obcd

    Member obcd GBAtemp Advanced Maniac

    Joined:
    Apr 5, 2011
    Messages:
    1,594
    Country:
    Belgium
    This really looked like a total noob question...Upon which I based my answer. My excuses if I misinterpreted this.

    It's been a while that I haven't looked at that codebase. The only thing I remember is that it needs an svn version of the libogc.
    Especially the way a dvd is mounted has changed. The functions now have additional parameters.
    I never had to dig into it's sound code, so I can't help you with that specific part.
     
  5. StupidGamer1

    Member StupidGamer1 GBAtemp Regular

    Joined:
    Jun 30, 2010
    Messages:
    179
    Country:
    United States
    Nester DC-SE on the dreamcast had emulated stereo using winamps NotSoFatSo NSF plugin and it's amazing! I would love to see an emulator like that come to wii but I don't think it will. That was an amazing emulator. Scherzo (the author)and I used to talk on AIM alot during it's progressing and was happy to be a tester as I am a NES-fanatic and always will be.
     
  6. cloudskipa

    Newcomer cloudskipa Advanced Member

    Joined:
    Feb 21, 2010
    Messages:
    87
    Location:
    UK
    Country:
    United Kingdom
    NesterDC SE is good, but stereo sound is not authentic to the NES and it also didn't support native 240p resolution either which is pretty important for me. So I personally regard FCE-U GX to be the superior emulator. Since the last update the sound is nigh on perfect now though I wouldn't mind seeing an option for stereo sound.

    I'd also like to see the Sprite Limit option working too :P
     
  7. the_randomizer
    OP

    Member the_randomizer The Temp's official fox whisperer

    Joined:
    Apr 29, 2011
    Messages:
    17,353
    Location:
    Unknown
    Country:
    United States
    I have an unofficial version of Nestopia that has stereo (albeit separated channels). But this still doesn't answer my question. Yes, I know I need to know some programming, but what needs to be done to add this feature.
     
  8. Weebz

    Newcomer Weebz Member

    Joined:
    May 3, 2010
    Messages:
    13
    Country:
    United States
    Oy... friggin' purists. 2xSAI isn't "authentic" either, but damn is it ever nice to have...
    I always find myself being saddened every time I go from listening to an NSF in NotsoFatso on Winamp
    and then going and playing the rom in NNNesterJ (0.23, yeah I know it's old but it's the only NES emu I've ever liked.)
    I wish I could get in touch with this Scherzo guy and see if he wouldn't be able to make a new Nester for PC that would
    have all the same features as good ole' NNNesterJ but with that awesome NotsoFatso sound plugin added.
     

Share This Page