[QUOTE=Awakened;36929]To get per game overrides working, you’re going to have to also convert your per-core configs into per core overrides. So, for example, rename “mednafen_psx_libretro.dll.cfg” to “Mednafen PSX.cfg” and put it in “\config\Mednafen PSX” along with your per game overrides.[/quote]Aha!
I’m not quite sure why “per-core configs” and “per-core overrides” are somehow a different thing, but I’ve done a bit of testing now and this seems to have done the trick.
So the structure is:
\retroarch.cfg
\configs<core><core>.cfg
\configs<core><game>.cfg
[QUOTE=Awakened;36929]You can remove any settings in that file that are identical to the ones in retroarch.cfg. Note that to change settings for either the core or game you have to edit the config files manually; they won’t save from the interface. Also turn off per-core settings in retroarch.cfg and leave auto load overrides on.[/quote]Yes, this would be a lot easier to set up if we had options to save the current configuration as a core or game override in the menu, but it can be achieved with the “save new config” option and then manually renaming & moving the file that is created. It’s just a pain to do.
[QUOTE=Awakened;36929]Something else you might want to try is per game core options files. You can create a .opt file with the same filename as a game in the “\config\core name” folder just like an override. You can even create them from the interface in Quick Menu, Core Options, Create game-options file. That will store core options for that game and, unlike overrides, will save core options you modify from the interface to that file when you have that game running.[/quote]Yes, I have been using that, since there is an option directly in the menu to do so.
[QUOTE=Awakened;36929]So you could do that for SOTN to cut off the unused scanlines to get rid of the black bars on the top and bottom using the initial and last scanline options instead of using a custom viewport. This works with any resolution. Though you do need to also set a custom aspect ratio in the per game override to account for the cut off scanlines. I use video_aspect_ratio = “1.3786” in my SOTN override combined with beetle_psx_initial_scanline = “20” and beetle_psx_last_scanline = “226” in the core options file to basically crop and zoom into the viewable gameplay area while maintaining correct geometry. Crop overscan is off in my retroarch.cfg since it messes with the aspect if it’s on.[/quote]That’s great information, thanks. I didn’t think to use the scanline options to crop the image vertically, and you’re right about having to disable the crop overscan option.
The crop overscan option is misaligned, so while you get a 256px wide image instead of a 280px wide image, the first two columns are black and the last two columns are cropped.
The cropping and scaling of most Mednafen cores never seems to be quite right in my experience. Using integer scaling, it wants to display both the 256px (cropped) or 280px (uncropped) images at 320px.
So to get the correct aspect ratio, we’re trying to correct 256x207 inside a 280x207 container, and the correction for that is 1.458333333333330 - assuming that the intended output is a 4:3 image.
[QUOTE=Awakened;36929]Messing with the viewport is probably easier, but if I get a higher res monitor these settings will work there too without modification.[/QUOTE]That’s a good point. If I’m taking the time to make these corrections, it’s best to make them as universal as possible.
So my final config files are:
Castlevania - Symphony of the Night.cfg
aspect_ratio_index = "19"
video_aspect_ratio = "1.458333333333330"
video_crop_overscan = "false"
video_scale_integer = "false"
video_shader = ":\shaders\shaders_cg\retro\pixellate.cgp"
Castlevania - Symphony of the Night.opt
beetle_psx_cdimagecache = "enabled"
beetle_psx_cpu_overclock = "disabled"
beetle_psx_skipbios = "disabled"
beetle_psx_widescreen_hack = "disabled"
beetle_psx_internal_resolution = "1x(native)"
beetle_psx_dither_mode = "1x(native)"
beetle_psx_gte_subpixel = "subpixel"
beetle_psx_use_mednafen_memcard0_method = "libretro"
beetle_psx_shared_memory_cards = "disabled"
beetle_psx_initial_scanline = "20"
beetle_psx_initial_scanline_pal = "0"
beetle_psx_last_scanline = "226"
beetle_psx_last_scanline_pal = "287"
beetle_psx_analog_toggle = "disabled"
beetle_psx_enable_multitap_port1 = "disabled"
beetle_psx_enable_multitap_port2 = "disabled"
beetle_psx_frame_duping_enable = "disabled"
beetle_psx_display_internal_framerate = "disabled"