Hello everyone, here a little tutorial to whom wanna begin with homebrew on 3DS
Before anything you will need these files:
DevKitARM : devkitpro.org
DevKitARM Add-on 3ds:
http://mtheall.com/~fincs/3dsdkA/
3DSTemplate(with new ctrulib):
http://filetrip.net/dl?rqkeqrIIns
After download all files:
1 - open the "dkA-3dsx-patch-12092014.zip" and copy the DevKitARM folder to DevKitPro/DevKitARM folder on your PC.
2 - extract 3dstemplate where you wanna, open the 3dstemplate folder and copy the "libctru" on C:/ or D:/ or where you wanna on your disk.
3 - Go to environment variables and at system variables, create a new with name: CTRULIB , value: D:\libctru (change to your libctru directory !).
4 - on 3dstemplate folder open the build.bat, if you did everything correct, it will generate three new files, ".elf", ".3dsx" and ".3ds", the .3ds is to Gateway users, .elf to alternative homebrew loaders and .3dsx to future Smea Homebrew Loader.
If you wanna edit the code, just go to source and edit the main.c, there is a little example on code, have fun