Homebrew [Help] Create a 2nd process with libctru

Djesteur

Member
OP
Newcomer
Joined
Nov 8, 2018
Messages
5
Trophies
0
Age
27
XP
85
Country
France
I don't understand how to create a new process that it a copy of the current process with ctru.
I have to use svcOpenProcess + svrRun ?
If yes:
- Use CUR_PROCESS_HANDLE + svcGetProcessId is a good way for getting current process id ?
- For the svcRun function, a StartupInfo is asked. Which priority I have to give to my new process ? What is the stack size argument ?

If no, how to do that I want ?

By the way, I don't undersand how to interpret error messages when I use ERRF_ThrowResult.
For example, how do you understand this error: 0xd900060C (Error type: generic, Address: 0x00100D34) ?

EDIT: Finally I think I'll not need to use it, but I still interesting to know how to do !
 
Last edited by Djesteur,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • SylverReZ @ SylverReZ:
    @ZeroT21, You running Windows XP in 2024?
  • K3Nv2 @ K3Nv2:
    Whore yourself out 12 times for $100 and go buy a pc
    +1
  • ZeroT21 @ ZeroT21:
    i got xp but running it off usb only, no way ima keep that
  • ZeroT21 @ ZeroT21:
    it gets hacked/corrupted if i just leave it online for an hour
  • SylverReZ @ SylverReZ:
    @ZeroT21, The Russians are after you lol.
  • K3Nv2 @ K3Nv2:
    Send me your ip I'll remotely fix it
  • ZeroT21 @ ZeroT21:
    @K3Nv2 my head needs fixing if I believe you
  • ZeroT21 @ ZeroT21:
    it's kinda fun watching it happen tho
  • K3Nv2 @ K3Nv2:
    It needs fixing for other things but your pc I can fix
  • ZeroT21 @ ZeroT21:
    over 300+ virus/trojians/worms after scanning, what did I do to deserve this attention lol
  • ZeroT21 @ ZeroT21:
    tho I find it funny when i receive other people's pc/laptops in this state
  • ZeroT21 @ ZeroT21:
    i wont be upgrading unless I cant run the games i want anymore
  • K3Nv2 @ K3Nv2:
    Spill water on it good excuse
  • ZeroT21 @ ZeroT21:
    @K3Nv2 that's like a valid option if someone else is paying for ya
  • K3Nv2 @ K3Nv2:
    Daddy's wallet
  • K3Nv2 @ K3Nv2:
    Ngl hogwarts legacy has good pooping music
  • OctoAori20 @ OctoAori20:
    That's uh-
  • OctoAori20 @ OctoAori20:
    That's certainly a Dairy Queen sign lmao
  • K3Nv2 @ K3Nv2:
    You should see his help wanted signs
  • OctoAori20 @ OctoAori20:
    Ugh, so many sweat-dipwads in Sploon 3 Anarchy mode tonight
  • OctoAori20 @ OctoAori20:
    I didn't know this was "Make Octo never finish Fresh Season 2024 Catalog in Splatoon 3" month, good god
    K3Nv2 @ K3Nv2: https://www.ign.com/articles/call-of-duty-black-ops-6-confirmed-by-activision