• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Android v
« Previous 1 ... 4 5 6 7 8 ... 127 Next »

Switch controller profiles via bash script
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Switch controller profiles via bash script
05-03-2022, 09:37 AM
#1
NickHatBoecker Offline
Junior Member
**
Posts: 2
Threads: 1
Joined: May 2022
Hey guys,

I know that you can't have multiple controller profiles on Android atm.
But I asked myself if it would be possible to switch between configurations via a bash script.

I tried the following script for Zelda Wind Waker:

Code:
#!/bin/bash

echo "Switching to GZLP01_BT_CONTROLLER profile..."
cd /storage/emulated/0/Android/data/org.dolphinemu.dolphinemu/files/GameSettings
rm GZLP01.ini
cp GZLP01_BT_CONTROLLER.ini GZLP01.ini
echo "DONE"

The ini file contains all the input settings. For example:

Code:
[Android]
InputA_0 = Device 'DEVICE_ID'-Button 97

I call the script in Termux via 

Code:
bash ./my_script.sh


Unfortunately this isn't working. Even if I completely delete GZLP01.ini, the old controller configuration is loaded.
Maybe this is the wrong directory? Or we have to trigger dolphin to reload the settings?

I have an AYN Odin console and there are a lot of people, who will need different profiles when using the AYN Super Dock in the future.
So we desperately need this feature or a work around, like this bash script.

Any input/help/ideas on this?
Thanks in advance!

Best regards
Nick
Find
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Switch controller profiles via bash script - NickHatBoecker - 05-03-2022, 09:37 AM
RE: Switch controller profiles via bash script - JosJuice - 05-04-2022, 02:04 AM
RE: Switch controller profiles via bash script - NickHatBoecker - 05-04-2022, 03:12 AM
RE: Switch controller profiles via bash script - JosJuice - 05-04-2022, 04:11 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode