Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Playnite Support and Troubleshooting Need help using a script in advance

Need help using a script in advance
NeoDev
Offline

#1
01-11-2021, 04:50 PM (This post was last modified: 01-11-2021, 04:52 PM by NeoDev.)
Hello,

I don't know if I'll be able to be clear because I don't speak English very well ... But basically, there you go.

I would have liked to know if there is a variable to use in a batch or python script like for example {PlayniteDir}
but to retrieve the emulator folder entered in the "Action" tab as well as another variable for its access path?

So that you understand better what I want to do I give you an example:
echo {PlayniteDir}> test.txt // works fine, but I'm looking for a variable like {EmulatorDir} instead?


Otherwise there may be an alternative? The problem is that in the doc it lacks a little example of
what can be done in script ...

Thanks in advance,
NeoDev
Crow
Offline

Administrator
#2
01-11-2021, 05:08 PM
There's no variable to get emulator directory. You would have to use API to get that information. The problem is that game scripts currently don't have access to Playnite's API.
NeoDev
Offline

#3
01-11-2021, 05:51 PM
Ok I see. Thank you very much for your answer !

Hoping it's possible in the future, honestly I feel like this is the one thing Playnite lacks.
In the use that I make of it anyway Smile
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode