PKSM icon indicating copy to clipboard operation
PKSM copied to clipboard

Bug Report - PKSM Exception Occurred(Translation-Section)

Open Aiyan0117 opened this issue 3 years ago • 7 comments

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

  • OS version:New3ds(B9s) Sys 11.14.0-46J
  • PKSM version:v9.2.0
  • Entrypoint:Don't know

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.

Aiyan0117 avatar Mar 23 '21 05:03 Aiyan0117

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

GriffinG1 avatar Mar 23 '21 05:03 GriffinG1

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.

GriffinG1 avatar Mar 23 '21 05:03 GriffinG1

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.

Aiyan0117 avatar Mar 23 '21 05:03 Aiyan0117

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

piepie62 avatar Mar 23 '21 05:03 piepie62

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.

Aiyan0117 avatar Mar 23 '21 06:03 Aiyan0117

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

piepie62 avatar Mar 23 '21 06:03 piepie62

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.

Aiyan0117 avatar Mar 23 '21 06:03 Aiyan0117

Fixed in v10.

GriffinG1 avatar Mar 26 '23 18:03 GriffinG1