maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   How To: Nintendo 64 Emu for N900 <Now in Extras-Devel> (https://talk.maemo.org/showthread.php?t=57647)

cfh11 2010-09-02 18:15

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
I know I've posted this before, but for those having problems with Zelda oot just download the ntsc version. Works fine and it quite playable at 1 ghz (WITH sound!)

cfh11 2010-09-02 18:18

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by xxxxts (Post 805379)
No one has a safe resolution to the update issue? Can anyone at lest explain why this is happening - will it be fixed in future updates?

What is the "update issue"?

xxxxts 2010-09-02 19:21

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by cfh11 (Post 805494)
What is the "update issue"?

libsdl-ttf2.0 dependencies. It's been brought up numerous times in this thread but I have not seen a safe fix for it.

cfh11 2010-09-02 19:41

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by vStone (Post 777400)
The problem seems to be caused because apt tries to install both libsdl-ttf2.0-0 and libsdl-ttf2.0.

I resolved this by force removing the installed libsdl-ttf2 version:

Code:

$ dpkg --force-all -r libsdl-ttf2.0-0
Afterward running apt-get install -f resolved the issue and installed both packages without problems. (logic? no clue.)

This appears to be the consensus fix for it.... not sure if this qualifies as "safe" though. It appears harmless enough, but I am no expert when it comes to CLI commands.

luiscesjr 2010-09-02 20:11

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by xxxxts (Post 805577)
libsdl-ttf2.0 dependencies. It's been brought up numerous times in this thread but I have not seen a safe fix for it.

http://talk.maemo.org/showthread.php...809#post785809

devensega 2010-09-02 21:34

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by cfh11 (Post 805490)
I know I've posted this before, but for those having problems with Zelda oot just download the ntsc version. Works fine and it quite playable at 1 ghz (WITH sound!)

And you can play from a save game?

cfh11 2010-09-02 22:44

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Yep, copied my saves over from the previous CLI version.

EDIT: forgot to mention, I am using the version from the first post, not the newer upstream release.

evankwh 2010-09-03 16:21

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by cfh11 (Post 805730)
Yep, copied my saves over from the previous CLI version.

EDIT: forgot to mention, I am using the version from the first post, not the newer upstream release.

How fast would you say its runs percentage wise.
Cause honestly this is an awesome gamed

oweng 2010-09-05 22:42

Install screw-up
 
I know I must have done something I shouldn't have in root because i just can't get this to work...

Always get the message 'No graphics plugin selected! Do you want to select one'

Btw I have searched and followed many a reply here but to no avail yet. Sorry for posting such an obvious question

I can't seem to be able to select gles2n64
Only get 'no video' in plugin menu.

:confused:


Quote:

Originally Posted by IzzehO (Post 738673)
New Update: July 11th Please Read:
The GTK GUI has been recompiled and re-adjusted to run on the N900 by javispedro, and he has kindly added it to the repos. There are several issues with it... however for basic tasks it is stable enough. If you have stability issues with this version, you can still run it from the command line as before... just add a --nogui to the line. It is running the same version I have had posted in this thread as they are both simply ports of the current version being worked on for the Pandora.

Note: This is a development application and neither myself, javis... or the homeless guy on the corner... is responsible if you break your phone. That aside we'll be happy to help if something does happen.

The original intention of this thread was a guide to getting a command line, older, version of the emulator running on the N900... but is now obsolete... so I have reworked it with optimized settings and configuration files to enable faster emulation and better default controls. This should add support for the PS3 controller, as well as rudimentary explanation for getting Accelerometer gameplay (very fun with F-Zero X or Mario Kart 64... and do-able with Super Mario 64 and other RPGs :P)
I did not design any part of this emulator, all development is being done for the Pandora, only thing that has been changed is slight modifications to the GUI along with a recompile to run under Maemo by javispedro. Once again... me nothing... Pandora everything... javispedro recompile with GUI. Do not bother to report bugs here unless you are certain they are Maemo specific... and if you don't bother to read these first 2 pages do not bother to post as I will no longer be answering stupid questions.

If you are updating to this version from my old command line versions, please issue the following in xterminal before installing:
Code:

# This will also remove saves and screenshots, please read below if you want to save them.
rm -R .mupen64plus

To keep save states:
Code:

cp -R .mupen64plus/save .
rm -R .mupen64plus
mv save .mupen64plus/

http://www.youtube.com/watch?v=eEDi0hHKxf8
http://i2.ytimg.com/vi/eEDi0hHKxf8/hqdefault.jpg

On to the optimized settings and configs.
Currently, I've added settings for exiting the emulator with Q, enabled frameskip, disabled framebuffer and increased the resolution (This removes jagged edges and fixes a lot of issues with 2D images). I've also got my own keyboard configuration with keys already mapped for both keyboard and PS3 controller.

To install my config files, you can either install mupen64plus from Extras-Devel before or after these steps... it really shouldn't matter.

Now download the following file from the phone and save to your main directory:
Custom Config

Open up a terminal and issue the following:
Code:

mkdir .mupen64plus                (If you haven't run mupen64plus GUI yet)
cd .mupen64plus
tar zxf /home/user/MyDocs/customconfig.tar.gz

Your done! Start the emulator.

Keyboard map is below:
z = R
x = A
c = B
v = L
Space = Z
Enter = Start
Arrow Keys = Dpad
IJKL = Joystick
TFGH = C buttons
q = Quit the emulator
p = Pause the emulator

Also of note:
Frameskip is set to 2.
Framebuffer is disabled and resolution is 800x480
Memory Pak is enabled
Audio is disabled as it sounds terrible.

__________________________________________________ ___

For PS3 Sixaxis Support
Simply open the Input Settings (After syncing the PS3 controller as per Smoku's instruction) and tap the bar at the top of the screen (It'll say Keyboard or None) until PS3 Controller shows up.

http://i26.tinypic.com/15x89u.jpg

The issue at the moment is this may make ugly things happen as Smoku's application also causes the buttons on the controller to emulator Key Presses, this can be resolved as follows (need rootsh installed):

Code:

root
cd /usr/share/hal/fdi/policy/20thirdparty/
mv 20-x11-sony-sixaxis.fdi 20-x11-sony-sixaxis.fdi.bak

Note that this will stop keyboard buttons working for the PS3 controller, to change it back just do the reverse:

Code:

# To change back to work with other programs
root
cd /usr/share/hal/fdi/policy/20thirdparty/
mv 20-x11-sony-sixaxis.fdi.bak 20-x11-sony-sixaxis.fdi

I'd generally recommend against changing individual buttons in this release as the input plugin detects the first button push when trying... and with the sensitivity of accelerometer, it will detect the "joystick" moving first every time... and you will end up with axis' assigned to buttons: This becomes even more difficult given the way to erase this is to press a button that is not available on the N900 keyboard (delete).

For multiple controller support a very nice guide has been written up here thanks to jschan:
http://talk.maemo.org/showpost.php?p...&postcount=811

Key Map:
Left Joystick = Joystick
Dpad = Dpad
Right Joystick = C Buttons
X = A
[] = B
O = C Down
/\ = C Left
Start = Start
L1 = Z
R1 = R
R2 = L

________________________________________________

To get accelerometer support
Install Accelemymote from extras-devel repository. Once installed, restart the phone. Open Accelemymote from the menu and then start mupen64plus. In the Input Settings configuration you'll need to tap the Keyboard button at the top (it may say None as well.. its at the top, dead-center of the screen) until Accelemymote shows up (See the image above for PS3 instruction..

This now means the joystick input will be accepted from the accelerometer.

I'd generally recommend against changing individual buttons in this release as the input plugin detects the first button push when trying... and with the sensitivity of accelerometer, it will detect the "joystick" moving first every time... and you will end up with axis' assigned to buttons: This becomes even more difficult given the way to erase this is to press a button that is not available on the N900 keyboard (delete).

http://www.youtube.com/watch?v=DKtUY-PPJEs
http://i1.ytimg.com/vi/DKtUY-PPJEs/hqdefault.jpg

TROUBLESHOOT


Some additions of my own:
  • I receive XXXX error
    If you recieve unresolvable errors: Read what they tell you and think. If that still doesn't work, uninstall and reinstall with the following commands (rootsh is needed):
    Code:

    root
    dpkg --purge mupen64plus-arm-gui mupen64plus-arm mupen64plus-arm-gles2n64
    apt-get install mupen64plus-arm-gui mupen64plus-arm mupen64plus-arm-gles2n64

  • SIGSEV type error:
    Close the GUI and re-open. If this does not fix it either your ROM is corrupted (grab a new one from elsewhere) or the game simply does not run.


hiique 2010-09-06 03:31

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
"I'd generally recommend against changing individual buttons in this release as the input plugin detects the first button push when trying... and with the sensitivity of accelerometer, it will detect the "joystick" moving first every time... and you will end up with axis' assigned to buttons: This becomes even more difficult given the way to erase this is to press a button that is not available on the N900 keyboard (delete)."

I've done this... is there a way to undo it, idk, improving a del button? i really wanna use my accelerometer in mario kart back :(
and please, if you guys could help me, make it detailed (if possible, course) cause i'm a noob in those things, and i'm brazilian btw, so my enlgish isn't the best
thanks

oweng 2010-09-06 20:36

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
So obviously I'm clueless... sorry to repeat...
I know I must have done something I shouldn't have in root because i just can't get this to work...

Always get the message 'No graphics plugin selected! Do you want to select one'

Btw I have searched and followed many a reply here but to no avail yet. Sorry for posting such an obvious question

I can't seem to be able to select gles2n64
Only get 'no video' in plugin menu.

Please help if you can.

IzzehO 2010-09-07 00:44

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by oweng (Post 808924)
So obviously I'm clueless... sorry to repeat...
I know I must have done something I shouldn't have in root because i just can't get this to work...

Always get the message 'No graphics plugin selected! Do you want to select one'

Btw I have searched and followed many a reply here but to no avail yet. Sorry for posting such an obvious question

I can't seem to be able to select gles2n64
Only get 'no video' in plugin menu.

Please help if you can.

Why were you in root at all? Have you installed my config files?

Quote:

Originally Posted by hiique (Post 808306)
"I'd generally recommend against changing individual buttons in this release as the input plugin detects the first button push when trying... and with the sensitivity of accelerometer, it will detect the "joystick" moving first every time... and you will end up with axis' assigned to buttons: This becomes even more difficult given the way to erase this is to press a button that is not available on the N900 keyboard (delete)."

I've done this... is there a way to undo it, idk, improving a del button? i really wanna use my accelerometer in mario kart back :(
and please, if you guys could help me, make it detailed (if possible, course) cause i'm a noob in those things, and i'm brazilian btw, so my enlgish isn't the best
thanks

Go back a few pages there is detailed instructions to fix this. If you wish to start again install my config files and that will overwrite your changes. They should also work out of the box with the accelerometer.

oweng 2010-09-07 10:57

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
stupidly stayed in root after having to apt-get becuase I was having issues with the libsdl-ttf2.0

I have tried deleting the .mupen64plus folder
purging and remvoing all packages as well as reinstalling as well as running your custom config.

hmmm what have I done?



Quote:

Originally Posted by IzzehO (Post 809102)
Why were you in root at all? Have you installed my config files?



Go back a few pages there is detailed instructions to fix this. If you wish to start again install my config files and that will overwrite your changes. They should also work out of the box with the accelerometer.


oweng 2010-09-08 22:31

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
well I re-flashed and it works fine now.

Quote:

Originally Posted by oweng (Post 809411)
stupidly stayed in root after having to apt-get becuase I was having issues with the libsdl-ttf2.0

I have tried deleting the .mupen64plus folder
purging and remvoing all packages as well as reinstalling as well as running your custom config.

hmmm what have I done?


hiique 2010-09-11 16:59

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by IzzehO (Post 809102)
Why were you in root at all? Have you installed my config files?



Go back a few pages there is detailed instructions to fix this. If you wish to start again install my config files and that will overwrite your changes. They should also work out of the box with the accelerometer.

i've installed your config files and that worked! thanks, and great job you've done with this btw :)

Arif 2010-09-14 19:22

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Does anyone know how to kill mupen64 without having to reboot the device each time? I'm testing a lot of games and most of them give a black screen. When I close that screen the mupen64 screen stays frozen and won't close. I even tried killall mupen64plus in xterm, which just freezes xterm itself :D

atilla 2010-09-14 19:51

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by Arif (Post 816134)
Does anyone know how to kill mupen64 without having to reboot the device each time? I'm testing a lot of games and most of them give a black screen. When I close that screen the mupen64 screen stays frozen and won't close. I even tried killall mupen64plus in xterm, which just freezes xterm itself :D

reboot?sry never had such a problem and i've tested many games too

Arif 2010-09-14 19:54

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
For example: Yoshi's Story USA freezes the emulator where you can't kill it, but Yoshi's Story Europe works fine.

atilla 2010-09-14 19:59

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by Arif (Post 816172)
For example: Yoshi's Story USA freezes the emulator where you can't kill it, but Yoshi's Story Europe works fine.

hmm freezes are really sad.im glad that in 5 months n900 i only had one freeze.
is your device overclocked?which freq and profile are you using?
some guys have problems if using the ideal profile from titans kernel.
some have freezes and reboots after video watching or high cpu freq.

Arif 2010-09-14 20:06

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Yeah I'm overclocked with Titan's kernel. I believe I set it to 1.15.
The phone itself doesn't freeze. Its just Mupen64 freezing and not being killable even via XTerm. This makes it a time robbing job to test a lot of games :)

atilla 2010-09-14 20:25

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by Arif (Post 816182)
Yeah I'm overclocked with Titan's kernel. I believe I set it to 1.15.
The phone itself doesn't freeze. Its just Mupen64 freezing and not being killable even via XTerm. This makes it a time robbing job to test a lot of games :)

ok but dont forget that mupenplus eats a lot of cpu and ram resources.
i would turn off the overclock and try the same game that crashes another time.and if it isn't happen you know that its your ocerclock profile

RoryOMG 2010-09-16 06:10

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Hey guys, recently bought my N900; and loving it.

Few issues with Mupen 64 and in particular the rom Zelda:OOT.

My graphics plugin is (Gles2n64 v0.0.4)

The screen simply goes black whenever i try to run it, i have no idea why. Any ideas?

thanks for any help.

5spdvl 2010-09-16 10:52

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by RoryOMG (Post 817548)
Hey guys, recently bought my N900; and loving it.

Few issues with Mupen 64 and in particular the rom Zelda:OOT.

My graphics plugin is (Gles2n64 v0.0.4)

The screen simply goes black whenever i try to run it, i have no idea why. Any ideas?

thanks for any help.

I haven't been able to get TLOZ: OOT to work at all; sigseiv error after creating a file and starting the game. TLOZ: MM works fine however, about 85% speed with 1.15GHz overclock (I think; not 100% on the overclock process yet).

IINexusII 2010-09-16 13:26

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
1 Attachment(s)
Quote:

Originally Posted by RoryOMG (Post 817548)
Hey guys, recently bought my N900; and loving it.

Few issues with Mupen 64 and in particular the rom Zelda:OOT.

My graphics plugin is (Gles2n64 v0.0.4)

The screen simply goes black whenever i try to run it, i have no idea why. Any ideas?

thanks for any help.

as IzzehO stated before when i asked, but you didnt see, you will need gles2n64 0.0.3 plugin for now to get zelda working

i have it attached for you. it was taken from one of the old mupen64plus builds. extract it and place it in /usr/lib/mupen64plus and it should give you the option to use gles2n64 v0.0.3 in the plugins tab :)

