RELEASE Noexs Remote Debugger

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by matt123337, Jul 26, 2018.

  1. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    Seeing as a few other programs have been released, I figured there would now be no harm in releasing Noexs. It's a program I've teased a bit on reddit and on the RS discord. Enjoy!

    https://github.com/mdbell/Noexes

    You need Java 10 installed.

    Oh and don't forget to enable debug mode in your hekate_ipl file. here's a snippet of mine:
    Code:
    [Noexes]
    debugmode=1
    kip1=modules/kips/loader.kip
    kip1=modules/kips/sm.kip
    kip1=modules/kips/noexs.kip1
    kip1=modules/kips/nx-dreport.kip
    
    Shoutout to roblabla for helping us figure out a bunch of stuff!
     
    Last edited by matt123337, Aug 14, 2018
    Ntrack, phonz, fadx and 17 others like this.
  2. straumli

    straumli Member

    Newcomer
    3
    May 17, 2018
    Netherlands
    Great post, so much details, sure nobody has any questions
     
  3. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    Thanks I try.
     
  4. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    It says it right in the title, it's a remote debugger. If you're having trouble with that, here's some quick links to more info:
    Remote Debugger
     
  5. slaphappygamer

    slaphappygamer GBAPerm

    Member
    7
    Nov 30, 2008
    United States
    Aptos, California
    Far apart computers. Got it!
     
  6. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    No.


     
    Ghost92, eco95, straumli and 3 others like this.
  7. Kuroemon485

    Kuroemon485 Newbie

    Newcomer
    1
    Sep 22, 2010
    a quick look into youtube with keyword "matt123337", and I've got youtube[dot]com/results?search_query=matt123337
    neat, mate, i've been waiting for this.
     
  8. epickid37

    epickid37 ( ͡° ͜ʖ ͡°)

    Member
    7
    Jan 4, 2017
    United States
    mushroom kingdom
    This is pretty cool! Thanks for this!
     
  9. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    Thanks for releasing this. I've been keeping an eye on your channel.

    What are the cstool.exe and kstool.exe for? I see the main debugger is in Java. Will I be able to use this on macOS or shall I load up my Windows install?
     
    Last edited by AnalogMan, Jul 26, 2018
    Centergaming, CuriousTommy and tomGER like this.
  10. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    They're used for the disassembler, I couldn't get the kapstone (and keystone) java bindings to work. There may be a build for them on mac. If not they I can always just make the program disabled the disassembler tab if they're missing lol.
     
    eco95 likes this.
  11. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    Ah, okay. Do we need any other configs set for this to work? Such as debug or full perms? I'm trying to connect via network and not having luck.
     
  12. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    uh tbh I've been using a prepatched kernel since we first started working in it (before hekate had built in kernel patches). It _does_ need debug perms, but I'm not sure about svc ones... Even without them you should be able to connect at least. Check to make sure port 7331 is open?
     
    TheZander and eco95 like this.
  13. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    Hmmm, doesn't work over USB either. I enabled both debug and fullsrvperms, no go. Does the kip have to be on root as the ReadMe says or can it be in a subfolder as long as the INI points to it?
     
  14. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    As long as the INI points to it. Do you have any other sysmodules running that could be using port 7331? And USB isn't implemented yet, it just has the UI stuff done.
     
    eco95 likes this.
  15. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    No, just the basics, sm and loader. I'm on FW 5.1.0 with the exFAT update applied. Will try on Windows and report back.
     
  16. Mega-Mew

    Mega-Mew GBAtemp Fan

    Member
    7
    May 10, 2015
    France
    Time to have some fun.
     
  17. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    11
    Apr 20, 2007
    United States
    Alright, I can connect now in both Windows and Mac. Progress! Every type of search I try to do however results almost immediately in the error message ConnectException. Here's a screenshot:
    Screen Shot 2018-07-26 at 2.11.44 AM.

    EDIT: Nevermind, I forgot to attach to process, duh.
     
    Last edited by AnalogMan, Jul 26, 2018
  18. Gren22

    Gren22 Member

    Newcomer
    1
    Apr 24, 2018
    United States
    Getting a JNI Error when I try to run your jar in the release zip :/

    EDIT: Updated my JDK and it works
     
    Last edited by Gren22, Jul 26, 2018
  19. Dionis

    Dionis Newbie

    Newcomer
    2
    Jun 9, 2018
    Japan
    Please install the latest JAVA 10.
     
    Last edited by Dionis, Jul 26, 2018
  20. matt123337
    OP

    matt123337 GBAtemp Regular

    Member
    4
    Mar 25, 2014
    Canada
    That reminds me I need to actually pretty-print those results lol. Anything where mod is 349 means it's a Noexs error.

    See this for reference:
    https://github.com/mdbell/Noexes/blob/master/server/source/noexs/include/errors.h#L8


    Oh and Noexs originally was a port of TCPGecko, just after we had about half of it working we realized there is too much different between the Wii(U) and the switch. Wound up being easier to just start over from scratch.
     
    H0ly, Nezztor and eco95 like this.
Loading...