libretro / swanstation

GNU General Public License v3.0
93 stars 21 forks source link

Use "cache_directory" for Vulkan shader caches instead of "system_directory" #86

Closed taki-eddine-47 closed 9 months ago

taki-eddine-47 commented 9 months ago

Hello, SwanStation uses system directory for it's Vulkan shared caches, this is incorrect, system contains BIOS and firmwares to be used by emulators. And the name of the cache are lower cases swanstation, should be SwanStation like it's configuration name.

I use this configuration in RetroArch to override core's configuration:

system_directory = "/storage/emulated/0/Firmwares/Sony - PlayStation"
cache_directory = "/storage/emulated/0/.data/user/cache/retroarch"
rgui_config_directory = "/storage/emulated/0/.data/user/roaming/retroarch/config"
savefile_directory = "/storage/emulated/0/.data/user/share/swanstation/saves"
savestate_directory = "/storage/emulated/0/.data/user/share/swanstation/states"

https://github.com/libretro/swanstation/blob/afb6bc73c7ce522190b19ec3e3c8a14eb264bdeb/src/libretro/libretro_host_interface.cpp#L401

image image

Best Regards,

DarthMew commented 9 months ago

It's not incorrect for the following reasons:

On the subject of capitalization, Changing it would be extremely pointless because A.) it would leave people with yet another orphaned cache directory, and B.) wouldn't even matter on platforms that ignore capitalization (E.G. Windows) On top of that, many cores simply don't bother to use it when creating folders, and it's a matter of preference of the people working on them if this happens or not.

So no, it's not going to change, and I'm closing this as not planned.