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)

yodawg 2010-07-03 23:42

Re: How To: Nintendo 64 Emu for N900
 
i tested a bunch of games heres my results (clocked at 1.1ghz)
hybrid heaven good
wave race good
mortal kombat trilogy slow
quest 64 crashed on me
cruisin usa and world slow unstable
paper mario unstable
starfox 64 great
mario kart great
mariokart64 great
zelda oot decent

IzzehO 2010-07-04 06:24

Re: How To: Nintendo 64 Emu for N900
 
I couldn't really care for a list of comprehensive working titles as once/if someone compiles the more recent sources... the compatability doubles (SSB, Perfect Dark, Mario Tennis... all work). I've only made a short list of fully working ones to give people something to try out.

If, however, your testing in the hopes of finding some fun games to play... Banjo Kazooie is definitely a highlight. I haven't comprehensively tested it though.. so I've no idea if it will last more than the first chapter :P

rikisky 2010-07-04 06:50

Re: How To: Nintendo 64 Emu for N900
 
I think it's great, finally we get to try out this emulator, and works well for an early version :D ... although an UI would be nice, and some easy way to exit the emulation as closing the terminal makes things crashy for me, and had to reboot... i hope some 'pros' work on this so it gets even better :D

IzzehO 2010-07-04 07:02

Re: How To: Nintendo 64 Emu for N900
 
I find the easiest way to exit... and keep the terminal window open is to Ctrl+Backspace.. then go back into the mupen64 window.. and before it flicks back to fullscreen hit the power key... then End Current Task will show up in the drop down menu.

On another note... I've been screwing around with Accelemymote today, trying to get accelerometer working with the emulator, but I can't... and I've no way of even knowing if accelemymote is even working as I don't know what to test it with. For anyone trying... you need to reboot after installing it or else you will get segmentation faults trying to start the emulator.

Azzhanlon2004 2010-07-04 08:48

Re: How To: Nintendo 64 Emu for N900
 
[QUOTE=IzzehO;740125]I find the easiest way to exit... and keep the terminal window open is to Ctrl+Backspace.. then go back into the mupen64 window.. and before it flicks back to fullscreen hit the power key... then End Current Task will show up in the drop down menu.

yes i agree i exit it like this and i dont have any issues.
i no other ppl have asked but didnt see any answers. is their going to be any freeze states made available for this emu?? really dont wanna try and complete zelda in one sitting lol

cheers

IzzehO 2010-07-04 10:34

Re: How To: Nintendo 64 Emu for N900
 
I'll look in to it a bit more... its annoying because I found the information on saving and didn't keep track of it. Save states I don't believe are implemented... but regular game saving should work.

javispedro 2010-07-04 11:51

Re: How To: Nintendo 64 Emu for N900
 
I already got the June version building and working (at least with Mario 64).

Anything you'd like before I upload binaries? (special plugin settings, compiler optimizations to test... ? ).

And sorry to deceive you, but the framerates are similar to older builds...

slartibartfass 2010-07-04 12:54

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by IzzehO (Post 740247)
I'll look in to it a bit more... its annoying because I found the information on saving and didn't keep track of it. Save states I don't believe are implemented... but regular game saving should work.

No, regular saving doesn't work, at least not in oot.

javispedro 2010-07-04 13:06

Re: How To: Nintendo 64 Emu for N900
 
Oh, wow. Seems that there's a regression in today's gles2n64, cause I got yesterday's (revision 16) and now there is a noticeable speed bump (mario64 bowser's battle demo gets + ~5fps).

Also with today's I get graphical corruption in zelda textures.

javispedro 2010-07-04 13:12

Re: How To: Nintendo 64 Emu for N900
 
Ok I uploaded updated source tarballs in the usual place http://depot.javispedro.com/nit/64/ , the mupen64 one [1] contains both source and binaries (including gles2n64.so).

[1] http://depot.javispedro.com/nit/64/m...0100627.tar.gz

"Port" notes:
- gles2n64 uses SDL-GLES: "apt-get install libsdl-gles1.2-1"
- it does not care about whatever resolution you put in there, and always uses fullscreen. it does care about the framebuffer resolution, so you can scale.

slartibartfass 2010-07-04 13:13

Re: How To: Nintendo 64 Emu for N900
 
Does that mean, we get a better performance? sweet.
Also can you implement a way to save games? That would be awesome.

iDont 2010-07-04 13:16

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740345)
Ok I uploaded updated source tarballs in the usual place http://depot.javispedro.com/nit/64/ , the mupen64 one [1] contains both source and binaries (including gles2n64.so).

