GithubHelp home page GithubHelp logo

kwsch / nhse Goto Github PK

View Code? Open in Web Editor NEW
993.0 65.0 259.0 15.22 MB

Animal Crossing: New Horizons save editor

Home Page: https://berichan.github.io/GetNHSE/

License: GNU General Public License v3.0

C# 100.00%
animal-crossing-new-horizons animal-crossing save-editor new-horizons nintendo-hacking

nhse's Introduction

NHSE

License

Save Editor for Animal Crossing: New Horizons

Edits savedata dumped from the Nintendo Switch.

  • Bring your own save file data; this program does not dump it from your console.

See Also

MyHorizons by Cuyler36

  • Some portions of code are liberally adapted from Cuyler36's project above.

Other

Refer to the Wiki for more information.

We do not support or condone cheating at the expense of others. Please be responsible!

nhse's People

Contributors

architdate avatar berichan avatar blckbearx avatar cjbok avatar cpurules avatar crunchprank avatar der3318 avatar dqn avatar ehrhart avatar exorcism0666 avatar hamondorf avatar hp3721 avatar ixaruz avatar jakmaster199 avatar jimmyorz avatar kwsch avatar littlecxm avatar lottehime avatar mirayxs avatar monchit0s82 avatar myshilingstar avatar pxlcat avatar swampatha avatar xvii avatar xxphoenix1996xx avatar yzhlau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nhse's Issues

Changing villagers keeps old houses.

Changing the villagers with the editor does change the villager themselves, but it keeps the house of the old villager.

It would be great to also be able to change the person's house to the proper house they should own instead of the old one.

(UNUSED) clothing listings refer to colour/design variants

As the title states, the item IDs for clothing marked as (UNUSED) actually refer to the different variants of the item, rather than using the Count value like furniture, tools, etc. do.

The information for which variant is which is (presumably) derived from the strings for the Catalog feature in the Nook Stop.
As an example, the following Pastebin dump by @imthe666st contains the ID/Item/Variant pairs for all clothing:
https://pastebin.com/B8N5KKsh

How to Install it

Dear Reader,

I just dont know how to install the Saveditor is there a Manual for it ?

I just found this Manual :

  1. Click the link and either clone or get a zip of the save editor the option is within a green button on the right.

