siman
New Member
Posts: 3
|
Post by siman on Mar 8, 2007 16:41:06 GMT -5
sorry if this is a request not a bug, but there are a lot of documented cmd line switches that don't seem to work unter linux.
i'm runing pSX 1.11 under ubuntu edgy. everything works great, but I neeeed the fullscreen switch so I can integrate the great pSX into mythtv.
>simon@silentia:~/Desktop/pSX$ ./pSX -f /media/cdrom >Error: Unknown switch 'f'
|
|
|
Post by patrickp on Mar 8, 2007 17:09:42 GMT -5
Quite right, siman, the -f switch doesn't work in Linux. This has already been discussed in the pSX Linux WIP build thread and elsewhere. pSX Author has now updated the switch list that pSX outputs, but the -f switch still doesn't work - my guess is that switches that modify the internal running of the emulator should work, and those that make use of facilities that work comparably in Linux to the way they do in Windows - setting paths to memory cards and images, for instance - also should work. I suppose the -f switch must need to make use of different interactions with the display elements of Linux than it does with those of Windows. I'm sure pSX Author will fix it sooner or later but, with two versions to work on now, one of which is largely new, I guess he's pretty busy.
|
|
|
Post by kinghanco on Mar 8, 2007 19:15:44 GMT -5
Funny thing is that 1.11 -f doesn't work for me on Vista. 1.10 work fine on Windows XP and Vista. It something to do with 1.11 changes that cause it not to work. I think he broken some stuffs when he where working on 1.10 getting to 1.11 wips. -f maybe not the only thing that is broken.
For now use the window.
|
|
|
Post by Sune on Mar 8, 2007 19:25:25 GMT -5
Alt+enter doesn't get you in full screen mode?
|
|
|
Post by patrickp on Mar 8, 2007 19:28:52 GMT -5
kinghanco, I doubt that there's any connection between the -f switch not working for you in Windows and the fact that it doesn't work at all in Linux.
Most people, I suspect, find it still works fine in Windows (myself included) and those who don't find the emulator crashes with it. In Linux, the emulator doesn't even start - there's just a message saying "unknown switch."
It is, of course, still possible to go full screen after starting the emulator with Alt+Enter in either OS.
|
|
|
Post by kinghanco on Mar 8, 2007 22:25:58 GMT -5
WTF. How come nobody tell me that alt+enter make it into full screen? It works. Thanks guys. Screw the -f then. XD
I want to make it into a full screen by using Bat file. What is the DOS command in alt+enter for full screen do I need to put in a Bat file? Like this? psxfin.exe -r alt+enter
|
|
|
Post by Sune on Mar 8, 2007 22:44:39 GMT -5
google 'alt+enter batch file'
|
|
|
Post by patrickp on Mar 9, 2007 12:39:20 GMT -5
Alt+Enter is very widely used to toggle between windowed view and full screen in Windows and Linux applications, kinghanco - don't know about other OSs. Look up (I think) keyboard shortcuts in Windows help. I would think it should be there.
It's quite possible that your problem is caused by trying to start pSX full screen, rather than the method you're using; i.e. if you write a batch file to start pSX including an Alt+Enter command, you may get the same crash you do with the -f switch.
|
|
|
Post by Sune on Mar 10, 2007 16:11:36 GMT -5
I doubt it - he said that pressing alt+enter works fine for him.
So a batch file sending alt+enter (4th result in a google search) should work fine.
|
|
|
Post by patrickp on Mar 10, 2007 19:40:10 GMT -5
Yes, but that's using Alt+Enter _after_ pSX has started. I think it's quite possible his problem may be around trying to start pSX fullscreen, rather than specifically with the -f switch, in which case starting the emulator with an Alt+Enter command may also cause a crash.
|
|
|
Post by Sune on Mar 11, 2007 21:45:28 GMT -5
No, it will work fine, because the the batchfile will run the emulator and send an alt+enter keypress when the emulator is running, in that order. Logically, if you put the code to send the alt+enter command before the emulator is running, there'll be no application for the command to process. So for all intents and purposes, it's the same thing as starting the emulator and pressing alt+enter manually - which doesn't crash on his PC. Batch file example: ------------------------------------------ start emulator run this code: www.radiks.net/~jimbo/demented/altent.htm------------------------------------------
|
|
|
Post by patrickp on Mar 12, 2007 16:21:07 GMT -5
I'm still not sure about that Sune, because even using the -f switch, it's noticeable that pSX doesn't actually start fullscreen: it starts in a window and then goes fullscreen. Still, the only way to find out if it fixes kinghanco's problem is for him to try it. I can't, as the emulator doesn't crash with the -f switch on my system; and I suspect it doesn't on yours, either. kinghanco: what videocard are you using?
|
|
|
Post by kinghanco on Mar 15, 2007 11:11:01 GMT -5
ATI RADEON 9550 256mb. patrickp It was video card problem. So the full screen is working after I push my card back in. It was almost gone out on one side. I glad that I caught it lose while back. Sorry about me reporting the issue before I found out what the real issue was. A note to everyone. Make sure that you check to see your card is fully in place and not lose. Some people moving their computer box around and never check to see anything got lose. Just because screws is tight it doesn't mean something isn't lose.
|
|
|
Post by patrickp on Mar 15, 2007 14:32:08 GMT -5
Very true, kinghanco. That's why, I would think, a lot of manufacturers make the AGP socket (possibly PCI-E ones too?) with a latch on the back now. However, a word of warning: even though they _should_ be adequately earthed when in position in your computer, always take precautions when touching static-vulnerable devices. Make sure you're touching the chassis or something earthed when you do it. And, because you're earthed, and because sudden power surges can harm your devices too, make sure the power is off - not just your system powered down, your power supply must be switched off and, preferably, the mains lead should be disconnected. If your power supply doesn't have a switch, you _must_ disconnect the mains lead. But when you're handling cards etc, touching the chassis isn't good enough - it's too awkward and unreliable to handle your card one-handed, and if you drop it - static damage is extremely likely. Use an earthed antistatic wrist strap. For the couple of quid it costs, you can save hundreds of pounds worth of static damage to your kit. If you're working on a card - say installing a cooler - you should also work on an antistatic surface. I usually use something like a motherboard antistatic bag (nice and big) with an earth lead clipped on. I suspect quite a few problems we get here with people's systems are actually careless assembly - I know too many people who think touching something earthed first is enough - it isn't. Take one step on a carpet and you can be nicely charged up and ready to kill silicon again... and all those people can never understand why their systems just never seem to work quite right. The trouble is, when you get someone with a system problem, you hesitate to suggest static damage because there's nothing you can do about it. So we suggest drivers, viruses etc... But a damaged device can still work - it's just that it never seems to work quite right... and there's no cure apart from replacing it Edit: glad to see you got your problem fixed, kinghanco!
|
|
siman
New Member
Posts: 3
|
Post by siman on Mar 24, 2007 9:50:56 GMT -5
thanks for all the replies
I know about ALT+enter, and that works under linux too.
the problem is: I use the great psx with my media-center (mythtv), so when i start a game, I don't have a keyboard around ... i hope i'll find a way to send ALT+ENTER via a bash-script after startup. don't know how yet.
doesn't sound like the -f switch will work soon, right?
|
|