Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Which OS...  (Read 6025 times)

0 Members and 1 Guest are viewing this topic.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Which OS...
« on: April 19, 2004, 08:56:25 am »
Well i have finally had it with windows millenium on my old pc (p41.3ghz 512 mb ram) and am going to get rid of the OS. Well first i tried taking the Windows XP home cd from my new computer and installing on the ME box. I was afraid it wouldnt work but it was worth a shot. It installed fine but now i have 30 days to activate it, but i cant with this keycode as it is already in use.  I figured it was worth a shot, but i guess in thirty days ill have to find another solution.


So here is my question, should i go out and buy another retail xp cd, or should i take the plunge and actually try Linux? You can get Linux for free legally cant you? My question is though is the learning curve that steep that it will be that much of a pain. All i want to do with this pc is use mame (it will be the pc for my upcoming cab) and brwose the internet on it. So what do you guys think, how is mame on linux and should i try it out or just go out and buy windows xp once again. thanks

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Which OS...
« Reply #1 on: April 19, 2004, 09:11:04 am »
Linux is free, but if you've never used it there's a learning curve.

You could try DOS, but finding DOS drivers for yout sound card could be tricky.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re:Which OS...
« Reply #2 on: April 19, 2004, 09:56:19 am »

So here is my question, should i go out and buy another retail xp cd, or should i take the plunge and actually try Linux?

Do a cost/benefit analysis.

Buying Windows XP:
Positives:
Ease of use
Lots of front ends available
Not much time required

Negatives:
Costs more $
Gives Bill Gates some of your hard-earned dough.

