Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sys-netcheat Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=sys-netcheat |image=sysnetcheatswitch.png |description=Open-source cheat-engine for the Nintendo Switch. |author=jakibaki |lastupdated=2019/01/02 |type=Other Apps |version=1.3.4 |license=GPL-3.0 |download=https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch.7z |website=https://gbatemp.net/threads/sys-netcheat-simple-open-source-cheat-engine.512512/ |source=https://github.com/jakibaki/sys-netcheat |donation= }} {{#seo: |title=Switc...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=sys-netcheat
|title=sys-netcheat
|image=sysnetcheatswitch.png
|image=sysnetcheatnx2.png
|description=Open-source cheat-engine for the Nintendo Switch.
|description=Open-source cheat-engine for the Nintendo Switch.
|author=jakibaki
|author=jakibaki
|lastupdated=2019/01/02
|lastupdated=2019/01/02
|type=Other Apps
|type=PC Utilities
|version=1.3.4
|version=1.3.4
|license=GPL-3.0
|license=GPL-3.0
|download=https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatnx.7z
|website=https://gbatemp.net/threads/sys-netcheat-simple-open-source-cheat-engine.512512/
|website=https://gbatemp.net/threads/sys-netcheat-simple-open-source-cheat-engine.512512/
|source=https://github.com/jakibaki/sys-netcheat
|source=https://github.com/jakibaki/sys-netcheat
|donation=
|donation=
}}
}}
{{#seo:
sys-netcheat is an open-source system module that allows you to use cheat in Nintendo Switch games. It's commonly referred to as a free alternative to SX OS' cheat functionality.
|title=Switch Homebrew Apps (Other Apps) - GameBrew
 
|title_mode=append
It requires a hacked Switch (recommended configuration is current kosmos).
|image=sysnetcheatswitch.png
 
|image_alt=sys-netcheat
'''Note:''' This page contains some basic usage, be sure to check out this comprehensive guide [https://gbatemp.net/threads/sys-netcheat-101-from-the-basics-to-relative-addresses-trainers-and-android-usage.531322 sys-netcheat 101] written by RattletraPM.
}}
 
{{cleanup|article|Needs cleanup}}
==Installation==
Open-source cheat-engine for the Nintendo Switch.
===Warning===
Do not use this for online games. It'll ruin the experience for others and will probably get your Switch banned in the process.
 
For some reason this may result in installed games no longer launching if this is used in combination with sigpatches. If that happens running the "Delete Common Ticket" option from [[Tinfoil Switch|Tinfoil]] and then (force) rebooting fixes it sometimes.
 
In at least one case running this with ReiNX (with sigpatches) resulted in all games on the storage being permanently corrupted.
 
Be very careful when trying out weird configurations. In any case you should (not just for this) make a nand-backup so you can restore from somewhere if things go south. The author takes no responsibility for any damage that may or may not happen to your Switch.
 
===How to install===
Plug your microSD into your computer, place the sys-netcheat.kip to the modules-folder of your sdcard.
 
Then open SD:\bootloader\hekate_ipl.ini and add the line <code>kip1=modules/sys-netcheat.kip</code>. It will look somewhat like this:
<pre>
...
[CFW]
kip1=...
kip1=modules/sys-netcheat.kip
debugmode=1
...
</pre>
Plug the microSD back into your Switch if you've removed it before.
 
Boot your Switch's CFW via your preferred method. (If you're using Kosmos, go to "More configs" and then choose either "CFW + sys-netcheat" or "Stock + sys-netcheat" once you're into Hekate.)
 
Wait until the Switch is fully booted up.
 
==User guide==
===Usage===
After installing and rebooting your Switch, start a game/homebrew and run
<pre>nc IP_OF_YOUR_SWITCH 5555</pre>
in the terminal on your computer. You can find a windows version [https://eternallybored.org/misc/netcat/ here] / [https://github.com/mleeneg/SysNetCheatGUI/releases SysNetCheatGUI].
 
(Note that you have to keep your game open while using it, and both Switch and PC have to be on the same network in order to connect.)
 
Once connected, you'll be greeted by this:
<pre>
Welcome to netcheat!
This needs an atmos-base >= 0.8.2
> help
Commands:
    help                                | Shows this text
    ssearch u8/u16/u32/u64 value        | Starts a search with 'value' as the starting-value
    csearch value                        | Searches the hits of the last search for the new value
    poke address u8/u16/u32/u64 value    | Sets the memory at address to value
    afreeze address u8/u16/u32/u64 value | Freezes the memory at address to value
    lfreeze                              | Lists all frozen values
    dfreeze index                        | Unfreezes the memory at index
</pre>
===Example===
This section will demonstrate how to change the number of bananas in botw (the values will be different for you).
 
Right now I have <code>353</code> Mighty Bananas
<pre>
> ssearch u32 353
Got a hit at c7581d9cc!
Got a hit at c758240a8!
Got a hit at c758279b8!
... (about 500 lines)
Got a hit at 345d1b2a84!
Got a hit at 346d9b9070!
Got a hit at 346dcfb138!
</pre>
 
This isn't very helpful. Let eat one banana in order to see which of those hits is the one I want.
 
<pre>
> csearch 352
Got a hit at 33bb64a888!
Got a hit at 344d109b10!
Got a hit at 344dd0c050!
Got a hit at 3456a577d8!
</pre>
 
This is a lot better. If there are still too many hits you should repeat the csearch until you find what you want.
 
Now we'll poke the values to find the one that we actually want and check if any change occurred (in Zelda closing and reopening the inventory is necessary in order to see the change).
 
<pre>
> poke 33bb64a888 u32 500
> poke 344d109b10 u32 500
> poke 344dd0c050 u32 500
> poke 3456a577d8 u32 500
</pre>
 
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatnx3.png
 
The last one was the one we wanted! 
 
We want to make sure that we never suffer from a lack of bananas again. So we'll freeze the value.
 
<pre>
> afreeze 3456a577d8 u32 500
> lfreeze
0) 3456a577d8 (u32) = 500
</pre>
 
If we want to unfreeze the value we just need to run


==Media==
<pre>
<youtube></youtube>
> dfreeze 0
</pre>


And the value will be unfrozen.


==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-01.png
'''SysNetCheatGUI''' ([https://github.com/mleeneg/SysNetCheatGUI mleeneg])<br>
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-02.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatnx4.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-03.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-04.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-05.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-06.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-07.png
https://dlhb.gamebrew.org/switchhomebrews/sysnetcheatswitch-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v1.3.4'''
* First Release.
*This release just reduces the ram-usage and makes use of the new atmosphere-integrated debugmode which also fixes the sleep-problems.
 
'''v1.3.3'''
*This release fixes 6.0 support.
*Thanks @SunTheCourier for testing.
*Please note that you need to remove fullsvcperm=1 from your hekate ini for this release.
 
'''v1.3.2'''
*Fixes sys-netcheat not working in combination with layeredfs.
 
'''v1.3.1'''
*This increases the number of search-results netcheat can remember.
*That makes searching for lower values (for example marios health in smo) feasible.
 
'''v1.3'''
*Added value-freezing support.
 
'''v1.1'''
*Added u8+u16 support.
*Also this should now behave better on windows (I don't know for certain, I can't test it there).
 
'''v1.0'''
*Initial release.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/sys-netcheat-simple-open-source-cheat-engine.512512/
* GitHub - https://github.com/jakibaki/sys-netcheat
* Github - https://github.com/jakibaki/sys-netcheat
* GBAtemp - https://gbatemp.net/threads/sys-netcheat-simple-open-source-cheat-engine.512512/
* Reddit -
* Unofficial guide - https://gbatemp.net/threads/sys-netcheat-101-from-the-basics-to-relative-addresses-trainers-and-android-usage.531322

Revision as of 12:09, 13 April 2023

sys-netcheat
Sysnetcheatnx2.png
General
Authorjakibaki
TypePC Utilities
Version1.3.4
LicenseGPL-3.0
Last Updated2019/01/02
Links
Download
Website
Source

sys-netcheat is an open-source system module that allows you to use cheat in Nintendo Switch games. It's commonly referred to as a free alternative to SX OS' cheat functionality.

It requires a hacked Switch (recommended configuration is current kosmos).

Note: This page contains some basic usage, be sure to check out this comprehensive guide sys-netcheat 101 written by RattletraPM.

Installation

Warning

Do not use this for online games. It'll ruin the experience for others and will probably get your Switch banned in the process.

For some reason this may result in installed games no longer launching if this is used in combination with sigpatches. If that happens running the "Delete Common Ticket" option from Tinfoil and then (force) rebooting fixes it sometimes.

In at least one case running this with ReiNX (with sigpatches) resulted in all games on the storage being permanently corrupted.

Be very careful when trying out weird configurations. In any case you should (not just for this) make a nand-backup so you can restore from somewhere if things go south. The author takes no responsibility for any damage that may or may not happen to your Switch.

How to install

Plug your microSD into your computer, place the sys-netcheat.kip to the modules-folder of your sdcard.

Then open SD:\bootloader\hekate_ipl.ini and add the line kip1=modules/sys-netcheat.kip. It will look somewhat like this:

...
[CFW]
kip1=...
kip1=modules/sys-netcheat.kip
debugmode=1
...

Plug the microSD back into your Switch if you've removed it before.

Boot your Switch's CFW via your preferred method. (If you're using Kosmos, go to "More configs" and then choose either "CFW + sys-netcheat" or "Stock + sys-netcheat" once you're into Hekate.)

Wait until the Switch is fully booted up.

User guide

Usage

After installing and rebooting your Switch, start a game/homebrew and run

nc IP_OF_YOUR_SWITCH 5555

in the terminal on your computer. You can find a windows version here / SysNetCheatGUI.

(Note that you have to keep your game open while using it, and both Switch and PC have to be on the same network in order to connect.)

Once connected, you'll be greeted by this:

Welcome to netcheat!
This needs an atmos-base >= 0.8.2
> help
Commands:
    help                                 | Shows this text
    ssearch u8/u16/u32/u64 value         | Starts a search with 'value' as the starting-value
    csearch value                        | Searches the hits of the last search for the new value
    poke address u8/u16/u32/u64 value    | Sets the memory at address to value
    afreeze address u8/u16/u32/u64 value | Freezes the memory at address to value
    lfreeze                              | Lists all frozen values
    dfreeze index                        | Unfreezes the memory at index

Example

This section will demonstrate how to change the number of bananas in botw (the values will be different for you).

Right now I have 353 Mighty Bananas

> ssearch u32 353
Got a hit at c7581d9cc!
Got a hit at c758240a8!
Got a hit at c758279b8!
... (about 500 lines)
Got a hit at 345d1b2a84!
Got a hit at 346d9b9070!
Got a hit at 346dcfb138!

This isn't very helpful. Let eat one banana in order to see which of those hits is the one I want.

> csearch 352
Got a hit at 33bb64a888!
Got a hit at 344d109b10!
Got a hit at 344dd0c050!
Got a hit at 3456a577d8!

This is a lot better. If there are still too many hits you should repeat the csearch until you find what you want.

Now we'll poke the values to find the one that we actually want and check if any change occurred (in Zelda closing and reopening the inventory is necessary in order to see the change).

> poke 33bb64a888 u32 500
> poke 344d109b10 u32 500
> poke 344dd0c050 u32 500
> poke 3456a577d8 u32 500

sysnetcheatnx3.png

The last one was the one we wanted!

We want to make sure that we never suffer from a lack of bananas again. So we'll freeze the value.

> afreeze 3456a577d8 u32 500
> lfreeze
0) 3456a577d8 (u32) = 500

If we want to unfreeze the value we just need to run

> dfreeze 0

And the value will be unfrozen.

Screenshots

SysNetCheatGUI (mleeneg)
sysnetcheatnx4.png

Changelog

v1.3.4

  • This release just reduces the ram-usage and makes use of the new atmosphere-integrated debugmode which also fixes the sleep-problems.

v1.3.3

  • This release fixes 6.0 support.
  • Thanks @SunTheCourier for testing.
  • Please note that you need to remove fullsvcperm=1 from your hekate ini for this release.

v1.3.2

  • Fixes sys-netcheat not working in combination with layeredfs.

v1.3.1

  • This increases the number of search-results netcheat can remember.
  • That makes searching for lower values (for example marios health in smo) feasible.

v1.3

  • Added value-freezing support.

v1.1

  • Added u8+u16 support.
  • Also this should now behave better on windows (I don't know for certain, I can't test it there).

v1.0

  • Initial release.

External links

Advertising: