FluffyFishGames / ACNHDesignPatternEditor

An editor for Animal Crossing: New Horizons design patterns.
GNU General Public License v3.0
351 stars 28 forks source link

Change to names not being retained #41

Open Elfykins opened 2 years ago

Elfykins commented 2 years ago

The program seems to be working fine in most aspects with 2.0.4 of New Horizons, but it is not retaining the names I give them in the file. I know it was fixed a long time ago, but it seems this has returned. Eg. I name a pattern "Dress" and it turns back to "Pro Design" when loading the game.

lottehime commented 11 months ago

Not related to https://github.com/FluffyFishGames/ACNHDesignPatternEditor/issues/48.

@FluffyFishGames This issue (https://github.com/FluffyFishGames/ACNHDesignPatternEditor/issues/41) is due to not setting the flags correctly in main.dat for if a pattern has been edited by the player.

These flags can be found starting at offset 0x8BE260 and need to be changed to 0x00 for each slot imported into.
They begin as 0xFF which marks them as untouched by the player and does not allow for the name to be modified. The same applies for pro designs as well. They begin at offset 0x8BE2C4. For more info, refer to: https://github.com/lottehime/ACNH-Pattern-Research

If time permits I will read through the codebase and see where to implement.