LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-11-2004, 11:07 PM   #16
madskillz
Member
 
Registered: Oct 2003
Location: miami, fl
Distribution: Mandrake 10
Posts: 62

Original Poster
Rep: Reputation: 15

i found this

http://x.mame.net/download/xmame-0.35.3.tgz

edit: if u get it to work, could ya tell me how ya installed it? i wanna make sure i do everything right

Last edited by madskillz; 06-11-2004 at 11:09 PM.
 
Old 06-11-2004, 11:17 PM   #17
madskillz
Member
 
Registered: Oct 2003
Location: miami, fl
Distribution: Mandrake 10
Posts: 62

Original Poster
Rep: Reputation: 15
if for some reason that link does not work, try here:

http://master.math.upatras.gr/~manol...ame/index.php3
 
Old 06-11-2004, 11:20 PM   #18
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Thanks, I'll give it a go when I can back to my computers.

Xmame 35 through seems to be a little to recent because the changeover number was 32 for mame. However I don't know if Xmame follows the same release numbering as mame so it may be ok.

I'll let you know if it runs the old roms.

azraelder
 
Old 06-16-2004, 05:42 AM   #19
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Right, Sorry for the delay, (No rest for the wicked) but here is how I got Xmame to work.

I checked up and unfortunately, Xmame35 is after the changeover point so I went for the latest version (0.83-1). Because I like to compile my own source code (just to make life fun) I downloaded the sourcecode.

I also downloaded a front end. The front end I downloaded was called GXmame-34b. A front end is a very useful piece of software because it allows you to graphically configure where the xmame binary is, where the roms can be found and allows some options when the games are run (such as fullscreen).

I hope I'm not being to pedantic in what I'm telling you, as I don't know how much you know. To compile and install source code you need to have gcc compilers installed on your system plus lot of various libraries. When I installed my readhat 9 system, I installed absolutely everything, so I am not absolutely sure of the packages required.

Anyway I downloaded the files (xmame-083-1.tar.bz2 and gxmame-34b.tar.gz) into my home directory. (you do have a home directory?) the one I used was called /home/azraelder.

I then opened a terminal. Changed to root (su) and then copied the files to the /usr/local/games directory with following commands

cp /home/azraelder/xmame-0.83-1.tar.bz2 /usr/local/games
cp /home/azraelder/gxmame-0.34b.tar.gz /usr/local games

The first part was for the actual xmame program. First I enter the directory

cd /usr/local/games

then I unpacked it with the command

tar jxfv xmame-0.83.tar.bz2

(the j is for bz2 compression, the x tells tar to extract, the v is for verbose output and I don't know for the life of me what the f does but I'm sure its important.)

then I enter the new directory (cd xmame-0.83-1). I then read the README file (vi README) for the installation instuctions) If you don't know how to use vi try gedit.

reading the README file, it tells me to read the documentation. It also tells me to manually edit the makefile because there is no config script. This is a bit slack on the developers part but beggers can't be choosers so onward we go.

So I edit the makefile (vi makefile. unix). I didn't really change to much, but I did tell it my machine type (i686) and I told it to compile for opengl rather than X11. You would have to decide what it appropriate for your system.

I then compiled it with the command (make -f makefile.unix) and then went away to have a cup of coffee. After it was finished, thankfully with no errors, I was left with the binary file xmame.gxl. This is what I was after. (if you chose the x11 version then the binary would be xmame.x11)

To test try the command (/usr/local/games/xmame-0.83.1/xmame.xgl) or when in the correct directory ./xmame.xgl

And then it will complain it can't find the roms (unless you have been clever enough to put some roms where xmame will look for by default (see the documentaion). but still, typing in those sorts of commands is a pain, so then the next step is to install the front end, to make our lives easier. This will be in my next post.

azraelder

ps This is how i did it. if anyone can do it better, please let me know

Last edited by azraelder; 06-16-2004 at 05:59 AM.
 
Old 06-16-2004, 06:38 AM   #20
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
Ok, the next part, the front end, gxmame-0.34b.

the gxmame tarfile should be in the /usr/local/games directory. ( A quick word about /usr/local, This where I compile and install anything I download. It keeps it separate from the main system so if anything goes horribly wrong....)

I return to the games directory (cd /usr/local/games) and then untar gxmame

tar zxfv gxmame-0.34b.tar.gz (z instead of j because it is a gz type file)

this unpacks the tarfile in the new directory gxmame-0.34b. I enter the directory
(cd gxmame-0.34b) and then read the INSTALL file for instructions. (vi INSTALL) Gxmame is fortunately very standard. So I do the INSTALL file says

./configure ( which checks my system. if anything is missing, this step will pick it up.)
make (compiles the code)
make install (which puts the binary into /usr/local/bin which can be accessed from anywhere just by typing the command gxmame. )

If this is all successful, then there should be a file called gxmame in /usr/local/bin

at this point I shed my super root powers and become a normal user (su azraelder) and
then try to run gxmame (gxmame)!

If all is successful, then the gxmame graphical interface should pop up. It will complain that it can't find a xmame binary and it won't find any of the roms. It will also insist you rebuild the game list (option - rebuild game list). to tell gxmame where the xmame binary is (option - directories - browse and then find /usr/local/games/xmame-0.83.1/xmame.xgl)
The roms follow the same pattern. I created a directory /usr/local/share/roms and put the roms there and then tell gxmame that is where to find them. I also have some roms on my windows harddrive (/mnt/dosc/mame/mame32/roms) so I use that as well.

Once gxmame has found your xmame and your roms, you can either try them one at a time or use the audit feature (under files) to check all your roms. Then I tell gxmame just to list the functional roms.

I then add a graphical launcher to launch gxmame so I don't have open a terminal and type gxmame. I think that it would be different in mandrake as compared to red hat. But in red hat, all the start menu items are kept as files in /usr/share/applications as blah.desktop files. I just copied a similar one and then modified it to be able to launch gxmame from the start menu.

So now thats all done I can play pengo with the popcorn music. Or 1942 Or Scramble.

If worst comes to worst and it doesn't work I would suspect most problems would be

- lacking required libraries or packages
- typos
- mis configured xmame makefile (I don't know if you can compile for X11 and opengl
- linux can fail for mysterious reasons.

You can of couse always try the rpms!

Let us know how you go.

Azraelder
 
Old 06-16-2004, 07:43 AM   #21
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
azraelder - have you considered submitting your last 2 posts as a LinuxAnswer. Have a read of the How to Create/design a LinuxAnswer thread and see if you could reformat your posts to comply with the formatting requirements for a LinuxAnswer.
 
Old 06-21-2004, 04:49 AM   #22
azraelder
Member
 
Registered: May 2004
Location: Perth, Australia
Distribution: Red Hat 9
Posts: 35

Rep: Reputation: 15
I'll give it some thought. I wote out those answers fairly quickly so I wasn't really thinking about text formatting (which I know little about) or other issues such as distro specificity or newbie/guru level of complications. It's one thing to bang out a couple of posts but quite another to have it kept as an answer.

I'd like to get a little more feedback as to how useful those posts were before I'd feel confident enough to submit them for an answer. I still am a newbie after all

azraelder
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem running winex Valhalla Linux - Software 0 12-12-2004 03:41 PM
Problems running Undying with winex 3.2.1 Hungry ghost Linux - Games 0 12-09-2004 11:38 AM
Games are running slow with winex HadesThunder Linux - Software 10 05-13-2004 06:14 PM
CVS version of winex not running mikeZig Linux - Games 1 05-08-2004 05:36 AM
Running WineX Madnizz Linux - Newbie 2 10-19-2003 02:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 03:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration