LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 05-06-2005, 04:59 PM   #1
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Rep: Reputation: 15
Question Recompiling XMAME for Joystick Support


Hi,

I've been playing various games on xmame for a while now and finally broke down and got a joystick. Since I previously used only the keyboard, I originally compiled xmame without joystick support.

Following the directions in the xmame Makefile, I've uncommented the joystick parm in the Makefile (JOY_STANDARD = 1), and run the make.

However, it doesn't look like I'm able to enable the joystick support because when I run xmame, I still get the error message that joytype 1 (standard) is not available. I don't think I've done everything I need to do, but I can't find anything else explicitly listing the steps to enable joystick support in xmame.

Does anyone have experience with this same error or have an idea what I'm doing wrong or missing?

I actually don't have any other apps to use the joystick with, so to make sure it's working and recognized, I've cat-ed it's output to the terminal and it seems to be fine as far as that test goes.

Thanks for any help.
 
Old 05-10-2005, 08:57 PM   #2
nwhite
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Slackware 10.0, 2.6.9 Custom Kernel
Posts: 23

Rep: Reputation: 15
It's strange, I had the same problem.

I changed the display driver from X11 to SDL though and then it all magically worked (using the standard joystick drivers, not the SDL ones). I also got close to double the frame rate using SDL rather than X11 with OpenGL, so if you have the libraries I'd recommend you do that.

-Nick
 
Old 05-10-2005, 09:46 PM   #3
CooManChu
Member
 
Registered: Dec 2004
Location: Chicago, IL
Distribution: Ubuntu 10
Posts: 46

Original Poster
Rep: Reputation: 15
Thanks - what was happening was that I wasn't executing my newly built executable. After I built the new executable, I didn't run "make install" to move it into my /usr/local/bin where it could be picked up by my path.

Dumb mistake, but thanks for replying anyway with some help.

Scott
 
  


Reply



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
xmame wont read USB Joystick madskillz Linux - Games 9 07-19-2004 10:16 AM
Problems recompiling Xmame? mrwriter Linux - Software 0 05-04-2004 09:54 PM
Joystick support ? qwijibow Linux - Hardware 3 08-10-2003 04:00 PM
Getting joystick support cmckay Linux - Hardware 1 05-19-2003 03:54 AM
Recompiling RH 7.1 to disable DMA support - chipset doesn't support properly arby73 Linux - Newbie 0 06-13-2001 10:17 AM

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

All times are GMT -5. The time now is 11:24 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