LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories
User Name
Password
LinuxQuestions.org Member Success Stories Just spent four hours configuring your favorite program? Just figured out a Linux problem that has been stumping you for months?
Post your Linux Success Stories here.

Notices


Reply
  Search this Thread
Old 07-01-2014, 01:28 AM   #1
s.verma
Member
 
Registered: Oct 2013
Distribution: Debian Sid, Gentoo, Arch, Debian
Posts: 186
Blog Entries: 4

Rep: Reputation: 25
Mupen64plus plugin is changed to play Goldeneye flawlessly


I have been using Mupen64plus Nintendo 64 Emulator to play some good N64 games.
I liked Goldeneye First person shooter game very much. But in N64 console emulation of analogue joystick, I used my laptop touchpad, but it was not working properly.
Whenever I tried to focus crosswire/crosshair to target using touchpad, it just used to return to it's original location.
This was due to the obvious fact that in using actual N64 controller, the analogue stick is springy. We have to keep pressing analogue stick e.g. let say right to keep crosshair/crosswire right. If thumb is removed from stick, then the analogue stick returns to it's origin/centre position.
But the mouse/touchpad is not like that. If we take mouse to the right and leave it there, it doesn't return to it's previous position automatically. (Obviously no spring is attached to our mice.)
The problem with plugin was that it was used to emulate analogue stick, so it automatically resets pointer to center without moving mice back. Hence only one way emulation with mice/touchpads was possible, where we can not hold the pointer/crosswire to a position.
Hence something needs to be changed. So I first check out internet to find whether there is any solution, I got names of some plugins but I found none for Linux except the default provided with Mupen64plus.
So I decided to look into source code of default plugin mupen64plus-input-sdl.so and changed it such that input plugin don't reset x,y axis to center, hence now the crosshair/crosswire doesn't return to original position unless Left Alt key is pressed.

Although there have been a drawback of doing this. After doing this, I am more indulged in playing Goldeneye which caused me a minor nausea. (You know the fps, when you try to focus crosshair/crosswire, it oscillated slightly to give realistic effect of shooting, where a person can not exactly point the gun to desired point.)
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Let's Play: Mupen64Plus LXer Syndicated Linux News 0 02-09-2012 11:51 AM
VLC 1.0.6 Goldeneye error in Ubuntu 10.04 Lucid Lynx linustalman Linux - Software 2 07-20-2011 02:10 AM
Mupen64plus won't play games xmrkite Linux - Games 5 11-10-2009 10:56 AM
Suitable sound plugin for mupen64plus (N64 emulator) ixhabbaba Linux - Software 0 04-29-2009 10:00 AM
DVD won't play after installing all required lib and changed DMA matthias49 Linux - Software 3 12-28-2004 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxQuestions.org Member Success Stories

All times are GMT -5. The time now is 12:08 AM.

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