libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.25k stars 1.83k forks source link

RA should have default/dummy folders to cores, database, cht, downloaded contents, ... #1895

Closed sergiobenrocha2 closed 8 years ago

sergiobenrocha2 commented 9 years ago

RA should have default folders to cht, database, downloaded contents and others, inside ~/.config/retroarch/, for example:

~/.config/retroarch/downloads/ ~/.config/retroarch/cores/ ~/.config/retroarch/cht/ ~/.config/retroarch/databases/ ~/.config/retroarch/playlists/ [...]

Extracting the online stuff in the home folder is not very nice, linux users tend to dislike pollution in their ~/ (and I almost deleted my game/rom folders, which has the same name of "Games" cht folder)

I know you can change default dirs, just do a dummy default place for this kind of stuff.

andres-asm commented 9 years ago

I agree but not completely, this could be achieved easily during packaging. I'll try to set some hardcoded defaults

sergiobenrocha2 commented 9 years ago

Yeah, the packer can workaround it, putting everything in ~/.config/retroarch/

The problem comes when you download cheat stuff, and games to GW core, you'll have lot of folders from cht/ "hiding" the downloaded games. Take a look:

retroarch - bug 3

So you'll have a lot of different stuff in only one folder.

sergiobenrocha2 commented 9 years ago

1892 is related. That would never happened if there were folders for each thing (for playlist_directory for example)

sergiobenrocha2 commented 9 years ago

@fr500 I like the changes, only a few issues:

Extraction Dir should be at /tmp instead rom folder Input Device Autoconfig Dir should be at ~/.config/retroarch/autoconf/udev Boxarts Dir should have its folder too File Browser Dir should be ~/ ?

andres-asm commented 9 years ago

Extraction dir is fine at content dir by default, it's always cleaned up. Input device autoconf is fine, it looks at the subfolders and at the autoconf folder Boxarts are user data

andres-asm commented 9 years ago

Is this ok now? am I missing any folders? This has to be implemented on a per-platform basis but I think Linux is done aleady

sergiobenrocha2 commented 9 years ago

There's screenshots folder now, but in the settings dir it's in the Content Dir.

It's missing a folder for boxarts yet.

Dynamic Wallpapers Dir should be set too, ~/.config/retroarch/assets/wallpapers/bichromatic pads/1440x900 ?

sergiobenrocha2 commented 9 years ago

Eh, screenshots is OK, sorry :p

andres-asm commented 9 years ago

~/.config/retroarch/assets/wallpapers/bichromatic that's a bit too specific for a default but yeah could be done..

Somethings are just meant to be configured though, this was more about creating the default dirs than anything.