Homebrew [Release] SSEQ Player i

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,571
Trophies
3
Age
24
XP
20,947
Country
United States
This is the SSEQ Player edited and recompiled to run from SD card, and to play sound properly for DSiWarehax users!

How did I fix the sound?
I extracted the pitch table from the (DS mode) GetPitchTable SWI function, and used that instead of the SWI function, which is bugged for DSiWarehax.
The pitch table was manually obtained in 5 hours (more or less), through a quickly-made homebrew program. :P

Download
Works from SD card and flashcards via SRLoader.

Credits
 
Last edited by RocketRobz,

Swampat

The swamp monster that pats the ground
Member
Joined
May 25, 2017
Messages
238
Trophies
0
Age
27
XP
230
Country
United States
Why isn't this thread getting more recognition this is amazing news that the sound can be fixed and without rocket launcher I hope.
 

kuwanger

Well-Known Member
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
More accurately, SPS Maker locates the tracks in ds roms and creates a sort of playlist file to reference each rom for the sound data, track information, etc, and NDS_Music_Player.nds will scan in all the sps and play songs. That's especially neat because it means you have a little 1 to 64KB file. So, in a way it's sort of like a mini2sf or the like player but without first dumping out the music into a 2sf file.

The only thing missing is to get better naming. :) And support larger sound banks, deal with some music (or maybe it's too many songs played) causing music to stop playing until a restart, and the blinding white top screen.

Note: I'm not complaining; I'm just noting stuff that would make it better/could be fixed, if anyone has the desire. It's really awesome as it is, and I'm very happy that this exists. I did end up building my sps files on my PC and then copying over the data folder, had to do a fatsort, then found out (probably again) that my cheap R4 clone doesn't like the R4.dat and R4imenu moved around from (near?) the top spot. *sigh*
 

Swampat

The swamp monster that pats the ground
Member
Joined
May 25, 2017
Messages
238
Trophies
0
Age
27
XP
230
Country
United States
More accurately, SPS Maker locates the tracks in ds roms and creates a sort of playlist file to reference each rom for the sound data, track information, etc, and NDS_Music_Player.nds will scan in all the sps and play songs. That's especially neat because it means you have a little 1 to 64KB file. So, in a way it's sort of like a mini2sf or the like player but without first dumping out the music into a 2sf file.

The only thing missing is to get better naming. :) And support larger sound banks, deal with some music (or maybe it's too many songs played) causing music to stop playing until a restart, and the blinding white top screen.

Note: I'm not complaining; I'm just noting stuff that would make it better/could be fixed, if anyone has the desire. It's really awesome as it is, and I'm very happy that this exists. I did end up building my sps files on my PC and then copying over the data folder, had to do a fatsort, then found out (probably again) that my cheap R4 clone doesn't like the R4.dat and R4imenplayewed around from (near?) the top spot. *sigh*
So let me see if I got this right correct me if I am wrong. So what this does is if I am playing a rom this locates the file that matches that rom and plays the music needed for the rom? Or is this just a music player with extra steps
 
Last edited by Swampat,

kuwanger

Well-Known Member
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
Or is this just a music player with extra steps

It's a music player with extra steps. The SPS file embeds in it a file path pointer to the .nds file, a list of track names, and pointer information in the .nds file to the track data. The comment about "play sound properly for DSiWarehax user" is in reference to the original SSEQ player (which I wasn't aware of until today) since for some odd reason the DSiWarehax entrypoint messes up the pitch table the bios returns? Maybe the DSiWarehax leaves it in some dsi enhanced mode (with associated bios) and causes a different pitch table to be read? Or it's a result of the different clock speed? Or a different playback speed.

Regardless, AFAIK this has nothing to do with srloader. Out of curiosity, what's the issue with srloader?
 

Swampat

The swamp monster that pats the ground
Member
Joined
May 25, 2017
Messages
238
Trophies
0
Age
27
XP
230
Country
United States
Regardless, AFAIK this has nothing to do with srloader. Out of curiosity, what's the issue with srloader?

Well you see roms on srloader have sound messed up on it. And this can only be fixed with rocket launcher and rocket launcher may never even come out due to the user who helped create it won't let Apache Thunder release it since there isn't more support or something released for it. Not 100% sure if that is it or they are just being stingy with the release all I know is a lot of people are starting to get fed up with no information or release. I would leave the community but my 2ds doesn't work and the support in this community is not the greatest unless you have a flash card other than that custom cfw isn't given enough support unlike the 3ds community which have better teams.
 
