[Solved] Retroarch no longer respecting shader overrides
-
Taking a look at the commit history of lr-mame 2003 on github, it looks like the commit after the version I'm using fixes an issue introduced when the APPNAME macro was added (back in April)
Might be related, so I'm trying an "Update from Source" rather than "Update from Binary" to see what happens...
-
So... following the update from source, it's now necessary for that folder to be named
MAME 2003 (0.78)
It still appears not to be respecting the custom viewport sizes. -
The aspect_ratio_index is changed. Custom is now "23" instead of 22.
-
@pariziv said in Retroarch no longer respecting shader overrides:
The aspect_ratio_index is changed. Custom is now "23" instead of 22.
Ah, okay. I’ll give that a try tomorrow and report back.
-
Okay, I've got it all fixed now. For anyone who finds themselves with the same problem, here's roughly what I did to fix it (just the relevant bits);
1 - Upgrade lr-mame2003 from source - this takes a while.
2 - locate
/opt/retropie/configs/all/retroarch/config/crt_pi_configs.py
and edit it. You can do this either by quitting Emulationstation to the console, SSHing in, or via the configs SMB share. Assuming you have the current version of the aforementioned script, these are the two changes that need to be made;
Line 21 needs to be changed fromcoreName = "MAME 2003"
tocoreName = "MAME 2003 (0.78)"
and line 164 needs to be changed fromnewCfgFile.write("aspect_ratio_index = \"22\"\n")
tonewCfgFile.write("aspect_ratio_index = \"23\"\n")
3 - With those edits made, run the script as follows;
python3 crt_pi_configs.py mame2003 <screen width> <screen height>
- this will generate new configs in a folder calledMAME 2003 (0.78)
within a subfolder named after the screen width x screen height, and you'll need to move thisMAME 2003 (0.78)
to the folder from which you ran the script.That's pretty much it.
Thanks @mitu, @RedFarmer, and @pariziv for your inputs!
-
@AndrewH puh thank you very much Andrew. I am happy i found this thread. I understand what to do now. But i think many other People especially new to retropie will die trying to fix this.
But this is really a bad mess. Not only for this particular issue but many many references, docs, wikis etc. are telling people to use aspect_ratio_index ="22". How can they just change that like they dont care about anything…
I understand that additional aspect ratios are added from time to time, but this should be done in a non harmful way for example if they just use plain text instead of an index like custom_aspect_ratio_index="custom" would be suffficient… makes me want to scream :-(
-
@robertvb83 - I think that's what @dankcushions was asking for in this open issue from last November before updating the script so isn't broken every time they make an amendment to the index list.
As it stands now I'm not sure how people are handling it. This thread or there's a good number of easy to use programs to search and replace the index and folder in existing configs.
-
As it stands now I'm not sure how people are handling it. This thread or there's a good number of easy to use programs to search and replace the index and folder in existing configs.
Thanks for the info about the open issue.
Thats exactly what i did. Search and replace everything at once with notepad++ took a couple of minutes
-
i encourage people to comment on the issue https://github.com/libretro/RetroArch/issues/7536 if they want to show their support :) if it's just me complaining then it's not much incentive for them to change how they operate.
-
@dankcushions - It looks like were unable to add comments to the issue. It shows a padlock and the message "You can't perform this action at this time."
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.