Linux:
Positives:
Mostly free (You'll probably need to burn CDs)
Gaining experience can help you later if you pursure a career in computers

Negatives:
Limited front ends available
Much more time required

I personally have only used two distributions of Linux, Red Hat 9 and Debian, and I would recommend RH9 for the newbie.

Quote
You can get Linux for free legally cant you?
Mostly free. It'll take time to download. You'll also need to burn CDs. You can buy Linspire, which supposedly is user-friendly (used to be Lindows).

Quote
My question is though is the learning curve that steep that it will be that much of a pain. All i want to do with this pc is use mame (it will be the pc for my upcoming cab) and brwose the internet on it. So what do you guys think, how is mame on linux and should i try it out or just go out and buy windows xp once again. thanks
I can't answer that one, since I am still climbing the learning curve myself.

Many people on this board would rather spend dozens of hours getting Linux to work than spend a dime on anything they didn't have to. If you do decide to use Linux, it's a time-consuming learning experience, but a rewarding one.

Good luck!
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #3 on: April 19, 2004, 11:10:47 am »
I found with Linux that it took me a couple of tries before I really got into it, but now that I'm there I'm never looking back!   I run it on my arcade cabinet and my desktop computer.  I have Windows dual booted, but I haven't looked at it in months!  I think you should definetly give Linux a shot and see how you like it.  It's free, so it can't hurt, and at worst it will give you a killer headache and bring you one step closer if you ever want to try it again.

I've only tried Mandrake and Red Hat.  I found that Mandrake worked better for me as a new person.  Also, Mandrake updates the distribution more regularly.  Mandrake has released several versions since Red Hat 9 came out.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #4 on: April 19, 2004, 03:22:56 pm »
yea i think im going to give linux a shot,  as its free and couldnt hurt to try something new. If i have trouble i could just reformat and go and get xp or something. This is not a pc that is used to often (i have a killer gaming rig that i use as my main pc) so i think it will be fun to play around with Linux on it. Any suggestions on which version of linux i should use?

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #5 on: April 19, 2004, 03:29:45 pm »
well i did a little research and i think i am gunna try out mandrake linux, cause most say it is the easiest and most user friendly to use.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re:Which OS...
« Reply #6 on: April 19, 2004, 04:14:12 pm »
btw...

is there still a version of mame for linux that uses svgalib?  Or are they all X now?


jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #7 on: April 19, 2004, 05:16:38 pm »
I compiled a recent version for svgalib.  Right now I'm running Mame under Linux, although I should be running it without...

That's one problem with Linux - so many options, it's tough to decide on one and stick with it.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #8 on: April 19, 2004, 05:24:32 pm »
on a side note i just tried out advancecd while waiting for my linux iso's to finish downloading, and i must say it is an awesome program. I threw a couple of roms onto the disc just to test it out and it worked perfectly. Any of you guys tried Advancecd before... its really cool.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #9 on: April 19, 2004, 09:50:27 pm »
well i got mandrake linux up and running, got the 10.0 community release of the website and it seems pretty cool to me. I was just fooling around with stuff today will try and get mame up and running tommorow.

But can anyone give me some tips or link me to a guide on how i can tweak linux to get it to run its fastest. Like eliminating some things on start up and such for faster boot times. If any one has some tips for me or can point me in the right direction i would greatly appreciate it. thanks.

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #10 on: April 19, 2004, 10:29:23 pm »
I'm somewhat new with the Linux stuff, too, so hopefully someone can suggest some more advanced/specific speedups.

As root, if you run drakxservices, you'll find a list of the daemons that are always running, and you can shut them off.  I may be crazy and this statement is NOT qualified with any concrete facts, but from what I've seen, running lots of services (daemons) under Linux doesn't seem to have the same devastating effect on system performance that you see with Windows.  Then again, perhaps I'm blinded by love for Linux, who knows...

Here's one example of what I'm sort of talking about.  Gnome is supposed to be the fattest hogs as far as Linux desktop managers are concerned.  I mentioned somewhere that I thought I could speed Mame up by using a lighter desktop manager.  Someone dared me to put my money where my mouth was, so I installed some desktop manager that is supposed to be one of the lightest.  Mame ran at exactly the same speed under either one, which took me by suprise.

From what I gather, a more effective means of speeding up a Linux box would probably be to build your own kernel and only compile in the drivers and pieces that you need.  I haven't taken that scary step myself, though.  I believe that one of the reasons that Mandrake was pretty easy to set up is because they load the kernel with drivers and stuff for everyman.

Oh, yeah, and of course another massive speedup would be to not use a desktop manager at all, and run Mame from a console.  I HAVE tried this and it IS substantially faster (I forget, maybe 20-25% faster).  You can run mame under a console using svgalib, and I think that the new hype is something called "fb" or "frame buffer" which is supposed to put svgalib to shame.  (This has been discussed extensively on the AdvanceMame forums recently).  I think I read that the kernel that comes with Mandrake 10.0 is the first Mandrake to support the frame buffer, at least as far as AdvanceMame is concerned.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #11 on: April 20, 2004, 01:46:20 pm »
man this linux stuff is confusing. LOL. I might sound like an idiot but i am going through the Xmame tutorial and trying to set it up but after you configure the make file is tells me to type make to compile it. Where do i type "make" i know it is some sort of command but where do i type it in. Total linux noob here, someone helpe me out

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #12 on: April 20, 2004, 01:54:16 pm »
man this linux stuff is confusing. LOL. I might sound like an idiot but i am going through the Xmame tutorial and trying to set it up but after you configure the make file is tells me to type make to compile it. Where do i type "make" i know it is some sort of command but where do i type it in. Total linux noob here, someone helpe me out

I'm guessing that you are at a command line, and you have changed directory to the xmame source directory using the "cd" command.

At the command prompt ($), you just typed (without the "$"):

$./configure

If you type run the "ls" command (list directory), you should see files "configure" and "Makefile".

Next you run "make":
$make


Does that help?

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #13 on: April 20, 2004, 02:12:44 pm »
no i am not in a command prompt currently, i am so totally lost though. I am following this tutorial here:

http://x.mame.net/download/xmame-doc.pdf


i have the files extracted and everything and have the root folder with all the directories underneath. Then i copy the makefile-unix into the make file. Than it says when you are done with that to type make to install. I have no idea what they are talking about, sorry for being a pain but i am a first time linux user and this stuff is blowing my mind lol.
« Last Edit: April 20, 2004, 02:16:38 pm by Truz »

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #14 on: April 20, 2004, 02:28:02 pm »
no i am not in a command prompt currently, i am so totally lost though. I am following this tutorial here:

http://x.mame.net/download/xmame-doc.pdf

i have the files extracted and everything and have the root folder with all the directories underneath. Then i copy the makefile-unix into the make file. Than it says when you are done with that to type make. I have no idea what they are talking about, sorry for being a pain but i am a first time linux user and this stuff is blowing my mind lol.

Ok.  In the intructions on that pdf file, they are assuming that you are at a command prompt.  In mandrake, you should be able to find a program in you menu called "terminal" or "gnome-terminal", or something similar.  This is the command prompt.  Are you familiar with using a DOS prompt?  This is similar, but the commands are a little different.

So:

Start a terminal.  You will have a command prompt.

Run the following command (without the $) to see the listing of the current directory:
$ls

You must now navigate to the directory containing your decompressed source:
$cd my_downloads/xmame-x.x

The following command will bring you to the parent directory:
$cd ..

When you are in the source directory, type:
$make


Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #15 on: April 20, 2004, 02:41:52 pm »
ok cool, ill yea i just figured out where the command prompt thing was, im familar with dos a little bit so i think i might be ok, ill give it a go from here. Thanks for all your help by the way, hopefully i can get this up and running.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #16 on: April 20, 2004, 03:08:51 pm »
ok im getting the hang of it kind of, but when i went to use the make command it went through a bunch of stuff and gave me an "error 127" and "make:gcc:command not found". Dont know what i did wrong?

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #17 on: April 20, 2004, 03:20:31 pm »
There are a bunch of development tools that you will probably have to install from your Mandrake cd's using the Mandrake Configuration tool.  From the mandrake menu, run the program "Configure Your Computer" or something of that nature.  It should bring you to Mandrake Control Center.

From mandrake Control Center, go to Software management, and start RPMDrake.

From here, you'll need to start installing development software.  Use the Search box to find different programs.  
Search for "gcc".  You will want to install something like "gcc"
Search for "make".  You will want to install something like "automake"
Search for "autoconf".  You will want to install somethign like "autoconf"
Search for "SDL".  You will want to install something like "libSDL-devel",  "libSDL", "libSDL_mixer", "libSDL_mixer-devel"

I'm not sure what you will need exactly, so we'll probably have to install more things as different errors arise while building.

You probably should have chosen "development tools" or something when you initially installed Mandrake, because then most of this stuff would have been installed from the beginning.

Try running make again after you install this stuff.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #18 on: April 20, 2004, 06:08:36 pm »
okay i couldnt find autoconf or SDL, but i went ahead and proceded with the "make" command and it was all good until the end when i got

Make[1]:***Alll error 2
make: *** [xmame.obj/unix.xll/osdepend.a] error 2


than just out of curiosity i went in tried to "make install" and got these errors

/usy/bin/install: cannot change and or group of /usr/local/bin: operation not permitted.
make: [doinstall} error one


man this stuff is tricky

Tilzs

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:February 16, 2011, 10:41:56 am
  • Neat
    • Cocktail Arcade
Re:Which OS...
« Reply #19 on: April 20, 2004, 06:53:43 pm »
You can use the Advancemame Live CD. They work out pretty well.

I'm useing gentoo linux. Although Gentoo will probably take you about a week to setup the OS itself, setting up advancemame is a snap.

emerge advmame  
then edit a couple of config files and you are done.

If you want a fancy front end though you might want to go the windows route. The linux ones are pretty basic

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #20 on: April 20, 2004, 07:23:30 pm »
okay i couldnt find autoconf or SDL, but i went ahead and proceded with the "make" command and it was all good until the end when i got

Make[1]:***Alll error 2
make: *** [xmame.obj/unix.xll/osdepend.a] error 2

than just out of curiosity i went in tried to "make install" and got these errors

/usy/bin/install: cannot change and or group of /usr/local/bin: operation not permitted.
make: [doinstall} error one

man this stuff is tricky

The thing is, none of it's tricky at all once you've spent a year working with it!  However, there are a million different little things to learn.

First of all, don't bother running "make install" until you've been able to successfully "make" without errors.  Can you post the more details about the error you are getting?  The error that occurred higher up in the process is the real clue as to what is missing.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #21 on: April 20, 2004, 08:36:00 pm »
ok after it is done comiling everything this is the long list of messages/errors i get, sorry if it is long but here it is, maybe you can help me from this



video-drivers/x11.c:13:22: X11/Xlib.h: No such file or directory
In file included from video-drivers/x11.c:15:
video-drivers/x11.h:4:22: X11/Xlib.h: No such file or directory
In file included from video-drivers/x11.c:15:
video-drivers/x11.h:16: error: parse error before '*' token
video-drivers/x11.h:16: warning: type defaults to `int' in declaration of `displ
ay'
video-drivers/x11.h:16: warning: data definition has no type or storage class
video-drivers/x11.h:17: error: parse error before "window"
video-drivers/x11.h:17: warning: type defaults to `int' in declaration of `windo
w'
video-drivers/x11.h:17: warning: data definition has no type or storage class
video-drivers/x11.h:18: error: parse error before '*' token
video-drivers/x11.h:18: warning: type defaults to `int' in declaration of `scree
n'
video-drivers/x11.h:18: warning: data definition has no type or storage class
video-drivers/x11.h:19: error: parse error before "colormap"
video-drivers/x11.h:19: warning: type defaults to `int' in declaration of `color
map'
video-drivers/x11.h:19: warning: data definition has no type or storage class
video-drivers/x11.h:20: error: parse error before '*' token
video-drivers/x11.h:20: warning: type defaults to `int' in declaration of `xvisu
al'
video-drivers/x11.h:20: warning: data definition has no type or storage class
video-drivers/x11.h:24: error: parse error before "normal_cursor"
video-drivers/x11.h:24: warning: type defaults to `int' in declaration of `norma
l_cursor'
video-drivers/x11.h:24: warning: data definition has no type or storage class
video-drivers/x11.h:25: error: parse error before "invisible_cursor"
video-drivers/x11.h:25: warning: type defaults to `int' in declaration of `invis
ible_cursor'
video-drivers/x11.h:25: warning: data definition has no type or storage class
video-drivers/x11.h:60: error: parse error before '*' token
video-drivers/x11.c: In function `sysdep_init':
video-drivers/x11.c:95: warning: implicit declaration of function `XOpenDisplay'
video-drivers/x11.c:95: warning: assignment makes pointer from integer without a
cast
video-drivers/x11.c: In function `sysdep_close':
video-drivers/x11.c:119: warning: implicit declaration of function `XCloseDispla
y'
video-drivers/x11.c: In function `x11_init_palette_info':
video-drivers/x11.c:164: error: request for member `class' in something not a st                                           ructure or union
video-drivers/x11.c:164: error: `PseudoColor' undeclared (first use in this func                                           tion)
video-drivers/x11.c:164: error: (Each undeclared identifier is reported only onc                                           e
video-drivers/x11.c:164: error: for each function it appears in.)
video-drivers/x11.c:173: error: request for member `class' in something not a st                                           ructure or union
video-drivers/x11.c:173: error: `TrueColor' undeclared (first use in this functi                                           on)
video-drivers/x11.c:189: error: request for member `red_mask' in something not a                                            structure or union
video-drivers/x11.c:190: error: request for member `green_mask' in something not                                            a structure or union
video-drivers/x11.c:191: error: request for member `blue_mask' in something not                                            a structure or union
make[2]: *** [../../xmame.obj/unix.x11/video-drivers/x11.o] Error 1
make[2]: Leaving directory `/home/chris/Documents/xmame-0.81.1/src/unix'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/chris/Documents/xmame-0.81.1/src/unix'
make: *** [xmame.obj/unix.x11/osdepend.a] Error 2


what do you think

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #22 on: April 20, 2004, 08:44:17 pm »
You need libxfree86-devel.  Search for libx and you should find it in rpmdrake.

You'll also need zlib1-devel or something similar.  Search for zlib.

By the way, just to warn you, there will probably be some more that you'll need before we're through.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #23 on: April 20, 2004, 09:01:04 pm »
ok thanks alot jerry, you have been extremely helpful and i appreciate you taking the time to reply to my posts. Il go ahead and get those and see what happens.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #24 on: April 20, 2004, 09:20:18 pm »
ok, installed libx but couldnt find zlib (think it may already be installed) and than i went and tried make command again and it seem like it worked, only thing suspicious that came up was this.



src/chdman.c: In function `do_diff':
src/chdman.c:1476: warning: `parentfile' might be used uninitialized in this fun                                           ction
src/chdman.c:1476: warning: `inputfile' might be used uninitialized in this func                                           tion
src/chdman.c:1476: warning: `outputfile' might be used uninitialized in this fun                                           ction
Compiling src/chdcd.c ...
Linking chdman...

so than i went to try and make install just out of curiosity and came up with this

[chris@localhost xmame-0.81.1]$ make install
installing binaries under /usr/local/bin...
/usr/bin/install -d    -o root -g bin -m  755 /usr/local/bin
/usr/bin/install: cannot change owner and/or group of `/usr/local/bin': Operation not permitted
/usr/bin/install: cannot change permissions of `/usr/local/bin': Operation not permitted
make: [doinstall] Error 1 (ignored)
/usr/bin/install -c -s -o root -g bin -m  555 xmame.x11 /usr/local/bin
/usr/bin/install: cannot create regular file `/usr/local/bin/xmame.x11': Permission denied
make: *** [doinstall] Error 1
[chris@localhost xmame-0.81.1]$




jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #25 on: April 20, 2004, 09:29:12 pm »
Sweet!  Warnings are Ok.  It's errors that are bad.

The reason you can't "make install" is because the user Chris doesn't have permissions to alter the directories that are supposed to be shared by all of the users on your Linux computer.  This is good, because it prevents you from erasing ALL of the files on your computer with a simple command.  For example, if you had full permissions on the system and you typed, "rm / -R --force", that says to erase EVERYTHING.

What you need to do is login as root in order to install stuff.  At the command prompt, type:
$su

it will then prompt you for the root password.  Now you should be able to "make install".

By the way, thank you for being patient!  I was afraid I would have scared you off by now!  I'd say that compiling Mame is a relatively advanced task as an intro to Linux, so congratulations (assuming that it will work now)!

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #26 on: April 21, 2004, 08:46:04 am »
awesome thanks alot jerry, Im off to classes in about 10 minutes so i will give it a shot when i get back,. You have been of tremendous help and I should be thanking YOU for you patience in dealing with a linux noob such as myself. Thanks alot man.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re:Which OS...
« Reply #27 on: April 21, 2004, 09:02:57 am »
Heh...I got 1/2way thru this thread and realized he was doing this as a user.  He might want to try compiling it as root as well.  I've had difficulties using a user to compile before, but doing it as root cleared that problem up.

Just make sure you don't do anything else as root.  You  might bork your system.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #28 on: April 21, 2004, 04:06:53 pm »
ok the make install was successful, and than it told me to make a .xmame sub directory in my home folder.  i did this but is it supposed to show up as an invisible folder. So then i went to this step "From the top of the source tree, copy the file doc/xmamerc.dist to the ${HOME}/.xmame/ directory.". And i think it copied successfully when i used the cp command but i do not seen any file in the .xmame directory. It didnt give me any errors or anything so i think it worked but not to sure. Then i got lost at this step again.

# Make sure your ROM images are installed.
# Start the X-Window System. (Unless you compiled for a different display method in which case you skip this step.)
# Start xmame/xmess. For example:

/usr/games/xmame.x11 dkong
 


I looked up the x-window system and found that the command to start it was startx and i did that but got this message...

[chris@localhost chris]$ startx
Using authority file /home/chris/.Xauthority
Writing authority file /home/chris/.Xauthority

Fatal server error:
Server is already active for display 0
       If this server is no longer running, remove /tmp/.X0-lock
       and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

I have installed xfree86 through rpmdrake so thats not the problem. What do you think





Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #29 on: April 21, 2004, 05:34:50 pm »
also how would i go about mounting my ipod in linux so i can copy my rom files onto the computer because that would be the easiest/fastest way to do it. i went to the hardware config and linux recognizes the ipod but i dont know how to browse the folders on it. Is there a linux type of  "my computer" where i can browse through my drives and such?

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #30 on: April 21, 2004, 06:40:00 pm »
"From the top of the source tree, copy the file doc/xmamerc.dist to the ${HOME}/.xmame/ directory.". And i think it copied successfully when i used the cp command but i do not seen any file in the .xmame directory.
If you copied it properly, you should be able to see it in the .xmame directory.  Also note that I never bothered to do that step, I think xmame MIGHT do it automatically when it is run for the first time.

Quote
# Start the X-Window System. (Unless you compiled for a different display method in which case you skip this step.)

I looked up the x-window system and found that the command to start it was startx and i did that but got this message...

[chris@localhost chris]$ startx
Using authority file /home/chris/.Xauthority
Writing authority file /home/chris/.Xauthority

Fatal server error:
Server is already active for display 0
       If this server is no longer running, remove /tmp/.X0-lock
       and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
Please report problems to xfree86@xfree86.org.

I have installed xfree86 through rpmdrake so thats not the problem. What do you think

Ha ha.  For people who boot the computer to a console (black and white, text only, no windows or graphic user interface - like booting into DOS mode), you would run "startx" to start Gnome, KDE, or whatever X desktop manager you have installed.  It sounds to me like you are trying to run "startx", but you're already in X, so you don't need to start X.  Skip that step.

Quote
also how would i go about mounting my ipod in linux so i can copy my rom files onto the computer because that would be the easiest/fastest way to do it. i went to the hardware config and linux recognizes the ipod but i dont know how to browse the folders on it. Is there a linux type of  "my computer" where i can browse through my drives and such?

Hmmm.  It's possible that Mandrake automatically cofigures it when you plug it in.  You will usually find mounted disks in the "/mnt/" folder.  If you list the contents of that directory, you might see something like:

cdrom/
floppy/

If you're lucky, there will be a folder for your ipod as well, but I wouldn't count on it.  If you don't have one, you will have to mount the drive yourself.  You must log in as root in order to mount a drive.  I have a USB hard drive and also a USB camera.  After I plug the camera in I can mount it with the following commands:

$mkdir /mnt/camera
$mount /dev/sda1 /mnt/camera

Then I can browse the contents of /mnt/camera.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #31 on: April 21, 2004, 07:01:23 pm »
haha sorry about that startx stuff, was just going by the install guide, hehehe ::)

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #32 on: April 21, 2004, 07:08:11 pm »
this is where i am right now in the install guide, but not sure what to do


