Homebrew Leaked SDK = better homebrew?

flarn2006

Well-Known Member
OP
Member
Joined
Apr 6, 2014
Messages
394
Trophies
0
Age
30
XP
523
Country
United States
I was just wondering if that leaked SDK from a while back could be useful for making more user-friendly homebrew with a more "official" look to it.

For example, right now all of the homebrew uses a fixed-width, non-anti-aliased font for everything, because that's the easiest to program. But I've noticed almost every official 3DS game/application uses the same font for any text it needs to display, so there's got to be some built-in text drawing function that we don't know about. Speaking of text, it would also be nice to be able to use the OS's built-in keyboard for text input.

I'm sure there's many other ways using official API's could lead to better homebrew. Unfortunately, the only download link I've found for the SDK is on some server in China that gives me slower-than-dialup download speeds and stops before it's halfway done, so I don't have a copy of it. But would the stuff in the leaked SDK be able to be used for making homebrew?
 
  • Like
Reactions: Margen67

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
It would, but it'd also be illegal as fuck to distribute because of Nintendo's libraries being in it.

Not to mention you may also require the use of CodeWarrior or whatever they're using now for an IDE, which wasn't included in the leaked files.
 
  • Like
Reactions: TeamScriptKiddies

flarn2006

Well-Known Member
OP
Member
Joined
Apr 6, 2014
Messages
394
Trophies
0
Age
30
XP
523
Country
United States
It would, but it'd also be illegal as fuck to distribute because of Nintendo's libraries being in it.

Not to mention you may also require the use of CodeWarrior or whatever they're using now for an IDE, which wasn't included in the leaked files.

Illegal to distribute just the SDK, or the homebrew developed with it as well? Are you sure they're statically-linked? Also, couldn't it be modified to use a different IDE?
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Illegal to distribute just the SDK, or the homebrew developed with it as well? Are you sure they're statically-linked? Also, couldn't it be modified to use a different IDE?

The Hombrew would as well. Using audio, for example, uses a signed DSP block. Which has Nintendo binaries. Which is considered illegal to distribute freely.
 

flarn2006

Well-Known Member
OP
Member
Joined
Apr 6, 2014
Messages
394
Trophies
0
Age
30
XP
523
Country
United States
The Hombrew would as well. Using audio, for example, uses a signed DSP block. Which has Nintendo binaries. Which is considered illegal to distribute freely.

Wait, are you saying there's no way to legally distribute homebrew that uses sound? That would explain why none of the homebrew I've seen uses it, but I'd think we would have found a way already. (Kind of like how the 3DS decryption tools don't come with the 7.x key and you have to download it yourself.)
 

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
Wait, are you saying there's no way to legally distribute homebrew that uses sound? That would explain why none of the homebrew I've seen uses it, but I'd think we would have found a way already. (Kind of like how the 3DS decryption tools don't come with the 7.x key and you have to download it yourself.)

Well, there's CSND, but it only works on the 3DS if using a .cia or Ninjhax and not Gateway or a N3DS, which isn't illegal to distribute because it's merely system calls and doesn't need anything signed. If one wants to use homebrew with official DSP sound, you'd have to get your own binary from a retail game.
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,038
Country
Vietnam
Wait, are you saying there's no way to legally distribute homebrew that uses sound? That would explain why none of the homebrew I've seen uses it, but I'd think we would have found a way already. (Kind of like how the 3DS decryption tools don't come with the 7.x key and you have to download it yourself.)

A custom DSP bin should be OK.
Anw the SDK was leaked long ago. So far no homebrew used it.
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
This is an issue many scenes have run into in the past. Ultimately, we've made enough progress with homebrew libraries that the official SDK isn't going to matter much pretty soon. Scenes that fail to move away from their official SDKs are always quite shady and tend to push newer developers away. The 360 and original Xbox scenes (early PS3 too) both used 'illegal' binaries, and users had to go waaaaay out of their way to get them. In the Wii scene, on the other hand, some great people made an excellent SDK and sailed past copyright issues (for the most part...)

