Retroarch: Windows Explorer File Association

Created on 14 Nov 2019  路  7Comments  路  Source: libretro/RetroArch

Hello, Please add Windows Explorer File Association.
For example:
smd.zip
Windows Explorer

All 7 comments

The problem I see here is determining what the intended core to load is. There was also this discussion to have retroarch.exe work without passing the -L core option: https://github.com/libretro/RetroArch/issues/746

Cores should be loaded based on ROMs file extension.
For example, all .smd files (Sega Mega Drive) loaded with Genesis Plus GX.

C:\Users\Amir\AppData\Roaming\RetroArch\retroarch.exe -L C:\Users\Amir\AppData\Roaming\RetroArch\cores\genesis_plus_gx_libretro.dll "%1"

3E0F8EA2-2664-4781-B56D-B150BDFE6F17

Seconding this. The only solution for now is for the end user to painstakingly make a series of custom association strings in the 3rd party Default Programs Editor. What's worse is that if you associate a lot of filetypes with "retroarch.exe" and then edit the association in DPE, I notice there's some sort of overlap and associations are lost as you add more. One way to get around this is to associate the filetypes with dummy executables from Explorer, and then edit them to face retroarch.exe in Default Programs Editor with the right core via -L and "%1". It's a HUGE pain.

Retroarch loading the only core capable of running the ROM file type, or in the case of multiple cores asking you which one you'd like to launch, on association would be EXTREMELY convenient. Thanks in advance.

It's not possible. The extension is not enough because SEVERAL CORES may support the same extension.

It's not possible. The extension is not enough because SEVERAL CORES may support the same extension.

Could it not just ask which one you want to use in that case? This is exactly what it does when you pick an extension from the file browser. The thing is, the file browser is not nearly as good as Windows is at quickly reaching a particular file. It would be preferable to cut the middle man, if possible.

Alternatively, a search-within-subdirectories function would suffice. Either within the Desktop Menu or the Retroarch File Browser. That way one could search for Mario and get results for several systems, for instance. Better still, would be a random selection option, but I know that's a bit of a fluffy extra. Regardless, these things can be done easily within Windows Explorer, and an easier way to associate files to Retroarch would be nice. Thanks for the consideration.

For those wanting this functionality in the likely event this gets closed:

Make a dummy exe file for EACH file extension you want to run. Otherwise things will get overwritten and won't stick. Like nes.exe for .nes, etc. Associate the filetype with it in explorer so the filetype is in the registry. Then use Default Programs Editor https://defaultprogramseditor.com and open the filetype, then edit the Open command with the following program: "C:retroarchretroarch.exe" -L "C:retroarchcorescore.dll" "%1" replacing the directory/drive with whatever applies to your machine. It's annoying, but possible to do.

Hopefully a simple association to Retroarch will be possible some day.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bslenul picture bslenul  路  3Comments

Chocobubba picture Chocobubba  路  3Comments

fr500 picture fr500  路  4Comments

rrooij picture rrooij  路  3Comments

parkerlreed picture parkerlreed  路  3Comments