15. From the top of the source tree, copy the file doc/xmamerc.dist to the ${HOME}/.xmame/ directory. (For xmess do this for xmessrc)
16. If desired, copy xmamerc.dist to the global xmamerc location as "xmamerc" (for xmess, copy xmamerc.dist to xmessrc). The global xmamerc location is defined in the Makefile.
17. Edit ${HOME}/.xmame/xmamerc to match your preferences. (For xmess, edit ${HOME}/.xmess/xmessrc)
18. Be sure that the DISPLAY and PATH environment variables are set correctly.
19. Make sure your ROM images are installed.
20 Start the X-Window System. (Unless you compiled for a different display method in which case you skip this step.)
21. Start xmame/xmess. For example:

/usr/games/xmame.x11 dkong


not sure really what to do, i tried typing the usr command in a terminal window but it did nothing told me it does not exist, not sure what i am supposed to do
 


Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #33 on: April 21, 2004, 07:48:28 pm »
well i got the ipod to mount easily, just went through the control center mount points, and then selected partitions. Saw the ipod there under sda, and it was simple as pointing it where i wanted to mount it nice. I actually figured something out on my own!!! yay!!  ;D

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #34 on: April 21, 2004, 08:03:35 pm »
List the directory contents /usr/games/.  Do you see xmame.x11?  If you do then your command should work.  Note that Linux is case-sensitive, so if the file is named xmame.X11 then running xmame.x11 will not work.