Side note: The Wii U offers all the SDK exports without needing the SDK to compile. You can make homebrew on official libraries legally. Which is like, really really excellent.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
Side note: The Wii U offers all the SDK exports without needing the SDK to compile. You can make homebrew on official libraries legally. Which is like, really really excellent.

The 3DS is pretty similar, offering a lot of system functionality in the form of the services, or that's how I understand it, anyway. Some of the services are still not "hooked up" in ctrulib though.
 

WulfyStylez

SALT/Bemani Princess
Member
Joined
Nov 3, 2013
Messages
1,149
Trophies
0
XP
2,877
Country
United States
The 3DS is pretty similar, offering a lot of system functionality in the form of the services, or that's how I understand it, anyway. Some of the services are still not "hooked up" in ctrulib though.

Yep, pretty much. That's part of why the libraries (besides GPU and SND, I think?) are growing so quickly.
 
  • Like
Reactions: filfat and daxtsu

weatMod

Well-Known Member
Member
Joined
Aug 24, 2013
Messages
3,305
Trophies
2
Age
47
XP
3,351
Country
United States
But then why does the ps3 scene suck so much?
They have psl1ght
Don't you think we would have better emulators if devs were willing to use official SDK's?
They probably could have got an 64 emu working at least
 

flarn2006

Well-Known Member
OP
Member
Joined
Apr 6, 2014
Messages
394
Trophies
0
Age
30
XP
523
Country
United States
I managed to get the SDK downloaded. Has anyone figured out how to compile the samples? I know I couldn't legally distribute them, or anything else compiled with that SDK, but I'd still like to play around with it myself.

I installed OMake, and I figured it would be as simple as typing "omake" in a command prompt in a directory with an OMakefile, but I always get this:

Code:
*** omake: reading OMakefiles
$CTRSDK_ROOT é¬ÆΦï`é│éΩé─éóé▄é╣é±
*** omake error:
  File OMakeroot: line 60, characters 4-11
  early exit(1) requested by an omake file

Setting CTRSDK_ROOT in my environment to the SDK directory fixes that, but then I get a different error:

Code:
*** omake: reading OMakefiles

*** omake: finished reading OMakefiles (6.14 sec)
*** omake: 495/617 targets are up to date
*** omake: failed (6.30 sec, 0/0 scans, 0/0 rules, 0/1555 digests)
*** omake error:
   File d:\Users\Flarn\Desktop\3DS_stuff\sdk\CTR_SDK-4_2_8-20130828-en\build\oma
ke\commondefs.funcs.om: line 261, characters 4-78
   Do not know how to build "makebanner\exbanner\rotateTexSample\armlink.exe" re
quired for "makebanner\exbanner\rotateTexSample\images\CTR-TS.Process.MPCore.fas
t\Development\exbanner.axf"
 

RachelB

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
151
Trophies
0
Age
32
XP
135
Country
United States
Illegal to distribute just the SDK, or the homebrew developed with it as well? Are you sure they're statically-linked? Also, couldn't it be modified to use a different IDE?
It would be illegal to do anything with it. Technically you could distribute the source code only, but no one could legally compile it (including the original author), let alone distribute it. It is not worth the trouble, unless you just don't care at all that it is illegal, which still has its own problems.
 

ChrisX930

Banned!
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
I managed to get the SDK downloaded. Has anyone figured out how to compile the samples? I know I couldn't legally distribute them, or anything else compiled with that SDK, but I'd still like to play around with it myself.

I installed OMake, and I figured it would be as simple as typing "omake" in a command prompt in a directory with an OMakefile, but I always get this:

Code:
*** omake: reading OMakefiles
$CTRSDK_ROOT é¬ÆΦï`é│éΩé─éóé▄é╣é±
*** omake error:
  File OMakeroot: line 60, characters 4-11
  early exit(1) requested by an omake file

Setting CTRSDK_ROOT in my environment to the SDK directory fixes that, but then I get a different error:

Code:
*** omake: reading OMakefiles
 
*** omake: finished reading OMakefiles (6.14 sec)
*** omake: 495/617 targets are up to date
*** omake: failed (6.30 sec, 0/0 scans, 0/0 rules, 0/1555 digests)
*** omake error:
  File d:\Users\Flarn\Desktop\3DS_stuff\sdk\CTR_SDK-4_2_8-20130828-en\build\oma
ke\commondefs.funcs.om: line 261, characters 4-78
  Do not know how to build "makebanner\exbanner\rotateTexSample\armlink.exe" re
quired for "makebanner\exbanner\rotateTexSample\images\CTR-TS.Process.MPCore.fas
t\Development\exbanner.axf"


same here, we're you able to fix it?
It seems there's a problem with the commondefs.funcs.om file

I want to use the SDK for private uses ONLY (testing purposes)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • AncientBoi @ AncientBoi:
    ooowwww a new way for me to beat NFS 510 :D @SylverReZ
    +1
  • SylverReZ @ SylverReZ:
    @AncientBoi, Yeah, believe you can do PSP games as well. But a Pi5 is much powerful in comparison.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Not sure about other models of Pi4 but the Pi 4 B with 8GBs OCed to 2Ghz handles PSP really great except like 1 game I found and it is playable it just looks bad lol Motor Storm Arctic something or other.
  • Psionic Roshambo @ Psionic Roshambo:
    Other games I can have turned up to like 2X and all kinds of enhancements, Motorstorm hmmm nope 1X and no enhancements lol
  • Veho @ Veho:
    Waiting for Anbernic's rg[whatever]SP price announcement, gimme.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I will admit that one does seem more interesting than the usual Ambernic ones, and I already liked those.
  • Veho @ Veho:
    I dread the price point.
    +1
  • Veho @ Veho:
    This looks like one of their premium models, so... $150 :glare:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    To me that seems reasonable.
  • Psionic Roshambo @ Psionic Roshambo:
    I mean since basically all the games are errmmm free lol
  • Veho @ Veho:
    I mean yeah sure but the specs are the same as a $50 model, it's just those pesky "quality of life" things driving up the price, like an actually working speaker, or buttons that don't melt, and stuff like that.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    I think all in my Pi 4 was well north of 200 bucks 150ish for the Pi 4 the case the fancy cooler, then like 70 for the 500GB MicroSD then like 70 for the Xbox controller. But honestly it's a nice set up I really enjoy and to me was worth every penny. (even bought more controllers for 2 or 4 player games.) hmmm have never played any 2 player games yet :(
  • Veho @ Veho:
    Yeah that's what I hate about the RPi, it's supposedly $30 or something but it takes an additional $200 of accessories to actually turn it into a working something.
  • Psionic Roshambo @ Psionic Roshambo:
    yes that's the expensive part lol
  • Veho @ Veho:
    I mean sure it's flexible and stuff but so is uremum but it's fiddly.
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah a lot of it I consider a hobby, using Batocera I am constantly adjusting the collection adding and removing stuff, scraping the artwork. Haven't even started on some music for the theme... Also way down the road I am considering attempting to do a WiiFlow knock off lol
  • Veho @ Veho:
    I want everything served on a plate plz ktnx, "work" is too much work for me.
  • Veho @ Veho:
    Hmm, with that in mind, maybe a complete out-the-box solution with all the games collected, pacthed and optimized for me would be worth $150 :unsure:
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah it's all choice and that's a good thing :)
  • Bunjolio @ Bunjolio:
    animal crossing new leaf 11pm music
  • Bunjolio @ Bunjolio:
    avatars-kKKZnC8XiW7HEUw0-KdJMsw-t1080x1080.jpg
    wokey d pronouns
  • SylverReZ @ SylverReZ:
    What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo
    SylverReZ @ SylverReZ: What its like to do online shopping in 1998: https://www.youtube.com/watch?v=vwag5XE8oJo