# RELEASE Noexs sysmodule with new title ID

1,969 11 4

1. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
http://github.com/tomvita/Noexes/releases/tag/1.2-tid

Basically KrankRival's version with minor changes due to libnx change and updated the Title ID as per mdbell's change.

Added distinct connect and disconnect button for Jnoexs. Useful when switch has gone to sleep. No need to restart Jnoexs to be able to connect to switch. Just use the connect button to establish connection again.

toolbox.json for dynamic loading of noexs sysmodule. If needed can just unload and reload noexs, no need to reboot switch to get noexs working again. noexs used to need reboot to work should you try to attached when dmnt is already attached to game process.

2. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
http://github.com/tomvita/Noexes/releases/tag/1.2.1
Now when an attach failed subsequent attach won't return already attach without being attached.

ChaosEternal and arismendy64 like this.
3. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
http://github.com/tomvita/Noexes/releases/tag/1.2.1dmnt
Use EdiZon and Jnoexs simultaneously.

masagrator likes this.
4. ### masagratorThe patches guyMember

Joined:
Oct 14, 2018
Messages:
4,008
Country:
Oh, I was planning for some time to port it to dmnt:cht. Thanks for this.

Preferable would be to have dmnt:cht only second option, because now I need to attach first cheat process using different tool before running noexs which can be little annoying if I understand your note correctly.

Last edited by masagrator, Aug 26, 2020
5. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
you don't have to do anything just use noexs as per normal, in the past you have to take care not to have dmnt attached to game and now you don't.

Do you mean you prefer to have dmnt:cht? With dmnt:cht can easily skip the list and choose pid step in noexs. You will have to change Jnoexs yourself. I probably won't touch it.

I intent to expose some extra functions. Force dmnt is super easy. Right now it is only used if already attached.

Last edited by TomSwitch, Aug 26, 2020
6. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
http://github.com/tomvita/Noexes/releases/tag/1.2.2

compatibility imprevement with Jnoexs for the dmnt:cht use cases

Bug fixes for the attach and detach function.

7. ### hippy daveBBMBMember

Joined:
Apr 30, 2012
Messages:
6,488
Country:
Can noexes retrieve the Program Counter for the process it's attached to, or is that not going to be possible until Atmosphere's new debugging stuff releases?

8. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
I guess you also want the whole lot, SP and all the registers that is saved some where, I have no idea where they are store or how to retrieve it

9. ### masagratorThe patches guyMember

Joined:
Oct 14, 2018
Messages:
4,008
Country:
This requires using svcDebug functions. It's hard to use it without proper debugger to not break apps (because of multiple threads running at the same time)
Either use already available debuggers like twili or wait for tma2 reimplementation.

Code:
/**
* @brief Gets the context (dump the registers) of a thread in a debugging session.
* @return Result code.
* @param[out] ctx Output thread context (register dump).
* @param[in] debug Debug handle.
* @param[in] threadID ID of the thread to dump the context of.
* @param[in] flags Register groups to select, combination of @ref RegisterGroup flags.
* @note Syscall number 0x67.
* @warning Official kernel will not dump any CPU GPR if the thread is currently executing a system call (except @ref svcBreak and @ref svcReturnFromException).
* @warning This is a privileged syscall. Use \ref envIsSyscallHinted to check if it is available.
*/


Last edited by masagrator, Mar 22, 2021
hippy dave likes this.
10. ### hippy daveBBMBMember

Joined:
Apr 30, 2012
Messages:
6,488
Country:
Thanks, yeah I've just been searching for this myself, I figured Atmosphere's fatal would show me how to retrieve the PC, and indeed it does use svcGetDebugThreadContext.
Noexs (or noexes, it seems like nobody's decided which) doesn't use that svc call, but maybe it could be slotted in there - would then have to modify the client to read it.

Honestly I'd forgotten about twili, will check it out, thanks. Any others?

11. ### OPTomSwitchGBAtemp Advanced FanMember

Joined:
Jan 10, 2019
Messages:
807
Country:
How do I know what to use for threadID and flags?

12. ### masagratorThe patches guyMember

Joined:
Oct 14, 2018
Messages:
4,008
Country:
Ask game you will be debugging what threadID you want to check. Flags are described in libnx.

Draft saved Draft deleted