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,377
Trophies
4
Location
Space
XP
13,994
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
947
Trophies
2
Location
Utrecht
XP
2,958
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,377
Trophies
4
Location
Space
XP
13,994
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
947
Trophies
2
Location
Utrecht
XP
2,958
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
  • No one is chatting at the moment.
  • Jayro @ Jayro:
    The phat model had amazingly loud speakers tho.
    +1
  • SylverReZ @ SylverReZ:
    @Jayro, I don't see whats so special about the DS ML, its just a DS lite in a phat shell. At least the phat model had louder speakers, whereas the lite has a much better screen.
    +1
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
    rqkaiju2 @ rqkaiju2: i like physical media because it actually feels like you own it. thats why i plan on burning...