RELEASE patchnso.py: a script to patch the code of games more easily, before layeredfs

Discussion in 'Switch - Emulation, Homebrew & Software Projects' started by tesnos6921, Jun 3, 2018.

  1. tesnos6921
    OP

    tesnos6921 Member

    Newcomer
    3
    Nov 1, 2015
    United States
    All instructions for use are contained within the gist.

    Here is a sample of what it can do:
    https://twitter.com/tesnos6921/status/1003007238984921089?s=19
    https://twitter.com/tesnos6921/status/1003365767449018373?s=19

    Enjoy!

    https://gist.github.com/tesnos/66d17f694ef570ae8011a53e97ce437d


    Note: I don't plan on supporting this much because layeredfs is coming soon and it will probably make it even easier than this.


    Sample Patches Include:
    • Don't Lose Health
    • Near-Zero Gravity for Normal Jumps
    • Raise Coin Limit To 65536 (Untested)
    • High-Power Long Jump
    • Hyper Walking Speed
    • Stop Player From Dying (Allows walking on acid and lava) (Credit to SimonMKWii)
    • No Damage for Running out of Oxygen or Staying in Ice Water (Credit to SimonMKWii)
     
    Last edited by tesnos6921, Jun 3, 2018
    cearp, NekoMichi, renhei and 6 others like this.
  2. Taffy

    Taffy If specified, this will replace the title that...

    Member
    6
    Mar 3, 2017
    United States
    Student
    I see dumb cheats that are fun to play with... I love it :D
     
  3. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    9
    Oct 8, 2015
    Italy
    Hyrule Castle
    Any tutorial on easily finding cheats?
     
  4. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    If someone can make a patch for Breath of the Wild no damage taken, I will hack my Switch in a heartbeat. That Master Mode sword trial is kicking my ass.
     
    Naked_Snake and SkyQueen like this.
  5. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    9
    Oct 8, 2015
    Italy
    Hyrule Castle
    It did to me too but i had an idea. All that is needed is an hacked wiiu and Zelda BOTW for wiiu. Transfer the save from switch to wiiu and use the zelda botw wiiu trainer using tcpgecko. https://github.com/joffnerd/botw-trainer/releases
     
  6. SkittleDash

    SkittleDash Loading...

    Member
    8
    GBAtemp Patron
    SkittleDash is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Oct 21, 2015
    Japan
    Planeptune
    Oh wow. Nice! My game is even still on 1.2.0. I'll give these a go! Wasn't expecting something like this for quite awhile.
     
  7. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
  8. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    9
    Oct 8, 2015
    Italy
    Hyrule Castle
  9. AnalogMan

    AnalogMan ultraSuMoFramework Dev

    Member
    12
    Apr 20, 2007
    United States
    I know, I was pointing it out to you is all.
     
    Filo97 likes this.
  10. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    7
    Oct 6, 2013
    Australia
    Hyrule Field
    can anyone compile this for me please for mario
     
  11. Joom

    Joom  ❤❤❤

    Member
    13
    Jan 8, 2016
    United States
    You shouldn't have to compile anything. It's a script. Read the gist for usage.
     
    Last edited by Joom, Jun 13, 2018
    cearp and SkyQueen like this.
  12. DarkFlare69

    DarkFlare69 GBAtemp Psycho!

    Member
    12
    Dec 8, 2014
    United States
    Ohio
    Just to make sure, the "codepatch" is the new arm instruction converted to hex?

    1. When you have your patches put them all in a file in this format: (all values should be in hex) location:codepatch Example:2E8:21008052
     
  13. Unity150_magickavoxel

    Unity150_magickavoxel Advanced Member

    Newcomer
    3
    Jan 6, 2018
    Canada
    Where is the noclip camera
     
  14. MichiS97

    MichiS97 "Leftist snowflake milennial"

    Member
    9
    GBAtemp Patron
    MichiS97 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    Jun 14, 2011
    Germany
    Munich
    How can you disassemble Switch games though? Is there a loader for IDA Pro?
     
  15. Pippin666
    This message by Pippin666 has been removed from public view by Issac, Jun 17, 2018, Reason: Completely unnecessary!.
    Jun 14, 2018
  16. Naked_Snake

    Naked_Snake Constant Miscreant

    Member
    7
    Oct 6, 2013
    Australia
    Hyrule Field
    what part of the cart do we dump for mario odyssey exefes folder
     
  17. LiamMCW

    LiamMCW Member

    Newcomer
    2
    Jul 10, 2018
    United States
    It does not make a valid file for me.
     
Loading...