Homebrew Homebrew Development

filfat

Musician, Developer & Entrepreneur
Member
Joined
Nov 24, 2012
Messages
1,259
Trophies
0
Location
Göteborg
Website
spsgroup.se
XP
1,718
Country
Sweden
I just edited my previous post while you where replying to explain why.

edit:

Also, I don't have access (I never validated my account when they blocked them) and I'm always afraid of doing something wrong or I shouldn't have done when it's not my place.


Edit2:
Of course, if my work is fine, feel free to copy/paste/move it to 3dbrew. it will be a better place for everyone.
and use the proper header template on 3dbrew.
Oh, now it makes sense :)
 
  • Like
Reactions: AlbertoSONIC

Helreizer543

Well-Known Member
Newcomer
Joined
Nov 24, 2014
Messages
49
Trophies
0
Age
101
XP
109
Country
United States
So a weird question but does anyone know why we cant access the home menu whilst using ninjhax I mean I've seen in the code for a couple homebrews functions to return to the home menu or when the screen closes. do we not have access to those commands?
 

minexew

ayy lmao
Member
Joined
Mar 16, 2013
Messages
228
Trophies
0
XP
274
Country
So a weird question but does anyone know why we cant access the home menu whilst using ninjhax I mean I've seen in the code for a couple homebrews functions to return to the home menu or when the screen closes. do we not have access to those commands?

http://4dsdev.org/thread.php?id=16
e.g. no, but probably because nobody really tried so far
 

Nightbane30

Active Member
Newcomer
Joined
Nov 26, 2014
Messages
37
Trophies
0
Age
36
XP
681
Country
United States
Does anyone know how to create a simple Hello World for ninjhax yet? I can't seem to figure it out, as ctrulib doesn't exactly have extensive documentation yet...
 

xem

Well-Known Member
Member
Joined
Nov 22, 2014
Messages
138
Trophies
0
Age
35
Location
Valbonne
XP
293
Country
France
Hi all,

I don't know if I'm the only one in this case but I find it really hard to read and try to understand ctrulib's API, mostly because it's almost not commented nor documented.

I'm trying to understand and document all I can find in the source code but many things remain mysterious

https://github.com/xem/3DShomebrew/blob/gh-pages/documentation.md

If someone could (at least) give us a hint about what these things mean, it would be nice

- AC (related to wifi?)
- APT (related to applet? what is an applet?)
- CFGNOR (related to flash? NAND maybe?)
- CFGU (related to the console's model (3DS/2DS/N3DS)?)
- GSP (related to screen capture?)
- GX (???)
- HTTPC (http requests?)
- IRRST (infrared? NFC?)
- MVD (movie ?)
- NS (???)
- PM (???)
- PTM (???)
- Srv (services? what kind of services?)

Ty
 

smealum

growing up sucks.
Member
Joined
May 1, 2006
Messages
635
Trophies
2
Age
30
Location
SF
Website
www.smealum.net
XP
2,504
Country
United States
3dbrew should document pretty much all the research behind ctrulib, AFAIK.

indeed, everything is on 3Dbrew.

Does anyone know how to create a simple Hello World for ninjhax yet? I can't seem to figure it out, as ctrulib doesn't exactly have extensive documentation yet...
yeah, documentation is certainly lacking. however, ctrulib is bundled with a few well-commented examples such as the sdmc example, which should be a good way to get you started with framebuffer rendering : https://github.com/smealum/ctrulib/blob/master/examples/sdmc/source/main.c
 
  • Like
Reactions: filfat

YourNerdyJoe

Active Member
Newcomer
Joined
Jul 18, 2014
Messages
41
Trophies
0
Age
25
Website
yournerdyjoe.github.io
XP
169
Country
United States
  • Like
Reactions: st4rk

shinyquagsire23

SALT/Sm4sh Leak Guy
Member
Joined
Nov 18, 2012
Messages
1,971
Trophies
2
Age
25
Location
Las Vegas
XP
3,708
Country
United States
So I just started homebrew development today and I've come across some interesting quirks which have been driving me insane for the last few hours debugging. For some reason, one way or another, I cannot declare global variables past a certain point (or alter their values after I manage to get them "set in") otherwise it will crash to the home menu. Are there any special ways I should be handling global variables, or should I just avoid them, period?

EDIT: It seems this is just an issue with netloader itself, which I used during debugging because it's very fast at transferring. I'll probably throw something up on the homebrew launcher Github to see if we can get some checksums or MD5's or something so that we can verify the file we recieved is actually proper.
 
General chit-chat
Help Users
    SylverReZ @ SylverReZ: @AncientBoi, 10/10 ratings from every gaming outlet. +1