Tutorial  Updated

How to edit Memory and change in-game values (NSwitchDebugger)

NSwitchDebugger tutorial
original post
The goal is to check addresses until we find the correct one with the value we want to change. we do this by starting game multiple time and with process of deduction we can find it

prerequisites

Download above file
  1. extract SDfiles to your sd card (if you already have latest hekate skip this step)
  2. extract NSwitchDebuger to sd card overwriting files
  3. enter RCM mode and select "NSDebugger"
Once in game note what items you wish to edit (coin count) then hit home
  • Start homebrew menu and run NSwitchDebugger
image.png
  • Now use UP and Down to select the game by title id
    • flip threw until you see Application name where it says Apllication in image
keep in mind a game may have multiple processes running you may have to try bellow a few times until you find results
  • Hit A, should show Success
image.png

The next screen will appear
image.png
  • If you know the address this is where you would enter it...
    • Also if you see below We are our of range
Code:
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
  • We dont know the address for this guide so we will need to search for our value
    • note: we now need to know how wide are the offset is lets say we are editing coins we note that coin count can go up to 9999999 so we use 8 bytes, lets say we are editing a item that can go up to 9999 so 4 bytes, 99 would be 2. we would change between them by hitting L and R
  • Hit X to search for value so lets say we are editing 1234 coins in SMO
  • use L and R to change byte size 2,4,8) use d-pad LEFT and RIGHT to move between digits and UP and DOWN to match 1234
    • it is easier to hit d-pad left a few places to change numbers to higher values instead of going from 1 to 1234
image.png
  • Now hit A to do the search
you will see below as searches through addresses
image.png
If you only found one or two offsets you do not need to exit and restart
  • After the search hit home
    • we will now spend coins and re-search the stored offsets from prior search
If you find more than one addresses you will want to open game again and spend a couple coins re-search with Y.
  • Restart nswitchdebugger repeat above but hit Y instead of X to repeat search
    • this should narrow search down to a couple or one hit
  • If you still getting many hits open game up again and spend more coins and re-search again with Y
When your search is done and narrowed down it will take you to first found address hit (hit L and R to change addresses if multiple hits). Now we can do our edit
(I was only looking for number 1 for this screenshot to write this guide, assume I spent 1233 coins)
image.png
  • The following is now where we do our value changing
    • note: write down the address listed as you will use it in future to do this mod without doing the whole searching method
  • We will now press A to change 4D2 to 5F5E0FF (again for guide i did 1 to 2)
we will now see bellow
image.png
  • press up or down to change number left or right to change column
    • note: we can also change byte size here but keep in mind this could break game if writing back a too large value
image.png
rinse and repeat until you see your coins in-game change, continue the same for other values to get the result's desired

Here is a Video Tutorial



Congratulations you have now patched memory, Enjoy!:grog:
 

Attachments

  • 2018062719292500-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    2018062719292500-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    44.6 KB · Views: 909
  • 2018062719294000-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    2018062719294000-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    49.7 KB · Views: 725
  • 2018062719295000-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    2018062719295000-DB1426D1DFD034027CECDE9C2DD914B8.jpg
    78 KB · Views: 708
  • 1234.jpg
    1234.jpg
    24.7 KB · Views: 707
  • searching.jpg
    searching.jpg
    109.1 KB · Views: 687
  • address_after_found.jpg
    address_after_found.jpg
    102.3 KB · Views: 673
  • changing_value.jpg
    changing_value.jpg
    24.4 KB · Views: 674
  • seccessful_changed.jpg
    seccessful_changed.jpg
    57.4 KB · Views: 729
Last edited by Type_O_Dev,

omega7

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
106
Trophies
0
Age
27
XP
565
Country
Australia
Has anyone else tried editing values in Monster Hunter Generation Ultimate? I can confirm that it pouch/box item's ammount can be changed. Unfortunately it stopped working and corrupted my game, is that normal?

Edit : After further test it looks like the corruption only occur when nswitchdebugger can’t narrow the search to 1 hit i.e. 2 hit instead of one, editing either will currupt the game data and not the save data for some reason. Also if the item stack is place into the item box after the first search will also cause corruption.

After further trial and error, i have concluded that nswitchdebugger corrupt the game too often to be useful.
 
Last edited by omega7,

Type_O_Dev

Developer
OP
Developer
Joined
Dec 12, 2017
Messages
683
Trophies
0
XP
1,469
Country
United States
Has anyone else tried editing values in Monster Hunter Generation Ultimate? I can confirm that it pouch/box item's amount can be changed. Unfortunately it stopped working and corrupted my game, is that normal?

