PPSSPP Configs not adopted when starting directly into game (Trimui Brick)

Hiya,

Just got myself a Trimui Brick and stumbled on a few issues.

The options I set within PPSSPP (control mappings, autoload state, etc.) are not implemented whenever I start a game directly. They do work when I start games via “Apps” → “PPSSPP”. And any changes done in game instead of via Apps are either not saved in the config or overwritten.

And I just noticed the control mapping in PPSSPP is made for the Retro Control Scheme but for some reason all PPSSPP games have the Modern Control Scheme set. I can create a separate issue for that, if that would make it easier for you.

Thanks in advance

A user with a similar issue was asking around on discord yesterday. I think i caught the issue.

Comparing the ext-ppsspp.sh script that launches games with the mux_launch.sh script that launches the standalone application, there’s a missing variable set on the latter:

XDG_CONFIG_HOME=“$HOME/.config”
export XDG_CONFIG_HOME

I don’t know exaaaactly what it does, but it is needed in the mux_launch script to set HOME correctly and for PPSSPP to behave as expected.

You can manually add it after export HOME in /opt/muos/share/application/PPSSPP/mux_launch.sh

That section should then look like this:

HOME=“$PPSSPP_DIR”
export HOME

XDG_CONFIG_HOME=“$HOME/.config”
export XDG_CONFIG_HOME

You can edit it via dingux commander on device, or using ssh or sftp with root.
edit: Or you can install the little update file I just linked here via the archive manager!

About the control scheme, yeah, the standalone app will use the system scheme, so it is better to set your psp folder to System by pressing X over any game, going to the control scheme menu and setting System to the whole folder with X once again.

PPSSPP-App-Fix.muxupd (1.5 KB)

2 Likes

If the system variable XDG_CONFIG_HOME is set, programs will store the application configuration files in that location. If it isn’t set or is empty, programs will instead use the default location:

$HOME/.config

Since $HOME would typically be your home directory, that usually means:

/home/user/.config

So effectively, configuration files would go in in that directory unless something else is explicitly configured. In this case we store the .config within the PPSSPP emulator directory itself to keep it contained.

Thank you for finding this one @bgelmini and has been resolved for 2601.2 Midnight Jacaranda.

1 Like

This topic was automatically closed 60 minutes after the last reply. New replies are no longer allowed.