Homebrew How to make CTR SDK work on your very own computer - [VM EDITION]

AtlanticBit

Yeh, fuck this
OP
Member
Joined
Jan 15, 2015
Messages
365
Trophies
0
Age
54
Location
DEEP IN SPACE
XP
379
Country
Poland
YoshiInAVoid you wanted it, you got it.

  • Set up a VirtualBox VM with Windows 7.
  • Download CTR SDK(just google CTR_SDK_4_2_8 ) MODS: IF I SHOULDN'T HAVE TOLD THIS FEEL FREE TO GET RID OF THIS
  • Go into the CTR_DevEnvironment folder and ONLY install omake.
  • Go here and install this thing WITH Eclipse.
  • -Now comes the part which explains why we are using a VM-
  • Open up Eclipse for DS-5
  • Click on Help -> ARM License Manager... -> Add license -> Generate a 30day evalution(see, that's why!) -> Do what it asks you to do. -> Set Select the toolkit you intend to use: to ARM DS-5 blah blah -> Now select diagnostics and find your license folder. -> write it down, you will need it later.
  • Now create a environmental variable called CTRSDK_ROOT which will be in my case C:\Users\Atlantic\nintendosux\ctrsdk\CTR_SDK
  • Now add the folder C:\Program Files (x86)\DS-5\sw\ARMCompiler5.05u1\bin or if you're on a 32bit system C:\Program Files\DS-5\sw\ARMCompiler5.05u1\bin to your PATH.
  • Restart CMD if you have it open.
  • Now the weird part:
  • Go to C:\Program Files\arm\licenses or create any of those folders if they don't exist(folders regardless of OS) and copy all .lic files from your ARM DS-5 License folder to the folders created earlier and rename one of them(hopefully you have only one) to license.dat (extension HAS TO BE .dat)
  • Now type in armcc in cmd to check if everything works. If you get a (license)error than try setting up from Click on help... part. Also to be sure try using omake command.
  • Now make a folder on your desktop, documents, somewhere where you will find it called compilebins(or something, doesn't matter) and COPY not MOVE, but COPY all stuff from C:\Program Files\DS-5\sw\ARMCompiler5.05u1\bin there.
  • Why? You will find out.
  • Now COPY to your clipboard all your .exe files from compilebins folder.
  • PASTE those .exe files here CTR_SDK-4_2_7-SampleDemos-20130806-en\SampleDemos\news\news_test
  • Why? You have to do this for all examples there(some are broken, watch out!) When you get en error: system doesn't know how to build armasm.exe (or something) just copy those .exe files to the place where omake doesn't find them. Now open CMD and type in
    Code:
    cd yoursdkdirectory\CTR_SDK-4_2_7-SampleDemos-20130806-en\SampleDemos\news
    and when it finishes type
    Code:
    omake
  • If it manages without errors(hopefully) you should get a CCI file(that's what we are interested in!) in yoursdkfolder\CTR_SDK\images\news_test
  • Now download 3DS to CIA converter from Maxconsole.(Only that one will work)
  • Extract it.
  • Don't forget to install Python 2.7!
  • Drag our CCI there and rename it to yourfile.csu
  • Run the converter and select CSU to CIA option.
  • Type in the name, in my case news_test.csu
  • Answer all the questions NO
  • Once it says check RSF make sure the RSF generated is correct in terms of services etc.
  • After a second you should get a CIA file.
  • Copy it over to the SD Card of your Gateway or CFW-compatible 3DS and enjoy the app you have written or just compiled.
  • Install the CIA using *Menu
  • Try to run it from the Home Menu.
  • If it runs than have fun. If it doesn't PM me. I will fix the guide if more people fail at this.
 

JustPingo

Well-Known Member
Member
Joined
Jan 11, 2015
Messages
497
Trophies
0
Age
24
XP
1,081
Country
France
Doesn't the SDK only contain binary libraries? Making it pretty much useless for any serious homobrew dev?


No. It contains library you can compile to make your homebrew work. It's like ctrulib in better (of course since it's the official Nintendo thing).
 
  • Like
Reactions: Margen67

Nollog

Well-Known Member
Member
Joined
Oct 10, 2008
Messages
2,964
Trophies
0
XP
1,327
Country
Ireland
Doesn't the SDK only contain binary libraries? Making it pretty much useless for any serious homobrew dev?
No. It contains library you can compile to make your homebrew work. It's like ctrulib in better (of course since it's the official Nintendo thing).
That's what I call useless, unless I'm mistaken and it comes with the source code.

cute.

It's an SDK, it's exactly what you need to write software for the 3ds(ctr).
Otherwise it wouldn't be called an sdk.
I think you might be thinking of getting nintendo's source code and using it to write your own sdk from it. That's dumb.
 
  • Like
Reactions: ubergeek77

ChrisX930

Banned!
Banned
Joined
Sep 3, 2013
Messages
788
Trophies
0
Location
Germany
XP
458
Country
Gambia, The
okay, it works :D
while trying to start news_test on 3ds stucks on 3ds-Boot Logo. Is it that what it should do?

EDIT:
Works :D
It created new Notifications like this:
10998237_909319715765760_7458078329102014034_n.jpg
 
  • Like
Reactions: WhoAmI?

Connador

Member
Newcomer
Joined
Aug 9, 2012
Messages
16
Trophies
0
XP
116
Country
United States
What does a VM have to do with the 30 day evaluation? Is it just so that you can start up a new VM after 30 days and redo all the steps?
 

mid-kid

GBAtemp spamBOT
Member
Joined
Aug 2, 2012
Messages
879
Trophies
0
Age
25
XP
1,163
Country
Seriously stop this shit before people start using the official SDK. It defeats every point of homebrew.

It is illegal to redistribute homebrew made with this. This is just for personal stuff, public homebrew will always be released with ctrulib.
 

WeedZ

Possibly an Enlightened Being
Global Moderator
Joined
Jan 13, 2015
Messages
3,825
Trophies
1
Location
The State of Denial
Website
gbatemp.net
XP
5,666
Country
United States
Seriously stop this shit before people start using the official SDK. It defeats every point of homebrew.
Can you enlighten me on what the point of homebrew is? cause I thought it was for the purpose of expanding the usefulness of a device beyond its intended means.
 
  • Like
Reactions: Margen67

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,725
Trophies
2
XP
8,510
Country
Tuvalu
Can you enlighten me on what the point of homebrew is? cause I thought it was for the purpose of expanding the usefulness of a device beyond its intended means.

no, not at all! the point of homebrew is to struggle with free open source tools :D (joking)

- "it's not homebrew if you use code completion" "it's not homebrew if you don't use vim" "it's not homebrew if you didn't use asm" etc...
 
  • Like
Reactions: Margen67 and WeedZ

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Veho @ Veho: Firefox users be like "look at what they have to do to mimic a fraction of our power."