You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
its not really an issue but just need some help, made a script for playnite, pulls achievements from log and displays with accruement data. since the new update where its a table in the log ive had to rewrite it, but now its not functioing as it was
script is 95% done, need help to get it to write data to json file and after that itll be fine,
its not really an issue but just need some help, made a script for playnite, pulls achievements from log and displays with accruement data. since the new update where its a table in the log ive had to rewrite it, but now its not functioing as it was
script is 95% done, need help to get it to write data to json file and after that itll be fine,
Define file paths
$logFile = "{PlayniteDir}\Emulation\Emulators\Xenia\xenia canary\xenia.log"
$textFile = "{PlayniteDir}\Emulation\Emulators\Xenia\xenia canary\Achievements{ImageNameNoExt}.txt"
$jsonFile = "{PlayniteDir}\ExtensionsData\cebe6d32-8c46-4459-b993-5a5189d60788\SuccessStory{DatabaseId}.json"
$newJsonFile = "{PlayniteDir}\Emulation\Emulators\Xenia\xenia canary\Achievements{DatabaseId}.json"
Create text file if it doesn't exist
if (!(Test-Path -Path $textFile)) {
New-Item -Path $textFile -ItemType File
}
Read log file for unlocked achievements
if (Test-Path $logFile) {
$logContent = Get-Content $logFile
}
The text was updated successfully, but these errors were encountered: