Jump to content


  • Please log in to reply

NDS Music Player

(Go to first unread post)
Prof. 9 Post #46 Posted 05 September 2011 - 06:13 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 212
  • Member No.: 128,772
  • Joined: 17-June 08
  • Location: The Netherlands

  •  

This is very nice, I've been wanting something like this for a while.

Some issues I ran into:
- When playing a new BGM, some tracks of the old one don't stop playing until they're overwritten by the new BGM's, so the start of the new BGM sounds ugly.
- In fact, there is no way at all to stop playing something.
- Some BGMs crash at Loading WAVEARC1, the last step. One BGM that does this consistently is the very first SSEQ in The Legend of Zelda: Spirit Tracks.
- SPS Maker crashed on Professor Layton and the Unwound Future for me.
- My Pokémon Ranger 3 ROM had an "é" character in it, this caused an error when trying to load it in NDS Music Player (it showed up as Pok?mon).

EDIT: - Pressing Left/Right to navigate the file list lets me scroll right past the last entry and into black space (this doesn't crash the homebrew, though).

EDIT2: - Sonic Colours produces 10 SPSs, though they all work more or less, in SONICCOLORS 2.sps the main instrument in 2act1, 2act2, 6act1 and 6act2 fail to play.

Edited by Prof. 9, 05 September 2011 - 06:34 PM.



KazoWAR Post #47 Posted 05 September 2011 - 09:49 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 783
  • Member No.: 133,086
  • Joined: 12-August 08
  • Location: Eloise

  •  

QUOTE(Prof. 9 @ Sep 5 2011, 01:13 PM) <{POST_SNAPBACK}>
This is very nice, I've been wanting something like this for a while.

Some issues I ran into:
- When playing a new BGM, some tracks of the old one don't stop playing until they're overwritten by the new BGM's, so the start of the new BGM sounds ugly.
- In fact, there is no way at all to stop playing something.
- Some BGMs crash at Loading WAVEARC1, the last step. One BGM that does this consistently is the very first SSEQ in The Legend of Zelda: Spirit Tracks.
- SPS Maker crashed on Professor Layton and the Unwound Future for me.
- My Pokémon Ranger 3 ROM had an "é" character in it, this caused an error when trying to load it in NDS Music Player (it showed up as Pok?mon).

EDIT: - Pressing Left/Right to navigate the file list lets me scroll right past the last entry and into black space (this doesn't crash the homebrew, though).

EDIT2: - Sonic Colours produces 10 SPSs, though they all work more or less, in SONICCOLORS 2.sps the main instrument in 2act1, 2act2, 6act1 and 6act2 fail to play.


thanks for the info, ill look in to it.



Villermen Post #48 Posted 06 September 2011 - 03:25 PM

    Newbie


  • Group: Newcomers
  • Posts: 4
  • Member No.: 263,664
  • Joined: 28-September 10

  •  

Really sir, I owe you.

There's just 2 little things I encountered:
1: Sometimes when I load a sequence while playing another one, it halts at something with wavearc.
2: Theres no é's allowed for games, (like pokémon) it displays that it can't find the file.

Gr.Villermen


Dirbaio Post #49 Posted 06 September 2011 - 05:37 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 112
  • Member No.: 263,485
  • Joined: 26-September 10
  • Location: Spain

  •  

Great work, man =D
Most musics play awesome, some don't work.

You should improve the way you find the SDAT, though. It's too slow, and it doesn't detect multiple SDAT files (For example I can only play music from the minigames in the NSMB ROM because their SDAT is first in the ROM).

You could use this code from NSMB Editor DS to read the Nitro Filesystem. Or implement your own.

(Please note that my code is licensed under the GPL)


avenir Post #50 Posted 06 September 2011 - 06:35 PM

    GBAtemp Fan

  • PipPipPipPip

  • Group: Members
  • Posts: 305
  • Member No.: 269,403
  • Joined: 08-December 10

  •  

QUOTE(Dirbaio @ Sep 7 2011, 01:37 AM) <{POST_SNAPBACK}>
(Please note that my code is licensed under the GPL)

lol http://loveemu.googlecode.com/svn/trunk/ni...nds/nitrofs.cpp is definitely better as it is licensed under MIT license...

BTW, I see SDATCount variable in form1.cs.

Edited by avenir, 06 September 2011 - 06:44 PM.


KazoWAR Post #51 Posted 06 September 2011 - 09:29 PM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 783
  • Member No.: 133,086
  • Joined: 12-August 08
  • Location: Eloise

  •  

QUOTE(Dirbaio @ Sep 6 2011, 12:37 PM) <{POST_SNAPBACK}>
Great work, man =D
Most musics play awesome, some don't work.

You should improve the way you find the SDAT, though. It's too slow, and it doesn't detect multiple SDAT files (For example I can only play music from the minigames in the NSMB ROM because their SDAT is first in the ROM).

You could use this code from NSMB Editor DS to read the Nitro Filesystem. Or implement your own.

(Please note that my code is licensed under the GPL)


I think you used the old version, look for v1.0 link near end of original post.


caitsith2 Post #52 Posted 07 September 2011 - 12:35 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 162
  • Member No.: 19,974
  • Joined: 16-January 04

  •  

***EDIT 1***
Worked out stopping the sequence. Push X to stop sequence altogether. Also now properly free the sequence when a new sequence is played, so no more out of memory crashes, unless the seq+bnk+war is > 3.75MB or so. (limit of ram in DS).

http://dl.dropbox.com/u/20737085/NDS_Music_Player_1.0.rar

KazoWar: Feel free to base future code off of this version, or merge in the changes to your code base.

***EDIT 2***
Loop start/end implemented. Some sequences just stopped suddenly without it.

Edited by caitsith2, 07 September 2011 - 02:22 AM.


KazoWAR Post #53 Posted 07 September 2011 - 02:52 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 783
  • Member No.: 133,086
  • Joined: 12-August 08
  • Location: Eloise

  •  

Thanks a million caitsith2. smile.gif


caitsith2 Post #54 Posted 07 September 2011 - 01:02 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 162
  • Member No.: 19,974
  • Joined: 16-January 04

  •  

Started looking a little further into this SEQ player. As a result, less tracks now sound like crap, because per SEQ channel ADSR settings are now supported. (You will notice this quite a bit in FF4, along with a few other games.) Also hit an instance where the master volume was set to 0, and of course, the player does NOT reset it back to default on new track start. Fixed (Noticed this with Final Fantasy Fables: Chocobo Tales). Also, loop is actually implemented correctly now. (caused a few tracks to never start playing.) (Noticed this with FF4).

http://dl.dropbox.com/u/20737085/NDS_Music_Player_1.0b.rar


Dirbaio Post #55 Posted 07 September 2011 - 06:49 PM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 112
  • Member No.: 263,485
  • Joined: 26-September 10
  • Location: Spain

  •  

QUOTE(KazoWAR @ Sep 6 2011, 10:29 PM) <{POST_SNAPBACK}>
QUOTE(Dirbaio @ Sep 6 2011, 12:37 PM) <{POST_SNAPBACK}>
Great work, man =D
Most musics play awesome, some don't work.

You should improve the way you find the SDAT, though. It's too slow, and it doesn't detect multiple SDAT files (For example I can only play music from the minigames in the NSMB ROM because their SDAT is first in the ROM).

You could use this code from NSMB Editor DS to read the Nitro Filesystem. Or implement your own.

(Please note that my code is licensed under the GPL)


I think you used the old version, look for v1.0 link near end of original post.


Yes, you're right, sorry tongue.gif
I see now the multiple SDAT issue is fixed. Cool smile.gif

Still, I see now the thing itself is not standalone. Could you make it standalone again as in the first version? biggrin.gif If not, it kind of looses the point of being a DS app...


Team Fail Post #56 Posted 07 September 2011 - 11:24 PM

    It's like polo. With Chainsaws.


  • Group: Members
  • Posts: 1,410
  • Member No.: 261,213
  • Joined: 01-September 10

  •  

QUOTE(caitsith2 @ Sep 7 2011, 06:02 AM) <{POST_SNAPBACK}>
Started looking a little further into this SEQ player. As a result, less tracks now sound like crap, because per SEQ channel ADSR settings are now supported. (You will notice this quite a bit in FF4, along with a few other games.) Also hit an instance where the master volume was set to 0, and of course, the player does NOT reset it back to default on new track start. Fixed (Noticed this with Final Fantasy Fables: Chocobo Tales). Also, loop is actually implemented correctly now. (caused a few tracks to never start playing.) (Noticed this with FF4).

http://dl.dropbox.com/u/20737085/NDS_Music_Player_1.0b.rar

I went and took a look at it. It looks good so far. I have only 2 concerns.

1. Some sounds terminate incorrectly. For the best example of this, listen to SEQ_TOWN2_D.sseq in a Pokemon Diamond or Pearl rom.
2. There is no Square support. None of the songs that use 8-bit sounds from the system itself will play correctly. The best example of this is any and all GB Sounds themes in HGSS. Not even VGMtrans has this support and if it is added to this, that would be awesome and this program would be complete in my eyes.


caitsith2 Post #57 Posted 08 September 2011 - 04:54 AM

    GBAtemp Regular

  • PipPipPip

  • Group: Members
  • Posts: 162
  • Member No.: 19,974
  • Joined: 16-January 04

  •  

Songs that use multiple Wave Archives are now playing back correctly, other than if they are using commands not yet implemented. Club House Games is a good example of a game that has SSEQ using multiple wave archives.

http://dl.dropbox.com/u/20737085/NDS_Music_Player_1.0c.rar


KazoWAR Post #58 Posted 08 September 2011 - 05:20 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 783
  • Member No.: 133,086
  • Joined: 12-August 08
  • Location: Eloise

  •  

thanks caitsith2!


DJ91990 Post #59 Posted 08 September 2011 - 05:29 AM

    GBAtemp Advance Fan

  • PipPipPipPipPip

  • Group: Members
  • Posts: 654
  • Member No.: 157,321
  • Joined: 09-February 09
  • Location: VA

  •  

Yay! The memory bug has been fixed! I am gonna download it now!


Team Fail Post #60 Posted 08 September 2011 - 05:57 AM

    It's like polo. With Chainsaws.


  • Group: Members
  • Posts: 1,410
  • Member No.: 261,213
  • Joined: 01-September 10

  •  

QUOTE(caitsith2 @ Sep 7 2011, 09:54 PM) <{POST_SNAPBACK}>
Songs that use multiple Wave Archives are now playing back correctly, other than if they are using commands not yet implemented. Club House Games is a good example of a game that has SSEQ using multiple wave archives.

http://dl.dropbox.com/u/20737085/NDS_Music_Player_1.0c.rar

Yay. I'm in bed atm on my 3DS, so I'll check it out in the morning (if my computer doesn't die when I insert the SD card, that is.)







Users browsing this topic

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users