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.91k stars 489 forks source link

Relative folder path support #412

Open AFaustini opened 6 years ago

AFaustini commented 6 years ago

I have some new ideas to improve this app`s portability: Support for Recursive Path by default For example: My Playnite instalation (in a external drive) is in G:\Playnite and my games instalation is in G:\Videogames. When my Rom Path is "G:\Videogames\SNES\Super Mario World.zip" in the program my path shows "..\Games\SNES\Super Mario World\Super Mario World.zip"

CorruptComputer commented 6 years ago

Not recursive, what you're looking for is relative paths.

JosefNemec commented 6 years ago

This should already work, you just need to set proper working dir.

AFaustini commented 6 years ago

When i put this manually, playnite doesn`t find emulators or roms

JosefNemec commented 6 years ago

Currently you can set {PlayniteDir} variable and have paths refer to installation folder, like this: {PlayniteDir}\..\Games\SNES\Super Mario World\Super Mario World.zip. Is that what you want?

AFaustini commented 6 years ago

Now this works. Thanks. But i have to do that game-to-game basis. If i import a thousand roms i have to change this path a thousand times. If the database have plain-text format would be easy to make this amount of changes. But the way it works now is painful to do that. There is a way to have this variable {PlayniteDir} as default when import roms? Sorry for bothering.

JosefNemec commented 6 years ago

We could add option to import dialog to use absolute or relative paths.

AFaustini commented 6 years ago

Yes. This will be awesome for portable installations

gotbletu commented 1 year ago

any updates on this? lols i dont want to sit thru manually adding in {PlayniteDir} variable to 1000s of games; is there not a fast way to replace strings on the database? kind of defeats the propose of having a portable install at the moment

rxvincent commented 1 year ago

It seems that emulation game scanner already have this option. But normal .exe game still doest not.