Homebrew WIP SlideNX | Change JoyCon attach/detach sound

Taffy

jdfiehgvrhfvhfjkvgrjhfejvgrjkbjvr
Member
Joined
Mar 3, 2017
Messages
621
Trophies
0
Age
21
Location
Student
XP
1,130
Country
United States
Mother 2 "WOW!" sample sound, here I come

Luckily, I have all of the other earthbound samples at my disposal too.
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
attach sound only works if the controller WAS connected. does not work on a newly paired controller or 'asleep' controller and i assume the same goes for a controller that is dead.
 

jonyluke

Well-Known Member
OP
Member
Joined
Aug 22, 2018
Messages
145
Trophies
0
Age
24
XP
1,162
Country
Spain
attach sound only works if the controller WAS connected. does not work on a newly paired controller or 'asleep' controller and i assume the same goes for a controller that is dead.
The module is in its version 0.1 I am aware of these things and will be fixed in the next release
 

nmkd

Well-Known Member
Member
Joined
Oct 25, 2016
Messages
554
Trophies
0
Age
26
XP
775
Country
Germany
Sadly, this sysmodule conflicts with sys-ftpd.

Kind of a shame right now, almost every kip has conflicts. You also can't use sys-ftpd and sys-netcheat at the same time.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
I have some source code questions, I hope you don't mind.

sysmodules are normal homebrew (nsp/nro) but renamed to kip?
they need to be threaded? (reading your sources, it never unthread it) I suppose modules must be threaded to all work in the background at the same time.
does "ispaused()" used to detect console sleepmode? or stop replacing the sound? I see it's triggered with 2 pressed buttons inside the threaded function, but the pause is done outside of the function so I'm not sure how it knows which thread to pause.

Maybe it's not working yet, and I'm looking at the wrong project to learn how to code sysmodules? but it was small enough to seems interesting to start here :P
 

enderer

Well-Known Member
Member
Joined
Jul 19, 2015
Messages
381
Trophies
0
Age
34
XP
1,652
Country
United States
i'm not complaining. merely trying to give adequate feedback, clearly described. i am extremely happy with this! sorry if i sound like a dick.
 
  • Like
Reactions: jonyluke

jonyluke

Well-Known Member
OP
Member
Joined
Aug 22, 2018
Messages
145
Trophies
0
Age
24
XP
1,162
Country
Spain
I have some source code questions, I hope you don't mind.

sysmodules are normal homebrew (nsp/nro) but renamed to kip?
they need to be threaded? (reading your sources, it never unthread it) I suppose modules must be threaded to all work in the background at the same time.
does "ispaused()" used to detect console sleepmode? or stop replacing the sound? I see it's triggered with 2 pressed buttons inside the threaded function, but the pause is done outside of the function so I'm not sure how it knows which thread to pause.

Maybe it's not working yet, and I'm looking at the wrong project to learn how to code sysmodules? but it was small enough to seems interesting to start here :P
The kip files are like the nro, but apart from that the makefile is different, it is necessary a json file in which you specify access to syscall or process information, also some functions like registerFspLr() in main.c
I think you mean the setPaused() function, is not necessary, i forgot to delete it.
I am very new programming, probably the code is not perfect, but you can use this as a base, or look at the code of other modules that already exist to give you an idea of how they work.

And yes, the module is working.:D
 
Last edited by jonyluke,

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Yes, I'll look at more modules and projects to learn more. especially all the json values.
thank you for the answers and info about all the pause functions, I wasn't sure how it was used. so it's not needed here.

thanks for making this module :)
 
  • Like
Reactions: jonyluke

jonyluke

Well-Known Member
OP
Member
Joined
Aug 22, 2018
Messages
145
Trophies
0
Age
24
XP
1,162
Country
Spain
Yes, I'll look at more modules and projects to learn more. especially all the json values.
thank you for the answers and info about all the pause functions, I wasn't sure how it was used. so it's not needed here.

thanks for making this module :)
I delete the function setPaused(), but the function isPaused() it is necessary.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
ah, okay. thanks.
though, it's never paused as it's init to false. But it might have another use later.

Unrelated, but I'll post here:
I've read the comment above that it has conflict with other sysmodule, so I checked if there were any titleID conflict but all sysmodules have different TitleID.
I made a list here, not sure if there were another list available on switchbrew or somewhere else. Maybe it'll help sysmodule developers to prevent using the same titleID.
It's missing some sysmodules, I'll add when I find their info.
 
Last edited by Cyan,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, i have a physical copy of mgs4
  • Xdqwerty @ Xdqwerty:
    ok I tried it and 1) it doesnt boot wood menu automatically and 2) when trying to load a game through wood theres just a loading screen
  • K3Nv2 @ K3Nv2:
    It's low on wood
    +1
  • Xdqwerty @ Xdqwerty:
    lemme ask in forums
  • Xdqwerty @ Xdqwerty:
    yawn
  • BigOnYa @ BigOnYa:
    @Xdqwerty No you heard wrong, and don't believe till you experience yourself. Fallout 4 is one of my favorite games of all time. Yes it had issues early on, esp with older hardware like the xbox1, but it is awesome, esp now being 4k on Series S/X or PS5
    +2
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, Then i think people were talking about fallout 76
  • Xdqwerty @ Xdqwerty:
    that one was buggy too
  • BigOnYa @ BigOnYa:
    Yea you right there, fallout 76 was a letdown, but it not that bad now, they have fixed slot of issues they had at launch. Biggest issue with Fallout 76 is its a pay to advance further type of game, which sucks
  • Xdqwerty @ Xdqwerty:
    @BigOnYa, I may probably download fallout 3 or new vegas on my ps3
  • Xdqwerty @ Xdqwerty:
    cuz I didnt like fallout 1 that much
  • BigOnYa @ BigOnYa:
    New Vegas is awesome, F3 was ok too.
  • Psionic Roshambo @ Psionic Roshambo:
    I played Fallout 4 on PC, I enjoyed it honestly. Not my favorite game on earth but at the same time I didn't hate it at all lol
  • BigOnYa @ BigOnYa:
    That's cool you got a ps3... Glad to hear. Game on!
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Ironic this was posted today lol
  • BigOnYa @ BigOnYa:
    I think the tv series has boasted play of, I did see they said playing of it Is up, way more than norm
    +1
  • BigOnYa @ BigOnYa:
    I've been playing the next gen version on Series X all day, I love it. :wub:
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Downloading some random stuff, damn almost 400GBs in like 4 hours lol
  • Psionic Roshambo @ Psionic Roshambo:
    Gonna be over 1TB this month.... damn lol
  • Xdqwerty @ Xdqwerty:
    good night
    +1
  • BigOnYa @ BigOnYa:
    At least you have some fast speeds. What a drag that used to be, I remb downloading 1 pic back in the day, and seeing line by line show
    +1
  • BigOnYa @ BigOnYa:
    Nighty night.
  • BigOnYa @ BigOnYa:
    Or worse, you downloading something, and someone calls your phone and interupts the download, good ole AOL. Of course that's before most you guys even were born yet.
    BigOnYa @ BigOnYa: Or worse, you downloading something, and someone calls your phone and interupts the download...