Playnite
Playnite copied to clipboard
Option to create global variables
It would be nice to have something like a games library folder variable that we can use to set the games installation path, image/isos path and executable.
For example, i store all my games in C:\Games. Playnite can set this path as {GamesDir} or something like that and use this variable in the installation fields and executable fields. The path could be choosen by the user o create a new folder inside playnite directory. It would work for emulators paths too. I install my emulators in Playnite\Emulators, so maybe it could use this path as {EmulatorsDir} for example, and use it when setting up the emulators in playnite.
This way it can be more "portable" without the need to remap the paths if moving to another drive or pc.
We already support some, but we could extend them. Could you specifically list variables you would like to be added? Or is this about adding option to create user variables?
No i don't mean to create user variables. It would be only 2 or 3 variables for what i'm saying. Yes you can use variables in games executable paths, but not in installation directory and image/iso path. As for emulators you can't use variables to set the executable path. The idea is to set a "games library folder" and use that directory as a variable: {GamesLibrary} or {GamesDir}. Then use this variable in the fields i mentioned. There could be a "Games" folder inside playnite directory and use it as {GamesDir} by default or allow the user to choose the location. Example:
Installation Directory: C:\Games\Doom --> change it to: {GamesDir}\Doom Image/ISO path: C:\Games\Doom\DOOM.EXE --> change it to: {GamesDir}\Doom\DOOM.EXE
** EDIT ** Emulators could stay as it is. One can use the {PlayniteDir} to set emulators paths.
This way if you move to another PC o change drives, there's no need to remap paths for each game again. This could also be used to set other paths like for images (backgrounds, covers, icons, screenshots, etc) "Playnite/Images/Covers" --> {ImagesDir}/Covers.
I was going to suggest this but just as additional suggestion, it would be great if this was not only limited to folders if there's a selector. An use case is for example this program that can be used in several games and that only requires changing the arguments for different games.
i asked the devs recently and he had no clue what i was trying to achieve or just didn't want to help but it was similar idea!
only way around ive found is by making a portable version of playnite, get the addons dup hider and install satus. make new folders in playnite portable folder e.g "games" "roms" emulators in "Playnite\emulation\emulator<emu folder>" place portable emu's in the correct folder. for add emu in playnite, installation "{PlayniteDir}\Emulation\Emulators\Cemu" this will force playnite to use the variable {PlayniteDir} to find stuff helping to go pc to pc
for roms, set up in playnite "{PlayniteDir}\Rom\Wii U\Games" but depending on your driver letters make a copy for them e.g cemu scan "{PlayniteDir}\Roms\Wii U\Games" - place playnite folder on root of C drive? add "D:\Roms\Wii U\Games" and add for any other driver letters i stick with "c,d,e,f,g" as they the 5 most common. do this with all your platforms and playnite will be able to find roms anywhere, even if you had 2x wii u on C:, 5 ps2 on D: and 3 psp, 2x ps2 and 1 switch on F:
for pc games, drag icon into playnite.desktop mode. when it comes up with details to edit, go to install tab and set installation as followed "{PlayniteDir}\Games<Game Name>" replace with game folder name e.g Resident evil 7 e.g "{PlayniteDir}\Games\Resident Evil 7" now add it back to playnite again only this time replace install path with the driver letters you want "D:\Games\Resident Evil 7" - Change D to any other driver letter you have "c,d,e,f,,g"
change settings in dup hider and install status addons, this will hide any game not installed but keep that copy with all the data. if done all 5x letters it'll only show the one that exist. if right click itll say other copies and display the other 4 versions of the game. also allows to edit all other copies of the game,
i asked the devs recently and he had no clue what i was trying to achieve or just didn't want to help
I've seen your messages and I find it a little disrespectful implying that he may not have wanted to help when he has done nothing but try to answer your doubts and questions. I say this with all respect but I'll be honest and the reason you may have that impression is because the language barrier makes it difficult for other people to understand what you are trying to say in your messages, including the one here, due to them being confusing and not very readable. I understand that English is not your native language (nor is it mine or Crow's for that matter) and it's awesome that you can communicate using it considering that but I highly recommend to put more effort into presenting better structured messages, take care of punctuation, grammar and make them clearer so other people can better understand them when reading them.
Anyway sorry for getting off-topic here.
i asked the devs recently and he had no clue what i was trying to achieve or just didn't want to help
I've seen your messages and I find it a little disrespectful implying that he may not have wanted to help when he has done nothing but try to answer your doubts and questions. I say this with all respect but I'll be honest and the reason you may have that impression is because the language barrier makes it difficult for other people to understand what you are trying to say in your messages, including the one here, due to them being confusing and not very readable. I understand that English is not your native language (nor is it mine or Crow's for that matter) and it's awesome that you can communicate using it considering that but I highly recommend to put more effort into presenting better structured messages, take care of punctuation, grammar and make them clearer so other people can better understand them when reading them.
Anyway sorry for getting off-topic here.
I never said it in a disrespectful way, just saying to someone else I agree what there saying and that I’ve asked similar before and devs didn’t understand where I was coming from or didn’t want to help. There’s nothing wrong with that. If they don’t want to help then they don’t want to help, it’s life.
English is my native language thank you very much and if someone wanted me to further explain I would be happy to although I have dyslexia so struggle with spelling. Structure could be as I use my phone for social.
I mean my structures the same as yours so I don’t understand why that’s an issue, as said if need me to further explain anything I will be willing to for those who also have the time to try understand, especially an open project where everyone thinks differently.