Homebrew [SPIDER] Reading input

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
27
XP
4,740
Country
United States
So, a few days back, I made a post on the VC injection thread about being able to read input from spider. So, as promised, I'm delivering my findings.

1. Not truly "reading" input
This is actually based off of memory being modified when buttons are pressed. These may just be completely random addresses, but if they change when the button is pressed, then it doesn't really matter, does it? Sadly, I only have the X button working.

2. What next?
I initially started doing this for one reason: the hope that reading input would make it possible to create homebrew that wasn't just injecting ram. Now, what I need is everyone's help to make it possible.

3. How to help!
As I mentioned, if we can values that change with button presses, we can use them to detect if a button is pressed. So, what we need is to make MANY ram dumps. If you are interested in helping, here's what I recommend:
*Make LOTS of dumps with no buttons at all. Since some values changes with no interaction, figuring out what does and doesn't change because of other parts of the 3DS is crucial.
*Make notes! If you notice a value changes with interaction, but without it is doesn't, modify the memory dump to get that area only, to speed up the process. Keep everything you do, failure OR success. Every bit of information helps. Upload your findings to your post, and I'll take a look!

If you don't want to contribute/don't know how to help, but want to see it in action, I've attached a modified code.bin for the VC injection that will load x00.gbc if X is pressed, and the normal rom.gbc if not.

Submit the tests for the VC injection here: http://goo.gl/forms/GpKY7f92di.
 

Attachments

  • code.zip
    1,009 bytes · Views: 127

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
34
XP
808
Country
Japan
Hi! I'm just tried this rom select method. worked perfect on my 3DS XL Firmware 9.5.0-22J!
Thank you for your hard work!
And here is video for POC. I installed pokemon pikachu(named rom.gbc), pokemon Firered(named x00.gbc)
 

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
27
XP
4,740
Country
United States
Hi! I'm just tried this rom select method. worked perfect on my 3DS XL Firmware 9.5.0-22J!
Thank you for your hard work!
And here is video for POC. I installed pokemon pikachu(named rom.gbc), pokemon Firered(named x00.gbc)


Cool, thanks!

Also, would any devs be interested in implementing the x button into their homebrew? If anyone is, I can supply the code!
 
  • Like
Reactions: Februarysn0w

Procyon

TheRealProcyon
Member
Joined
Dec 13, 2014
Messages
1,940
Trophies
0
Age
23
Location
/home/procyon
Website
discord.me
XP
855
Country
Netherlands
Hi! I'm just tried this rom select method. worked perfect on my 3DS XL Firmware 9.5.0-22J!
Thank you for your hard work!
And here is video for POC. I installed pokemon pikachu(named rom.gbc), pokemon Firered(named x00.gbc)



I can't get it to work everytime I go back to pokemon I get random colors
 

You may also like...

General chit-chat
Help Users
  • No one is chatting at the moment.
    M4x1mumReZ @ M4x1mumReZ: @KenniesNewName, Crackatouille.