A question about homebrew

Discussion in 'NDS - Emulation and Homebrew' started by GreatZimkogway, Sep 6, 2009.

  1. GreatZimkogway
    OP

    GreatZimkogway Still a Touhou Fanatic

    Member
    2,140
    172
    Jul 21, 2009
    United States
    Senkai
    For the homebrew programs that need to be on the root of the MicroSD card, is it possible to sort of "trick" them into being able to work while in a folder? It gets irritating when I have to have all that stuff on the main folder of the card...
     
  2. tj_cool

    tj_cool Site dev

    Supervisor
    9,989
    -1
    Jan 7, 2009
    Belgium
    This planet
    can you give examples of such apps?

    edit: haven't seen a way to do it
     
  3. Primenay13

    Primenay13 GBAtemp Regular

    Member
    265
    2
    May 17, 2009
    United States
    Indiana

    No not unless the app or game has the option to do so.
     
  4. GreatZimkogway
    OP

    GreatZimkogway Still a Touhou Fanatic

    Member
    2,140
    172
    Jul 21, 2009
    United States
    Senkai
    My best example is Moonshell2's .nds startup file. It never works unless it's on the root of the MicroSD. And my OCD just don't like that. (I'm a major folder whore)(
     
  5. spinal_cord

    spinal_cord Knows his stuff

    Member
    3,010
    580
    Jul 21, 2007
    somewhere
    the .nds file can usually load from anywhere on the card. However any dependencies it has, such as a folder full of resources must go in a specific place (usually the root).
     
  6. setya5785

    setya5785 GBAtemp Regular

    Member
    154
    1
    Jan 11, 2008
    Indonesia
     
  7. Burnedmagix

    Burnedmagix GBAtemp Regular

    Member
    213
    0
    Apr 18, 2009
    United States
     
  8. DanTheManMS

    DanTheManMS aka Ricochet Otter

    Member
    4,330
    107
    Jun 2, 2007
    United States
    Georgia
    Unfortunately, this must be done when compiling the program. There's no way to modify the .nds file after the fact to allow it to look elsewhere for the data files it expects.

    A while back, some homebrew used to implement the "DATA" folder convention for exactly this reason. For instance, with DSOrganize, the "DSOrganize" folder can either be located on the root of your card or in "(root)\DATA\DSOrganize". Other homebrew supports this as well, such as DSFTP, AmplituDS, ReadMore, DS DOOM, etc. The "Colors!" application will treat whichever folder "colors.nds" is in as the root folder, so you just have to make sure that both the .nds file and the folder are paired together anywhere on your card. SNEmulDS allows you to modify the "snemul.cfg" file to specify where roms should go, rather than the default SNES folder on the root.

    Most applications don't bother supporting alternative paths like that, but it's nice for the ones that do.