11-09-2021, 06:19 AM
(This post was last modified: 08-01-2023, 04:38 AM by OneAngryGamer.)
This extension detects the games installation path and opens it (if the path exists)
Q. Playnite can already do this. How is this version different?
A. Playnite opens the path recorded in the 'Installation Directory' field for the game in Playnite. For installed games, this is usually the folder path that contains the executable. However the executable is not always in the root folder of the install path that was created for the game. This extension attempts to detect the real installation path for a game.
Q. Does it matter if the "InstallationDirectory" path is not the same as the actual install path?
A. For most users, no. For me, yes. I am creating an extension that needs the actual install path for each game. (This extension scans all game paths to find manuals and links them to Playnite. However it will miss many manuals unless I can return the actual installation path for each game.)
Q. But if you are creating an extension to scan games for manuals, why create this?
A. User testing. This extension includes a copy of the function I have created to find the actual install path for a game. You can enable debug test options and report any improvements to this thread. See instructions below.
HOW TO USER TEST:
Compatibility: Due to the Great 8 Break, this extension is not compatible with any version of Playnite after v8.15.
Q. Playnite can already do this. How is this version different?
A. Playnite opens the path recorded in the 'Installation Directory' field for the game in Playnite. For installed games, this is usually the folder path that contains the executable. However the executable is not always in the root folder of the install path that was created for the game. This extension attempts to detect the real installation path for a game.
Q. Does it matter if the "InstallationDirectory" path is not the same as the actual install path?
A. For most users, no. For me, yes. I am creating an extension that needs the actual install path for each game. (This extension scans all game paths to find manuals and links them to Playnite. However it will miss many manuals unless I can return the actual installation path for each game.)
Q. But if you are creating an extension to scan games for manuals, why create this?
A. User testing. This extension includes a copy of the function I have created to find the actual install path for a game. You can enable debug test options and report any improvements to this thread. See instructions below.
HOW TO USER TEST:
- Testing options can be enabled by creating a file named "DEBUG" (no file extension) in the ExtensionData path for this extension.
- The first test option compares the "InstallationDirectory" path to the calculated path for all selected games. Any differences are reported.
- The second test option checks all selected games for PC/DOS games that have a deep folder path but not detected a path difference. The deeper the folder path, the more likely that the game has an exe buried within the game foldertree - which means that the function needs improving. If you can post the game name and its "InstallationDirectory" path into this thread, it will help me improve the function.
Compatibility: Due to the Great 8 Break, this extension is not compatible with any version of Playnite after v8.15.