ToxicFrog / bltool

A tool for command line interaction with backloggery.com
Apache License 2.0
78 stars 9 forks source link

Nothing happens when I run .bat #12

Closed goldenfalcon closed 9 years ago

goldenfalcon commented 9 years ago

I edited the info for steam ID, BL name and password. Just brings up a blank notepad.

I added - SET PATH=%PATH%;"C:\apps\Java\jre7\bin;C:\apps\Java\jre6\bin" - because I think that's where my java is installed. This was added above - SET PATH=%PATH%;"C:\Program Files\Java\jre7\bin;C:\Program Files\Java\jre6\bin" - so now there are 3 lines there now. Still just a blank notepad.

ToxicFrog commented 9 years ago

What happens when you run the .bat from a terminal window? If it's running into any errors, you should get error messages there.

Also, double check that your Steam profile is set to public.

Tito151 commented 9 years ago

I also have this issue. My Steam is set to public and running it from an admin'ed terminal prompt does the same thing. EDIT: I got it to start working by trimming the unnecessary Java paths from the batch file (I only have Java7) to just "C:\Program Files (x86)\Java\jre7\bin". I verified to make sure I only had one version of Java installed using the Java website applet before editing. Now it's in the process of uploading to backloggery. I also ran the batch file from an Admin Command Prompt.

ToxicFrog commented 9 years ago

Aah, it sounds like you have 32-bit Java installed on 64-bit windows. I don't think the bat file as currently written handles that right.

God I hate Java on windows. I will investigate fixes in the coming week.

danigrithos commented 9 years ago

I'm running into what appears to be the same problem. However looking at the output from Windows Command Prompt it is errors out with: "Error: Unable to access jarfile bltool.jar" It does this just before opening the games.txt file and after the notepad is closed. Looking at the directory and the github files, that jar file is just flat out missing. Was this file accidentally forgotten on push?

ToxicFrog commented 9 years ago

The jar is there:

$ unzip -l bltool-0.2.1.zip \*.jar
 16051636  2015-02-10 10:10   bltool-0.2.1/bltool.jar

Make sure that you downloaded the latest release and not the source code; the latter is for developers and doesn't come with the jar.