Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key-system.c Crash #48

Open
BIGJRA opened this issue Jun 28, 2024 · 1 comment
Open

key-system.c Crash #48

BIGJRA opened this issue Jun 28, 2024 · 1 comment
Labels
fixed For bugs and feature requests that have been resolved

Comments

@BIGJRA
Copy link

BIGJRA commented Jun 28, 2024

Issue

Executing key-system.c on B2W2 fails when attempting to use any of the five "Key" choices (Easy Key, Challenge Key, etc.). Running the other five choices (Easy Mode, Challenge Mode, etc.) does not appear to change anything within Black 2 - no keys nor unlocked modes.

Error Message:

               memset(message, '\0', 51);
                   ^
romfs:/scripts/b2w2/key-system.c:37:18
VariableGet Ident: 'memset' is undefined

Exit code: 1

Reproduction:

Running PKSM v10.1.1-aca22663 on New 3DSXL. Accessing Black 2 save file via Extra Saves option.

Black 2 Save in question is a fresh file, saved immediately after getting a Starter Oshawott in Aspertia City.

To reproduce open the file in PKSM > Scripts > run key-system.c > select any "Key", press A or B.

Thanks!

@SpiredMoth
Copy link
Member

Known bug, fixed in commit dc40ec3

The fixed version of the script will be bundled in the next release of PKSM. In order to use it before then you'll need to follow these steps:

  1. Download this file
  2. Place the file inside /3ds/PKSM/scripts/b2w2 on your SD card (making any folders that don't already exist)
  3. From PKSM's Scripts menu press X to switch to scripts from the SD card
  4. Select key-system.c from the list

@SpiredMoth SpiredMoth added the fixed For bugs and feature requests that have been resolved label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed For bugs and feature requests that have been resolved
Projects
None yet
Development

No branches or pull requests

2 participants