Leaked SDK = better homebrew?

Discussion in '3DS - Homebrew Development and Emulators' started by flarn2006, Feb 12, 2015.

  1. flarn2006
    OP

    flarn2006 GBAtemp Fan

    Member
    376
    163
    Apr 6, 2014
    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?
     
    Margen67 likes this.


  2. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,673
    Sep 1, 2010
    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.
     
    TeamScriptKiddies likes this.
  3. flarn2006
    OP

    flarn2006 GBAtemp Fan

    Member
    376
    163
    Apr 6, 2014
    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?
     
  4. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,673
    Sep 1, 2010
    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.
     
  5. flarn2006
    OP

    flarn2006 GBAtemp Fan

    Member
    376
    163
    Apr 6, 2014
    United States
    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.)
     
  6. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,673
    Sep 1, 2010
    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.
     
  7. Duo8

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    A custom DSP bin should be OK.
    Anw the SDK was leaked long ago. So far no homebrew used it.
     
  8. WulfyStylez

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,607
    Nov 3, 2013
    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.
     
    Tomato Hentai, ric., PokeAcer and 6 others like this.
  9. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,490
    3,877
    Jun 9, 2007
    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.
     
  10. WulfyStylez

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,607
    Nov 3, 2013
    United States
    Yep, pretty much. That's part of why the libraries (besides GPU and SND, I think?) are growing so quickly.
     
    filfat and daxtsu like this.
  11. Heran Bago

    Heran Bago Where do puyo come from?

    Member
    3,003
    408
    Nov 6, 2005
    United States
    Foggy California
    Wow I didn't know the Wii U had Homebrew.
     
  12. WulfyStylez

    WulfyStylez SALT/Bemani Princess

    Member
    1,149
    2,607
    Nov 3, 2013
    United States
    It doesn't quite yet, but once it gets its homebrew that'll be the case.
     
    TeamScriptKiddies likes this.
  13. Jao Chu

    Jao Chu GBAtemp Advanced Maniac

    Member
    1,917
    1,210
    Aug 20, 2013
    straya m8
    I'm glad no one is using the official SDK to build 3DS software.

    I was quite prolific in the Original Xbox scene and man, was that a pain in the ass to download homebrews!
     
    Last edited by Jao Chu, Apr 6, 2016 - Reason: Spelling
  14. NCDyson

    NCDyson Hello Boys...

    Member
    271
    113
    Nov 9, 2009
    United States
    It really was. Probably why there was only one KILLER app, and that was XBMC.
     
  15. weatMod

    weatMod GBAtemp Advanced Maniac

    Member
    1,859
    592
    Aug 24, 2013
    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
     
  16. flarn2006
    OP

    flarn2006 GBAtemp Fan

    Member
    376
    163
    Apr 6, 2014
    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"
     
  17. Jao Chu

    Jao Chu GBAtemp Advanced Maniac

    Member
    1,917
    1,210
    Aug 20, 2013
    straya m8
    The emulators avaliable for the original Xbox were top notch also.... I lost count of how many times i finished banzo kazooie on my trusty xecuter 3 xbox :lol:
     
  18. RachelB

    RachelB GBAtemp Regular

    Member
    151
    53
    Jul 16, 2013
    United States
    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.
     
  19. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    Doublepost, sry
     
  20. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany

    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)