Edit : After further test it looks like the corruption only occur when nswitchdebugger can’t narrow the search to 1 hit i.e. 2 hit instead of one, editing either will corrupt the game data and not the save data for some reason. Also if the item stack is place into the item box after the first search will also cause corruption.

After further trial and error, i have concluded that nswitchdebugger corrupt the game too often to be useful.
It only messes with data loaded into ram. If you having trouble with it locking chance are their is multiple offsets for stored values or wrong offset edited.
 

omega7

Well-Known Member
Member
Joined
Jun 16, 2018
Messages
106
Trophies
0
Age
27
XP
565
Country
Australia
It only messes with data loaded into ram. If you having trouble with it locking chance are their is multiple offsets for stored values or wrong offset edited.
I've also found out that if the value of an item is freezed, when another item is placed in the same slot, it'll be what ever value that whas set.
 

Zaybokk

Well-Known Member
Member
Joined
Jan 28, 2014
Messages
333
Trophies
0
Location
FÓDLAN
XP
361
Country
United Kingdom
Is there any plans going to have PC side support to search and edit values on the switch through a usb cable?

what im wondering myself as well?.. , and also how to utilize this from a windows 10 pro computer?..

and also trying to get noexs* or noexes whatever its called to work as well , no luck so far, it has an javaclient.jar to run it as, but
doesn't seem to respond or load anything?.. hmm.. what am i missing ?..
 

nanchan

Well-Known Member
Newcomer
Joined
May 10, 2015
Messages
86
Trophies
0
Age
27
XP
584
Country
United States
Finally decided to switch to Atmosphere and use the Edizon cheat. The ram search works relatively well similar to NSwitchDebugger and it is nice that I can use the library of cheats which covers most of the games I play anyway. Guess my cheat searching day are mostly over except for new games that doesn't have cheats created already.
 

purzer0

Member
Newcomer
Joined
Mar 13, 2019
Messages
19
Trophies
0
XP
102
Country
United States
Any guide for using NSwitchDebugger on the latest firmware?
Sys-netcheat and Edizon work for me, but Nswitchdebugger only lets me view, not search/edit with any success.
The guide was written in a much older firmware. I'd use just the others but they don't let me view memory ranges like NSwitchDebugger, as far as I'm aware.
As is I can *sort of* make do by switching between the programs, but it's not pretty.
 

MikeHawke

Well-Known Member
Newcomer
Joined
Jul 30, 2016
Messages
76
Trophies
0
Age
103
XP
191
Country
I actually got it working on both my switch, and two of my brother's switches. We're on 7.0.1 Kosmos 12.1 and atmosphere 0.8.7

Use this site https://www.sdsetup.com/console?switch to help you setup your sdfiles correctly to make sure everything working.

Try these steps;
1. Update sd card files using the site I listed.
2. try reflashing your current firmware.
3. Try sliding your joy con out of place if the above steps don't work.


As a side note, despite doing everything right, my brother had a problem where NSD would open but be unresponsive. He would have to disconnect his right joy con (by sliding it up) to work. You can just slide it out of and back into place quickly. Try both joy cons.

Good luck!
 
Last edited by MikeHawke,

Zaybokk

Well-Known Member
Member
Joined
Jan 28, 2014
Messages
333
Trophies
0
Location
FÓDLAN
XP
361
Country
United Kingdom
NSwitchDebugger tutorial
original post
The goal is to check addresses until we find the correct one with the value we want to change. we do this by starting game multiple time and with process of deduction we can find it

prerequisites

Download above file
  1. extract SDfiles to your sd card (if you already have latest hekate skip this step)
  2. extract NSwitchDebuger to sd card overwriting files
  3. enter RCM mode and select "NSDebugger"
Once in game note what items you wish to edit (coin count) then hit home
  • Start homebrew menu and run NSwitchDebugger
image.png
  • Now use UP and Down to select the game by title id
    • flip threw until you see Application name where it says Apllication in image
keep in mind a game may have multiple processes running you may have to try bellow a few times until you find results
  • Hit A, should show Success
image.png

The next screen will appear
image.png
  • If you know the address this is where you would enter it...
    • Also if you see below We are our of range
Code:
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
XX XX XX XX XX XX XX XX XX XX
  • We dont know the address for this guide so we will need to search for our value
    • note: we now need to know how wide are the offset is lets say we are editing coins we note that coin count can go up to 9999999 so we use 8 bytes, lets say we are editing a item that can go up to 9999 so 4 bytes, 99 would be 2. we would change between them by hitting L and R
  • Hit X to search for value so lets say we are editing 1234 coins in SMO
  • use L and R to change byte size 2,4,8) use d-pad LEFT and RIGHT to move between digits and UP and DOWN to match 1234
    • it is easier to hit d-pad left a few places to change numbers to higher values instead of going from 1 to 1234
