Integrating SNEmulDS to Moonshell 2 + YSMenu

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

  1. Ben_j
    OP

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    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

    Keeley GBAtemp Fan

    Member
    421
    0
    Nov 15, 2008
    Canada
    Saskachewan
    What I did was but the emulator into the extlink and renamed it to smc.SNEmulDS.nds
     
  3. Ben_j
    OP

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    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

    phoenixclaws GBAtemp Fan

    Member
    492
    2
    Oct 10, 2007
    United States
    USA
    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

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    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

    Keeley GBAtemp Fan

    Member
    421
    0
    Nov 15, 2008
    Canada
    Saskachewan
    Oh sorry about that I just thought you didn't to boot up SNEmulDS directly
     
  7. Ben_j
    OP

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    France
    did you forgot a word ?
     
  8. fearofshorts

    fearofshorts GBAtemp Fan

    Member
    479
    1
    Jul 12, 2009
    Melbourne
    He accidentally the whole sentence!
     
  9. fearofshorts

    fearofshorts GBAtemp Fan

    Member
    479
    1
    Jul 12, 2009
    Melbourne
    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

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    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

    Ben_j GBAtemp Advanced Fan

    Member
    696
    13
    Nov 13, 2005
    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.