libretro / libretro/RetroArch

[Switch] "Sort Saves into Folders by core name" does not respect default directories settings.

Open
#14,281 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform: switch
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

[Switch] "Sort Saves into Folders by core name" does not respect default directories settings. Puts folder on root of Switch SD.

Expected behavior

With this saving option enabled, save locations should be the following:
/PATH_TO_SAVEFILE_DIRECTORY/NameOfCore/savefile

Actual behavior

However saves are now located on the root of the Switch SD card.

/NameOfCore/savefile

Steps to reproduce the bug
  1. Enable: "Sort Saves into Folders by core name" in Settings>Saving
  2. Run a game.
  3. Your savefile will be disappear (if there was a save beforehand) or there will be no saves.
  4. Newly created savefile will be in folder on the root of the Switch SD
Bisect Results

[Try to bisect and tell us when this started happening]

Version/Commit

You can find this information under Information/System Information

  • RetroArch: Build Date: May 2, 2022 / Git Version: 102abb0
Environment information
  • OS: Switch {Erista), Atmosphere 1.3.2, Hekate 5.8.0, Emunand OS: 14.1.2

NOTES:

-I've only checked with savefiles, please also investigate if "Sort Save States into Folders by core name" also respects the default directories.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue on the Switch with "Sort Saves into Folders by core name" enabled and inspect how the default save directory is applied. Compare the resulting savefile path with the expected configured directory, and also check whether save states show the same behavior. Done means both savefiles and, if affected, save states preserve the configured base directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.