Homebrew Infra Red Resource Thread

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

  • Yes, and I have the CPP!

    Votes: 40 19.1%
  • Yes, why not!

    Votes: 164 78.5%
  • No.

    Votes: 5 2.4%

  • Total voters
    209

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
From what I can tell, IR is not yet available to Homebrew development. However, it would be nice to make that a reality!
Nope, never mind. Basic functions (an soon more complicated functions) are now available!

Here are some resources I have found regarding the IR port for the o3DS:
IR_Services - The 3Dbrew list of Infra Red related services (includes irrst, or the service relating to the c stick of the n3DS).
smea's ir.c and its header - C tools used to interface with IR. Don't seem to currently work.
IR:rst - Tools used to interface with the C stick (currently works, I assume, but I have an o3ds...).
A test I made from a fork of CTurt's 3DS Controller in attempt to init and use the IR port. (Gives error d8e06406 on initialization).
Another test specifically to cover inputs for the 3ds. TRY THIS ONE AND REPORT YOUR FINDINGS. Has compiled binaries and an icon.
(I will add any other resources found by others to here)

From what I have searched, it appears that IR and the CPP don't have a place to call home, so here it is! If there is any information you have on IR, please post it here (I would really like to see peoples CPP work with homebrew!).

(Hopefully this is more constructive than that eShop sales editor thread... but if I broke a rule please tell me, as this is my first post here.)

BIG IMPORTANT EDIT:
Users are currently checking IR availability using this program. Check the quoted post for details. Updates on model/version/*hax will be posted below.
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.

Tested:
@RedHat o3DSXL,, 10.1.0-27U using Tubehax+ Browserhax --WORKS WITH OoT!
@RedHat 2DS, 9.6.0-24U using Tubehax + Browserhax
@Pandaxclone2 o3DS XL, 9.5.0-22E using Themehax + Browserhax --WORKS WITH OoT!
@VegaRoXas 2DS, 7.1 using Ninjahax on Sysnand --WORKS WITH OoT!
@Megalegacy98 2DS, 10.1 using Ironhax/Tubehax/Themehax
(I assume others have had OoT work as well)

SUPER ULTRA BIG EDIT!:

In order to use IR, the homebrew that uses IR MUST be launched with the following apps:
  • Cubic Ninja (US and EUR)
  • Ocarina of Time 3D
  • Toki no Ocarina 3D (OoT 3D)
  • Dead or Alive Dimensions.
If "select an app" does not appear when starting a homebrew that uses IR, please check to make sure your .xml file is configured correctly. It should be called (name of homebrew).xml and have this inside:

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

Thanks to:
@VegaRoXas
@SomeGamer
@Pandaxclone2
@daxtsu
@Megalegacy98
@the assaf
AND ANY OTHERS FOR ONGOING DEVELOPMENT!
 
Last edited by RedHat,

lemanuel

Maxconsole's All-Knowing Lurker
Member
Joined
Dec 11, 2014
Messages
2,095
Trophies
0
XP
1,254
Country
Portugal
This reminds me of IRShell for the original PSP. I would love to be able to control my TV (and the people across the street's TV :evil:) with my 3DS.

I think I read long ago that it isn't possible for the IR from the 3DS to work the same way as IR from a remote controller
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
I think I read long ago that it isn't possible for the IR from the 3DS to work the same way as IR from a remote controller

I was looking at the libraries for IR and if we can control the LED fast enough (by switching it manually on and off) it might be possible for TVs. But the 3ds's IR might not have enough rage to provide usefulness. I think the IR library for communicating with other 3DSs is encrypted, so I don't think that is possible without a key.

(I truly have no idea though)
 

lemanuel

Maxconsole's All-Knowing Lurker
Member
Joined
Dec 11, 2014
Messages
2,095
Trophies
0
XP
1,254
Country
Portugal
I was looking at the libraries for IR and if we can control the LED fast enough (by switching it manually on and off) it might be possible for TVs. But the 3ds's IR might not have enough rage to provide usefulness. I think the IR library for communicating with other 3DSs is encrypted, so I don't think that is possible without a key.

(I truly have no idea though)

Well... I think there was some thread asking a homebrew to use the 3DS as a tv remote long ago and I think that's where I read that the 3DS' IR isn't compatible with tv remote's IR. But I'm not sure if it can be used or not.

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

It wasn't this one but just an example: https://gbatemp.net/threads/request-infared-remote-controller.396404/
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
Has anyone even gotten the IR blaster/reader to light up using the 3ds's C library (specifically the "Result IRU_SetIRLEDState(u32 value)" method)? If we could do that correctly, it would be a start!
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
I started up Pokemon AS and started an IR trade, and my 13 megapixel phone could only BARELY see the pulsing purple dot, so yeah I think TV is out of the question.

That is exactly what I saw when looking at MH4U when it was in CCP mode. Its there, but just enough for maybe a foot or two of distance.
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
It also provides access to ZL and ZR on the New 3DS, but yeah, it does work in homebrew apps, both in .3ds/.cia formats and .3dsx.
Fancy! I have a slide pad extension for mh4u for my 3ds XL and would love to be able to use the left hand side C stick as well as ZL and ZR on cturt's 3ds controller as I have never seen a physical controller quite like it.
 

daxtsu

Well-Known Member
Member
Joined
Jun 9, 2007
Messages
5,627
Trophies
2
XP
5,194
Country
Antarctica
You'd have to figure out how the Circle Pad Pro works, then. There's no support in ctrulib for it yet. N3DS has the slight advantage there, unfortunately.
 

RedHat

Well-Known Member
OP
Member
Joined
Oct 10, 2015
Messages
235
Trophies
0
Location
Mii Plaza
Website
github.com
XP
376
Country
United States
You'd have to figure out how the Circle Pad Pro works, then. There's no support in ctrulib for it yet. N3DS has the slight advantage there, unfortunately.
Gah! Maybe, since we have the C stick support, there is still some hope for it... I can't seem to open the IR port service, however, so it's quite hard.

Get an HTC One, has IR built in and it's the shape of a TV remote anyways.
I have my LG G3 for that. Mostly looking for the CPP support!
 
  • Like
Reactions: WhoAmI?

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Like for micro