-------------

Here's something you can try if there is no xmame in the /usr/games/ directory.

Change directory to the top-level xmame source directory.  Is xmame.x11 in that directory?  From there you should be able to run xmame with the following command:

$./xmame.x11 dkong

The single period says to look for the command in the current directory.  In Linux the current directory is not a part the path that is checked for system commands so you must specify it.  In other words,

$xmame.x11 dkong

will not run xmame.X11.

-------------

By the way, when you do find xmame.x11 I would copy it into /usr/bin.  This way it will be a part of your path for system commands, and from anywhere you will be able to run:

$xmame.x11

without specifying the full path.

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #35 on: April 21, 2004, 09:02:47 pm »
well i tried going to the directory where the xmame.x11 file is and i ran the command you told me and this is what came up.


[chris@localhost xmame-0.81.1]$ ./xmame.x11 dkong
info: trying to parse: /usr/local/share/xmame/xmamerc
info: trying to parse: /home/chris/.xmame/xmamerc
info: trying to parse: /usr/local/share/xmame/xmame-x11rc
info: trying to parse: /home/chris/.xmame/xmame-x11rc
info: trying to parse: /usr/local/share/xmame/rc/dkongrc
info: trying to parse: /home/chris/.xmame/rc/dkongrc
Mouse/Trakball selected.
loading rom 0: c_5et_g.bin
loading rom 1: c_5ct_g.bin
loading rom 2: c_5bt_g.bin
loading rom 3: c_5at_g.bin
loading rom 4: s_3i_b.bin
loading rom 5: s_3j_b.bin
loading rom 6: v_5h_b.bin
loading rom 7: v_3pt.bin
loading rom 8: l_4m_b.bin
loading rom 9: l_4n_b.bin
loading rom 10: l_4r_b.bin
loading rom 11: l_4s_b.bin
loading rom 12: c-2k.bpr
loading rom 13: c-2j.bpr
loading rom 14: v-5e.bpr
done
c_5et_g.bin  NOT FOUND
c_5ct_g.bin  NOT FOUND
c_5bt_g.bin  NOT FOUND
c_5at_g.bin  NOT FOUND
s_3i_b.bin   NOT FOUND
s_3j_b.bin   NOT FOUND
v_5h_b.bin   NOT FOUND
v_3pt.bin    NOT FOUND
l_4m_b.bin   NOT FOUND
l_4n_b.bin   NOT FOUND
l_4r_b.bin   NOT FOUND
l_4s_b.bin   NOT FOUND
c-2k.bpr     NOT FOUND
c-2j.bpr     NOT FOUND
v-5e.bpr     NOT FOUND
ERROR: required files are missing, the game cannot be run.