[1] http://depot.javispedro.com/nit/64/m...0100627.tar.gz

"Port" notes:
- gles2n64 uses SDL-GLES: "apt-get install libsdl-gles1.2-1"
- it does not care about whatever resolution you put in there, and always uses fullscreen. it does care about the framebuffer resolution, so you can scale.

Thank you for your time to recompile Mupen64plus, really appreciate it.

-iDont

IzzehO 2010-07-04 13:17

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740296)
Anything you'd like before I upload binaries? (special plugin settings, compiler optimizations to test... ? ).

That's awesome! Very happy you've gotten around to it.

Just ensure blight is still in there.... as Pandora is still not using it (as I don't believe they have libsdl ported)... it's far more open than the one developed for Pandora. Also any chance you could give a go at compiling their GUI (if its at all available... I couldn't seem to find it) and it isn't at all difficult.

I'd also love for you to post up what you've done (in as advanced terms as you like), as the few others that have tried this couldn't get passed the OpenGL dependecies without getting errors (See page ?3? of the thread). That way someone else may be willing to tackle the job of packaging it and adding a GUI.

Quote:

Originally Posted by javispedro (Post 740342)
Oh, wow. Seems that there's a regression in today's gles2n64, cause I got yesterday's (revision 16) and now there is a noticeable speed bump (mario64 bowser's battle demo gets + ~5fps).

Also with today's I get graphical corruption in zelda textures.

I'd say grab the version of the same date of the latest release on Pandora site. Reading some of the developer information it seems he tries different things on different days. Also seems a lot of what he is currently doing is game compatibility. Not so much framerate (and performance in general) increase (although Pandora forums claim a lot of it). There are videos of Perfect Dark (slow), Mario Tennis and Super Smash Bros... all of which crash on the current version.

Quote:

Originally Posted by slartibartfass (Post 740333)
No, regular saving doesn't work, at least not in oot.

Because you need to enable the memory pack in blight_input I believe.

IzzehO 2010-07-04 13:19

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740345)
Ok I uploaded updated source tarballs in the usual place http://depot.javispedro.com/nit/64/ , the mupen64 one [1] contains both source and binaries (including gles2n64.so).

[1] http://depot.javispedro.com/nit/64/m...0100627.tar.gz

"Port" notes:
- gles2n64 uses SDL-GLES: "apt-get install libsdl-gles1.2-1"
- it does not care about whatever resolution you put in there, and always uses fullscreen. it does care about the framebuffer resolution, so you can scale.

Awesome.. thanks a lot! Are the config files still the defaults? or with gles2n64 and blight_input? I'd check but am on 56kb modem :P

Also any objection to repacking with adjusted configs and with me hosting it?

slartibartfass 2010-07-04 13:24

Re: How To: Nintendo 64 Emu for N900
 
Ok, I'll give it a try.

For the new version javispedro posted, do I need to download the .tar.gz with wget and then do same as before? Or must I do somerhing else, if yes, what?

thanks

IzzehO 2010-07-04 13:35

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by slartibartfass (Post 740358)
Ok, I'll give it a try.

For the new version javispedro posted, do I need to download the .tar.gz with wget and then do same as before? Or must I do somerhing else, if yes, what?

thanks

Config files are reverted to the default... give me a little bit to try it out and I'll update with the modified configs.

nax3000 2010-07-04 13:47

Re: How To: Nintendo 64 Emu for N900
 
So what are the chances of someone compiling all of this in a nice little generic GUI (like the one in drnoksnes, picodrive etc)? Is it really time consuming? I wish I knew how to do that; I would've have made one...
________
Pissing porn

Azzhanlon2004 2010-07-04 13:55

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by IzzehO (Post 740366)
Config files are reverted to the default... give me a little bit to try it out and I'll update with the modified configs.

thanks im really not enjoying zelda oot without a ps3 link... shame i have an xbox!!! take it their is no way of linking a xbox controller?

javispedro 2010-07-04 14:33

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by IzzehO (Post 740350)
Just ensure blight is still in there.... as Pandora is still not using it (as I don't believe they have libsdl ported)... it's far more open than the one developed for Pandora.

Blight is built :).

Quote:

