KNULLI Scarab N64 Saves Missing After a Core Change

If your N64 game progress appears to be missing after changing emulators on the RG CubeXX, check share/saves/n64 before starting a new game or deleting any files. Changing the emulator or libretro core does not normally delete existing saves. On KNULLI Scarab, the apparent loss may occur because libretro and standalone Mupen64Plus expect different save formats and filenames, even though they use the same directory.

This guide applies specifically to the official stable KNULLI Scarab 20260511 RG CubeXX image, knulli-h700-rg-cubexx-scarab-20260511.img.gz, listed in the official KNULLI Scarab release. The RG CubeXX is an Allwinner H700 ARM device, and this Scarab release includes RetroArch 1.22.2.

Testing note: This guide is based on official documentation, release-specific configuration research, and publicly available emulator and converter source code. The complete conversion and recovery procedure has not been independently tested on an RG CubeXX. Compatibility with every game, ROM hack, Controller Pak, Transfer Pak configuration, or custom override is not guaranteed.

Quick solution: check before converting

  1. Exit the game normally.
  2. Back up the entire share/saves/n64 directory.
  3. Switch back to the emulator or core that originally created your save.
  4. Launch the same ROM and check the game’s own Continue or Load menu.
  5. If your progress returns, the original save is still readable by that emulator.
  6. Only attempt format conversion if you specifically need to continue playing with a different emulator.

If you only switched between ParaLLEl-N64 and Mupen64Plus-Next, check the ROM filename and save path first. Conversion may not be necessary.

Battery saves and save states are different

This guide recovers in-game battery saves: the progress loaded through a game’s own Continue or Load menu. It also discusses Controller Pak data where relevant.

Do not use a save state as a substitute. RetroArch states use names such as content-name.state or numbered variants, while standalone Mupen64Plus uses its own snapshot serialization. A state contains emulator-internal data, and cross-core or libretro-to-standalone compatibility is not established.

Recover the in-game save first, then create a new save state under the destination emulator if needed. See the official Mupen64Plus-Next core documentation.

Warning: Do not rename or run the conversion procedure below on .state files or standalone emulator snapshots.

Where Scarab stores N64 saves

Scarab’s referenced configuration defines the save root as /userdata/saves.

Its libretro generator sets the battery-save and save-state directories according to the system name. The standard N64 save directory is therefore /userdata/saves/n64.

Over SMB, the share folder maps to /userdata, so the directory appears as:

share/saves/n64

See KNULLI’s network-transfer documentation for instructions on accessing the shared storage.

The active storage device matters:

  • In a single-card setup, /userdata is the SHARE partition on SD1.
  • In a dual-card setup, /userdata points to the selected data storage partition.

These mappings are documented in KNULLI’s game-storage guide. Inspect the currently active share rather than assuming that both SD cards use the same save directory.

Why the save appears to be missing

Scarab’s H700 defaults select libretro ParaLLEl-N64 as the default N64 emulator. The build also includes standalone Mupen64Plus and the Mupen64Plus-Next and ParaLLEl-N64 libretro cores, as shown in the release-specific emulator configuration.

The save representation depends on which implementation you launch.

Emulator Save format Standard directory
ParaLLEl-N64 .srm share/saves/n64
Mupen64Plus-Next .srm share/saves/n64
Standalone Mupen64Plus .eep, .sra, .fla, .mpk share/saves/n64

Libretro ParaLLEl-N64 and Mupen64Plus-Next

A standard libretro N64 battery save uses a file named after the loaded ROM content:

ROM-content-name.srm

The conventional libretro Mupen64Plus save container is 290 KiB, or 296,960 bytes. It combines EEPROM, four controller mempaks, SRAM, and FlashRAM data.

The container layout can be inspected in the ParaLLEl-N64 converter source code. Mupen64Plus-Next also documents the content-name.srm naming convention.

Scarab disables RetroArch’s additional sorting by core and system in its referenced libretro configuration generator.

Under the standard configuration, switching between ParaLLEl-N64 and Mupen64Plus-Next therefore does not necessarily require moving the save into a different core-specific directory.

Standalone Mupen64Plus

Scarab configures standalone Mupen64Plus to place its battery saves and snapshots in the N64 save directory through its path configuration and configuration generator.

Standalone save data is split into separate files as applicable:

  • .eep for EEPROM.
  • .sra for SRAM.
  • .fla for FlashRAM.
  • .mpk for controller mempaks.

Scarab sets SaveFilenameFormat to a nonzero value. In the referenced Mupen64Plus implementation, the filename is derived from a sanitized game good-name and an MD5-based identifier rather than simply copying the ROM filename.

