kwsch / NHSE

Animal Crossing: New Horizons save editor
https://berichan.github.io/GetNHSE/
GNU General Public License v3.0
1.02k stars 260 forks source link

Pattern Edit Fix + New Icon + JP Strings #634

Closed lottehime closed 11 months ago

lottehime commented 11 months ago

Change 1:

Added fix for two parts of pattern import problems common across editors:

In reference to issues: https://github.com/kwsch/NHSE/issues/269 & https://github.com/kwsch/NHSE/issues/584 Can also be seen in issues for other ACNH editor projects.

Research/workings to backup conclusions above: https://github.com/lottehime/ACNH-Pattern-Research

Change 2:

Added a new icon that supports up to 256px and is "distinct-ish". Not sure if a welcome change, so feel free to reject.

Change 3:

Added translations to MessageStrings_jp.txt.

Feel free to discuss any changes / issues / questions with me :)

hunshikan commented 9 months ago

This bug fix seems to have introduced another bug,When I copied other people's islands through the new version of NHSE, it seemed that there were some issues with the land, but the old version of NHSE performed normally before after

[DA-1608-5112-4385].zip

lottehime commented 9 months ago

Thanks for letting me know. I'll look into it when I have some time. I have a feeling I know what has caused it.

@hunshikan can you please let me know the build of NHSE that worked for you that you used in the first screenshot? It will help me identify the issue.

hunshikan commented 9 months ago

@lottehime [DA-1608-5112-4385].zip You can use this game save to export necessary files and overwrite them with your own save to reproduce the problem

lottehime commented 9 months ago

@lottehime [DA-1608-5112-4385].zip You can use this game save to export necessary files and overwrite them with your own save to reproduce the problem

Thanks, aware of that - might be some crossed wires, what I want to know is the build number of the older NHSE you are using where the issue is not reproduced? I can of course compare the new builds to the one before this merge, but want to confirm against the exact version also. Thank you.

hunshikan commented 9 months ago

@lottehime Yes, the old version is completely fine

lottehime commented 9 months ago

It's OK, I'm not sure you understand what I am asking so don't worry about the question. I will look into it when I have time.

lottehime commented 9 months ago

@hunshikan issue identified and fix identified. Pattern data block offsets 0x70 -> 0x71 contain a byte sequence that is needed to flag it as placed and transparent. I will add an issue and implement the fix soon and make a PR to close it out.

@kwsch would it be acceptable for me to request the ability to help triage and assign issues (such as this one when I add it)? I would like to be more active in helping organize and get fixes happening for them as time permits. Thanks for considering and feel free to reach out.

kwsch commented 9 months ago

Added. Do whatever ya wanna do ;)