NDS Music Player

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

Aug 31, 2011

NDS Music Player by KazoWAR at 2:24 PM (18,577 Views / 1 Likes) 197 replies

  1. KazoWAR

    Member KazoWAR GBAtemp Advanced Maniac

    Joined:
    Aug 12, 2008
    Messages:
    1,518
    Location:
    Winter Haven
    Country:
    United States
    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

    Member DarkStriker GBAtemp's Kpop lover!

    Joined:
    Mar 15, 2009
    Messages:
    1,957
    Location:
    NIKU!
    Country:
    Norway
    So it plays music that is inside the ROM? Does it support GBA games?
     
  3. KazoWAR

    Member KazoWAR GBAtemp Advanced Maniac

    Joined:
    Aug 12, 2008
    Messages:
    1,518
    Location:
    Winter Haven
    Country:
    United States
    No, is does not work with GBA since i don't think it uses SSEQ.
     
  4. Fishaman P

    Member Fishaman P Speedrunner

    Joined:
    Jan 2, 2010
    Messages:
    3,017
    Location:
    Wisconsin
    Country:
    United States
    OHMYGOD YESZ!!

    EDIT: Filetrip links coming soon?
     
  5. DarkStriker

    Member DarkStriker GBAtemp's Kpop lover!

    Joined:
    Mar 15, 2009
    Messages:
    1,957
    Location:
    NIKU!
    Country:
    Norway
    Is it possible to add GB/GBC/GBA support [​IMG]? Would love to play some classic songs.
     
  6. Fishaman P

    Member Fishaman P Speedrunner

    Joined:
    Jan 2, 2010
    Messages:
    3,017
    Location:
    Wisconsin
    Country:
    United States
    A) Use other programs for that

    B) Get the songs online

    C) You add it.
     
  7. avenir

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    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. Team Fail

    Member Team Fail Don't screw with me, kid.

    Joined:
    Sep 1, 2010
    Messages:
    4,190
    Location:
    ( ͡° ͜ʖ ͡°)
    Country:
    Canada
    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

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    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. Team Fail

    Member Team Fail Don't screw with me, kid.

    Joined:
    Sep 1, 2010
    Messages:
    4,190
    Location:
    ( ͡° ͜ʖ ͡°)
    Country:
    Canada
    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

    Member DarkStriker GBAtemp's Kpop lover!

    Joined:
    Mar 15, 2009
    Messages:
    1,957
    Location:
    NIKU!
    Country:
    Norway
    or
    D) Hope it will be made working with this one.
     
    1 person likes this.
  12. Fishaman P

    Member Fishaman P Speedrunner

    Joined:
    Jan 2, 2010
    Messages:
    3,017
    Location:
    Wisconsin
    Country:
    United States
    This isn't a generic music player. This is specifically SSEQ.

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

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    United States
    indeed good idea. now we need full src ^^
     
  14. KazoWAR

    Member KazoWAR GBAtemp Advanced Maniac

    Joined:
    Aug 12, 2008
    Messages:
    1,518
    Location:
    Winter Haven
    Country:
    United States
    oh darn i forgot to add that to the filebrowser, ill make sure to get it in soon.
     
  15. Team Fail

    Member Team Fail Don't screw with me, kid.

    Joined:
    Sep 1, 2010
    Messages:
    4,190
    Location:
    ( ͡° ͜ʖ ͡°)
    Country:
    Canada
    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

    Member dicamarques Definitely not Bruce Wayne.

    Joined:
    Jun 25, 2010
    Messages:
    1,001
    Location:
    Your computer's Recycle Bin
    Country:
    Portugal
    Nice, going to test it...... NOW
     
  17. KazoWAR

    Member KazoWAR GBAtemp Advanced Maniac

    Joined:
    Aug 12, 2008
    Messages:
    1,518
    Location:
    Winter Haven
    Country:
    United States
    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

    Member avenir GBAtemp Fan

    Joined:
    Dec 8, 2010
    Messages:
    375
    Country:
    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. Team Fail

    Member Team Fail Don't screw with me, kid.

    Joined:
    Sep 1, 2010
    Messages:
    4,190
    Location:
    ( ͡° ͜ʖ ͡°)
    Country:
    Canada
    That will work. [​IMG]

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

    Member Ron It Begins

    Joined:
    Dec 10, 2009
    Messages:
    2,823
    Location:
    Ron.getLocation();
    Country:
    Canada
    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.
     

Share This Page