See the Mupen64Plus core source for the filename implementation.

This difference in naming and storage formats can explain why progress appears missing after switching between libretro and standalone Mupen64Plus.

Before moving or converting anything

Important: Always preserve the original saves before launching a destination emulator, creating a test save, or attempting conversion. Never use your only copy as a conversion input.

  1. Exit the running game normally so the emulator can commit its save data to storage.
  2. Avoid forced power-off. See KNULLI’s basic-input documentation and power-management guide.
  3. Connect to the active share over SMB or safely mount the active data card on a computer.
  4. Copy the complete share/saves/n64 directory into a dated backup folder on separate storage.
  5. Verify that the copied files exist and have nonzero file sizes where expected.
  6. Create a separate working directory for conversion.
  7. Preserve any existing destination-emulator save files in a second backup folder.

If you use Syncthing or another synchronization service, pause synchronization before replacing or restoring save files. Otherwise, modified or deleted files may propagate to another device.

Do not directly rename an .srm file to .eep, .sra, .fla, or .mpk. The combined container and individual save formats have different structures.

Prepare the pj64tosrm converter on Windows

The ParaLLEl-N64 project includes a small C utility called pj64tosrm that supports extracting and combining conventional libretro N64 saves.

The following build procedure uses the publicly available pj64tosrm source code and the free MSYS2 GCC toolchain. It does not require uploading your personal save files to an online conversion service.

The commands have been derived from the published source and toolchain instructions. They have not been independently executed as part of this article.

Step 1: Install MSYS2

  1. Download MSYS2 from the official MSYS2 website.
  2. Install it using the normal Windows installer.
  3. Open MSYS2 UCRT64 from the Windows Start menu.
  4. Follow the official installation instructions to update the environment.

To update the MSYS2 packages, run:

pacman -Syu

If the updater requests that the terminal be closed, reopen MSYS2 UCRT64 and complete the update before continuing.

Step 2: Install the C compiler

In the MSYS2 UCRT64 terminal, run:

pacman -S mingw-w64-ucrt-x86_64-gcc

Confirm the installation when prompted. This package is documented in the MinGW-w64 MSYS2 setup guide.

Verify that GCC is available:

gcc --version

Step 3: Download the converter source

Open the pj64tosrm.c source page and download the raw C source file.

Save the file as:

C:\N64SaveTools\pj64tosrm.c

Create the folder if necessary. Make sure Windows has not added an extra .txt extension to the downloaded file.

For reproducibility, keep a copy of the source you downloaded and record the GitHub revision used. The master branch may change over time.

Step 4: Compile the converter

Return to the MSYS2 UCRT64 terminal and run:

cd /c/N64SaveTools
gcc -O2 -o pj64tosrm.exe pj64tosrm.c -luser32

This should create pj64tosrm.exe in the same folder if the source and compiler are compatible.

Check the supported arguments:

./pj64tosrm.exe --help

The utility should display its supported creation and extraction modes. Displaying help does not convert or replace any save files.

If compilation fails, check that you opened MSYS2 UCRT64 rather than the plain MSYS shell, that GCC is installed, and that the downloaded file is the actual C source.

Do not proceed with save conversion until the executable has been successfully built and its usage information is available.

Understand the conversion limitations

The converter is designed around the conventional combined N64 save-memory layout. It is not a universal converter for every N64 emulator or save format.

Save format Typical or converter output size
.srm 296,960 bytes
.eep 512 or 2,048 bytes; converter extraction uses 2,048 bytes
.sra 32,768 bytes
.fla 131,072 bytes
.mpk 32,768 bytes per Controller Pak, or 131,072 bytes for four combined packs

These sizes are useful format checks, not proof that the save contents are valid. The converter does not comprehensively validate all input lengths or determine whether every extracted memory region contains meaningful game progress.

The public implementation also has limitations in its detection of empty Controller Pak data. An extracted .mpk file is therefore not necessarily evidence that the original game used a Controller Pak.

Use only the save type or types expected by the destination emulator. If its generated file sizes or Controller Pak layout differ from the converter’s output, stop and investigate that specific format rather than forcing the files into place.

Games using Transfer Pak data, unusual save layouts, custom emulator settings, or modified ROMs are outside the verified scope of this procedure.

Move a libretro save to standalone Mupen64Plus

Use this procedure when moving a conventional save from ParaLLEl-N64 or Mupen64Plus-Next to standalone Mupen64Plus Rice, Glide64mk2, or GLideN64.

