Hyphen-ated / RebirthItemTracker

Uses the log.txt file to track item pickups in Binding of Isaac: Rebirth.
BSD 2-Clause "Simplified" License
121 stars 26 forks source link

Strange error if launching from '.bat' file #151

Open Stally18 opened 4 years ago

Stally18 commented 4 years ago

Wrote a little bat to launch the game and the tracker simultaneously, but this happens. изображение

Hyphen-ated commented 4 years ago

Try 'cd'ing to the tracker directory before running the exe

Stally18 commented 4 years ago

Didnt help, same error

Hyphen-ated commented 4 years ago

It's a bug that the tracker cares about its working directory at all, but until that's fixed, the workaround I described should work. Maybe you didn't understand what I meant:

cd /d "C:\Users\username\Documents\My Games\Binding of Isaac Afterbirth+\Rebirth Item Tracker\" "Rebirth Item Tracker.exe"

this directory is where I happen to have the tracker installed. I need the /d switch because I'm starting the batch file from a different drive than C

Stally18 commented 4 years ago

okay, that explains a lot. thank you for sparing your time to help me out. Now it works just as i wanted