Homebrew [SPIDER] Reading input

shutterbug2000

Cubic NINJHAX!
OP
Member
Joined
Oct 11, 2014
Messages
1,088
Trophies
0
Age
29
XP
4,878
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: 161

Februarysn0w

Well-Known Member
Member
Joined
Oct 31, 2014
Messages
1,206
Trophies
0
Age
36
XP
837
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
29
XP
4,878
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
24
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
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • a_username_that_is_cool @ a_username_that_is_cool:
    DDDS . Dual Developer Dedede System :)
    +1
  • BakerMan @ BakerMan:
    also happy birthday @Xdqwerty
    +1
  • BigOnYa @ BigOnYa:
    Is it me you're looking for?
  • MysticStarlight @ MysticStarlight:
    'Cause I wonder where you are
  • MysticStarlight @ MysticStarlight:
    wait I got the lyrics mixed up
    +1
  • BigOnYa @ BigOnYa:
    And I wonder what you do...Lol
  • BigOnYa @ BigOnYa:
    Its all good, I'm here to talk to you.
  • BigOnYa @ BigOnYa:
    Hello
  • BigOnYa @ BigOnYa:
    I've been playing fallout4 all day, I went into a elevator and it kept going, never stopped, waited 5 minutes, must of been a bug. How bout you, whatcha do today?
    +1
  • MysticStarlight @ MysticStarlight:
    I'm wondering why a stray tuxedo cat has a cloudy eye
  • MysticStarlight @ MysticStarlight:
    I've been playing TOTK all day also
    +1
  • MysticStarlight @ MysticStarlight:
    Oh you reminded me of those elevator nightmares
  • BigOnYa @ BigOnYa:
    Awesome game, fun how they force you to build, but you can build as you want
  • MysticStarlight @ MysticStarlight:
    It is super fun, I actually prefer it over BoTW
    +1
  • BigOnYa @ BigOnYa:
    The guy holding the sign always cracked me up, esp when you fail, and it falls
  • MysticStarlight @ MysticStarlight:
    Ah yes, that guy lol. I still need to find all his signs. The game has a lot to do though so I don't know what to finish first
  • MysticStarlight @ MysticStarlight:
    I'm 120 hours in and am still like 44.4% done
    +1
  • BigOnYa @ BigOnYa:
    Good times. Building is starting to get good around now for you. You making me want to make run thru again.
  • BigOnYa @ BigOnYa:
    Ok good chatting, enjoy your gaming, and avoid the lightning, or put your sword away. Good night.
  • K3Nv2 @ K3Nv2:
    All I gotta do is not spend $10 in the next 5 days and I'll break even this month lol
  • K3Nv2 @ K3Nv2:
    @BigOnYa, tell your wife not to forget her wallet
    +1
    K3Nv2 @ K3Nv2: https://youtu.be/YMAa6obDNZs?si=rymChLKeTdyS8nqk