I want to develop a Homebrew app.

cloudd361

New Member
OP
Newbie
Joined
Oct 23, 2023
Messages
1
Trophies
0
Age
26
XP
19
Country
Turkey
I am a jr. software dev who experienced various topics. Not the best but i know or learn how things work. So here is the question. If want to develop a simple homebrew app for just monitoring temps of console. Where should i start ?
 
Joined
Sep 9, 2019
Messages
904
Trophies
1
Location
Switch scene
Website
github.com
XP
2,663
Country
Korea, North
First of all you're going to want to make sure you know either C or C++. Those are really your only two options for making Switch apps. There are interpreters for Python and JS but afaik they don't support all LibNX functions.

If you know C and C++ then you're going to need to install the DevkitPro / LibNX toolchain. Install instructions are here: https://switchbrew.org/wiki/Setting_up_Development_Environment
If you're a Windows user then I very much recommend installing it via WSL.

Once you have DevkitPro / LibNX installed check out the LibNX example repo here to learn how it works https://github.com/switchbrew/switch-examples

Once you're comfortable using LibNX you can find the full documentation here. 99% of the time you're going to be looking in the "services" section unless you're doing something advanced. https://switchbrew.github.io/libnx/files.html

For your use case (monitoring the temps of the console) you probably want to be in the "tc" service. Here's a direct link for the documentation for that https://switchbrew.github.io/libnx/tc_8h.html

Remember to initialise the service before you try to call any of the functions. That's something that always trips people up. I forget to initialise services myself sometimes and get confused as to why the functions aren't working. If you look at the examples I linked above you'll see how that works.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
    +1
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
    +1
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
    +1
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
  • SylverReZ @ SylverReZ:
    @rqkaiju2, Physical media is a great source for archiving your data, none of that cloud storage shiz.
    +1
  • AncientBoi @ AncientBoi:
    [squeezes @SylverReZ onto a physical media, then archives you in my old stuff box] :tpi::rofl2::tpi:
    +1
  • BakerMan @ BakerMan:
    guys, should i change my pfp to one of these or keep it the same?
    iu

    iu

    (i guess i could change it to one of my other pfps too, but i just want to see what you guys think first)
  • SylverReZ @ SylverReZ:
    @BakerMan, Up to you.
  • BakerMan @ BakerMan:
    smug sonic time lmao
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Chronic The HempHog
    SylverReZ @ SylverReZ: https://www.youtube.com/watch?v=EtapU5nI6G4 +1