JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
8.66k stars 482 forks source link

Encountered a strange bug where Playnite was unable to launch a game due to name of the executable file had no spaces. #3745

Closed StellarBeing25 closed 1 month ago

StellarBeing25 commented 1 month ago

Bug Description

I added Forza Horizon 5 containing the executable "ForzaHorizon5.exe" to Playnite, and I was not able to launch as it was throwing missing DLL errors. However, when I renamed the exe file to "Forza Horizon 5.exe," it launched properly. I have several games with text and numbers without any spaces in the exe file, but I have never encountered this issue which is weird.

To Reproduce

No response

Diagnostics ID

4f889b8d-58c0-47f4-823e-a190297a9cf0

Screenshots

No response

JosefNemec commented 1 month ago

it was throwing missing DLL errors

Game issue. Playnite definitely can with no issue execute games with spaces or no spaces in the path. The only thing is that you sometimes may need to define working directory because some games do not work properly without it, also game issue, not Playnite issue.