Homebrew Is it possible to interact with rosalina from code ?

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
767
Trophies
0
Age
22
Location
Bordeaux
XP
689
Country
France
Hi,
I've been looking towards improving my 3ds development workflow by making something akin to psplink to make debugging my software on 3ds easier

currently the way to do it is by launching the homebrew launcher, manually start 3dslink by pressing a button, and make sure beforehand in rosalina to activate gdb for the next running application, this is problematic since i end up having to repeat this process every single time i start my homebrew manually, this is very time consuming
even more if the homebrew crashes and i have to restart the whole console
so i'd want to modify the homebrew launcher's source to make it enable 3dslink on startup which should be pretty easy, however when it comes to enable gdb for the next app in rosalina menu i'm wondering if it's possible

i would need to basically communicate with rosalina from C/C++ and make it enable it

also to make things faster i'd like the homebrew launcher to get started on boot of the 3ds instead of the 3ds system menu
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,251
Trophies
3
XP
28,399
Country
United States
Hi,
I've been looking towards improving my 3ds development workflow by making something akin to psplink to make debugging my software on 3ds easier

currently the way to do it is by launching the homebrew launcher, manually start 3dslink by pressing a button, and make sure beforehand in rosalina to activate gdb for the next running application, this is problematic since i end up having to repeat this process every single time i start my homebrew manually, this is very time consuming
even more if the homebrew crashes and i have to restart the whole console
so i'd want to modify the homebrew launcher's source to make it enable 3dslink on startup which should be pretty easy, however when it comes to enable gdb for the next app in rosalina menu i'm wondering if it's possible

i would need to basically communicate with rosalina from C/C++ and make it enable it

also to make things faster i'd like the homebrew launcher to get started on boot of the 3ds instead of the 3ds system menu
I'd suggest asking on the luma 3ds github. the one and only time I asked them a question, they were quick to respond. good luck.
 

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
767
Trophies
0
Age
22
Location
Bordeaux
XP
689
Country
France
atm i was able to improve a bit the workflow by making the homebrew launcher start on boot and modifying the source code of both homebrew launcher and luma to make luma start directly with debugger started and homebrew launcher to start in a "3dslink only mode" where it will automatically wait for 3dslink binaries at all time

the only missing thing is how i could make homebrew launcher define the rosalina flag "force debug next application at launch" when starting a homebrew
 
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,251
Trophies
3
XP
28,399
Country
United States
atm i was able to improve a bit the workflow by making the homebrew launcher start on boot and modifying the source code of both homebrew launcher and luma to make luma start directly with debugger started and homebrew launcher to start in a "3dslink only mode" where it will automatically wait for 3dslink binaries at all time

the only missing thing is how i could make homebrew launcher define the rosalina flag "force debug next application at launch" when starting a homebrew
Dunno. That's beyond my knowledge. When that happens, I usually ask devs.
 

Pikachuk

Well-Known Member
OP
Member
Joined
Mar 19, 2016
Messages
767
Trophies
0
Age
22
Location
Bordeaux
XP
689
Country
France
It took me some time to understand but after looking at luma's code for a while i now get how it works. I'll do the required adjustments to luma and homebrew launcher
 
General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
    K3N1 @ K3N1: 🍑