Infra Red Resource Thread

Discussion in '3DS - Homebrew Development and Emulators' started by RedHat, Oct 10, 2015.

?

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

  1. Yes, and I have the CPP!

    30 vote(s)
    17.0%
  2. Yes, why not!

    141 vote(s)
    80.1%
  3. No.

    5 vote(s)
    2.8%
  1. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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.
    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, Oct 12, 2015


  2. legofan623

    legofan623 GBAtemp Fan

    Member
    418
    196
    Oct 3, 2011
    United States
    Puyallup, WA
    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.
     
  3. lemanuel

    lemanuel Maxconsole's All-Knowing Lurker

    Member
    2,095
    1,092
    Dec 11, 2014
    Portugal
    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
     
  4. The_Meistro

    The_Meistro GBATemp's "Official" Hank Hill

    Banned
    633
    336
    Aug 22, 2015
    The Magic School Bus
    Anythings Possible
     
  5. legofan623

    legofan623 GBAtemp Fan

    Member
    418
    196
    Oct 3, 2011
    United States
    Puyallup, WA
    Well then is there really even a point for this?
     
  6. Xenosaiga

    Xenosaiga That one guy that doesn't give a shit anymore

    Member
    1,478
    838
    Oct 9, 2015
    United States
    The Shadows

    How evil! I must say I had the same thought. Being able to control any tv anywhere you are!
     
  7. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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)
     
  8. legofan623

    legofan623 GBAtemp Fan

    Member
    418
    196
    Oct 3, 2011
    United States
    Puyallup, WA
    You never know
     
    Quantumcat, Ammako and mironicurse like this.
  9. lemanuel

    lemanuel Maxconsole's All-Knowing Lurker

    Member
    2,095
    1,092
    Dec 11, 2014
    Portugal
    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.

    — Posts automatically merged - Please don't double post! —

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

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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!
     
  11. legofan623

    legofan623 GBAtemp Fan

    Member
    418
    196
    Oct 3, 2011
    United States
    Puyallup, WA
    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.
     
  12. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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.
     
  13. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,494
    3,879
    Jun 9, 2007
    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.
     
  14. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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.
     
  15. daxtsu

    daxtsu GBAtemp Guru

    Member
    5,494
    3,879
    Jun 9, 2007
    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.
     
  16. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,043
    3,349
    Nov 13, 2014
    United States
    I used to love screwing with people like this when I was 14.
     
  17. WhoAmI?

    WhoAmI? PASTA's dirty animal

    Member
    1,273
    1,009
    Mar 15, 2015
    Poké Ball
    Get an HTC One, has IR built in and it's the shape of a TV remote anyways.
     
  18. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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.

    I have my LG G3 for that. Mostly looking for the CPP support!
     
    WhoAmI? likes this.
  19. gudenau

    gudenau Never a unique idea

    Member
    3,243
    1,216
    Jul 7, 2010
    United States
    /dev/random
    Do you happen to have any games that use the CPP installed?
     
    Margen67 likes this.
  20. RedHat
    OP

    RedHat GBAtemp Regular

    Member
    230
    217
    Oct 10, 2015
    United States
    Mii Plaza
    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.
     
    Margen67 likes this.