01-02-2011, 07:07 AM
I wasn't sure this really fit in the bug reporting section, so I'm putting it here. The pcsx2 executable file doesn't seem to set the working directory before trying to do stuff, it just assumes the working directory is the executable path. Generally it's a good practice to specifically declare the working directory to ensure that things work as expected.
To see what I mean, try running the commands below. The first one runs as expected, because the working directory is forcefully changed before running the executable, but the second can't find the data folder, so it tries to reset the configs and can't find any of the plugins or other things from that path.
cd "C:\Program Files\PCSX2\" && pcsx2.exe
"C:\Program Files\PCSX2\pcsx2.exe"
To see what I mean, try running the commands below. The first one runs as expected, because the working directory is forcefully changed before running the executable, but the second can't find the data folder, so it tries to reset the configs and can't find any of the plugins or other things from that path.
cd "C:\Program Files\PCSX2\" && pcsx2.exe
"C:\Program Files\PCSX2\pcsx2.exe"