Homebrew [Release] 3DS-TEST - Button Testing Homebrew

  • Thread starter Thread starter 8BitWonder
  • Start date Start date
  • Views Views 38,923
  • Replies Replies 27
  • Likes Likes 10

8BitWonder

Small Homebrew Dev
Member
Joined
Jan 23, 2016
Messages
2,549
Solutions
1
Reaction score
3,350
Trophies
2
Location
47 4F 54 20 45 45 4D
XP
6,341
Country
United States
wbRyxKD.png


Good morning/afternoon/evening tempers! Today I've finished another little project I've been working on for the past couple of days, and figured I'd go ahead and release it (WITH a .CIA build this time!). This homebrew app was made in Lua using the incredible framework LövePotion, which I'll vouch for again by saying that it's compatibility
with Citra made development a breeze, and it's error handling system made debugging a cinch!

This app is simply for testing the buttons/pads of your 3DS or 2DS system, and has been styled similarly to Nintendo's own NES-TEST. You press the button or slide the pad in a certain direction and it will light up on screen and make a sound indicating it's working. When you're done testing your buttons you can exit the application by pressing both A and B.

Now onto some screenshots and features. ;)

Screenshots:
Main Menu
OoJQaaq.png


Button Testing Menu
yQeRioy.png

Features:
  • 8-Bit goodness
  • Button testing action
  • Sound for each button
  • 3DSX and CIA build (TID: 0004000000C64A00)
Controls:
  • Any and all of them (Home button is not tested)
Issues:
  • None that I am aware of
And that's pretty much it! I hope some of you can get a little use out of this app, enjoy! ;)

Download + Source:

Download: https://github.com/16BitWonder/3DS-TEST/releases
 
Last edited by 8BitWonder,
Not bad, very helpful for testing my L and R shoulder pads when ever they short out. Thank you :3

Only found 1 bug, app crashes when pressing A and B to exit so using home button instead.
 
Only found 1 bug, app crashes when pressing A and B to exit so using home button instead.
No that's normal, it says on the top screen if you press both "A" and "B" together that it will exit the test. No special text or notification, it just exits.

Or wait, are you getting a luma exception? Like a system crash?
 
Last edited by 8BitWonder,
No that's normal, it says on the top screen if you press both "A" and "B" together that it will exit the test. No special text or notification, it just exits.

Or wait, are you getting a luma exception? Like a system crash?

Yes, after pushing a and b I get a black screen with the exception error
Exception process; data abort
Stack dump:
No stack dump.
 
Yes, after pushing a and b I get a black screen with the exception error
Exception process; data abort
Stack dump:
No stack dump.
That's very odd. What's you're setup?

Are you using a luma nightly?
.CIA or .3DSX?
If .3DSX, HBMenu 1.1.0 or 2.0.0?
What kind of system are you using?
Also, is it doing this crash every time you exit or sparingly?
 
Last edited by 8BitWonder,
That's very odd. What's you're setup?

Are you using a luma nightly?
.CIA or .3DSX?
If .3DSX, HBMenu 1.1.0 or 2.0.0?
What kind of system are you using?
Also, is it doing this crash every time you exit or sparingly?

.cia
O3DS 11.6.0-39U
Crashes everytime on this app only when exiting with a and b
Also side note, some other Homebrew cia's have stopped working recently after the 8.1.1 Luma3DS update witch probably mite explain it but not sure.
 
Crashes everytime on this app only when exiting with a and b
Also side note, some other Homebrew cia's have stopped working recently after the 8.1.1 Luma3DS update witch probably mite explain it but not sure.
I seem to be getting the same crashes when I clock my N3DS back to 268MHz and disable L2 cache.
I have an idea how to tackle this, but can't guarantee it will fix this issue.

Also could you please check if you're using hbmenu 2.0.0 or 1.1.0? That may also be part of the problem.
 
Last edited by 8BitWonder,
I seem to be getting the same crashes when I clock my N3DS back to 268MHz and disable L2 cache.
I have an idea how to tackle this, but can't guarantee it will fix this issue.

Also could you please check if you're using hbmenu 2.0.0 or 1.1.0? That may also be part of the problem.
I'm not familiar with Lua, but is there a method to free the textures/sounds from memory before exiting?
 
I'm not familiar with Lua, but is there a method to free the textures/sounds from memory before exiting?
Yeah I'm thinking that might be the problem. I didn't unload any of the sounds or textures on exit.
But that wouldn't explain why other apps are crashing for that user. So I'm guessing and currently testing hbmenu 1.1.0 and 2.0.0 (downclocked to O3DS) for crashes from homebrew apps.
 
Yeah I'm thinking that might be the problem. I didn't unload any of the sounds or textures on exit.
But that wouldn't explain why other apps are crashing for that user. So I'm guessing and currently testing hbmenu 1.1.0 and 2.0.0 (downclocked to O3DS) for crashes from homebrew apps.
It could be that Luma takes up enough memory with Rosalina involved, so those applications might not be compatible.
 
Testing a possible fix now, might have been as simple as using the quit command incorrectly.

Also there does not seem to be a way to unload images or sounds with lovepotion.
 

Site & Scene News

Popular threads in this forum