From 6ff043c4fbd5dae5e0b1ec73a3bb4003e8cef20b Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 22 Oct 2025 00:57:42 +0200 Subject: [core/filesystem] "easier" cheats folder structure like Ryujinx (#2795) Less annoying way to make cheats Signed-off-by: lizzie Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/2795 Co-authored-by: lizzie Co-committed-by: lizzie --- docs/User.md | 1 + docs/user/Storage.md | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 docs/user/Storage.md (limited to 'docs') diff --git a/docs/User.md b/docs/User.md index 18f8729aae..7928a90615 100644 --- a/docs/User.md +++ b/docs/User.md @@ -9,3 +9,4 @@ This handbook is primarily aimed at the end-user - baking useful knowledge for e - **[Graphics](user/Graphics.md)** - **[Platforms and Architectures](user/Architectures.md)** - **[Testing](user/Testing.md)** +- **[Data, savefiles and storage](user/Storage.md)** diff --git a/docs/user/Storage.md b/docs/user/Storage.md new file mode 100644 index 0000000000..1719bd967c --- /dev/null +++ b/docs/user/Storage.md @@ -0,0 +1,39 @@ +# User Handbook - Data, savefiles and storage + +## Cheats + +Cheats can be placed in the two manners: + +**Method 1**: +- Right click on "Open mod directory" +- Create a file called `cheat_mycheat.txt` (the file must start with `cheat_` to be recognized as one) +- Write the cheat into said text file +- Done + +This method doesn't account for build IDs, so any cheats for previous builds will not be automatically filtered out. + +**Method 2**: +- Right click on "Open mod directory" +- Create a folder called `My cheat` +- Inside said folder create another one: `cheats` +- Then inside said folder create a file with the build ID in hexadecimal, lowercase, for example `1234FBCDE0000000.txt` +- Write the cheat into said text file +- Done + +To delete a cheat simply do the process backwards (delete the folder/file). + +## Savefiles + +The method to access save data is simple: +- Right click on "Open save directory" + +## Maintaining a library + +### ZFS + +One of the best ways to keep a gallery of archives is using a ZFS pool compressed with zstd. +```sh +sudo zfs create zroot/switch` +sudo zfs set compression=zstd zroot/switch +``` +A new ZFS dataset will then be available on `/zroot/switch`. From which then can be added as a normal game directory. Remember to ensure proper permissions with `chmod 755 /zroot/switch/*`. -- cgit v1.2.3