Homebrew Infra Red Resource Thread

  • Thread starter Thread starter RedHat
  • Start date Start date
  • Views Views 63,848
  • 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
Yes, MH4U is on my 3DS right now (eshop version) and I have the MH3U game card. I also have the smash special demo, but I don't think I have actually launched it.
I did not know that Sm4sh could use that, try launching the test app with a target set to Sm4sh/MH3U (Not the cart!).
 
I believe yellows8 has already stated that the 3ds ir service is too high level for TV RC homebrew.
http://3dbrew.org/wiki/IR_Services#IR_Services
In theory, we could mess with the chunk of the kernel that interfaces with this, but it would be nice to support the Amiibo thing and the CPP.

Test app? An app like regionFOUR (That can select target apps in Homebrew)? (Don't know if I missed something here :O )
You know how the save manager has you select a target? I think that is so it takes the permissions of the title, so you might be able to use the service if you target the correct application.
 
What is CPP?
The Circle Pad Pro. It gives old 3ds users an extra circle pad and the ZL + ZR buttons.

Edit: It looks like this:
Image and attaches to the bottom of the 3ds. It uses the IR port instead of some other (more sensible) medium.
 
Last edited by RedHat,
  • Like
Reactions: SomeGamer
The Circle Pad Pro. It gives old 3ds users an extra circle pad and the ZL + ZR buttons.

Edit: It looks like this:
Image and attaches to the bottom of the 3ds. It uses the IR port instead of some other (more sensible) medium.
I can't view the image, but thanks!
 
can't view the image, but thanks!
Eh, I tried to fix it. If it still doesn't work, google will give you a really good description of the CPP. It is quite useful in games that make use of the camera (MH4U for example). On the new3ds it has been replaced by that little nubby thing.

Edit:
You know how the save manager has you select a target? I think that is so it takes the permissions of the title, so you might be able to use the service if you target the correct application.
Oh! Really? Hmm, I'll have to look into that. I have no idea how to tell the homebrew launcher that I want the user to select an app. I also don't think many apps that point to MH4U actually work, as SVDT gave me a black, distorted screen (I think they call that emergency mode) when I launched it.
 
Last edited by RedHat,
Here is a quick app I wrote to help test IR on other platforms.
DOWNLOAD FROM GITHUB HERE. This repository has both the source code and the compiled *.3dsx + *.smdh files.

HERE IS WHAT IT DOES:
1. It tries (tries) to initialize the IR:U. This result (error, most likely) is shown as IR Init on the bottom screen.
2. It tries (again, tries) to set the state of the IR led to ON once every second for 2/60th of a second (to simulate what the 3DS does with the CPP). The result (error, most likely) is shown as IR I/O on the bottom screen.
3. It tells the user if the IR is on or not (flashing * ) as IR state on the bottom screen.
4. Grabs inputs from other HIDs that are currently known to work. (Will be shown as well).

If someone gets an error different than "d8e06406" for IR Init or "d8e007f7" for IR I/O, report it along with your *hax, version, and 3ds type (old/new, non XL/XL/2ds).

Obviously, the Circle Pad Pro does not work in this release.
(I don't know how to compile a *.cia, sorry. Also, feel free to contribute!)
 
  • Like
Reactions: SomeGamer
I really hope we get something like a NTR plugin to use the CPP stuff in the place of the N3DS second joystick/zl/zr. :<
 
You can check off o3DS XL, 9.5.0-22E using Themehax + Browserhax as having no noticeable differences or errors.
Alright. give me a sec and I'll go ahead and make a list in the OP of checked off devices. I wonder if a kernelhax etc will give something else. Can someone check my code to see if it is set up correctly (preferably someone who knows a little more C than I do, as I mostly code in Java)?

Edit: Done. Check OP for details.
 
Last edited by RedHat,
Yeah, I think that at this point we don't have much hope for the 3DS as a TV remote. We can basically scratch that off the list right now. However, if we can get the IR blaster to at least turn on we might be able to get the CPP to turn on as well, thus allowing us to scan the input of the CPP (as the CPP is a native protocol). I highly doubt that the data the CPP is encrypted, so these experiments might just be crazy enough to work. Perhaps someone could try the homebrew on a <9.2/9.0 firmware as those libraries haven't been updated for over 10 months :(.
 
Yeah, I think that at this point we don't have much hope for the 3DS as a TV remote. We can basically scratch that off the list right now. However, if we can get the IR blaster to at least turn on we might be able to get the CPP to turn on as well, thus allowing us to scan the input of the CPP (as the CPP is a native protocol). I highly doubt that the data the CPP is encrypted, so these experiments might just be crazy enough to work. Perhaps someone could try the homebrew on a <9.2/9.0 firmware as those libraries haven't been updated for over 10 months :(.
I have a 7.1 sysnand. Should I install cubic ninja with ninjhax 1 and try it out?
 
  • Like
Reactions: SomeGamer
Alright, may take some time. Have to setup ninjhax first.
Wait! This was a joke! I think you need to check the error codes you receive on the bottom screen. (If you get one (or two), that is.)
Or just check the IR port with your smartphone camera! ;)
 

Site & Scene News

Popular threads in this forum