Homebrew The (Un)Official 3DS Homebrew Development Guide

Urbanshadow

Well-Known Member
Member
Joined
Oct 16, 2015
Messages
1,578
Trophies
0
Age
33
XP
1,723
Country
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

delete12345

Well-Known Member
Member
Joined
Feb 27, 2010
Messages
695
Trophies
1
Age
32
Location
Taipei, Taiwan
XP
1,276
Country
United States
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.
 

Urbanshadow

Well-Known Member
Member
Joined
Oct 16, 2015
Messages
1,578
Trophies
0
Age
33
XP
1,723
Country
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.
 

TheToaster

Kishore
Member
Joined
Aug 11, 2015
Messages
467
Trophies
0
Location
USA
XP
979
Country
United States
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,

YugamiSekai

Mr. Picross
OP
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
21
XP
2,275
Country
United States
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.
 

YugamiSekai

Mr. Picross
OP
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
21
XP
2,275
Country
United States
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.
 

YugamiSekai

Mr. Picross
OP
Member
Joined
Dec 24, 2014
Messages
2,015
Trophies
1
Age
21
XP
2,275
Country
United States
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.
 

ThatBenderGuy

Well-Known Member
Member
Joined
Dec 16, 2013
Messages
150
Trophies
0
Age
31
XP
348
Country
United States
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

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=uLN9qrJ8ESs