Originally Posted by IzzehO (Post 740350)
Also any chance you could give a go at compiling their GUI (if its at all available... I couldn't seem to find it) and it isn't at all difficult.

Yes, will try -- I just disable it because I initially planned to do a drnoksnes-style GUI (separate process et al).

Quote:

Originally Posted by IzzehO (Post 740350)
I'd also love for you to post up what you've done (in as advanced terms as you like), as the few others that have tried this couldn't get passed the OpenGL dependecies without getting errors (See page ?3? of the thread). That way someone else may be willing to tackle the job of packaging it and adding a GUI.

For convenience I've uploaded both patches to http://depot.javispedro.com/nit/64/patches/ .
Basically,
- For gles2n64: removing Win32isms from Makefile, use SDL-GLES instead of bare EGL (which gets me stuff like proper Hildon fullscreening for free).
- For mupen64plus-arm: disable GL plugins & libs in Makefile, created stubs for screenshots and osd stuff (which depends on OpenGL, so they are disabled), handle scratchbox's `uname -m` being "arm".


Quote:

Originally Posted by IzzehO (Post 740350)
I'd say grab the version of the same date of the latest release on Pandora site.

For reference, this is 20100627's mupen64 from Ari, and rev 16 of the gles2n64 plugin.

slartibartfass 2010-07-04 15:08

Re: How To: Nintendo 64 Emu for N900
 
I have a little problem with the PS3 controller. It worrks fine on the browser and stuff, but when I want to play Super Mario 64 it say "no controller" on the game's starting screen.

I replaced the .conf with:
Code:

mv blight_input.conf blight_input.conf2
But when I open the .conf2 in leafpad, it looks exactly like the other.

javispedro 2010-07-04 15:08

Re: How To: Nintendo 64 Emu for N900
 
Here's the tarball + binaries with the "Pandora GUI" (the GTK+ mupen64plus GUI) enabled.

Note that this does not mean a menu icon will appear but that when run from terminal without a ROM the selector will open.


Btw, did anyone get more ROMs to open with the updated version?

IzzehO 2010-07-04 15:17

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740426)
Here's the tarball + binaries with the "Pandora GUI" (the GTK+ mupen64plus GUI) enabled.

Note that this does not mean a menu icon will appear but that when run from terminal without a ROM the selector will open.


Btw, did anyone get more ROMs to open with the updated version?

Awesome! Does it have input configurations and what not? or just a 'select a rom' gui?

As to ROMS.. while trying to get other things working (mupen64plus.conf still refuses to let me map any keys other than Pause... reset, stop, etc etc all either do nothing or crash it)...

MANY more roms are starting... Super Smash Bros now works, Perfect Dark now works, 1080 Snowboarding is much less glitchy, Mario Tennis starts. None actually get very far though (SSB crashes as soon as you punch someone :P) but it shows progress is being made.

sake 2010-07-04 15:19

Re: How To: Nintendo 64 Emu for N900
 
Thanks javispedro!
But when i try to open a rom it crashes and says:
segmentation fault

EDIT: it works now, i was running it in chroot

javispedro 2010-07-04 15:29

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by IzzehO (Post 740428)
Awesome! Does it have input configurations and what not? or just a 'select a rom' gui?

Yep, it's the full GUI. Only missing is gles2n64 configuration GUI which was available in r18 -- the one with the zelda texture glitches and slowness.

Note: does not seem very usable.

IzzehO 2010-07-04 15:34

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740436)
Yep, it's the full GUI. Only missing is gles2n64 configuration GUI which was available in r18 -- the one with the zelda texture glitches and slowness.

Note: does not seem very usable.

No it doesn't :P Giving it a try now... is it possible to force fullscreen on the GUI? as for example the input plugin config has no save button as its off the bottom of the screen. They all seem to open in 640x480 so that should be enough to solve that.

Also fully kills the phone tapping the button on the far left (no idea what it does.. was accidental)

Azzhanlon2004 2010-07-04 15:46

Re: How To: Nintendo 64 Emu for N900
 
guys ive downloaded the file but cant do anythins else do i have to load it in xterm? if so wotz the code? cheers

IzzehO 2010-07-04 15:47

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by Azzhanlon2004 (Post 740447)
guys ive downloaded the file but cant do anythins else do i have to load it in xterm? if so wotz the code? cheers

Don't. The config files aren't set up properly. Just wait for a stable version.

slartibartfass 2010-07-04 15:50

Re: How To: Nintendo 64 Emu for N900
 
Did anyone get the PS3 controller working? How?

IzzehO 2010-07-04 15:58

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by slartibartfass (Post 740452)
Did anyone get the PS3 controller working? How?