what do you think? I pointed the distr file to my rom folder so i dont think that is the problem



jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #36 on: April 21, 2004, 09:12:47 pm »
First, login as root and copy your working xmame.x11 file to /usr/bin.
cd to the right directory, and
$cp xmame.x11 /usr/bin

Next, Mame cannot find the rom.  Try using the full path to the rom file (not logged in as root anymore).  For example, if your dkong.zip rom file is in your home directory under "emu/xmame/roms/", try

$xmame.x11 /home/chris/emu/xmame/roms/dkong.zip

(Notice that I even include the ".zip").

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #37 on: April 21, 2004, 09:29:12 pm »
did that and i am still getting the same message.



I might add though that the folder in which the xmame.x11 file is in the the original xmame-.081 folder. The files never moved to the .xmame folder that i was supposed to make at the top of the home directory. Could this be a problem. I dont know if i screwed up a step but that was the only place i could find the xmame.x11 file.

jerryjanis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 821
  • Last login:February 02, 2023, 01:56:44 am
  • Skate or Die!!!
    • Jake's Joystick
Re:Which OS...
« Reply #38 on: April 21, 2004, 11:52:16 pm »
My guess is that your romset isn't up-to-date with the latest version of Mame.  The roms change fairly regularly, which makes them incompatible with different versions.  If I have a romset for Mame 0.71, it's not a good idea for me to upgrade to a newer version of Mame unless I have the romset for the new version of Mame because some of the roms will not work.  There are supposedly programs that help "fix" roms, but I have never used one, I just either don't change which version of Mame I'm using, or use roms from a newer romset.