image.png
  • Now hit A to do the search
you will see below as searches through addresses
image.png
If you only found one or two offsets you do not need to exit and restart
  • After the search hit home
    • we will now spend coins and re-search the stored offsets from prior search
If you find more than one addresses you will want to open game again and spend a couple coins re-search with Y.
  • Restart nswitchdebugger repeat above but hit Y instead of X to repeat search
    • this should narrow search down to a couple or one hit
  • If you still getting many hits open game up again and spend more coins and re-search again with Y
When your search is done and narrowed down it will take you to first found address hit (hit L and R to change addresses if multiple hits). Now we can do our edit
(I was only looking for number 1 for this screenshot to write this guide, assume I spent 1233 coins)
image.png
  • The following is now where we do our value changing
    • note: write down the address listed as you will use it in future to do this mod without doing the whole searching method
  • We will now press A to change 4D2 to 5F5E0FF (again for guide i did 1 to 2)
we will now see bellow
image.png
  • press up or down to change number left or right to change column
    • note: we can also change byte size here but keep in mind this could break game if writing back a too large value
image.png
rinse and repeat until you see your coins in-game change, continue the same for other values to get the result's desired

Here is a Video Tutorial



Congratulations you have now patched memory, Enjoy!:grog:


You Said , **The goal is to check addresses until we find the correct one with the value we want to change. we do this by starting game multiple time and with process of deduction we can find it**

okay , but say you already have the proper Pointer* and or offset* for the title** , what now?..
and are titles automatically loaded when u load this program?.. or u have to find them or type them manually yourself?
 

Smoker1

Well-Known Member
Member
Joined
Feb 17, 2015
Messages
5,047
Trophies
1
Location
California
XP
6,085
Country
United States
Did the new Hekate Release take care of the Issue where Games are marked as Corrupt? Tried using the 5.0.0 Release, but a number of Games that worked perfectly suddenly were Corrupted, no matter how many times they were Reinstalled.
New Release 5.0.1 + Nyx 0.8.1
 

MadCabbit

Active Member
Newcomer
Joined
Nov 25, 2008
Messages
27
Trophies
1
XP
333
Country
United States
Does this work with the latest Atmosphere running 9.0.0 under EmuMMC? The included hekate_ipl.ini differences alone - being in the root directory instead of /bootloader, as well as being laid out differently, attempting to load files from /modules/newfirm that doesn't exist had me concerned, but I don't want to try it if it ends up loading SysNAND.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    What a weird game
  • K3Nv2 @ K3Nv2:
    Yeah I wanted to see shards of the titanic
  • BigOnYa @ BigOnYa:
    I kept thinking jaws was gonna come up and attack
  • K3Nv2 @ K3Nv2:
    Jaws is on a diet
  • K3Nv2 @ K3Nv2:
    Damn power went out
  • BigOnYa @ BigOnYa:
    Ok xdqwerty, your little bro prob tripped On the cord and unplugged you
  • K3Nv2 @ K3Nv2:
    Ya I'm afraid of the dark hug me
  • BigOnYa @ BigOnYa:
    Grab and hold close your AncientBoi doll.
  • K3Nv2 @ K3Nv2:
    Damn didn't charge my external battery either
  • BigOnYa @ BigOnYa:
    Take the batteries out of your SuperStabber3000... Or is it gas powered?
  • K3Nv2 @ K3Nv2:
    I stole batteries from your black mamba
    +1
  • K3Nv2 @ K3Nv2:
    My frozen food better hold up for an hour I know that
  • BigOnYa @ BigOnYa:
    Or else gonna be a big lunch and dinner tomorrow.
  • BigOnYa @ BigOnYa:
    Did you pay your power bill? Or give all yo money to my wife, again.
  • K3Nv2 @ K3Nv2:
    Oh good the estimated time is the same exact time they just said
    +1
  • BigOnYa @ BigOnYa:
    Load up your pc and monitor, and head to a McDonalds dining room, they have free WiFi
  • K3Nv2 @ K3Nv2:
    Sir please watch your porn in the bathroom
    +2
  • BigOnYa @ BigOnYa:
    No sir we can not sell you anymore apple pies, after what you did with the last one.
  • K3Nv2 @ K3Nv2:
    We ran out
  • HiradeGirl @ HiradeGirl:
    for your life
    +1
  • K3Nv2 @ K3Nv2:
    My life has no value my fat ass is staying right here
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/2n3nUOadWxM?si=7QMANPmqPdFcdlfm