Kapiainen / Lauhdutin

A Rainmeter skin for launching games.
MIT License
67 stars 8 forks source link

Gives me an error when i try to use with steam :/ #111

Closed Radko-D closed 6 years ago

Radko-D commented 6 years ago

Short description of the issue

Well, today I installed Rainmeter and decided to play a bit with it and when i tried to install Lauhdutin it would give me an error. ## Lauhdutin version 3.0.0 beta 5 ## Rainmeter version 4.2 Beta Release ## Python version 3.6.4 ## Windows version Windows 10 ## Error messages (https://user-images.githubusercontent.com/29573973/37867353-bcf4a59a-2f9f-11e8-914e-2fd759640d6b.png) http://prntscr.com/ivtuah Error: utility.lua:476: ''parseVDF'' encountered unexpected input on line 1: [Rainmeter.log](https://github.com/Kapiainen/Lauhdutin/files/1844709/Rainmeter.log) ## Steps to reproduce the issue

Python stack traceback

Kapiainen commented 6 years ago

I've uploaded a new version with some additional log messages, which will hopefully help troubleshoot the issue. Could you install the new version? The skin should now print some more information in Rainmeter's log.

My initial assumption was that the issue was caused by an empty appmanifest_*.acf file (each game has one) left behind by Steam when you uninstalled a game, but I haven't been able to replicate the issue based on that assumption. The new version should help to narrow down the issue, if it is caused by a specific game's appmanifest. The skin also uses the VDF parser for a few other files and if one of those other files is causing the issue, then the log should help figure that out as well.

Radko-D commented 6 years ago

should.... but it didn't help much. I updated it to 3.0.0 beta 6 and now the only thing that comes up in the log is this

Kapiainen commented 6 years ago

Looks like the Log setting has not been enabled in the skin's settings.

Radko-D commented 6 years ago

Oops my bad... I forgot to turn it on after the update. Log

Kapiainen commented 6 years ago

It looks like appmanifest_295110.acf, the manifest for Just Survive and the manifest that was about to be parsed before the error occurred, is the file that is causing the issue. It should be in \Steam\steamapps (or the steamapps folder in whichever Steam library it is installed). Could you open it in e.g. Notepad and see if it contains anything? It should contain something along the lines of:

"AppState"
{
    "appid"     "295110"
    ...
}

Replace ... with more key-value pairs such as the name of the game, name of the folder where the game is installed, etc. Note that Notepad might show the contents as being a single, long string instead of multiple strings like in the example above.

EDIT: Is the game currently installed?

Radko-D commented 6 years ago

Thank you so much! It looked like the appmanifests of Just Survive and Dota 2 were corrupted. Managed to fix it by deleting them, steam will download them if needed. It works now :)

Kapiainen commented 6 years ago

Glad to hear that the issue has been resolved.