When I run the following command to list the contents of my dkong.zip rom file, here is the output:

[jstookey@localhost roms]$ unzip -l dkong.zip
Archive:  dkong.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
      256  07-07-01 12:00   c-2j.bpr
      256  07-07-01 12:00   c-2k.bpr
     4096  01-17-96 15:07   c_5at_g.bin
     4096  01-17-96 15:08   c_5bt_g.bin
     4096  01-17-96 15:08   c_5ct_g.bin
     4096  01-17-96 15:09   c_5et_g.bin
     2048  01-17-96 15:03   l_4m_b.bin
     2048  01-17-96 15:03   l_4n_b.bin
     2048  01-17-96 15:04   l_4r_b.bin
     2048  01-17-96 15:05   l_4s_b.bin
     2048  01-17-96 15:00   s_3i_b.bin
     2048  01-17-96 15:01   s_3j_b.bin
      256  07-07-01 12:00   v-5e.bpr
     2048  01-17-96 15:06   v_3pt.bin
     2048  01-17-96 15:05   v_5h_b.bin
 --------                   -------
    33536                   15 files

It looks like a good match to the files that your Mame is looking for:

loading rom 0: c_5et_g.bin
loading rom 1: c_5ct_g.bin
loading rom 2: c_5bt_g.bin
loading rom 3: c_5at_g.bin
loading rom 4: s_3i_b.bin
loading rom 5: s_3j_b.bin
loading rom 6: v_5h_b.bin
loading rom 7: v_3pt.bin
loading rom 8: l_4m_b.bin
loading rom 9: l_4n_b.bin
loading rom 10: l_4r_b.bin
loading rom 11: l_4s_b.bin
loading rom 12: c-2k.bpr
loading rom 13: c-2j.bpr
loading rom 14: v-5e.bpr




