- Mar 7, 2019
- 1,426
- 1,231
I have a couple games that don't work when launching from F95Checker but works if launching directly from their folder.
"Futanari Coffee Shop" and "SoldGirl Town"
gotta be stupid windows shenanigans. as far as i can tell, i am passing the arguments correctly in a way where spaces and special characters should not matter. its been a very long time since 10.2, so i cant really tell what might changed. maybe it is that i used to launch using subprocess, then changed to os.startfile() as that mimicks as close as possible the behavior of double clicking the file with explorer. the only remark i see in the documentation is that paths need to be normalized, which they already are since i handle all paths using pathlib... only thing im not sure about is if maybe pathlib is returning a path with / instead of \, but from prior experience it should use \ on windows. for the record, ive never had issues with launching executables on linux. only other thing that comes to mind is that i dont specify the working directory when using os.startfile(), while with subprocess i used to... maybe those specific programs are picky about being started from withing their directory?Got a similar problem with F95Checker on Linux after updating to v11 when the name of the executable contains spaces. Don't know if it's the same on other OSes, but replacing spaces with underline worked for me. For some reason F95Checker doesn't like spaces anymore on my system...
On the other hand it doesn't seem to like Unity games at all since v11 (or maybe executables which are not scripts?)
Can't get Timestamps or Hail Dicktator to launch even without spaces but maybe with a wrapper script it will do again, didn't have time yet to test that...