In my process of trying to turn Bust-a-Move's single-player into a multiplayer co-op mode, I found a big problem—you can't have per-game hotkey profiles! (no, not even via manual game ini editing) But since I was planning to launch individual games in Dolphin via bash scripts anyway in order to change the screen refresh rate (it's not a VRR display...), I was able to use the very same bash script as a way to have individual per-game hotkey profiles.
The trick is to just have separate "Hotkeys.ini" files for each game (e.g. Hotkeys.ini_Bust-a-Move) and then have the script rename the existing Hotkeys.ini file to something like Hotkeys.ini_BAK then rename Hotkeys.ini_Bust-a-Move to Hotkeys.ini, then launch the game and, when you exit Dolphin, it undoes the Hotkey.ini renaming.
The real question is then, is this really the best way to achieve automated per-game hotkey configurations?
For reference, here's the example script I was testing with on Linux Mint using the flatpak version of Dolphin:
The trick is to just have separate "Hotkeys.ini" files for each game (e.g. Hotkeys.ini_Bust-a-Move) and then have the script rename the existing Hotkeys.ini file to something like Hotkeys.ini_BAK then rename Hotkeys.ini_Bust-a-Move to Hotkeys.ini, then launch the game and, when you exit Dolphin, it undoes the Hotkey.ini renaming.
The real question is then, is this really the best way to achieve automated per-game hotkey configurations?
For reference, here's the example script I was testing with on Linux Mint using the flatpak version of Dolphin:
Code:
#!/bin/sh
mv ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini_BAK
mv ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini_Bust-a-Move ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=/app/bin/dolphin-emu-wrapper org.DolphinEmu.dolphin-emu ~/Desktop/Bust-a-Move_Bash.iso
mv ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini_Bust-a-Move
mv ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini_BAK ~/.var/app/org.DolphinEmu.dolphin-emu/config/dolphin-emu/Hotkeys.ini
Dolphin 5.0 CPU benchmark
CPU: Xeon E3-1246 v3 (4c/8t Haswell/Intel 4th gen) — core & cache @ 3.9GHz via multicore enhancement
GPU: Intel integrated HD Graphics P4600
RAM: 4x8GB Corsair Vengence @ DDR3-1600
OS: Linux Mint 20.3 Xfce + [VM] Win7 SP1 x64
CPU: Xeon E3-1246 v3 (4c/8t Haswell/Intel 4th gen) — core & cache @ 3.9GHz via multicore enhancement
GPU: Intel integrated HD Graphics P4600
RAM: 4x8GB Corsair Vengence @ DDR3-1600
OS: Linux Mint 20.3 Xfce + [VM] Win7 SP1 x64