nax3000 2010-09-17 18:52

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Wondering if there are any updates from the pandora devs on this.
This emulator could be perfect if it had just a 10 percent increase in performance.

Darkwolf 2010-09-20 09:58

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
So how much free space do you need if you want to install it?
Wanted to do a clean install and Application Manager reports that there isn't enough free space left.
Yet there is 200mb right there and other small apps install just fine?

Arif 2010-09-26 19:43

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
So is there any hope on an update for more games to work?
So far I only know of 3 games that work playable....

Jayboy5 2010-09-26 20:12

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by IINexusII (Post 817877)
as IzzehO stated before when i asked, but you didnt see, you will need gles2n64 0.0.3 plugin for now to get zelda working

i have it attached for you. it was taken from one of the old mupen64plus builds. extract it and place it in /usr/lib/mupen64plus and it should give you the option to use gles2n64 v0.0.3 in the plugins tab :)


Can you help me find /usr/lib/mupen64plus/ please? I am using cuteExplorer and currently have it in /home/usr/.mupen64plus, right nest to the gles2n64.conf, which I think has to do with the other video plugin right? Thanks

Arif 2010-09-26 20:42

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
You need to go to /usr and not to /home :)

LucianoBraga 2010-09-29 18:49

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Pandora received an Mupen64Plus update.
5 to 10% performance increase.

