Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-22-2003, 08:26 PM
|
#1
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Rep:
|
SNES9X - How to install?
I'm a 100% newbie. Don't know anything about Linux.
I have Mandrake 9.1 running KDE.
I downloaded the SNES9X emulator file *.tar.gz or whatever.
I extracted it to my directory.
THen when I run the Snex9x program, it says "Cannot find file Snes9x".
Everything else in the directory are TXT files. So what do I do since there is no easy Install Wizard like Windows.
|
|
|
08-22-2003, 10:27 PM
|
#2
|
Member
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74
Rep:
|
Go to this site - http://plf.zarb.org/~nanardon/ - and add the plf, contrib, and texstar sources, as well as the update source if you already haven't done so. You will have to "su" to root at the terminal before entering the commands. This will update your urpmi sources so that you can install packages and update your system easily. After the process is complete you can enter the command "urpmi snes9x", as root, and you will automatically install the Snes9x package as well as any dependencies that are needed for it to run. Or you can go to "Configuration > Packaging > Install Software" and use rpmdrake to install or remove rpms in a nice GUI. For emulation however I would recommend hitting up "urpmi zsnes" first as it has a much nicer GUI than the front ends available for snes9x. If you get snes9x you might also want to get a front end so you can configure and run ROMs a bit more easily. They're under the "emulators" section in rpmdrake. Without one you'll have to invoke snes9x from the command line, along with some switches.
|
|
|
08-23-2003, 01:27 AM
|
#3
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
|
Quote:
Originally posted by Read_Icculus
Go to this site - http://plf.zarb.org/~nanardon/ - and add the plf, contrib, and texstar sources, as well as the update source if you already haven't done so. You will have to "su" to root at the terminal before entering the commands. This will update your urpmi sources so that you can install packages and update your system easily. After the process is complete you can enter the command "urpmi snes9x", as root, and you will automatically install the Snes9x package as well as any dependencies that are needed for it to run. Or you can go to "Configuration > Packaging > Install Software" and use rpmdrake to install or remove rpms in a nice GUI. For emulation however I would recommend hitting up "urpmi zsnes" first as it has a much nicer GUI than the front ends available for snes9x. If you get snes9x you might also want to get a front end so you can configure and run ROMs a bit more easily. They're under the "emulators" section in rpmdrake. Without one you'll have to invoke snes9x from the command line, along with some switches.
|
Okay, no offense, but I have no idea what the heck you just said or what to do. How do I do all those things you mentioned? how do I add the plf, contrib, and textar sources? and what's urpmi?
I do have ZSNES for Windows and I just unzipped it and it worked. I'm a little confused as to why linux makes installing software confusing. Please help a newb out!
|
|
|
08-23-2003, 02:26 AM
|
#4
|
Member
Registered: Oct 2002
Distribution: MDK 9.2, Debian
Posts: 74
Rep:
|
urpmi is the Mandrake package management tool. It can install programs from the internet, or from your install CDs. It also handles all conflicts and problems that you may run into by trying to install software from a bunch of different sources that all have different requirements. Most of the popular linux programs have been "packaged" specifically for Mandrake in an attempt to make installing programs easier.
To setup urpmi you first have to open a terminal window. You should have a program called "Konsole" in your KDE menu. Also under your menu one of the main sections is "Terminals", you can use any of those instead of Konsole, (which you should also see listed in this section). After opening a terminal, type the following command -
su
And then enter, you will be prompted for the root password for your system. After that you are acting as the root user instead of working under your normal user account. Now you can configure your system, including updating your urpmi sources. At the website I linked to you should check the sections "contrib, updates, plf, texstar", as well as selecting the place closest to you from each of the drop-boxes. After hitting the proceed button you'll get 4 lines of text in the box that should look similar to this -
urpmi.addmedia plf ftp://knight.zarb.org/pub/plf/9.1 with hdlist.cz
urpmi.addmedia contrib ftp://ftp.tugraz.at/mirror/Mandrake-...1/contrib/RPMS with ../../i586/Mandrake/base/hdlist2.cz
urpmi.addmedia --update updates http://distro.ibiblio.org/pub/linux/...ates/9.1/RPMS/ with ../base/hdlist.cz
urpmi.addmedia texstar ftp://ftp.ibiblio.org/pub/Linux/dist...drake/9.1/rpms with hdlist.cz
Copy and paste the first command to the terminal and hit enter, you'll download all the info needed to setup urpm. Do the same for the rest of the commands and then it's finished. Then you can type in "urpmi zsnes", as root, and everything is automagically done for you, complete with a menu-entry under "Applications > Emulators > ZSNES". Also like I said in the other post rpmdrake will give you a list of all the programs you can install this way as well as let you install and remove them. If you have any other questions just ask.
|
|
|
08-23-2003, 01:17 PM
|
#5
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
|
Well, I downloaded and installed those things you said.
But when I type urpmi zsnes, it just says program cannot be found or something like that.
So now what do I do????
|
|
|
08-23-2003, 01:25 PM
|
#6
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
There's nothing to install. You've downloaded the program right?. let's say it's called snes9x.1.39-linux.tar.gz
Uncompress it:
tar xvzf snes9x.1.39-linux.tar.gz
Then type ./snes9x <name of the rom> <option> It should work. E.g running Dragon Ball.
./snes9x roms/dragon_ball_z.zip -scale
That would load the rom dragon ball, inside my "rom" directory and scale it to fit screen. There're plenty of options all available in the readme document. If you don't like typing, search after a gui for snes9x. Google for snes9express. It's quite buggy, but helps a lot, specially when you need to config your buttons.
|
|
|
08-23-2003, 04:31 PM
|
#7
|
Senior Member
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986
Original Poster
Rep:
|
Ah, that makes more sense for SNES9X.
But the ZSNES one sounds way more complicated. I think I'll l just forget trying to install ZSNES as it is too complicated. I just wanted to try ZSNES in linux so that I actually had a reason to use linux other than web browsing for fun.
another question: all my roms are in my hard drive for Windows. Is there a way I can see my other hard drives? I noticed that Windows can't see the linux hard drive and linux can't see the windows hard drive.
|
|
|
08-23-2003, 05:50 PM
|
#8
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
Hi Micro420!!
Well, I also think it's quite complicated to install Zsnes. You need to have nasm ( a sort of assembler installed too) and I could not compile it. But Snes9x is nice, it's an executable that you run as I said above .
Yes, it's possible to Linux to actually see (by that, I mean, read and write to ) Windows partitions. Although, Linux cannot write to NTFS, but it can read without problems. FAT32 Linux can handle without a problem . I've used NTFS before in my Windows partition and, the only program I know that can covert from NTFS to FAT32 is PQmagic 8.0.
Anyway, let's move on and make your windows partitions available in Linux .
As root, go into /etc/fstab. Open fstab with your favorite text editor (anything will do, gedit, kedit, vi... I use pico myself). Once there, add the following line in there:
Code:
/dev/hda1 /win98 vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
That's assuming that you have fat32 file system (otherwise, change vfat to ntfs) and that your windows in located at the first partition, in the case, hda1 (or else, change to the partition it is). Remember that the code above will let any user in your system to read and write to Windows partitions. It should be accessible by typing /win98. If you have more then one windows partition (as C: and D you could organize your fstab better. Suggestions:
Code:
/dev/hda1 /mnt/win_c vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
Code:
/dev/hda2 /mnt/win_d vfat uid=500,gid=500,umask=000,exec,dev,suid,rw 1 0
That will let you access windows C: and D: drivers from /mnt/win_c and /mnt/win_d .
I have a huge amount of roms and movies in my HD, so I have one partition (in FAT32) called data, where I storage all my download stuff and can access from both windows and linux pretty cool huh .
|
|
|
All times are GMT -5. The time now is 02:24 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|