The settings use the internal name of the core, so the workaround I use is to do a copy of the dll and do a hexedit in it to change it’s internal name.
It’s a f-ing hack job, but is working for me…
I use is this batch file to automate the process:
@echo off
REM Setting the paths
SET "RETROCOREFOLDER=E:\games\retroarch\cores"
SET "GSAR_EXE=Y:\Le\git\retroarch-cores\gsar.exe"
REM gsar website: http://gnuwin32.sourceforge.net/packages/gsar.htm
REM Removing the older modified files
del "%RETROCOREFOLDER%\genesis_plus_gx_libretro-cd.dll"
del "%RETROCOREFOLDER%\genesis_plus_gx_libretro-gg.dll"
del "%RETROCOREFOLDER%\genesis_plus_gx_libretro-sg.dll"
del "%RETROCOREFOLDER%\genesis_plus_gx_libretro-sms.dll"
del "%RETROCOREFOLDER%\mednafen_ngp_libretro-bw.dll"
del "%RETROCOREFOLDER%\mednafen_pce_fast_libretro-16.dll"
REM Replace orig. internal name new internal name original file modified files
%GSAR_EXE% -s"Genesis Plus GX" -r"Genesis Plus CD" "%RETROCOREFOLDER%\genesis_plus_gx_libretro.dll" "%RETROCOREFOLDER%\genesis_plus_gx_libretro-cd.dll"
%GSAR_EXE% -s"Genesis Plus GX" -r"Genesis Plus GG" "%RETROCOREFOLDER%\genesis_plus_gx_libretro.dll" "%RETROCOREFOLDER%\genesis_plus_gx_libretro-gg.dll"
%GSAR_EXE% -s"Genesis Plus GX" -r"Genesis Plus SG" "%RETROCOREFOLDER%\genesis_plus_gx_libretro.dll" "%RETROCOREFOLDER%\genesis_plus_gx_libretro-sg.dll"
%GSAR_EXE% -s"Genesis Plus GX" -r"Genesis Plus MS" "%RETROCOREFOLDER%\genesis_plus_gx_libretro.dll" "%RETROCOREFOLDER%\genesis_plus_gx_libretro-sms.dll"
%GSAR_EXE% -s"Mednafen NeoPop" -r"Mednafen NPopBW" "%RETROCOREFOLDER%\mednafen_ngp_libretro.dll" "%RETROCOREFOLDER%\mednafen_ngp_libretro-bw.dll"
%GSAR_EXE% -s"Mednafen PCE Fast" -r"Mednafen PCE Fa16" "%RETROCOREFOLDER%\mednafen_pce_fast_libretro.dll" "%RETROCOREFOLDER%\mednafen_pce_fast_libretro-16.dll"
pause
With this, I have a custom config for Sega CD, Game Gear, Master System, Neo Geo Pocket BW and PC Engine/TurboGrafx 16.
PS: Be cautious on the new name, because it need to have the same number of chars than the the original name.
Due to be my first post, my post have been send for moderation.
The first time I didn’t noticed the message, so I wrote a second time with additional content, but the second post is not approved yet, so I’m editing this post with the rest.
Now I have my playlists like:
\playlists\Sega - Mega Drive - Genesis.lpl
roms\Sega - Mega Drive - Genesis\some rom.zip
Some Rom Name
cores\genesis_plus_gx_libretro.dll
DETECT
-
Sega - Mega Drive - Genesis.lpl
\playlists\Sega - Mega-CD - Sega CD.lpl
roms\Sega - Mega-CD - Sega CD\Some ISO.cue
Some ISO Name
cores\genesis_plus_gx_libretro-cd.dll
DETECT
-
Sega - Mega-CD - Sega CD.lpl
And this is my custom configs/overlay:
\config\Genesis Plus GX\Genesis Plus GX.cfg
menu_wallpaper = ".\assets\wallpapers\bichromatic pads\1440x900\Sega - Mega Drive - Genesis.png"
input_overlay = ":\overlays\nosh\Sega - Mega Drive - Genesis.cfg"
\config\Genesis Plus CD\Genesis Plus CD.cfg
menu_wallpaper = ".\assets\wallpapers\bichromatic pads\1440x900\Sega - Mega-CD - Sega CD.png"
input_overlay = ":\overlays\nosh\Sega - Mega-CD - Sega CD.cfg"