Boemien 2010-09-29 19:04

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Thanks For the Info!!

nax3000 2010-09-29 19:52

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by LucianoBraga (Post 829544)
Pandora received an Mupen64Plus update.
5 to 10% performance increase.

Awesome! Waiting for the maemo update :D

Airtux 2010-09-29 20:24

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
it"s cool! I wait for next update!

Boemien 2010-09-29 21:14

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
I wonder if The Maemo version will be updated too!

LucianoBraga 2010-09-29 22:26

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Me too.

Actually, a port of libPND would be really, really good... :)

IzzehO 2010-09-30 01:22

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by LucianoBraga (Post 829544)
Pandora received an Mupen64Plus update.
5 to 10% performance increase.

I'm not quite sure where you got your info from, but it seems very much false to me....

No mention anyway in the pandora forums, no update to the source and adventus hasn't even been online in 2 weeks.

Don't expect any updates for the next couple months guys as dev is at uni and struggling a fair bit. Once November comes I can see that changing however.

EDIT: My apologies, Ari64 has decided to come up with a mupen64 update not GLES. And has posted in the dead other forum =x Guess we simply need to wait for javis to have a shot at recompiling. Link is here along with attached source, for anyone also interested in a change log:
http://www.gp32x.com/board/index.php...ost__p__919649

