Update macOS user directory

Steveice10 2023-03-09 19:59:30 -08:00
parent 5e0d7da294
commit 7720b67f0e

@ -5,8 +5,10 @@ Citra's user directory is where the emulator persists the emulated 3DS NAND, sav
- on any system, the presence of a directory named `user` on the same directory of the executable will override the default behavior and Citra will use that instead.
- on **Windows**, the path is `C:/Users/[your-user-name]/AppData/Roaming/Citra/`. Note that the folder `AppData` is hidden by default, so you need to change the configuration to view it.
- in old versions of Citra, the user directory used to be the `user` folder in the same directory as the Citra executable.
- on **macOS** and **Linux**: in the terminal, type `echo $XDG_DATA_HOME`. This command will print out the user-specific data directory. If nothing gets printed out, that means the directory hasnt been changed and the path is `~/.local/share/citra-emu/`. Note that the folder `.local` is hidden on most machines, so you need to change the configuration to view it. _Additionally, the `config` folder can be found with the command `echo $XDG_CONFIG_HOME`, otherwise located in `~/.config/citra-emu/`_.
- on **Linux**: in the terminal, type `echo $XDG_DATA_HOME`. This command will print out the user-specific data directory. If nothing gets printed out, that means the directory hasnt been changed and the path is `~/.local/share/citra-emu/`. Note that the folder `.local` is hidden on most machines, so you need to change the configuration to view it. _Additionally, the `config` folder can be found with the command `echo $XDG_CONFIG_HOME`, otherwise located in `~/.config/citra-emu/`_.
- when Citra is installed via **Flatpak**, the citra folder will be `~/.var/app/org.citra_emu.citra/data/citra-emu`, and the config folder will be `~/.var/app/org.citra_emu.citra/config`
- on **macOS**, the path is `~/Library/Application Support/Citra/`.
- In older versions of Citra, macOS used the same path scheme as Linux. If you still have those directories on your system they will be used instead for backwards compatibility; otherwise the Citra directory will be as specified above.
There are at least three directories within the user directory: `config`, `nand`, and `sdmc`. See below for details about each directory and what data is stored within.