V0rt3x667 / ArchyPie-Setup

A Clone of RetroPie for Arch Based Systems
GNU General Public License v3.0
32 stars 9 forks source link

Fix RetroArch BIOS Locations #39

Closed V0rt3x667 closed 11 months ago

V0rt3x667 commented 11 months ago

In RetroArch the default behaviour is to have a single system directory to store BIOS & support files. Some cores have hard-coded folders that are searched under the default system directory. I don't like this as I find it untidy and prefer to have folders named after the platforms they support.

Although a directory can be specified via the defaultRAConfigfunction, it creates a file called retroarch.cfg under the platform folder in the config directory. The problem with this is that retroarch.cfg is read by all cores supporting that platform. This leads to the file getting overwritten when a new core is installed.

EXAMPLE: I install lr-fba which sets defaultRAConfig to ${biosdir}/fba for the arcade platform. I then install lr-mame which sets defaultRAConfig to ${biosdir} for the arcade platform. Now retroarch.cfg is overwritten and lr-fba will no longer look for files in ${biosdir}/fba for the arcade platform.

NOTE: setRetroArchCoreOption does not support setting the default system directory.

TARGETS

V0rt3x667 commented 11 months ago

I have added the changes to the main branch.