Permission denied /opt/retropie/configs/gba/retroarch.cfg
-
Hi all, not sure if someone could give some advice, I am attempting to make screen smaller for gba, however when entering the command;
/opt/retropie/configs/gba/retroarch.cfg
it states permission denied, so I cannot progress any further. I apologise if my terminology is incorrect, I'm just starting out.
-
As a new user, your best bet for altering those config files is through the Configuration Editor. However, if you're comfortable with the command line, you can edit the file with something like
nano
by entering:nano opt/retropie/configs/gba/retroarch.cfg
Also, depending on what you're wanting to do with the screen, you may actually need to be using the Runcommand menu.
-
Firstly thank you for the support, it's amazing the work all you guys do to support with this.
I'm attempting to do the following:
Edit Configuration File
Look at the console-specific page in the sidebar of this wiki and note where the system's configuration file.For example, the GBA config file is /opt/retropie/configs/gba/retroarch.cfg so any changes made in there will apply only to GBA games, not to other systems.
Now add the following above the #include line in that file:
20 = Config, 21 = 1:1 PAR, 22 = Core Provided, 23 = Custom Viewport
aspect_ratio_index = "23"
these two define the pixel size of the emulated screen
keep this in the same ratio as the original console
eg: GBA 240x160 * 3 = 720 x 480
custom_viewport_width = "720"
custom_viewport_height = "480"the following two decide how far from the left and top the game screen is shown
to centre the game display use your original resolution, minus the screen size, divided by two
this example for 1080p screen (1920x1080)
(1920 - 720) / 2 = 600
custom_viewport_x = "600"
(1080 - 480) / 2 = 300
custom_viewport_y = "300"
-
just FYI,
aspect_ratio_index = "23"
isn't 'custom viewport' anymore. i think it's 24 now.it seems like this config change would be the same as just setting 'integer scaling' for GBA to on via https://github.com/RetroPie/RetroPie-Setup/wiki/Configuration-Editor
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.