When I downloaded the first dkong.zip mame rom I could find on the net, it was dated 25-Feb-1998 00:00, and its zip contents were the  following:

[jstookey@localhost roms]$ unzip -l old/dkong.zip
Archive:  old/dkong.zip
  Length     Date   Time    Name
 --------    ----   ----    ----
     2048  01-17-96 15:01   DK.3F
     2048  01-17-96 15:00   DK.3H
     2048  01-17-96 15:05   DK.3N
     2048  01-17-96 15:06   DK.3P
     4096  01-17-96 15:07   DK.5A
     4096  01-17-96 15:08   DK.5B
     4096  01-17-96 15:08   DK.5C
     4096  01-17-96 15:09   DK.5E
     2048  01-17-96 15:03   DK.7C
     2048  01-17-96 15:03   DK.7D
     2048  01-17-96 15:04   DK.7E
     2048  01-17-96 15:05   DK.7F
 --------                   -------
    32768                   12 files


That's no good!  Check your rom and make sure you've got the right one.  If it's not, then try a different game to make sure that your setup is working, then find some newer roms (or install an older version of Mame to match your romset).

Truz

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:February 23, 2009, 12:03:01 pm
Re:Which OS...
« Reply #39 on: April 22, 2004, 07:18:44 am »
hmm thats weird, these roms were taken from my windows pc where i run them in the newest version of mame without any problems. I will check the contents of the roms and see if that really is the problem.