Step 1: Identify the destination filename

  1. Make the full dated backup described above.
  2. Select the intended standalone Mupen64Plus emulator.
  3. Launch the same uncompressed ROM once.
  4. If the destination already has a save containing progress you want to keep, do not overwrite that progress with a disposable save.
  5. Otherwise, create a disposable in-game save and exit normally.
  6. Inspect share/saves/n64 and record the exact names, extensions, and sizes of the files generated by the destination emulator.
  7. Preserve those destination files in a separate backup.

This avoids guessing the standalone good-name and MD5-based filename described in the Mupen64Plus filename implementation.

Step 2: Prepare a working copy

Create an empty working directory, for example:

C:\N64SaveTools\split-work

Copy the original libretro .srm file from your backup into this directory.

For the following example, the copied file is named ExampleGame.srm. This is an illustrative filename; replace it with the actual name of your save.

In MSYS2 UCRT64, check the working file size:

cd /c/N64SaveTools/split-work
wc -c "ExampleGame.srm"

The conventional combined N64 container should report 296,960 bytes. If your file has an unexpected size, do not assume this converter is appropriate.

Step 3: Split the SRM file

Run the converter with the copied .srm as its argument:

../pj64tosrm.exe "ExampleGame.srm"

The presence of an .srm argument selects extraction mode in the published converter source.

Depending on the memory contents, the output may include files such as:

ExampleGame.eep
ExampleGame.mpk
ExampleGame.sra
ExampleGame.fla

Not every game needs every file. The converter may also extract regions that do not represent meaningful game progress.

If the converter asks to overwrite an existing file, decline the request and investigate why the working directory already contains that output.

Step 4: Match the standalone filenames

Compare the extracted files with the filename and size information recorded from standalone Mupen64Plus.

For example, if the converter creates:

ExampleGame.eep

And the standalone emulator expects an illustrative filename such as:

Example Game-1234ABCD.eep

Rename the extracted copy to the exact filename demonstrated by your destination emulator.

The identifier above is only an example. Do not copy it as a real filename or attempt to guess the identifier for your ROM.

Verify that the save format and file size are appropriate for the destination. EEPROM and Controller Pak files may require additional format-specific handling when their sizes differ.

Step 5: Restore the converted save

  1. Make sure the game is fully closed.
  2. Confirm that the original and destination saves are backed up.
  3. Copy only the verified, correctly named converted files into share/saves/n64.
  4. Launch the same ROM with standalone Mupen64Plus.
  5. Check the game’s own Continue or Load menu.

If the game does not recognize the converted save, exit normally and restore your backup. Do not repeatedly overwrite files or create new progress while troubleshooting.

Move standalone Mupen64Plus saves to a libretro core

The reverse operation combines conventional standalone save files into a libretro .srm container.

Step 1: Collect the original save files

  1. Back up the complete share/saves/n64 directory.
  2. Identify the applicable standalone files belonging to the same game and ROM revision.
  3. Check their names and sizes.
  4. Copy them into a new, empty conversion directory.

The working directory can be:

C:\N64SaveTools\combine-work

For simplicity, the examples below use copies named ExampleGame.eep, ExampleGame.sra, ExampleGame.fla, and ExampleGame.mpk.

Only use files that actually belong to the same game. Do not create empty placeholder saves or combine files from different ROM revisions.

Step 2: Combine the files

Open MSYS2 UCRT64 and change to the working directory:

cd /c/N64SaveTools/combine-work

For a game with only an EEPROM save, run:

../pj64tosrm.exe "ExampleGame.eep"

For a game with only an SRAM save:

../pj64tosrm.exe "ExampleGame.sra"

For a game with only a FlashRAM save:

../pj64tosrm.exe "ExampleGame.fla"

If a game has both a cartridge save and a compatible combined Controller Pak file, supply both existing input files:

../pj64tosrm.exe "ExampleGame.eep" "ExampleGame.mpk"

The utility accepts the supported individual save extensions as arguments and creates an .srm file based on the input filename. Its creation mode does not require a separate output-file argument.

Important: Do not include an existing .srm as an additional argument when trying to combine standalone files. An SRM argument selects extraction mode instead.

The combined Controller Pak example assumes a compatible four-pack memory layout. If the source is a single 32 KiB pack or uses another controller-specific arrangement, do not assume that a successful conversion preserves the intended controller data.

Refer to the converter implementation for the supported file handling.

Step 3: Check the output

For the examples above, the expected output filename is:

ExampleGame.srm

Check the file size:

wc -c "ExampleGame.srm"

The conventional combined container should contain 296,960 bytes. This confirms the expected container size but does not establish that the game progress was converted correctly.

Step 4: Match the ROM filename

