Homebrew The (Un)Official 3DS Homebrew Development Guide

  • Thread starter Thread starter YugamiSekai
  • Start date Start date
  • Views Views 30,571
  • Replies Replies 80
  • Likes Likes 32
I was thinking of a code review thread where people can request a review and some other developers check the source/changes for errors. It may generally improve the mean code quality of the community code.
 
  • Like
Reactions: YugamiSekai
I was thinking of a code review thread where people can request a review and some other developers check the source/changes for errors. It may generally improve the mean code quality of the community code.
That needs a fair bit of moderation to achieve this. If you had one review thread popping up, there may be chances other similar threads will follow.
 
That needs a fair bit of moderation to achieve this. If you had one review thread popping up, there may be chances other similar threads will follow.
I don't really see the problem if we keep things clean and respectful. This forum is "Homebrew Development" for a reason.
 
Just a suggestion, you should have it as a view-only Google Doc instead of a zip file with a PDF. That way, we don't have to have access to a PC for unzipping the file easily and also don't have to download everytime there is a new revision.
EDIT: And you can have a repository with the source code.
 
Last edited by TheToaster,
You should move this to github with gitbooks. Would be a lot easier for devs to help you with your book and a PDF, EPUB etc is auto generated.
 
  • Like
Reactions: clank
I guess the Citro Dev Pack (Citro3D and PICA200) can be added to gitbooks since it has no pictures. I attempted it with the first guide and things didn't go right.

--------------------- MERGED ---------------------------

I don't really want to put it on Gitbooks just yet since I don't have internet yet, but I'm expecting it next month if things work out so I'll just have to wait on uploading it.
 
Version 0.4 is out. It might take a while for 0.5 because I want to finish a new chapter on the Main Homebrew guide and finish 2 chapters on Geometry Shaders (one for each guide in Citro Dev Pack). And I also want to finish the Instruction set chapter in the Assembly guide.
 
Version 0.5 BETA is out.https://drive.google.com/file/d/0B3QuEXHQiGd6NFBXbk0tRDBKYXM/view?usp=docslist_api In the Citro Dev Pack, both guides have a Geometry Shader chapter. You honestly have to do the Assembly guide first, but that's optional and at that point, you should know the syntax for creating your own (at least vertex) shader files. Also, I overworked myself on this last night and I'm gonna need a break. It might be a while until you see the full fledged 0.5. Right now I'm having this error with the shaders and it's saying that the .gsh directive has too many parameters even though it's just 3 which is how much it has. Also I couldn't create a new chapter for CGFU in libctru as I was having more errors. I also didn't thoroughly complete the geo shader on the assembly guide but that will be complete in 0.5.
 
On chapter 4 whenever I try to build I get this error:

Code:
E:\3DS Stuff\[Homebrew Development]\FirstProject>make
make[1]: /e/3DS: No such file or directory
make[1]: *** No rule to make target `/e/3DS'.  Stop.
make: *** [build] Error 2

I had built ctrulib and sf2dlib as well as citro3d from their master branch

EDIT: Nevermind. Fixed it by adding CTRULIB to my system environment variables in UNIX style. One more note. How do I build the cia? there is some cia stuff in the makefile but I can't make out how to build the cia

EDIT:EDIT:
"make cia" keeps giving me this error:
Code:
E:\3DS_Stuff\HB_Dev\FirstProject>make cia
built ... FirstProject.3dsx
make: makerom: Command not found
make: *** [cia] Error 127

EDIT:EDIT:EDIT:
Great well I deleted my old built files (3dsx, smdh, elf) and tried just running make this time and now I'm getting this error

Code:
E:\3DS_Stuff\HB_Dev\FirstProject>make
linking FirstProject.elf
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lcitro3d
c:/devkitpro/devkitarm/bin/../lib/gcc/arm-none-eabi/5.3.0/../../../../arm-none-eabi/bin/ld.exe: cannot find -lctru
collect2.exe: error: ld returned 1 exit status
make[1]: *** [/e/3DS_Stuff/HB_Dev/FirstProject/FirstProject.elf] Error 1
make: *** [build] Error 2
 
Last edited by ThatBenderGuy,

Site & Scene News