Open andrewphorn opened 3 years ago
Workaround (as long as the program you want to launch is on the same drive): Windows seems to allow you to omit the drive letter and it will use the current drive.
Per https://github.com/muldjord/skyscraper/blob/master/src/pegasus.cpp#L282 looks intentional, curious why?
Perhaps it should be ifdef'd out from windows builds?
I honestly can't remember, but yes, there's a reason for it, I do remember that much.
EDIT: I think I remember now. The format of the pegasus gamelists is such that a headline is a title with a ":" after it. That signifies new data. And I have a homebrewed parser that can read those files. But it breaks with multiple colons in a line. I even remember trying to work around that to allow those colons, but I gave up after it turned out to be not so simple to do.
Looking at the source code of the parser, it certainly does seem non-trivial to fix. Maybe in the interim, throw a debug print out when a colon is detected?
Typical usage won't see windows users going across drives to run their games, I think, so offering that explanation and a suggested alternative on windows may be enough.
Thanks for the awesome work on the software btw! Works pretty well.
Describe the bug When specifying an absolute windows path including the drive letter and a colon in the
-e
option, the resulting pegasus metadata lacks any colons.To Reproduce Run a scrape with frontend set to pegasus, and path set to an absolute windows path including colons. For example:
Skyscraper's startup indicates that the extra flag is seen as:
C:/emu/launcher.exe C:/emu/RetroArch/retroarch.exe -L C:/emu/RetroArch/cores/snes9x_libretro.dll {file.path}
so it's happening somewhere after the initialization.
Special circumstances Running on (unsupported) windows
Technical information
Additional context This is being automated through a script I wrote, but it looks like that isn't the root cause since skyscraper is getting the path correct at startup.