Homebrew Infra Red Resource Thread

  • Thread starter Thread starter RedHat
  • Start date Start date
  • Views Views 63,832
  • Replies Replies 226
  • Likes Likes 10

Would you like to see development for IR homebrew (CPP or not) on the 3ds?

  • Yes, and I have the CPP!

    Votes: 41 19.2%
  • Yes, why not!

    Votes: 167 78.4%
  • No.

    Votes: 5 2.3%

  • Total voters
    213
Oh wait. CPP stands for Circle Pad Pro right? Ehh do I need that? xDD
Nah. When you use the app it'll show some errors (most likely) on the bottom screen (if it says something other than "d8e06406" for IR Init or "d8e007f7" for IR I/O, it could help us!). Try pointing a camera towards the black port on the back of the 3ds and if you see a nice purple flash (the current goal), it works!
 
  • Like
Reactions: Margen67
Nah. When you use the app it'll show some errors (most likely) on the bottom screen (if it says something other than "d8e06406" for IR Init or "d8e007f7" for IR I/O, it could help us!). Try pointing a camera towards the black port on the back of the 3ds and if you see a nice purple flash (the current goal), it works!
Alright.
 
Nah. When you use the app it'll show some errors (most likely) on the bottom screen (if it says something other than "d8e06406" for IR Init or "d8e007f7" for IR I/O, it could help us!). Try pointing a camera towards the black port on the back of the 3ds and if you see a nice purple flash (the current goal), it works!
Same error on 7.1 sysnand.
SFFN98A.jpg

Also nothing when pointing a camera on the ir port.
 
  • Like
Reactions: Margen67
Same error on 7.1 sysnand.
Gah! Maybe the homebrew I made doesn't work. It's really hard to do this since there hasn't been much discussion on IR in the first place... Annnd back to the drawing board. Thanks for testing it!

Edit: Could I put that picture in the readme.md as an example screenshot on the github?
Edit edit: Put you in the OP. Thanks!
Edit edit edit: I wonder if smea's next big release has more IR functions... Hurry up, smea, I really want to take screenshots as well!
 
Last edited by RedHat,
I used to use irshell on psp just for the awesome windows theme that made it seem almost like a real pc. They had hooks into services that either weren't available in the xmb or I just didn't know how to access them. I literally did not use the tv remote function once lol I would today, though. I have so many remotes it's ridiculous.
 
  • Like
Reactions: Margen67
Gah! Maybe the homebrew I made doesn't work. It's really hard to do this since there hasn't been much discussion on IR in the first place... Annnd back to the drawing board. Thanks for testing it!

Edit: Could I put that picture in the readme.md as an example screenshot on the github?
Edit edit: Put you in the OP. Thanks!
Edit edit edit: I wonder if smea's next big release has more IR functions... Hurry up, smea, I really want to take screenshots as well!
Yeah ofc :D
 
  • Like
Reactions: Margen67
Nah. When you use the app it'll show some errors (most likely) on the bottom screen (if it says something other than "d8e06406" for IR Init or "d8e007f7" for IR I/O, it could help us!). Try pointing a camera towards the black port on the back of the 3ds and if you see a nice purple flash (the current goal), it works!

0xd8e06406:
Module: 25 (SRV)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 6 (Access Denied)

0xd8e007f7:
Module: 1 (Kernel)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 1015 (Invalid Handle)

So in other words, you're trying to access the ir:u service without permissions, and then trying to use ir:u with an invalid handle (because you didn't get one due to access being denied). To be allowed to use it, you'll probably need to create an xml file for your 3dsx with contents like this (and also named the same, so for example: irtest.3dsx, and irtest.xml):

Code:
<targets selectable="true">
</targets>

..and then select a game or app that lets you use ir:u (probably Pokémon games; they feature IR trading, if I recall) when you try to run it from the HB launcher.
 
Last edited by daxtsu,
  • Like
Reactions: Margen67
0xd8e06406:
Module: 25 (SRV)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 6 (Access Denied)

0xd8e007f7:
Module: 1 (Kernel)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 1015 (Invalid Handle)

So in other words, you're trying to access the ir:u service without permissions, and then trying to use ir:u with an invalid handle (because you didn't get one due to access being denied). To be allowed to use it, you'll probably need to create an xml file for your 3dsx with contents like this (and also named the same, so for example: irtest.3dsx, and irtest.xml):

Code:
<targets selectable="true">
</targets>

..and then select a game or app that lets you use ir:u (probably Pokémon games; they feature IR trading, if I recall) when you try to run it from the HB launcher.
Can't he do something like this?
<code>
<services autodetect="false">
<request priority="1">ir:u</title>
</services>
</code>
 
  • Like
Reactions: Margen67
0xd8e06406:
Module: 25 (SRV)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 6 (Access Denied)

0xd8e007f7:
Module: 1 (Kernel)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 1015 (Invalid Handle)

So in other words, you're trying to access the ir:u service without permissions, and then trying to use ir:u with an invalid handle (because you didn't get one due to access being denied). To be allowed to use it, you'll probably need to create an xml file for your 3dsx with contents like this (and also named the same, so for example: irtest.3dsx, and irtest.xml):

Code:
<targets selectable="true">
</targets>

..and then select a game or app that lets you use ir:u (probably Pokémon games; they feature IR trading, if I recall) when you try to run it from the HB launcher.
Holy heck, thanks! If I was at my computer I'd totally try it, but I am not. If it's just a simple XML file I might be able to write one on my phone. Thanks for decoding those result messages!
 
Last edited by RedHat,
  • Like
Reactions: Margen67
Can't he do something like this?
<code>
<services autodetect="false">
<request priority="1">ir:u</title>
</services>
</code>

I suppose so. I've not really messed with these XML files much. I typically use CIA-format homebrew. It's worth a shot though.
 
  • Like
Reactions: Margen67
I suppose so. I've not really messed with these XML files much. I typically use CIA-format homebrew. It's worth a shot though.
Just using that doesn't work. Trying with pokemon now.

--------------------- MERGED ---------------------------

0xd8e06406:
Module: 25 (SRV)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 6 (Access Denied)

0xd8e007f7:
Module: 1 (Kernel)
Level: 27 (Permanent)
Summary: 7 (Invalid Argument)
Description: 1015 (Invalid Handle)

So in other words, you're trying to access the ir:u service without permissions, and then trying to use ir:u with an invalid handle (because you didn't get one due to access being denied). To be allowed to use it, you'll probably need to create an xml file for your 3dsx with contents like this (and also named the same, so for example: irtest.3dsx, and irtest.xml):

Code:
<targets selectable="true">
</targets>

..and then select a game or app that lets you use ir:u (probably Pokémon games; they feature IR trading, if I recall) when you try to run it from the HB launcher.
Added that file and selected pokemon as. Same error :/
 
  • Like
Reactions: Margen67
I suppose it's possible that the current *hax payload doesn't allow for ir:u/ir:USER then. Could probably use ARM11 kernel to patch service access checks (but if you can do that you almost may as well just use a CIA instead), but that'd require 9.2 and below, of course.
 
Last edited by daxtsu,
  • Like
Reactions: Margen67
Yeah, android + FTP client worked fine tethered.
Anyway, here are my findings:
MH4U and its demo cause the screen to go berserk when launched. Sm4sh does the same. No IR activity.
No luck with the eShop Poke X either.
I'll try MH3U when I have access to the game card.

Heck, if someone could gain control over IR with a *.cia, I wouldn't even be mad (as I am on 10.1.0-27U right now :/ ). Its a start!
 
  • Like
Reactions: Margen67
Try download play.
However, 3ds have very unique signal, so tv remote is very unlikely. I think homebrew multiplayer much more enthusiastic.
 
  • Like
Reactions: Margen67
Yeah, android + FTP client worked fine tethered.
Anyway, here are my findings:
MH4U and its demo cause the screen to go berserk when launched. Sm4sh does the same. No IR activity.
No luck with the eShop Poke X either.
I'll try MH3U when I have access to the game card.

Heck, if someone could gain control over IR with a *.cia, I wouldn't even be mad (as I am on 10.1.0-27U right now :/ ). Its a start!
I maybe could try that. But I'll first have to read how to create a cia.
 
  • Like
Reactions: Margen67 and RedHat
Try download play.
However, 3ds have very unique signal, so tv remote is very unlikely. I think homebrew multiplayer much more enthusiastic.

This definitely. If we could get this working, we might be able to intergrate second player (SNES, NES) or link cable features (Pokemon) into emulators. Heck, even a 3DSCraft local would be neat.
 
Last edited by Pandaxclone2,
Heck, if someone could gain control over IR with a *.cia, I wouldn't even be mad (as I am on 10.1.0-27U right now :/ ). Its a start!

It's trivial to do with a CIA, since you can ask for literally any service (by defining what you have access to in the RSF file). Your code is working fine on my N3DS in CIA format, outputting an IR signal properly (checked with a smartphone camera). If you can find a way to get access to the service on *hax, then you should be able to also.
 
  • Like
Reactions: Margen67 and RedHat

Site & Scene News

Popular threads in this forum