Requesting help finding software to run Python script on CFW Nintendo 3DS

HardChibi

New Member
OP
Newbie
Joined
Mar 20, 2023
Messages
3
Trophies
0
Age
26
XP
47
Country
Canada
Hi,

I installed CFW today and as such, have Luma3DS. With this 3DS I want to write and run a Python script that would open my Virtual Console Pokemon game and Soft Reset a shiny Lugia. I have previously written a script inspired by a certain public GitHub repo (I do not have enough reputation to share the link) on my PC that allowed me to Soft Reset on my PC emulator.

This is why I am asking whether there is a CFW app that I can install where I can write and run a Python script that would simulate button presses and take a screenshot of the screen to shiny check on the CFW 3DS. Any help is greatly appreciated.

If this is not the right place to ask this question, should I make a post for it?

Edit: I am aware that there exists an SR tool in PKMN NTR but I do not wish to download it as I have no desire to use any of its other features and not to mention it has features like downloading .pk* files. Furthermore, I do not wish to read the internal game data and check whether it is shiny but rather take a more "human approach".
 

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,324
Trophies
4
Location
Space
XP
13,903
Country
Norway
Hi,

I installed CFW today and as such, have Luma3DS. With this 3DS I want to write and run a Python script that would open my Virtual Console Pokemon game and Soft Reset a shiny Lugia. I have previously written a script inspired by a certain public GitHub repo (I do not have enough reputation to share the link) on my PC that allowed me to Soft Reset on my PC emulator.

This is why I am asking whether there is a CFW app that I can install where I can write and run a Python script that would simulate button presses and take a screenshot of the screen to shiny check on the CFW 3DS. Any help is greatly appreciated.

If this is not the right place to ask this question, should I make a post for it?

Edit: I am aware that there exists an SR tool in PKMN NTR but I do not wish to download it as I have no desire to use any of its other features and not to mention it has features like downloading .pk* files. Furthermore, I do not wish to read the internal game data and check whether it is shiny but rather take a more "human approach".
There are ways you could do this, but it would involve using Luma3DS' Input Redirection combined with video streaming with NTR-CFW/HzMod and running the script on a PC. It would work very similarly to doing it in an emulator.
There is no app to run python scripts in the background. A NTR-CFW plugin or Luma3DS modification could do it, but would require C/C++ coding. It's not possible with normal homebrew.


I'm not sure why you want to do this on the 3DS though, when you could do it on a PC emulator and transfer the save onto the Virtual Console version afterwards, which would be easier and more convenient.
 
  • Like
Reactions: HardChibi

zxr750j

Longtime member
Member
Joined
Sep 29, 2003
Messages
938
Trophies
2
Location
Utrecht
XP
2,942
Country
Netherlands
I hard-wired testpoints on my 3ds to a 8 port relay attached to a raspberry pi running python (with a lightsensor for the timing). Got all the ultrabeasts and legendary from ultrasun/moon shiny :)
 
  • Like
Reactions: HardChibi

The Real Jdbye

*is birb*
Member
Joined
Mar 17, 2010
Messages
23,324
Trophies
4
Location
Space
XP
13,903
Country
Norway
I hard-wired testpoints on my 3ds to a 8 port relay attached to a raspberry pi running python (with a lightsensor for the timing). Got all the ultrabeasts and legendary from ultrasun/moon shiny :)
I've heard of this method, I don't think a light sensor would work for Virtual Console games though.
 

zxr750j

Longtime member
Member
Joined
Sep 29, 2003
Messages
938
Trophies
2
Location
Utrecht
XP
2,942
Country
Netherlands
For the switch I've got a cheap hdmi capturecard thing to replace the simple light sensor. A webcam on a raspberry will work absolutely fine, just read one pixel and adjust thresholds.
 

HardChibi

New Member
OP
Newbie
Joined
Mar 20, 2023
Messages
3
Trophies
0
Age
26
XP
47
Country
Canada
There are ways you could do this, but it would involve using Luma3DS' Input Redirection combined with video streaming with NTR-CFW/HzMod and running the script on a PC. It would work very similarly to doing it in an emulator.
There is no app to run python scripts in the background. A NTR-CFW plugin or Luma3DS modification could do it, but would require C/C++ coding. It's not possible with normal homebrew.


I'm not sure why you want to do this on the 3DS though, when you could do it on a PC emulator and transfer the save onto the Virtual Console version afterwards, which would be easier and more convenient.
Thanks for the response! I am mainly doing this because this is the copy of the VC I bought and I have been SRing for this Lugia for years. I have roughly 14000 SRs done but nowadays if I SR for a longer period of time my fingers hurt and as such I am looking for a more automated option. I will look into the Input Redirection + NTR streaming you mentioned and see what I can do.
Post automatically merged:

I hard-wired testpoints on my 3ds to a 8 port relay attached to a raspberry pi running python (with a lightsensor for the timing). Got all the ultrabeasts and legendary from ultrasun/moon shiny :)
This sounds interesting! I am going to look into the method mentioned by @The Real Jdbye at first but I would love to look at your setup as well!
Post automatically merged:

There are ways you could do this, but it would involve using Luma3DS' Input Redirection combined with video streaming with NTR-CFW/HzMod and running the script on a PC. It would work very similarly to doing it in an emulator.
There is no app to run python scripts in the background. A NTR-CFW plugin or Luma3DS modification could do it, but would require C/C++ coding. It's not possible with normal homebrew.


I'm not sure why you want to do this on the 3DS though, when you could do it on a PC emulator and transfer the save onto the Virtual Console version afterwards, which would be easier and more convenient.
I tried Input Redirection and HzMod video streaming (mine is old 3DS) but it looks like you can't stream VC games. I will try using a webcam/ phone camera instead and see if I can get a good video feed.
 
Last edited by HardChibi,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Taco Saturday
  • AncientBoi @ AncientBoi:
    Uhh, It's 🌯 Saturday dude. :) js
  • BigOnYa @ BigOnYa:
    Nope that for tomorrow, cinco de mayo, today is bbq chicken on the grill.
  • K3Nv2 @ K3Nv2:
    Juan's new years I forgot
    +2
  • AncientBoi @ AncientBoi:
    :hrth::toot::grog::grog::grog::bow: HAPPY BIRTHDAY to me :bow::grog::grog::toot::hrth:
  • K3Nv2 @ K3Nv2:
    One day away from Juan's birthday
  • K3Nv2 @ K3Nv2:
    Only if you send him feet
    +1
  • BigOnYa @ BigOnYa:
    Happy birthday!
    +1
  • AncientBoi @ AncientBoi:
    Thank You :D
  • realtimesave @ realtimesave:
    heh I got a guy who created an account just yesterday asking me where to find mig switch roms
  • realtimesave @ realtimesave:
    too much FBI watching this website to answer that kind of question lol
  • K3Nv2 @ K3Nv2:
    Has the mig switch found loopholes without requiring game keys?
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, happy birthday
  • Xdqwerty @ Xdqwerty:
    Yawn
  • Xdqwerty @ Xdqwerty:
    Lonely here
  • Xdqwerty @ Xdqwerty:
    Anybody?
  • Psionic Roshambo @ Psionic Roshambo:
    I want my money back... Drug test? No drugs to test but they want me to pee in a cup! Lol
  • K3Nv2 @ K3Nv2:
    Better call Pedro you're up in smoke
    +2
  • C @ Clayton44333:
    hey any1 know if there is a new version of the ps4 homebrew store ?
  • Xdqwerty @ Xdqwerty:
    Finally there are people here
  • K3Nv2 @ K3Nv2:
    We're figments of your imagination
    K3Nv2 @ K3Nv2: We're figments of your imagination