|
Post by patrickp on Mar 3, 2007 16:43:31 GMT -5
Ok, I was able to find which was cdrom0 and which was cdrom1. But ./pSX /dev/cdrom0 or cdrom1 just boots to the BIOS page. Looking in the /dev folder, there's only a link to cdrom (and one to cdrw), none to cdrom0 or cdrom1.
And when I try ./pSX /dev/cdrom it works - if I've got the CD in the right drive, which seems to vary from boot to boot... ----------
Just thought I'd try ./pSX /dev/cdrw instead of cdrom - it reads the same drive as cdrom, which ATM is the DVD-RW drive. Can't get it to read from the DVD-ROM...
Edit: just tried ./pSX /dev/dvd and dvdrw. They all point to the same drive, the DVD-RW.
---------- Aha! Cracked it, I think. Instead of /dev/cdrom (or dvd etc), you use /dev/hdx where x is a letter from a to d denoting the drive's position on the IDE bus: primary master is hda, primary slave is hdb, secondary master is hdc and secondary slave is hdd. Seems to work.
Edit: yes, I put a different game in each drive, and I could run whichever I wanted with /dev/hdc or /dev/hdd. Definitely works... ;D
|
|
|
Post by Ultima on Mar 4, 2007 1:56:48 GMT -5
FWIW, /dev/cdrom *is* a symbolic link to /dev/hd_; a simple ls -l /dev/cdrom will show referenced device (for me, it shows "/dev/cdrom -> hda")
|
|
|
Post by patrickp on Mar 4, 2007 6:24:36 GMT -5
Obviously, but but then you can only use it to select that drive - plus it may change from boot to boot, so you have to check each time. My way, you can simply (and easily!) select the drive you want at any time.
|
|
|
Post by zorro56 on Mar 7, 2007 16:37:45 GMT -5
Thanks pSX author, you made a very nice job and you can be proud of it. This GNU/Linux build is a very great thing !
|
|
|
Post by patrickp on Mar 16, 2007 17:22:30 GMT -5
The great and mighty Ultima is working on a Linux version of his Frontend for pSX. Those of us who are familiar with the Windows version know that it's become an indispensable accessory for pSX: it allows you to set pretty much everything you might want to change on a per game basis - including things like the BIOS, resolution if playing windowed, etc. It's nowhere near that in Linux - this is the initial version, only sets all command line options, BIOS and Aspect ratio - and it seems a bit wobbly, too. But if anyone wants to try it, I'm sure Ultima could do with all the feedback he can get to get it to where the all-singing, all-dancing Windows version is.
|
|
|
Post by Ultima on Mar 16, 2007 17:50:37 GMT -5
TBH, there aren't too many things missing from the Linux version -- all I can think of that are missing are: shortcut stuff, hiding/showing the log window, process priority, and window size. IMHO, of those, only window resizing is the thing I miss most, but it's not something I can do anything about (at least I don't think so, though I could always keep looking), considering all the different window managers and stuff on Linux =\
In short, it's not all that far from its Windows counterpart, and for the most part, gets the important things done (if it actually works correctly... *stabs patrickp's computer*)
|
|
|
Post by patrickp on Mar 16, 2007 18:19:26 GMT -5
Cor, vicious, aren't you, Ultima? Edit: just think how good you'll feel when you get it sorted!
|
|
|
Post by Ultima on Mar 22, 2007 22:06:05 GMT -5
@psx Author: Quick question... how do you determine what the executable's current directory is in Linux? The closest I've gotten is getting the cwd, but yeah, that's hardly the same thing =\
|
|
|
Post by pSX Author on Mar 23, 2007 19:16:09 GMT -5
@psx Author: Quick question... how do you determine what the executable's current directory is in Linux? The closest I've gotten is getting the cwd, but yeah, that's hardly the same thing =\ You can do (in C/C++): int main(int argc, char *argv[]) { char *exe_path=realpath(argv[0],NULL); then extract the path from exe_path.
|
|
|
Post by Ultima on Mar 23, 2007 20:09:17 GMT -5
(Whoops, I forgot to specify the language, but yeah, I meant C/C++)
I've never used realpath, but actually used canonicalize_file_name before... lol thanks, that solution was totally in-my-face, yet, I never thought of it xD
|
|
dfreer
Junior Member
Posts: 75
|
Post by dfreer on Apr 25, 2007 14:31:45 GMT -5
Hey, Just wanted to let you know that I have packaged pSX in AMD64 and i386 .debs. It should have all the needed dependencies, and there is a libgtkglext1 package for AMD64 as well. Just thought I'd help out, great piece of software and one of the only playstation emulators that work on 64-bit systems. www.dfreer.org/~dfreer/pSX/Also this link for step-by-step installation instructions: ubuntuforums.org/showthread.php?t=394097
|
|
|
Post by patrickp on Apr 25, 2007 17:38:16 GMT -5
Looks good, dfreer: like a lot of people here, I've always installed pSX simply by tarring it to a folder, but I'm just thinking of doing a clean install of Ubuntu 7.04, so maybe I'll give your .deb package a go. Incidentally, it's not only the bios folder that can be anywhere you want but, of course, so can memory cards, save states, images and screenshots. This is particularly useful if you're dual booting: you can put all these on a FAT32 drive that will be accessible to Linux and Windows - and also means they're unaffected by reinstalls of either OS. Hopefully this will also bring some more Linux users into this forum, too. I get the impression (from reading your thread on ubuntuforums, for a start) there's a lot more people using the Linux version than ever show up here. We could do with a lot more interest, for instance, in Ultima's Linux version of his pSX Frontend!
|
|
dfreer
Junior Member
Posts: 75
|
Post by dfreer on Apr 28, 2007 15:47:58 GMT -5
hmmm, I hadn't heard of his frontend, I'll have to download it and try it out. If it is worthwhile, I'll make a seperate .deb that can be installed over-top of the original .deb I made. I did think the frontend that comes with the linux version was fairly decent anyways.
|
|
|
Post by patrickp on Apr 28, 2007 17:47:49 GMT -5
The idea of Ultima's pSX Frontend, dfreer, is that you can create profiles for the games you play, so that from the Frontend you can start the emulator with your game (image or CD), memory cards, BIOS, controller mode etc selected - it also will set switches. Very useful. If you look in the 'Work/Discussion Thread: pSX Frontends' you'll find plenty of information on it; Ultima released the first Linux WIP here.
|
|
|
Post by BlackVivi on May 29, 2007 9:54:35 GMT -5
The Emulator works fine on
Linux myhost 2.6.21-ARCH #1 SMP PREEMPT Fri May 25 18:51:33 CEST 2007 i686 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux
^__^ But i can't mute the emulator. I can turn off the sound through the normal volume manager of xfce, but the Mute Functino of pSX doesn't work. I can't turn off the volume or something like that... but it's okay.
|
|