Update the `Paths\gamedirs\size` values if only `Paths\gamedirs\3\path` is set
Author: davidhedlundCreated Jul 2, 2026Updated Oct 1, 2026
Labelsbugstale
Is there an existing issue for this?
- I have searched the existing issues
Affected Build(s)
2115.1.1
Description of Issue
Paths\gamedirs\size is not updated if only Paths\gamedirs\3\path has been set (which is useful to add minimum configuration to qt-config.ini via scripting)
Expected Behavior
When you start Azahar, and close Azahar it generates this in qt-config.ini
[UI]
Paths\gamedirs\1\deep_scan=false
Paths\gamedirs\1\deep_scan\default=true
Paths\gamedirs\1\expanded=true
Paths\gamedirs\1\expanded\default=true
Paths\gamedirs\1\path=INSTALLED
Paths\gamedirs\2\deep_scan=false
Paths\gamedirs\2\deep_scan\default=true
Paths\gamedirs\2\expanded=true
Paths\gamedirs\2\expanded\default=true
Paths\gamedirs\2\path=SYSTEM
Paths\gamedirs\size=2If you add a game directory it adds Paths\gamedirs\3, and updated Paths\gamedirs\size:
Paths\gamedirs\1\deep_scan=false
Paths\gamedirs\1\deep_scan\default=true
Paths\gamedirs\1\expanded=true
Paths\gamedirs\1\expanded\default=true
Paths\gamedirs\1\path=INSTALLED
Paths\gamedirs\2\deep_scan=false
Paths\gamedirs\2\deep_scan\default=true
Paths\gamedirs\2\expanded=true
Paths\gamedirs\2\expanded\default=true
Paths\gamedirs\2\path=SYSTEM
Paths\gamedirs\3\deep_scan=false
Paths\gamedirs\3\deep_scan\default=true
Paths\gamedirs\3\expanded=true
Paths\gamedirs\3\expanded\default=true
Paths\gamedirs\3\path=/run/user/1000/doc/10ef0797/Nintendo - 3DS
Paths\gamedirs\size=3Reproduction Steps
If you are using flapak you need to give it permission to read your rom directory: `flatpak override org.azahar_emu.Azahar --user --filesystem="/home/user/Nintendo - 3DS"``
Step 1
Add this to qt-config.ini
[UI]
Paths\gamedirs\3\path=/home/user/Nintendo - 3DSWhich can quickly be automated in GNU/Linux with
$ tee $HOME/.var/app/org.azahar_emu.Azahar/config/azahar-emu/qt-config.ini > /dev/null << 'EOF'
[UI]
Paths\gamedirs\3\path=/home/user/Nintendo - 3DS
EOFFurther steps
- Close qt-config.ini if it is open in a text editor
- Start Azahar
- Observe that the games are not listed
- Close Azahar
- Open qt-config.ini in a text editor
- Observe that
Paths\gamedirs\sizeis not updated:
Paths\gamedirs\1\deep_scan=false
Paths\gamedirs\1\deep_scan\default=true
Paths\gamedirs\1\expanded=true
Paths\gamedirs\1\expanded\default=true
Paths\gamedirs\1\path=INSTALLED
Paths\gamedirs\2\deep_scan=false
Paths\gamedirs\2\deep_scan\default=true
Paths\gamedirs\2\expanded=true
Paths\gamedirs\2\expanded\default=true
Paths\gamedirs\2\path=SYSTEM
Paths\gamedirs\3\path=/home/user/Nintendo - 3DS
Paths\gamedirs\size=2- Change
Paths\gamedirs\size=2toPaths\gamedirs\size=3 - Open Azhar
- Observe that the games are listed as expected.
Log File
System Configuration
CPU: GPU/Driver: RAM: OS:
Source: azahar-emu/azahar