The sourceforge page links to another page to download the source who's download link links back to sourceforge.
Would some please compile this to work on Ubuntu 7.10 - the Gutsy Gibbon (64 bit edition)
Ubuntu 8.04 Hardy Heron (AMD64)
Compaq Presario F756NR
EDIT: Oh, duh, this thread is from March. No wonder I was confused.
@braveerudite - I can compile it for you, I gotta reboot though.
Last edited by dfreer; November 29th, 2007 at 05:34 AM.
Really though, all you needed to do to compile this was to grab the two source code packages (one's the official source code from nestopia's site, and the other is linux specific code from here: http://rbelmont.mameworld.info/?page_id=200 ). Then you extract the two packages into the same new folder, open up a terminal, change to that new folder and type "make". It'll create a executable called "nst" in that new folder.
That's what I've done here, so if you just download the above file from me, all you will need to do is:
(1) uncompress the file
(2) Create the folder ~/.nestopia/
(3) move the files called "nstcontrols" and "NstDatabase.dat" into the ~/.nestopia/ folder
(4) Run nst!
I'm also mirroring the Nestopia source files and Linux source overlay on my site:
Last edited by dfreer; March 9th, 2008 at 03:28 PM. Reason: corrected the links
Here, I can give you step by step instructions, literally just open up the terminal (Accessories > Terminal), and copy + paste the following commands one at a time.
If that works, you should be able to launch nestopia by double-clicking the nst file in your home folder, in the nestopia directory.Code:cd ~/ wget -c http://www.dfreer.org/dfreer/nestopia/nestopia_1.37.tar.gz tar xvf nestopia_1.37.tar.gz cd nestopia/ mkdir ~/.nestopia cp nstcontrols ~/.nestopia/ cp NstDatabase.dat ~/.nestopia/ ./nst
I might be willing to create a .deb in the future, but there's really no point right now. Mainly, because it seems like there is no way to use an USB controller and map the keys. There is the ~/.nestopia/nstcontrols file, but AFAIK there's no way to translate the gamepad key presses into NES buttons. Here's the nstcontrols file:
As for the above instructions, it's really simple. Creating a .deb won't help anyways, because I can't create the folder in your home directory anyways without a bash script of some sort.Code:; ; NEStopia Linux controls file ; ; First column cannot be changed or you'll break the emulator ; Second column is the key for the first column, or one of these special names: ; ; _ENTER, _LCTRL, _RCTRL, _LALT, _RALT, _SPACE, _LSHIFT, _RSHIFT, _TAB ; _UP, _DOWN, _LEFT, _RIGHT, _KPENTER, _KP0, _KP1, _KP2, _KP3, _KP4, _KP5, _KP6, ; _KP7, _KP8, _KP9, _KPDOT, _KPSLASH, _KPSTAR, _KPMINUS, _KPPLUS (use __ to bind the actual _) ; ; Third column maps joypads: ; _JxAyPLUS = joystick #x axis #y positive direction ; _JxAyMINUS = joystick #x axis #y negative direction ; _JxBy = joystick #x button #y pressed ; ; Some keys are special: ; ESC always exits ; ALT-ENTER always toggles screen modes ; ; player 1 ; default joypad values are for a PlayStation 2 controller via an EMS USB adaptor ; P1UP _UP _J0A1MINUS P1DN _DOWN _J0A1PLUS P1LT _LEFT _J0A0MINUS P1RT _RIGHT _J0A0PLUS P1A z _J0B2 P1B x _J0B3 P1START _ENTER _J0B9 P1SELECT _SPACE _J0B8 ; player 2 P2UP _KP8 _J1A1MINUS P2DN _KP2 _J1A1PLUS P2LT _KP4 _J1A0MINUS P2RT _KP6 _J1A0PLUS P2A _KPSLASH _J1B2 P2B _KPSTAR _J1B3 P2START _KPENTER _J1B9 P2SELECT _KPPLUS _J1B8 ; end of file
Hi, dfreer, and thank you so much for posting the source code and instructions for installation. When I try to execute the nst, I get a "cannot execute binary file". From googling I can see that this is a pretty common error, but I'd like to see if you can figure out what would cause this specifically related to Nestopia. Any ideas? Thanks again for your time!
Hmmm... not sure strAlan. Did you compile the program yourself, or did you use the binary I compiled for braveerudite? It's probably best to compile the program yourself if you are having problems with it not executing.
Beyond that, I'm not entire sure what the problem would be, since I didn't get the error myself . Did you make sure the file is executable (permissions set to 755)? Also, I see you already posted an error message, but if you didn't try launching nst from the terminal, do so now because it might give you some more error information (I'm not sure whether your error came from the GUI or from terminal).