NDS Music Player

Discussion in 'NDS - Emulation and Homebrew' started by KazoWAR, Aug 31, 2011.

  1. KazoWAR
    OP

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    old post
    Warning: Spoilers inside!


    NDS Music Player is a hombrew that uses fincs' SSEQ Player to play SSEQ music off of ROMs on your SD card. You need to run SPSMaker on your computer to generate a SPS file for each game. The SPS files contain info for the game's SDAT files to make loading the music way faster than reading the sdat data directly from the ROM.

    Special thanks to caitsith2 and avenir for helping me out.

    Download: https://github.com/CaitSith2/SSEQPlayer/raw.../SSEQPlayer.rar
    Source: https://github.com/CaitSith2/SSEQPlayer

    changelog
    Warning: Spoilers inside!

    video
    Warning: Spoilers inside!
     
    Coto likes this.
  2. DarkStriker

    DarkStriker GBAtemp's Kpop lover!

    Member
    1,959
    311
    Mar 15, 2009
    Norway
    NIKU!
    So it plays music that is inside the ROM? Does it support GBA games?
     
  3. KazoWAR
    OP

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    No, is does not work with GBA since i don't think it uses SSEQ.
     
  4. Fishaman P

    Fishaman P Speedrunner

    Member
    3,243
    507
    Jan 2, 2010
    United States
    Wisconsin
    OHMYGOD YESZ!!

    EDIT: Filetrip links coming soon?
     
  5. DarkStriker

    DarkStriker GBAtemp's Kpop lover!

    Member
    1,959
    311
    Mar 15, 2009
    Norway
    NIKU!
    Is it possible to add GB/GBC/GBA support [​IMG]? Would love to play some classic songs.
     
  6. Fishaman P

    Fishaman P Speedrunner

    Member
    3,243
    507
    Jan 2, 2010
    United States
    Wisconsin
    A) Use other programs for that

    B) Get the songs online

    C) You add it.
     
  7. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    I know there are several methods to extract .gsf from .gba but playing NDS music was really hard thing...
    VGMTrans can lip sseq+sdat to RIFF MIDI, but it is very unstable (too many segmentation fault)...

    So this software is really great. Must have!
     
  8. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    OMG I MUST ADD THIS TO MY FLASHCARD. It's a portable version of VGMTrans! And less buggy! Thank you so much! -Must be front page'd-
     
  9. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    argh... file browser is buggy. paging isn't working.

    can you show the file browser code? then I'll see if I can fix.
     
  10. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    You mind if I suggest something as well? I notice it takes a long time to find the SDAT. A good idea is that when it find it, it records the offset to an XML file so it won't take as long the second time around.
     
  11. DarkStriker

    DarkStriker GBAtemp's Kpop lover!

    Member
    1,959
    311
    Mar 15, 2009
    Norway
    NIKU!
    or
    D) Hope it will be made working with this one.
     
    1 person likes this.
  12. Fishaman P

    Fishaman P Speedrunner

    Member
    3,243
    507
    Jan 2, 2010
    United States
    Wisconsin
    This isn't a generic music player. This is specifically SSEQ.

    That's like asking Windows to support .app.
     
  13. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    indeed good idea. now we need full src ^^
     
  14. KazoWAR
    OP

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    oh darn i forgot to add that to the filebrowser, ill make sure to get it in soon.
     
  15. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    You were saying that the file browser is buggy? I'd like to say I found a fatal bug. I can't load the .sdat of any files if they are in a folder. They only load properly if I am on the root. I'm running on an AceKard 2i if it matters.

    Also, oddly, it can't find my Pokemon Black rom. :\
     
  16. dicamarques

    dicamarques Definitely not Bruce Wayne.

    Member
    1,020
    179
    Jun 25, 2010
    Portugal
    Your computer's Recycle Bin
    Nice, going to test it...... NOW
     
  17. KazoWAR
    OP

    KazoWAR GBAtemp Advanced Maniac

    Member
    1,801
    685
    Aug 12, 2008
    United States
    Winter Haven
    I think I am going to use Team Fail's idea but instead make a PC tool that will scan all the NDS files and make a shortcut type file for each ROM that contains the list of all SSEQ files on the ROM and the offsets for the SSEQ, BANK, and SWARs for each SSEQ. you would still be able to use the original opening a NDS file function, but and added open shortcut function should make it a lot faster, until the open NDS functions are a lot faster and stable.
     
  18. avenir

    avenir GBAtemp Fan

    Member
    375
    13
    Dec 8, 2010
    United States
    Seems I have done 70% of another implementation before you open the source code...
    But perhaps mine will be implemented as extlink (no NDS browser) so you might go a little forward...

    [edit]
    As there are no implementations for sdat, my parseSDAT() is original. (nds-sdat is GPL lol)
    sound_data.sdat resolver is provided by loveemu's google code(MIT).
     
  19. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    That will work. [​IMG]

    But, I still have some issues with the file browsing.
     
  20. Ron

    Ron somehow a weeb now.

    Member
    2,840
    388
    Dec 10, 2009
    Canada
    here
    Gonna try it now, it looks pretty awesome.

    EDIT: The file browser is buggy, and it can't read all the folders on my MSD, including the one with my roms in it.