WIP SysNetCheatGUI for sys-netCheat

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

  1. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    This GUI is just a client that interacts with sys-netcheat.

    I have been working a GUI for sys-netcheat for myself and decided to put it out there.

    Trying to get back into programming and decided to do this project. Please feel free to provide feedback.

    Version 1.0.14.0 as of 02/23/2019
    Get it at https://github.com/mleeneg/SysNetCheatGUI/releases

    Please refer to original sys-netcheat thread for sys-netcheat support.

    Here is an unoffical tutorial/guide by RattletraPM -> sys-netcheat 101


    How to get sys-netcheat running.

    1. Get the latest SD Files
    2. Get the latest build of sys-netcheat
    3. Extract all files from SD Files to the root of sd card.
    [​IMG]
    4. go to sdroot:\modules folder. (in my case it is J:\modules)
    5. Replace sys-netcheat.kip with the latest sys-netcheat.kip.
    6. Then go to sdroot:/bootloader/ini (in my case it is J:\bootloader\ini)
    7. open sys-netcheat.ini (I use Notepad ++)
    8. Add this to the ini
    Code:
    [CFW + sys-netcheat v2]
    kip1=modules/newfirm/loader.kip
    kip1=modules/newfirm/sm.kip
    kip1=modules/newfirm/pm.kip
    kip1=modules/sys-netcheat.kip
    secmon=modules/atmosphere/exosphere.bin
    kip1patch=nosigchk
    debugmode=1
    atmosphere=1
    9. Save sys-netcheat.ini
    10. Load up hekate thru whichever method you have(jig, AutoRCM, ect)
    11. Select "Launch"
    12. Select "More Payloads"
    13. Select "CFW + sys-netcheat v2"

    Now sys-netcheat should be running.

    Find IP Address & connect:
    14. Now go to "System Settings"
    15. Select "Internet"
    16. Find "IP Address" under "Connection Status" (This is what you will use in SysNetCheatGUI)
    17. Open SysNetCheatGUI
    18.Type IP Address into text field
    19. Click on Connect.

    If yours looks like this then you are good to go.
    [​IMG]
     
    Last edited by mleeneg, Feb 23, 2019
  2. dsrules

    dsrules GBAtemp Psycho!

    Member
    9
    Sep 20, 2005
    could you post a few screenshots?
     
  3. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    Here is a screenshot of the program working.

    Only thing I don't have figured out is the freezing stuff and when sys-netcheat times out/does not respond.

    upload_2018-9-26_8-31-49.
     
  4. Colassal

    Colassal Member

    Newcomer
    1
    Aug 1, 2018
    United States
    Hey,

    I wrote the really simple HAnX client when nc came out. Kinda fell of the face of the earth because real life crap hit a few hundred fans at once.

    So the timeout is actually something that IIRC Jakibaki and I talked about and found a fix to. I'll try to explain from memory, but it may not be enough.

    Basically the byte array from the switch can lag out really hardcore and display itself as the stream being closed / no readable bytes. So when this happens and a new command is passed it doesn't read on the switch end and ends up timing out.

    The fix Jakibaki recommended to me was stupid simple - and I felt ridiculous for not seeing it; every time a function is complete in sys-netcheat it sends a greater than ">". The solution I never implemented was just checking for ">" to terminate the read before allowing write.

    Let me know if this works for you. I think Jakibaki still hangs out on XorTroll's discord too if you need more details.
     
    MikeHawke likes this.
  5. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    I get the time out even when I use netcat or telnet. Also I use > as the end of read and only when I use write is when it reads.
     
  6. Colassal

    Colassal Member

    Newcomer
    1
    Aug 1, 2018
    United States
    Hmmmm, I wonder if it needs some type of heartbeat added to keep the socket open. Issue is I think that since the timeout for me used to happen when the switch was lagging IDK if there is a way to get a heartbeat from the system.

    I didn't have a chance to check but do you have SetSocketOption(SocketOptionLevel.Socket, SocketOptionName.KeepAlive, True); Set up? There are a few functions for setting timeouts with the sockets. There are a few others, gonna try to psst a link to the stack exchange page with info: https://stackoverflow.com/questions/18488562/tcp-connection-keep-alive

    If not it might be server end and not something that we can really modify on the client :/
     
  7. nmkd

    nmkd GBAtemp Advanced Fan

    Member
    5
    Oct 25, 2016
    Germany
    How do I use this?

    When I edit a value nothing changes. What does the checkbox in the list do?
     
  8. hrtbrkd

    hrtbrkd Member

    Newcomer
    2
    May 24, 2018
    United States
  9. Notex

    Notex Advanced Member

    Newcomer
    3
    Mar 21, 2017
    Australia
    No. SXOS does not support custom sysmodules.
     
    hrtbrkd likes this.
  10. Jordanli8

    Jordanli8 Member

    Newcomer
    1
    Sep 8, 2017
    Australia
    what about external payloads ?
     
  11. zenamez

    zenamez GBAtemp Fan

    Member
    4
    Sep 7, 2016
    Pretty much all non-SX payloads support KIP files.

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

    If you've ever used Cheat Engine on the PC - it's the same thing. You have to select the address you want to edit (the check box) before editing it. The check box effectively freezes that value at that address so the process can't undo it.
     
  12. nmkd

    nmkd GBAtemp Advanced Fan

    Member
    5
    Oct 25, 2016
    Germany
    I've used CE a lot, I did tick them but the values kept changing.
     
  13. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    Well finally added the freeze functionality in to this program.
    Checkboxes actually do something now!
     
    MikeHawke and jakibaki like this.
  14. ReyneBow

    ReyneBow Newbie

    Newcomer
    1
    Oct 9, 2018
    Australia
    Question. When I place my IP in the address bar it gives me "could not connect" instantly, so what obvious thing am i doing wrong here?
     

    Attached Files:

  15. Darkwatch

    Darkwatch Member

    Newcomer
    1
    Sep 20, 2018
    United States
    Homebrew noob here but how do i install this? and the sys-netcheat baffles me too.
     
  16. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    Usually my guess is that your switch had changed it's IP Addess or that sys-netcheat is not running.

    My tests usually consist of if netcat can connect then the app should be able too as well.

    No install needed. Just run the exe.

    The only requirement is to have sys-netcheat running on your system.
     
  17. nmkd

    nmkd GBAtemp Advanced Fan

    Member
    5
    Oct 25, 2016
    Germany
    Bad explanation.

    You need the sys-netcheat .kip file installed on your Switch (and enabled in hekate/ReiNX).
     
  18. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    I don't think it was a bad explanation so I added a tutorial in my post.
     
    ReyneBow likes this.
  19. ReyneBow

    ReyneBow Newbie

    Newcomer
    1
    Oct 9, 2018
    Australia
    I did what you mentioned in the instructions above but once I selected "CFW + sys-netcheat v2" it installed something then gave me pink screen.


    Applies Patch then goes "Booting" prior pink screen.
     
    Last edited by ReyneBow, Oct 10, 2018
  20. mleeneg
    OP

    mleeneg Member

    Newcomer
    3
    Jan 30, 2008
    United States
    Usually a pink screen means a bricked system. Can you still boot to regular CFW or OFW?
     
Loading...