How do I edit /opt/retropie/configs/n64/InputAutoConfig.ini ?
-
Pi Model: 3
Power Supply used: Official cable
RetroPie Version Used: 4.3
Built From: v4.3 Pre-made image for Raspberry Pi 2/3
USB Devices connected: Keyboard/mouse via wifi dongle
Controller used: N64 style DragonRise Inc Generic USB joystickI am new to the world of RetroPie.
I followed the official documentation for installing the pre-made image onto a MicroSD card.
When I start my Raspberry Pi - it boots into RetroPie and I am prompted to configure my controller.I am using an N64 style DragonRise Inc Generic USB joystick.
Some of the buttons don't map properly - various forums suggest manually editing the /opt/retropie/configs/n64/InputAutoConfig.ini to try to make it work better.My issue is I have no clue how to get to this file.
When I put the microSD card into my Windows 10 PC, I get 2 drives appear.
The 'boot' drive just has 1 folder called 'overlays' and 24 other files in the root.
The other drive is not readable by Windows (Windows keeps prompting to format it).I assume that /opt/retropie/configs/n64/InputAutoConfig.ini is located on the non-readable drive.
Can someone shed some light on how I can see the /opt/retropie/configs/n64/ structure and edit InputAutoConfig.ini - or am I going about this the wrong way?
-
@lilpenguinlost Windows doesn't see the Linux partition. The easiest way is to SSH in using WinSCP or Putty. This guide should get you started. There is some info in the docs too.
-
@lilpenguinlost You should definitely start to use SSH, as suggested.
In the meantime you could just edit the file on the Pi. From within ES press F4 to get to the command line and typesudo nano /opt/retropie/configs/n64/InputAutoCfg.ini
sudo
gives you elevated priviliges.
nano
is the name of the text editor you are using.
and then obbiously the path to the file.After making the changes press
Ctrt + X
to exit.Y
to confirm and theenter
to save. -
Actually, /opt/retropie/configs files are owned by the pi user, so sudo isn't necessary.
Another way to edit a config file is to use theretropie-setup.sh
script, chooseConfiguration/Tools
, thenconfigedit
,2 Advanced configuration
,4 Manualy edit non retroarch configurations
, and choose your file in the (pretty huge) list.
Tadaaaaaaaaaa ! -
@rbaker @jonnykesh @Sano Quick question: Once an ini file is edited, does it require a full reboot? Just restarting Emulationstation? Or just restarting the game itself?
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.