Last edited by Swampat,

kuwanger

Well-Known Member
Member
Joined
Jul 26, 2006
Messages
1,510
Trophies
0
XP
1,783
Country
United States
Well you see roms on srloader have sound messed up on it.

In what way? Is the pitch messed up or is it something else? I do hope they eventually do resolve the issue since I know how important sound can be in games. :/

Oh, and to answer some of my own speculation, it's not simply a matter of clock speed. Apache Thunder released some time ago a launcher for the 3DS to run older DS carts that were otherwise blocked, but it came with the nice feature of allowing one to run the CPU at DSi speeds (which is nice since Solatorobo has frame rate issues). In any case, checking the pre-pitch corrected NDS_Music_Player and it still plays correctly. Oddly, CaitSith2's NDS_Music_Player.nds doesn't work and is substantially smaller than Robz8's. No idea what that's about.
 

Swampat

The swamp monster that pats the ground
Member
Joined
May 25, 2017
Messages
238
Trophies
0
Age
27
XP
230
Country
United States
Well you see roms on srloader have sound messed up on it. And this can only be fixed with rocket launcher and rocket launcher may never even come out due to the user who helped create it won't let Apache Thunder release it since there isn't more support or something released for it. Not 100% sure if that is it or they are just being stingy with the release all I know is a lot of people are starting to get fed up with no information or release. I would leave the community but my 2ds doesn't work and the support in this community is not the greatest
In what way? Is the pitch messed up or is it something else? I do hope they eventually do resolve the issue since I know how important sound can be in games. :/

Oh, and to answer some of my own speculation, it's not simply a matter of clock speed. Apache Thunder released some time ago a launcher for the 3DS to run older DS carts that were otherwise blocked, but it came with the nice feature of allowing one to run the CPU at DSi speeds (which is nice since Solatorobo has frame rate issues). In any case, checking the pre-pitch corrected NDS_Music_Player and it still plays correctly. Oddly, CaitSith2's NDS_Music_Player.nds doesn't work and is substantially smaller than Robz8's. No idea what that's about.

Ok this is how I will explain it, if you play... Mario 64 Ds you will hear the characters voices and a little bit of music but they ate missing other parts so what you hear are beeps making the game feel empty. Sorry not good with how sound works. I haven't played a game right now that is sound oriented, but if this does effect those games it makes them harder to play. Since rocket launcher hasn't been released as far as I know there isn't a way to fix this in srloader and i really enjoy listening to the music while I play.
 
Last edited by Swampat,

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,571
Trophies
3
Age
24
XP
20,947
Country
United States
@kuwanger @Swampat
The issue with the sound is that the DSi BIOS is set to be used instead of the DS BIOS, which has the swiGetPitchTable function working correctly.
Since ARM7_SCFG is locked, we can't switch to the DS BIOS, and we're left with a bugged version of the swiGetPitchTable function, which returns sine wave values instead of pitch values.
To get around the issue without the use of RocketLauncher, is to use a pitch table extracted from the non-bugged swiGetPitchTable function on another DS system (3DS with CFW, in my case), instead of the bugged function itself, which is what I did for SSEQ Player i.
I plan on implementing that same fix for the DSi version of nds-bootstrap.

EDIT: I've hitten a roadblock trying to implement it to bootstrap.
 
Last edited by RocketRobz,

RocketRobz

Stylish TWiLight Hero
OP
Developer
Joined
Oct 1, 2010
Messages
16,571
Trophies
3
Age
24
XP
20,947
Country
United States
SSEQ Player i v1.1.0

Credits: fincs, CaitSith, Robz8

What's new?
  • Size limit increased for DSi mode! Bigger data now loads.
    That means music from Diddy Kong Racing, Kirby Mass Attack, Zelda: Spirit Tracks, and others that gave the RAM limit message, will now play!
  • Top backlight is turned off to conserve power.
  • You can now turn on/off bottom backlight while music is playing, by pressing DOWN.
 
  • Like
Reactions: wicksand420

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
Thanks for this one. I just set up a DSi and HiyaCFW, and it works. (and many thanks to original authors.)

Would be great to have a sleep mode toggle button. So if sleep mode is enabled, it does enter the DS(i) into sleep mode, otherwise music and L,R are kept (like moonshell2 when L/R is enabled)
 
  • Like
Reactions: RocketRobz

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Sup