Post by patrickp on Feb 24, 2007 21:57:15 GMT -5
In Linux, I'm running the emulator by starting it with text files; the -f (fullscreen) switch doesn't work; setting memory cards and selecting images does work. The reason I'm doing it like this rather than just with a launcher is so I can cd into the pSX folder before running the emulator; if I don't do that, psx.ini gets written to my home folder and all the default folder settings are messed up.
However, the -p0 and -p2 switches for setting the controller to Normal or Dualshock (i.e. digital or analog) seem to work for some games but not for others. Legend of Legaia, Final Fantasy VIII and Grandia (PAL versions) all work with the -p2 switch. Final Fantasy VII (PAL) and Wild Arms 2 (NTSC-US) work with the -p0 switch. But Chrono Cross (NTSC-US) doesn't work with the -p2 switch: the controller is set to Dualshock, but doesn't work; and Wild Arms (PAL) doesn't work with the -p0 switch: again, the controller is set to Normal, but doesn't work.
Lastly, I made a couple of files just to start the emulator with the controller set to digital or analog, but this doesn't work at all. For all the other text files, where the controller switch is followed by memory card and image paths, the controller is set to the appropriate setting, whether or not it works, and the terminal that is opened up (starting the emulator with a text file makes it behave exactly as it does in windows: a terminal window is opened before the emulator, and closes when I close the emulator) shows p=0 or p=2. Where it's just './pSX -p0' or './pSX -p2' no p=0 or p=2 appears in the terminal window, and the controller isn't set to the appropriate setting if it wasn't already set to it.
I would suspect this behaviour is simply because these switches are meant for the Windows version and pSX Author hasn't yet done anything with them for Linux, so whether they work and how depends on how similar the relevant function is in Linux and Windows.
However, the -p0 and -p2 switches for setting the controller to Normal or Dualshock (i.e. digital or analog) seem to work for some games but not for others. Legend of Legaia, Final Fantasy VIII and Grandia (PAL versions) all work with the -p2 switch. Final Fantasy VII (PAL) and Wild Arms 2 (NTSC-US) work with the -p0 switch. But Chrono Cross (NTSC-US) doesn't work with the -p2 switch: the controller is set to Dualshock, but doesn't work; and Wild Arms (PAL) doesn't work with the -p0 switch: again, the controller is set to Normal, but doesn't work.
Lastly, I made a couple of files just to start the emulator with the controller set to digital or analog, but this doesn't work at all. For all the other text files, where the controller switch is followed by memory card and image paths, the controller is set to the appropriate setting, whether or not it works, and the terminal that is opened up (starting the emulator with a text file makes it behave exactly as it does in windows: a terminal window is opened before the emulator, and closes when I close the emulator) shows p=0 or p=2. Where it's just './pSX -p0' or './pSX -p2' no p=0 or p=2 appears in the terminal window, and the controller isn't set to the appropriate setting if it wasn't already set to it.
I would suspect this behaviour is simply because these switches are meant for the Windows version and pSX Author hasn't yet done anything with them for Linux, so whether they work and how depends on how similar the relevant function is in Linux and Windows.