Emulator Issues #11081
closeddolphin-emu-nogui not picking up Dolphin.ini if started from another process
0%
Description
What's the problem? Describe what went wrong.
strace -e trace=open dolphin-emu-nogui -e /media/i30817/Games/Nintendo\ Gamecube+Wii/Resident\ Evil\ 2.iso 2>&1 | grep ".ini"
open("/usr/lib/x86_64-linux-gnu/libminiupnpc.so.10", O_RDONLY|O_CLOEXEC) = 3
open("/media/i30817/Huggin/Documents//dolphin-emu/Logger.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/Dolphin.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/WiimoteNew.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/Dolphin.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/Dolphin.ini.xxx", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/Dolphin.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/media/i30817/Huggin/Documents//dolphin-emu/Dolphin.ini.xxx", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory)
open("/usr/share/games/dolphin-emu/sys/GameSettings/G.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/games/dolphin-emu/sys/GameSettings/GHA.ini", O_RDONLY) = 12
open("/usr/share/games/dolphin-emu/sys/GameSettings/GHAE08.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/games/dolphin-emu/sys/GameSettings/GHAE08r0.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/i30817/.local/share/dolphin-emu/GameSettings/G.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/i30817/.local/share/dolphin-emu/GameSettings/GHA.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/i30817/.local/share/dolphin-emu/GameSettings/GHAE08.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/home/i30817/.local/share/dolphin-emu/GameSettings/GHAE08r0.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
dolphin-emu-nogui creates a dir '~/.local/share/dolphin-emu' if it doesn't exist and tries to use it. It only has the dirs for the memory cards and the Wii SYSCONF, though presumably i didn't trigger all the writes.
dolphin-emu on the other hand correctly picks up ~/.config/dolphin-emu" and writes out the Dolphin.ini file, and uses the memory cards there. It also writes some dirs to '~/.local/share/dolphin-emu', but notably not the memory cards (SYSCONF is still there though). There are some extra dirs and files written to the Wii/shared2 dir too 'wc24/*', 'succession/shop.log', 'ec/shopsetu.log'
What steps will reproduce the problem?
- Delete all dolphin-emu dirs on the home dir after showing hidden files
- start up dolphin emu, verify that the dir at ~/.config/dolphin-emu gets written (and is used if you edit a config)
- Delete all dolphin-emu dirs on the home dir after showing hidden files again
- start up dolphin-emu-nogui -e 'game.iso', verify that only '~/.local/share/dolphin-emu' gets created (and presumably the game is running without the default overrides and without a Dolphin.ini either.
Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.
dolphin-emu-nogui says it's revision 5.0 and dolphin-emu further specifies release revision ac267a29405ae768037a8774b84b805a4180d1af
Is the issue present in the latest stable version?
Yup, since ac267a29405ae768037a8774b84b805a4180d1af is the latest stable version
If the issue isn't present in the latest stable version, which is the first broken version? (You can find the first broken version by bisecting. Windows users can use the tool https://forums.dolphin-emu.org/Thread-green-notice-development-thread-unofficial-dolphin-bisection-tool-for-finding-broken-builds and anyone who is building Dolphin on their own can use git bisect.)
[First broken version number here (if applicable)]
If your issue is a graphical issue, please attach screenshots and record a three frame fifolog of the issue if possible. Screenshots showing what it is supposed to look like from either console or older builds of Dolphin will help too. For more information on how to use the fifoplayer, please check here: https://wiki.dolphin-emu.org/index.php?title=FifoPlayer
[Attach any fifologs if possible, write a description of fifologs and screenshots here to assist people unfamiliar with the game.]
What are your PC specifications? (CPU, GPU, Operating System, more)
x86-64 ubuntu linux.
Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)
[Anything else here]