Homebrew [Release] DSP Firmware Dumper

Fatalanus

Well-Known Member
Member
Joined
Jan 4, 2015
Messages
595
Trophies
0
Age
24
XP
410
Country
Romania
Ah thank you, Rinnegatamante. I'm testing it now.;)

It works like a charm, now. Good job!!
Retroarch detect the dsp option. It's time to experiment!! :P
 

Stack3r

Shizuo Heiwajima
Member
Joined
Jan 24, 2014
Messages
980
Trophies
0
Age
31
Location
Ikebukuro
XP
1,472
So just run this and itll dump dsp from a cartridge thats inserted? Or do i have to use braindump first then use this? Because i cant find the dsp file anywhere
 

Twili

Banned!
Banned
Joined
Mar 20, 2014
Messages
208
Trophies
0
Age
29
XP
391
Country
United States
If the DSP firmware is in code.bin of a ROM, can't we just search for DSP1 in code.bin to locate it? I wonder why there isn't progress with emulating sound if it's right there, or why it needs to be extracted...
 
Last edited by Twili,
  • Like
Reactions: Subtle Demise

zoogie

playing around in the end of life
Developer
Joined
Nov 30, 2014
Messages
8,560
Trophies
2
XP
15,000
Country
Micronesia, Federated States of
If the DSP firmware is in code.bin of a ROM, can't we just search for DSP1 in code.bin to locate it? I wonder why there isn't progress with emulating sound if it's right there, or why it needs to be extracted...
The Citra devs have this hangup that DSP = copyrighted code or something.
 
Last edited by zoogie,
  • Like
Reactions: Subtle Demise

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
So just run this and itll dump dsp from a cartridge thats inserted? Or do i have to use braindump first then use this? Because i cant find the dsp file anywhere

Maybe if you read OP...
This problem appears only for non-2.5 *haxs users cause new payloads have a built-in dsp firmware. What this homebrew does is to extract this firmware and let you use it on 3DS/CIA homebrews or on NH 2.1 or lower.
 

TheCruel

Developer
Banned
Joined
Dec 6, 2013
Messages
1,350
Trophies
2
XP
3,131
Country
United States
Oh, you extract DSP1 to use it in homebrew. I'm mad, though, because people could have done this ever since there was a public solution for decrypting ROMs.
Well, DSP wasn't implemented in ctrulib until more recently, so it wouldn't have been useful.
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,355
Trophies
4
Location
Space
XP
13,950
Country
Norway
Oh, you extract DSP1 to use it in homebrew. I'm mad, though, because people could have done this ever since there was a public solution for decrypting ROMs. Nobody said a word about or payed attention to this page:

http://www.3dbrew.org/wiki/DSP_Binary

Just find that in code.bin. :creep:
People hadn't figured out how to actually use the DSP, which was why everyone was using csnd (which is easier to use, but most things don't have access to it, so it was problematic.)
It probably took some serious reverse engineering for that to be included in ctrulib.
 
Joined
Sep 17, 2009
Messages
2,586
Trophies
2
XP
3,813
Country
United States
The Citra devs have this hangup that DSP = copyrighted code or something.
This copyright bullshit needs to have limits put on it. You can't just make copyright claims on bits and pieces of a work, it's all or nothing, Nintendo. That's like someone making a claim on anything digital because the binary code present could be used to reconstruct one of their copyrighted works.
 

Heran Bago

Where do puyo come from?
Member
Joined
Nov 6, 2005
Messages
3,100
Trophies
0
Age
35
Location
Foggy California
Website
heranbago.com
XP
1,187
Country
United States
Would a .cia version be possible, or does it require hax 2.5?

I can't run *hax at the moment. I put code.bin from a decrypted backup into /3ds and ran retroarch, but it doesn't do anything - no dspfirm.cdc file is created and I can't switch it to the dsp driver. Just can't get that dsp driver file.
 

ihaveahax

Well-Known Member
Member
Joined
Apr 20, 2015
Messages
6,070
Trophies
2
XP
7,848
Country
United States
Would a .cia version be possible, or does it require hax 2.5?

I can't run *hax at the moment. I put code.bin from a decrypted backup into /3ds and ran retroarch, but it doesn't do anything - no dspfirm.cdc file is created and I can't switch it to the dsp driver. Just can't get that dsp driver file.
I believe it needs *hax 2.5. since you can use .cia files you should check out https://github.com/yellows8/hblauncher_loader
 

Rinnegatamante

Well-Known Member
OP
Member
Joined
Nov 24, 2014
Messages
3,162
Trophies
2
Age
29
Location
Bologna
Website
rinnegatamante.it
XP
4,857
Country
Italy
Would a .cia version be possible, or does it require hax 2.5?

I can't run *hax at the moment. I put code.bin from a decrypted backup into /3ds and ran retroarch, but it doesn't do anything - no dspfirm.cdc file is created and I can't switch it to the dsp driver. Just can't get that dsp driver file.

It requires 2.x haxs cause dsp firmware is dumped from the payload.
 

tivu100

Well-Known Member
Member
Joined
Jun 6, 2015
Messages
2,260
Trophies
0
Age
34
XP
1,136
Country
United States
I don't see this program on your site.
Go to Free Work tab. Download is under 3DS homebrew

Can it improve performance in any way?
Also, how do I use the dspfirm.cdc in retroarch?

Edit: Seems it has to beplaced in RetroArch/cores/system/
No wait nevermind, has to be in /3ds/ for some reason... i think?

Same question: So I already dumped dspfirm.cdc. What should I do next to use it with RetroArch CIA?

Let me know when you find out the solution !

Edit: Just saw this is supposed to be the answer for my question:
It can improve a lot audio quality cause it can use different kind of interpolation (like the polyphase ones) and also have support for audio surround (still under research from fincs / Lectem).

To use dspfirm.cdc you just have to launch the homebrew. It place the firmware automatically in the directory Retroarch and all the others homebrew will go looking for ;)

Still I don't get it. So the dspfirm.cdc is currently is in the 3DS folder (Patch SD root:\3DS\dspfirm.cdc)

How can I make Retroarch CIA to use this DSP firm? I tried to go to Audio settings and DPS plugin and navigate to 3DS folder but retroArch couldn't recognize this as plugin.


Update: Found the explanation how to use this plugin for retroarch from this post https://gbatemp.net/threads/retroar...ly-builds-included.400913/page-6#post-5764286


New question: is this dspfirm is unique for each 3DS or it is the same?
 
Last edited by tivu100,
  • Like
Reactions: NightsOwl

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
@Rinnegatamante,
Are you saying if I am on *Hax 2.5 I do not need to do anything with DSP?

To be honest all I understand is that DSP is supposed to be a better audio output and I am trying to figure out if I need to get it or not.
i think you still need the dsp dump even if you are using hax 2.5

i think that this is bullshit , i am using hax 2.5 and CHMM2 still does not work for me

i still get sound module error code

i am using rxtools on N3ds xl US with 9.5 rx-e emunand
install the cia of CHMM2 it don't work at all have to go to HBL in emunand, launch menuhax installer, delete menuhax (on emunand)
then CHMM will initialize after pressing power but always throws back sound module error

CHMM2 2.5 should never have been released or not for CIA or with a disclaimer or something
it not even worth all the aggravation and if you do eventually get it "working" the sound will not even loop , so it is really not worth it at all
it should have been labeled alpha or something, people should just stick to the 1st version of CHMM and wait till the next version ,unless they want to be beta testers, this one is WAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaaay too much trouble much more trouble than it is worth , too much aggravation for something as trivial as custom themes, i was happy just using the 1st version or even extdata tool
this thing is a nightmare
 
Last edited by weatMod,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Senile discussion felt like we were having this type of conversation already