Integrating SNEmulDS to Moonshell 2 + YSMenu

Discussion in 'NDS - Emulation and Homebrew' started by Ben_j, Oct 21, 2009.

Oct 21, 2009
  1. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    Is it possible to integrate an emulator to Moonshell so that when you open an snes rom in Moonshell, it opens it with the emulator ? Instead of having to launch the emulator then search the rom, etc...
     
  2. Keeley

    Member Keeley GBAtemp Fan

    Joined:
    Nov 15, 2008
    Messages:
    421
    Location:
    Saskachewan
    Country:
    Canada
    What I did was but the emulator into the extlink and renamed it to smc.SNEmulDS.nds
     
  3. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    And it worked good ? Does it work with any emulator ? like renaming lameboy in gb.lameboy.nds ?

    I'll try this [​IMG] Thanks

    EDIT : I just tried, it doesn't work, it just opens SNEmulDS but does not load the rom. Is there a modified SNEmulDS that loads directly the rom with Moonshell ?

    Also, if someone knows about what emulators have been modified to work with Moonshell 2 extlink...

    Anyway, Moonshell 2 is really great ! Lots of great features.
     
  4. phoenixclaws

    Member phoenixclaws GBAtemp Fan

    Joined:
    Oct 10, 2007
    Messages:
    492
    Location:
    USA
    Country:
    United States
    A direct launching system I believe would have to coded into the emulator for that to work. I still think the emulation on the DS is unfortunately impractical in a lot of ways due to the constraints of the 4 mb memory and the slow processors. I wish it were not so but that's how it is with an underpowered system.
     
  5. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    Still, some games work good ! And yes you have to add something to the code but I think it's not hard. And since the sources to SNEmulDS are available, it should come soon.
     
  6. Keeley

    Member Keeley GBAtemp Fan

    Joined:
    Nov 15, 2008
    Messages:
    421
    Location:
    Saskachewan
    Country:
    Canada
    Oh sorry about that I just thought you didn't to boot up SNEmulDS directly
     
  7. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    did you forgot a word ?
     
  8. fearofshorts

    Member fearofshorts GBAtemp Fan

    Joined:
    Jul 12, 2009
    Messages:
    479
    Location:
    Melbourne
    Country:
    Australia
    He accidentally the whole sentence!
     
  9. fearofshorts

    Member fearofshorts GBAtemp Fan

    Joined:
    Jul 12, 2009
    Messages:
    479
    Location:
    Melbourne
    Country:
    Australia
    But seriously, extlink plugins function by telling the homebrew what to load. I'm not sure how the nesds or neogeo ones do it, but the ysmenu extlink plugin simply modifies the ysmenu ini to auto-boot the particular .nds file.
    I think that we need an expert here...
     
  10. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    With the sources, I don't think it would be too much work to do. Moonlight did the modification himself to an old version of nester because that's the only sources he could find, and I think he didn't manage to compile nesDS.
     
  11. Ben_j
    OP

    Member Ben_j GBAtemp Advanced Fan

    Joined:
    Nov 13, 2005
    Messages:
    696
    Country:
    France
    Ok, now that I can compile, I can start working on it.

    First, I did a small program to check : the filename is not passed through argc/argv. So it's not gonna be that simple after all. I hope a documentation for the extlink .h file will be released soon.

    EDIT :
    When a file handled by an extlink app is opened in moonshell, its path is saved in extlink.dat.
     

Share This Page