LucianoBraga 2010-09-30 11:18

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Mupen64 never was a performance monster, even in Windows versions. Although, it was the most "portable" N64 emulator. Project64 is absolutely x86 oriented, and 1964 was a complete mess...1964 0.7.3, especially, was fast as hell. But instable as hell + 1.

So, we have specific problems with Mupen64 binary and with gln64. I believe - knowing N64 emulation history - that the binary problems are worst. So, binary updates are mandatory. "Simply" problems, when resolved, give huge performance boosts.

Boemien 2010-09-30 12:29

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Why Is it so difficult to adapt Softwares to the N900?? All the released softwares (particularly the emulators) lack something! it's very annoying! Nokia Promised us that the N900 would be a small Computer but i become very frustrated from days to days! You can't do something really interesting like the others Symbian Phones! I thought That linux would be a big OS for Mobile phones, but seriously it would have been better to give us Symbian 3 in our N900. We would have a lot of Apps and also descent Java Games and Apps!
I'm still proud of the phone because of the power it hides but we can't take profit of this power. If i still own the N900 it's because i'm a Nokia Fan, that's all! sh*t!

cfh11 2010-09-30 13:05

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
:rolleyes:

http://farm4.static.flickr.com/3653/...f86c82cb95.jpg

LucianoBraga 2010-09-30 14:24

Re: How To: Nintendo 64 Emu for N900 <Now in Extras-Devel>
 
Quote:

Originally Posted by cfh11 (Post 830063)

Yeah.

Double lol. :D


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

vBulletin® Version 3.8.8