FlagBrew / PKSM

Gen I to GenVIII save manager.
GNU General Public License v3.0
1.75k stars 176 forks source link

Bug Report - PKSM Exception Occurred(Translation-Section) #1261

Closed Aiyan0117 closed 1 year ago

Aiyan0117 commented 3 years ago

Describe the bug Set the default option ''generation:3'' error

To Reproduce Steps to reproduce the behavior:

  1. Open PKSM
  2. Go to the default settings
  3. Click the generation 3 button
  4. An error interface appears

Expected behavior I want to know the solution.

Screenshots Screenshot when the error occurred. 微信图片_20210323130151 微信图片_20210323130200

Information about your environment

Additional context When running pksm without any game archives loaded, there is an error when you open generation 3 in the default option to modify, as shown in the figure.

GriffinG1 commented 3 years ago

Can reproduce on latest commit both with and without save archives. Dumps attached. gen 3 defaults crash dumps.zip

GriffinG1 commented 3 years ago

Further testing leads me to believe the default default.pk3 file is invalid, as deleting the file from /3ds/PKSM/defaults/ allows me to set the default properly.

Aiyan0117 commented 3 years ago

Now I try to open default.pk3 using PKHex, and get the following prompt:Move Index beyond range:38645,51489,38645,51489

发件人: @.> 发送时间: 2021年3月23日 13:46 收件人: @.> 抄送: @.>; @.> 主题: Re: [FlagBrew/PKSM] Bug Report - PKSM Exception Occurred(Translation-Section) (#1261)

Further testing leads me to believe the default default.pk3 file is invalid, as deleting the file from /3ds/PKSM/defaults/ allows me to set the default properly.

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FlagBrew/PKSM/issues/1261#issuecomment-804635424, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATLSMIXOBYKGPHKFUY2MO4DTFATMVANCNFSM4ZUOYJ2Q.

piepie62 commented 3 years ago

Yeah, not sure why that happened. Could you try deleting it, reopening, and tell me if it fixes it?

Aiyan0117 commented 3 years ago

I delete default.pk3 After the document,The error is indeed resolved, but the same error still exists after closing the software

发件人: Chris @.> 发送时间: 2021年3月23日 13:55 收件人: @.> 抄送: @.>; @.> 主题: Re: [FlagBrew/PKSM] Bug Report - PKSM Exception Occurred(Translation-Section) (#1261)

Yeah, not sure why that happened. Could you try deleting it, reopening, and tell me if it fixes it?

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FlagBrew/PKSM/issues/1261#issuecomment-804638998, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATLSMIQ2EY4NANBXG3BSJ2LTFAUNHANCNFSM4ZUOYJ2Q.

piepie62 commented 3 years ago

Found the issue and pushed a fix; if you delete the default, change something in it on that first load and then save that change, you should be fine for any more loads to come

Aiyan0117 commented 3 years ago

The problem has been resolved, thank you!

发件人: Chris Feger @.> 发送时间: Tuesday, March 23, 2021 2:19:01 PM 收件人: FlagBrew/PKSM @.> 抄送: Aiyan0117 @.>; Author @.> 主题: Re: [FlagBrew/PKSM] Bug Report - PKSM Exception Occurred(Translation-Section) (#1261)

Found the issue and pushed a fix; if you delete the default, change something in it on that first load and then save that change, you should be fine for any more loads to come

― You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/FlagBrew/PKSM/issues/1261#issuecomment-804649757, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ATLSMIWARFOR5OWTMFVP553TFAXFLANCNFSM4ZUOYJ2Q.

GriffinG1 commented 1 year ago

Fixed in v10.