2.After getting the folder download Visual Studio (I installed mine with default settings)

  1. Once you have it installed right click the NHSE-master folder and open it with VS. Once it's opened up look to the right for the "Solution Explorer" and click "NHSE.sln"

  2. Run the .sln by clicking the green triangle icon above (it's below where Analyze, Tools and Extensions are on the top most menu)

  3. After running the .sln you will see that the Solution Explorer changed, at this point I believe you can just click on any of those (NHSE.core, NHSE.Injection, NHSE.Parsing etc) and run them to activate the Save Editor (green triangle button again).

  4. Open up your Ryujinx and go to your New Horizon's save folder COPY it's contents and put all the contents in a new folder (this will be used for you test and edit) It is recommended that you always have a backup of your original save!

  5. Drag the new folder that contains your save into the application and from here you can start changing things within your game.

And when i try to debug the NHSE.sln File like in this Description is says it doesnt work

Thanks for reading i would be really thankfull for your helping

Greetings

Index out of Range

Hey thanks for the project! I just created a new save file on the latest AC, and exported it with JKSV. I've done basically nothing in the game yet. (Just got the phone, and saved).

NHSE seems to open the save file successfully, but when I hit save it throws an error (even if I've made 0 edits!):

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.BitConverter.ToUInt32(Byte[] value, Int32 startIndex)
   at NHSE.Core.Murmur3.GetMurmur3Hash(Byte[] data, Int32 offset, UInt32 size, UInt32 seed)
   at NHSE.Core.EncryptedFilePair.Hash()
   at NHSE.Core.HorizonSave.Save(UInt32 seed)
   at NHSE.WinForms.Editor.Menu_Save_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
NHSE
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///Z:/Downloads/NHSE/NHSE.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
NHSE.Core
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///Z:/Downloads/NHSE/NHSE.Core.DLL
----------------------------------------
NHSE.Sprites
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///Z:/Downloads/NHSE/NHSE.Sprites.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


It does seem to save, but the one time I tried loading it up in my switch I got corrupt data (I could've messed something else up though).

Villager files

I think it might be useful if you could offer a repository of all the villager files so we could load them up in the save editor. I'm not sure, but that might fix the house bug.

Add Building Names Instead of Having to go off BuildingIDs

Not sure if this is possible but editing buildings seems nightmarish since there is no way to tell the difference between buildings besides their buildingid. It would be a lot more user friendly if the building list had building names (ex: Museum, Nooks Cranny, Able Sister, so&sos house

Change Resident Representative

Is your feature request related to a problem? Please describe.
Currently, only the first person to create an account is set as the resident rep. In my case, my fiancé created the island and doesn't play much rendering me useless unless I go on her account which is not ideal.

Describe the solution you'd like
The ability to change who the Resident Representative is.

Describe alternatives you've considered
The only other way to fix this would be to restart the whole island which is not ideal.

Additional context
N/A. Will gladly help do any data digging if you want, would just need the files to dig through :)

How do this work ?

Hello, I just don't understand how do this work, it's on the switch or on the computer ? And how do i launch it ? Can you do a release ?

Changing island/player name now works just fine.

I am sorry, I don't know where else I could send you a feedback, so I am sending it here on "issues".
So, I've been stalking your github and saw that you made an update about the changing names problem. Now it is working!

Also, I would like to know if you're gonna implement something to change the birthday date and the island native fruit.

Anyways, thank you so much for your hardwork!

Villagers poster

Is your feature request related to a problem? Please describe.
I added everything with "Edit received items" but i'm missing every posters and photos of villagers in Nook Shopping.

Describe the solution you'd like
Unlock everything in Nook Shop

Describe alternatives you've considered
I tried to remove everything, scanned an amiibo at Harvey house, but it's still the same, i only have the posters of amiibos i scanned.

Additional context
https://i.imgur.com/i1mOVuy.png

Generating DIY Recipes

I was wondering if there's a way to spawn in the items for recipes. I'm a pretty big noob when it comes to code and such, so I'm not sure how all the flags come into play with the DIY's. If they aren't creatable, that's totally fine.

Island Name Change doesn't work.

Changing the name of the island doesn't work properly. Once changed, the game no longer recognises your villager as being from that island.

Passport Image Edit

Is your feature request related to a problem? Please describe.
Not really, i just want to change my save file passport image.

Describe the solution you'd like
There should be a button like "Passport" that opens a new tab and you can select if you want to change your passport image.

Note: Requesting new editing features that require research are not Feature Requests. This is only for improving interactions and/or leveraging the current code in new/interesting ways.

Describe alternatives you've considered
I don't have any alternatives

Additional context
Else if you don't like the idea of the button, can add a function to right click the passport image on NHSE and you can change the icon alongisde saving the image
(Would open a new tab to choose the image file to upload as passport image like the file-picker for save file)
Screenshot (2057)

Change critterpedia information.

This isn't related to any problem, it's more of a suggestion. I'm sure you've thought of this, but it'd be really useful to be able to edit the critterpedia of a villager since spawning in the fish/bugs doesn't fill in the critterpedia at all.

Add item images, prices, etc.

I'm working on populating a database with every item, an image of the item, a description, prices, etc. It would be amazing if NHSE could pull this item information, including images, etc., to display when picking items for the inventory.

Received Items: Furniture Variations Support

In its present state, checking certain items (most notably furniture) in the Received Items Editor will only unlock the item's first form if it's not already unlocked.
Presumably, the bitflags for which variants of each item have been received are also stored inside personal.dat.

How does one launch this on PC ?

I am not at all comfortable with coding, so I don't understand how I am supposed to launch this on my computer. I am already aware of the save extraction needed, and it is done, I just don't get it about NHSE.

Swapping Villagers - House, Clothes, Etc. Does not Change

When editing a character and changing them to another more desired villager, the only thing that seems to change is the villager them self. It would be great if it also changed everything to be the new villagers things/house as if they moved in naturally.

I hope this will be a feature in the future as only changing the person does not look or feel right.

Can't load save? Error message

Can anyone help here? I've tried to both load an older file (first version) and the most recent update, both give me this error;
"Could not load file or assemble 'NHSE.core, version=1.0 0.0, Culture=neutral, Publickeytoken=null ' or one of its dependencies. File not found"
Screenshot 2020-04-02 at 5 15 54 PM

Wallet count is broken

NHSE version : commit deb4d51
ACNH save version : 1.1.0

Wallet is broken and display a wrong value, other such as bank bells or Nook miles work fine.

Wallet don't match

include dump save for viewing purposes?

Not necessarily an issue, but I was wondering if you could include an empty dumped save in your files. I don't currently have an unpatched switch (ones being shipped) and I was interested in seeing what this looked like. Since I cant get a backup save to put into the editor, I can't get past the "open folder" screen. I'd like to see what is and is not included in this save editor before looking more into JKSV and save dumps. Thanks! :)

Pattern Design Loading

This is my first time writing stuff on Github, apologies for using preset issue/feature request templates.

Is your feature request related to a problem? Please describe.
The issue with importing designs is that on sites like acpatterns.com, files download in .acnl (presumably Animal Crossing: New Leaf?) files.

Describe the solution you'd like
Some solutions to this problem are:
A. Have an in-program converter from .acnl to .acnh (probably the harder workaround)
B. Make it so the "Load Design" button in the "Designs" tab also loads .acnl (I tried, it refuses.)
If my 200iq guess as to acnl = animal crossing new leaf is correct, there is an on-website save editor that allows design uploads for new leaf. I'm sure with permission you could ask for the code for that feature.

Tell me about pocket is full but it doesn't.

I got an issue.
The game keep telling me my pocket is full when my first two rows from top (slot 1 ~ 20) posing items.
In this situation , I can't buy anything . Sure I can put my items down to last 20 slot(2140) , but it just inconveniences.
If I put my tool on last 20 slot(21
40) , they can't be detect by tool ring .
It bother me so much .

I am not a english user actually , hope my poor english desen't bother .

Value of '3488884073' is not valid for 'Value'.

Recently messed up something with Edizon cheats and seems like I f'd up my bells to become like -2,147,483,647. Tried to use the save editor with my dump and it's not allowing me to load.

image

Changing item counts sets it to 1

I tried changing my amount of iron nuggets to 30, but when I booted up the game it set them down to stacks of 1 iron nuggets. Am I doing something wrong?

Start?

So I may just be a little slow but how does one start this program as I do not see an exe and I only have minor experience programming for servers and stuff for other people I am not sure how to open and I think this may answer some others questions as well thank you for taking your time to read this!!!

Can't Edit Save Files; Animal Crossing New Horizons Version 1.1.2

  • 1. Can't Edit Save Files, Version 1.1.2
  • 2. Version 1.1.2 Updates Save Files
  • 3. Save File Update may be the issue
  • Screenshot Attachment Of When I Updated To Version 1.1.2 (italian)
    image

    Translated:

    after updating the software, the save data will now be updated.
    

    I use an emulator, the save editor works on it too but rn it doesn't since i update my game to Version 1.1.2


    Get the following ERROR

    image

    Path of the save file folder is good, as i said, V1.1.2 edits/updates save files and it may be the reason this issue occurs

    photos and posters don't work

    when i use the editor when i check all the items it dosn't appear me the villagers' posters to buy then on Nook Shopping

    Setting the flag for having the 30 inventory slots leaves the extra slots unusable.

    I made a new character in my town, who I gave all recipes to, as well as filling his catalog. When I tried to purchase the inventory upgrade, it wasn't available in the Nook Stop (the character does have Nook Miles+). After noticing that, I went into the save editor again and set the flags for the 30 and 40 slot upgrades. At the same time, I also added the tool wheel, the hairstyle packs and the hair colors pack.

    When I checked, I saw that the 40 slots were visible in the inventory, but only the original 20 were usable. I went back in and turned off the 40 slot upgrade, but left the 30 slot one. That time, the 30 slots were visible, but still only the original 20 were usable.

    I'm not sure why this is happening, but I will attach the folder with the villager that's giving me problems. I'd attach the whole save, but it's too big to upload.

    Villager2.zip

    for reference.

    Easter Update :D

    would it be possible to update the save editor for the new easter update?

    import/export custom designs

    Is your feature request related to a problem? Please describe.
    When you do not have access to a NSO subscription you can not import custom designs.

    Describe the solution you'd like
    A way to import/export .acnl files from https://acpatterns.com/.

    Additional context
    I looked into the main.dat file and it seems like they are saved in the same format as new leaf. So this should be possible.

    Feature Request: Island designer permit editing

    Hi,
    I don't know how difficult this would be, but the ability to unlock permits through the save editor would be really nice, as for some reason the ability to buy them isn't in my nook miles stop, even though I have the app. Hope this can be done.

    Change birthday

    Not a Issue but, can you pls add a "change birthday" option? People who is playing Ryujinx emulator need to use a save file to play and only need to change the birthday hahaha (sorry)

    Posters and photos

    Is your feature request related to a problem? Please describe.
    Unlocking villagers posters and photo doesn"t work throught "Received item list editor" features.

    Describe the solution you'd like
    Be able to buy them with the Nook Shopping app

    Additional context
    Tried removing them and scanning a new amiibo on Harvey island but it change nothing

    Changing villagers fills mailbox up?

    If you change any of your village and then write a letter or get something in the mail, it duplicates the first letter you get 299 times until your mailbox is full.

    I'd personally love this issue fixed soon as it's kinda frustrating to change an unwanted villager and then try to write to them, only to have your mailbox completely full by the next day. I'd also like to note, this also happens when you get stuff in the mail. It also crashes your game if you open certain duplicate letters.

    There IS a workaround to clearing your mailbox at least as I've stated on GBATemp which is open one letter then save immediately. Even so, I just want to write to my villagers.

    Villager Swap, House and Clothes included

    Is your feature request related to a problem? Please describe.
    When swapping a new character in, the old villager's house, clothes, and more stay the exact same.

    Describe the solution you'd like
    Ideally when swapping a new character in, the new character's house should be swapped in as well as anything else. It should be as if that villager moved to town naturally. It is not very useful to swap in a different villager if it breaks the game like that.

    Player name changing and Inventory Editor item counts

    When the player's name is changed, the villagers act as if the player is new to the island.

    Another issue I found is when maxing out inventory for wood, you have to put 29 instead of 30.

    Thank you for your hard work on this project!

    Value was either too large or too small for an unsigned byte

    Problem with the new version #20200403.2:
    Getting the following error when set a recipe item :
    Value was either too large or too small for an unsigned byte

    Ive tried for example:
    Item #5794
    count 537

    Iv also tried to set an item i already have in the inventory (cloning)

    Nook Milestone Achievement

    Is your feature request related to a problem? Please describe.
    I had this problem that every time I time traveled, the date that I started which it used to be 03/23 when I edit the miles; the date keep changed such Clam and Collected or Cast Master now its 03/28. Also the fish milestones kept changed back to original which it was 30; It was supposed to be 33 which I edited for three March fishes.

    Describe the solution you'd like
    I really like to keep the cast master and clam and collected on the dates that I originally edited on or stop on that date. For fish milestones, I like to stick the edited count on.
    2020032709275400-02CB906EA538A35643C1E1484C4B947D
    2020032709280000-02CB906EA538A35643C1E1484C4B947D
    2020032809321300-02CB906EA538A35643C1E1484C4B947D
    2020032809321700-02CB906EA538A35643C1E1484C4B947D

    Note: Requesting new editing features that require research are not Feature Requests. This is only for improving interactions and/or leveraging the current code in new/interesting ways.

    Describe alternatives you've considered
    I saw that someone have alternative for hxd editor, but I don't know how to do it.

    Additional context
    Add any other context or screenshots about the feature request here.

    Changing island and player name doesn't go very well.

    I changed my name and my island name on the save editor, but on the Passport it didn't changed at all.
    Went to talk to Tom Nook and he told me "Oh, so nice that you travelled all that way from another island to visit our island".
    Tried to use the Nook Stop and it said "only ******* residents can use that device".
    I edited the save file again putting the old island name, but still having the new player name, Tom Nook talked to me like I was a resident of the island, but not THE principal player and I went to a villager house and she said "Oh! You're new here, right? Let me introduce myself" like if I had created another player.
    Then I edited the save file again putting the old player name and now everyone recognizes me and I am the principal player again.

    I am mainly posting this issue here 'cause I don't know if another people has experienced the same, so it's something you should give a look at :)
    Anyways, thanks a lot for your effort and keep up the good work!

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.