Lol.. you screwed up.. your move command was wrong and you overwrote the PS3 config one :P Basically means your stuck if you don't know what your doing as its farrr too late at night for me to want to help you =x

If you want to do it manually by opening blight_input.conf in leafpad (as instructed), here is the proper only for PS3 controller. You can probably copy paste if you want. Just open this in browser and copy:
http://pastebin.com/vXCw1Fvf

slartibartfass 2010-07-04 16:05

Re: How To: Nintendo 64 Emu for N900
 
Oh, yeah, i'm good at screwing things up :p

Thanks for your help, i'm gonna try this out.

Edit: It works perfectly now, thanks very much.

dts 2010-07-04 17:11

Re: How To: Nintendo 64 Emu for N900
 
wen i try mario64 it says error: no graphics plugin specified
i followed the instructions on the 1st page so any ideas?

rikisky 2010-07-04 17:57

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by javispedro (Post 740426)
Here's the tarball + binaries with the "Pandora GUI" (the GTK+ mupen64plus GUI) enabled.

Note that this does not mean a menu icon will appear but that when run from terminal without a ROM the selector will open.

wow, that sounds sweet. I want to try that UI... but i'm afraid i'm still too noobish, since I had already installed the emu following IzzehO's guide, do i have to do anything to delete it? or just install the tar.gz file? will it overwrite what i have?...i really don't want both of them emus if one's not being use anymore :P a little guide for noobish to update would be lovely, thanks anyway.

slartibartfass 2010-07-04 17:58

Re: How To: Nintendo 64 Emu for N900
 
I still couldn't figure out how to save.
I made mempack switch key=115 (s), but when I push it, and then save the game, quit and restart, there is nothing saved.

MiK546 2010-07-04 18:15

Re: How To: Nintendo 64 Emu for N900
 
The best way to update is to rename the old .mupen64plus to something like .mupen64plus_old and then follow the first post's guide again but this time using the newest version from javispedro. Then just configure it like in this post and transfer your savefiles from the old foldier. The new version is much faster than the older one, for example Super Mario 64 runs nearly fullspeed (just some slowdowns here and there) with no OC. Only problem is that it doesn't seem to support transparent parts in sprites (nothing big but still).

cddiede 2010-07-04 19:28

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by MiK546 (Post 740533)
The best way to update is to rename the old .mupen64plus to something like .mupen64plus_old and then follow the first post's guide again but this time using the newest version from javispedro. Then just configure it like in this post and transfer your savefiles from the old foldier. The new version is much faster than the older one, for example Super Mario 64 runs nearly fullspeed (just some slowdowns here and there) with no OC. Only problem is that it doesn't seem to support transparent parts in sprites (nothing big but still).

The old version should use gles2n64.so for it' GFX plugin, but the new version should use RiceVideo.so.

Problem is, defining either as the GFX Plugin in your mupen64plus.conf file causes the new GUI version to fail as it dosen't acknowledge any GFX plugin as being specified.

What are we missing here?

MiK546 2010-07-04 19:38

Re: How To: Nintendo 64 Emu for N900
 
I defined my GFX Plugin to be gles2n64.so in the mupen64plus.conf and it worked just fine (even the GUI, it even displays that my GFX Plugin is gles2n64) altough changin the options in the GUI doesn't actually modify anything, so when you restart it everything is back to default. Because of that you have to still set everything up manually.

cddiede 2010-07-04 20:32

Re: How To: Nintendo 64 Emu for N900
 
Ah, I got it. I typo'd the gles2n64.so line. So it doesn't report that no GPU plugin is specified, but now when I launch a game it just sits at a black screen. Hmm.....

Jay92 2010-07-04 20:37

Re: How To: Nintendo 64 Emu for N900
 
Is it possible to use
two or more bluetooth controllers with this emulator??

btw I think this is great
Much better than psx4all

javispedro 2010-07-04 20:44

Re: How To: Nintendo 64 Emu for N900
 
Quote:

Originally Posted by cddiede (Post 740578)
The old version should use gles2n64.so for it' GFX plugin, but the new version should use RiceVideo.so.

No, no, both should use gles2n64. Ricevideo is scratchbox-only (because it uses desktop GL instead of OpenGL ES)

yodawg 2010-07-04 21:01

Re: How To: Nintendo 64 Emu for N900
 
im getting confused, is there already a new version of this emu out with an updated faster ricevideo gfx plugin and we should upgrade to it from the original files posted 2 days ago?


All times are GMT. The time now is 05:09.

vBulletin® Version 3.8.8