FS#64567 - [ppsspp] Can't open rom with relative path from command line

Attached to Project: Community Packages
Opened by Florian Léger (fleger) - Tuesday, 19 November 2019, 08:25 GMT
Last edited by Maxime Gauduin (Alucryd) - Tuesday, 24 March 2020, 15:30 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Maxime Gauduin (Alucryd)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

ppsspp fails to open a rom file when invoked from the command line and when the rom path is relative.

Additional info:
* package version(s): ppsspp and ppsspp-qt 1.9.4-1

Steps to reproduce:
1. Execute ppsspp /full/path/to/somerom.iso
=> This works.
2. Now cd to /full/path/to
3. Execute ppsspp somerom.iso
=> This fails with the following error: File not found: somerom.iso

Replacing the shell scripts in /usr/bin by symbolic links to the binaries in /opt/ppsspp fixes the issue.
This task depends upon

Closed by  Maxime Gauduin (Alucryd)
Tuesday, 24 March 2020, 15:30 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.9.4-2
Comment by Florian Léger (fleger) - Tuesday, 19 November 2019, 08:39 GMT
An even better solution would be to put the assets in /usr/share/ppsspp/assets/ and the binaries directly into /usr/bin, thus removing the need for launcher scripts or symbolic links, c. f. https://github.com/hrydgard/ppsspp/commit/39d03cff1b4f2bb44dac64e0cd51a527acd5c428
Comment by Maxime Gauduin (Alucryd) - Tuesday, 24 March 2020, 15:29 GMT
Oh nice! I went ahead and unsplit our ppsspp package, no need to keep both sdl and qt around, especially since almost all other emulators use qt nowadays. The ppsspp package now contains the qt and headless binaries and respects the FHS.

Loading...