Suppose the ROM used by RetroArch is named:

Example Game (USA).z64

Under the standard save naming convention, the corresponding save should be:

Example Game (USA).srm

Rename the converted copy to match the actual ROM content basename, including capitalization. See the Mupen64Plus-Next save-file documentation.

Step 5: Copy and test

  1. Ensure that the game is closed.
  2. Back up any existing destination .srm file.
  3. Copy the correctly named converted file into share/saves/n64.
  4. Select ParaLLEl-N64 or Mupen64Plus-Next.
  5. Launch the same uncompressed ROM.
  6. Check the game’s own Continue or Load option.

Do not delete the original standalone save fragments even if the converted save appears to work.

If you only changed libretro cores

ParaLLEl-N64 and Mupen64Plus-Next use the same standard Scarab save directory and content-name.srm convention.

Their conventional save-memory layouts support the same general combined container structure. However, this is not a guarantee that every game, core version, ROM hack, or Transfer Pak configuration is interchangeable.

Before converting anything, check:

  • The ROM content basename and capitalization have not changed.
  • You launched the same uncompressed ROM.
  • The expected SD card is currently mounted as /userdata, following KNULLI’s active-storage rules.
  • The original .srm exists in the expected save directory.
  • The previous emulator session exited normally.
  • No custom RetroArch override or manual configuration edit redirected the save path.

Try returning to the original core before performing conversion. If the original core loads the existing save correctly, preserve that working configuration while investigating compatibility with the new core.

Custom path overrides are outside the standard Scarab configuration covered here.

Select the emulator or core in Scarab

KNULLI allows emulator selection at the system or per-game level. The documented routes are:

  • Start → Game Settings → Per System Advanced Configuration → select the system.
  • In a system game list, press Select → Advanced System Options.
  • Hold the launch button on one game → Advanced Game Options.

Choose Emulator in the applicable menu. These routes and the distinction between libretro cores and standalone emulators come from KNULLI’s game-settings documentation.

For initial save recovery, changing the emulator for one game is preferable to changing the emulator for the entire N64 library.

Troubleshooting conversion problems

Problem What to check
GCC command not found Open MSYS2 UCRT64 and confirm that the correct GCC package is installed.
Converter cannot open the file Check the working directory, filename, quotation marks, and file extension.
Unexpected SRM file size Stop conversion and identify the actual source save format.
Unexpected EEPROM or MPK size Check the destination emulator’s actual save-memory layout before replacing files.
Converter requests overwrite Decline and use a new, empty working directory.
Converted save is not recognized Check the ROM revision, emulator selection, filename, extension, and save path.
Old progress is still missing Restore the original files and return to the original emulator.
Progress disappears after restarting Check normal emulator exit, active storage, write permissions, and custom save-path overrides.

Do not treat a successful converter exit or the expected output size as proof that the save is compatible. The definitive test is whether the destination emulator loads and preserves the intended in-game progress.

Verify that recovery is complete

No gamelist refresh should be necessary for standard save-file discovery. KNULLI’s Update Gamelists action concerns game-list management rather than save conversion.

Use this verification sequence:

  1. Launch the same ROM with the intended destination emulator.
  2. Confirm the recovered progress through the game’s own Continue or Load menu.
  3. Check that the recovered progress is the expected save, not a disposable test save.
  4. Make a new in-game save only after confirming the recovered progress.
  5. Exit normally and relaunch the game.
  6. Verify that the new progress persists.

Keep the original backups even after successful verification. Resume synchronization only after confirming that the intended save files are correct.

Restore the original saves if conversion fails

  1. Exit the running emulator normally.
  2. Pause save synchronization if applicable.
  3. Copy the unsuccessful conversion results to a separate folder if you want to investigate them later.
  4. Restore the affected original save files from your dated backup.
  5. Return to the original emulator or core.
  6. Launch the original ROM and verify that the previous progress is readable.

If restoring the entire share/saves/n64 directory, first preserve any newer saves created for other N64 games since the backup was made. Restore only the affected game’s files whenever possible.

If no relevant source file exists in the active share/saves/n64, recheck the mounted data card, exact ROM basename and capitalization, and whether the previous session exited normally.

These diagnostics do not establish that a missing save has been deleted or corrupted. Do not factory-reset KNULLI, reflash an SD card, or delete emulator configurations as an early recovery step.

References

KNULLI documentation and configuration

Emulator and conversion references

This article provides a source-based recovery procedure rather than a guarantee of successful conversion. Preserve your original saves, verify compatibility on your own device, and return to the original emulator if recovery is unsuccessful.

Leave a Comment