Page 1 of 8 123 ... LastLast
Results 1 to 10 of 75

Thread: Nestopia for Linux!

  1. #1
    Join Date
    Nov 2006
    Beans
    Hidden!

    Nestopia for Linux!

    The newest GUI versions have been released. You can get the latest patch here.

    You'll also need the main source to compile.

    Now we won't hear any complaints about "there's no good NES emulator for GNU/Linux outta here..."


  2. #2
    Join Date
    Apr 2007
    Location
    #ubuntu-us-ny
    Beans
    2,150
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nestopia for Linux!

    The sourceforge page links to another page to download the source who's download link links back to sourceforge.

  3. #3
    Join Date
    Apr 2005
    Location
    Arecibo, Puerto Rico
    Beans
    211
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Question Re: Nestopia for Linux!

    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

  4. #4
    Join Date
    Jan 2006
    Beans
    2,031
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Nestopia for Linux!

    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.

  5. #5
    Join Date
    Apr 2005
    Location
    Arecibo, Puerto Rico
    Beans
    211
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Wink Re: Nestopia for Linux!

    Quote Originally Posted by dfreer View Post
    EDIT: Oh, duh, this thread is from March. No wonder I was confused.

    @braveerudite - I can compile it for you, I gotta reboot though.
    That would be very nice of you. Thank you so much , I'll check back tomorrow.
    Ubuntu 8.04 Hardy Heron (AMD64)
    Compaq Presario F756NR

  6. #6
    Join Date
    Jan 2006
    Beans
    2,031
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Nestopia for Linux!

    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.

    http://www.dfreer.org:8080/dfreer/ne...ia_1.37.tar.gz

    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:
    http://www.dfreer.org:8080/dfreer/ne...a_1.37_src.zip
    http://www.dfreer.org:8080/dfreer/ne...5_linuxsrc.zip
    Last edited by dfreer; March 9th, 2008 at 03:28 PM. Reason: corrected the links

  7. #7
    Join Date
    Apr 2005
    Location
    Arecibo, Puerto Rico
    Beans
    211
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Exclamation Re: Nestopia for Linux!

    Quote Originally Posted by dfreer View Post
    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.

    http://www.dfreer.org/dfreer/nestopi...ia_1.37.tar.gz

    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:
    http://www.dfreer.org/dfreer/nestopi...a_1.37_src.zip
    http://www.dfreer.org/dfreer/nestopi...5_linuxsrc.zip
    Thank you but all that sounds to complicated for me at this point. Why not just release a .deb file? Thank you for your time.
    Ubuntu 8.04 Hardy Heron (AMD64)
    Compaq Presario F756NR

  8. #8
    Join Date
    Jan 2006
    Beans
    2,031
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Nestopia for Linux!

    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.
    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
    If that works, you should be able to launch nestopia by double-clicking the nst file in your home folder, in the nestopia directory.





    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:
    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
    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.

  9. #9
    Join Date
    Apr 2007
    Location
    #ubuntu-us-ny
    Beans
    2,150
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Nestopia for Linux!

    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!

  10. #10
    Join Date
    Jan 2006
    Beans
    2,031
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: Nestopia for Linux!

    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).

Page 1 of 8 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •