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)

Reffyyyy 2010-07-02 20:16

Re: How To: Nintendo 64 Emu for N900
 
@salawat

http://www.mediafire.com/?mmtnytqgatz

Here's the blight_input.conf file. If I did anything wrong, just let me know and I'll change it.

salawat 2010-07-02 20:22

Re: How To: Nintendo 64 Emu for N900
 
here is the video
if anyone wants to request for me to do another video of another game i can, i will be doing perfect dark n64 aswell

http://www.youtube.com/watch?v=L8Br1oYeO5c

salawat 2010-07-02 20:23

Re: How To: Nintendo 64 Emu for N900
 
@Reffyyyy where do i put the file?

salawat 2010-07-02 20:25

Re: How To: Nintendo 64 Emu for N900
 
edit i put here dont i?

home/user/.mupen64plus

Reffyyyy 2010-07-02 20:26

Re: How To: Nintendo 64 Emu for N900
 
You put it in /home/user/.mupen64plus.

You can either use Midnight Commander or do it using Xterminal.

The code is: mv /home/user/MyDocs/blight_input.conf /home/user/.mupen64plus

Make sure you include the space. Also, make sure that the file is in the root directory on the N900.

salawat 2010-07-02 20:43

Re: How To: Nintendo 64 Emu for N900
 
@ Reffyyyy

there is 1 problem everything is good thanks, but it seems to be that up is down and down is up. or is that how the joystick is?

Reffyyyy 2010-07-02 20:52

Re: How To: Nintendo 64 Emu for N900
 
I must have messed it up lol.

Here's the edited file:

http://www.mediafire.com/?gydwxmtdwmm

ishurmer 2010-07-02 21:45

Re: How To: Nintendo 64 Emu for N900
 
Hello all,

I've tried to build for Maemo using the source code linked in the GP32 forum post (on the first page of this thread). Although there's a bit of a dependency on OpenGL for the OSD and screenshot capturing (which I have commented out), I've managed to get it compiled by fitting in some of javispedro's alterations for the gles2n64 plugin.

Sadly, whilst the emulator runs, gles2 initialises, and a black screen opens, it seems to hang at this point. Does anyone who has a bit of experience with building this emulator have any ideas?

Cheers,
Ian

xxxxts 2010-07-02 23:05

Re: How To: Nintendo 64 Emu for N900
 
This is amazing. I am going to wait for more developments (if I knew anything about game development I would be working on it). But I am so happy that the Maemo community keeps pushing so hard for innovation. As soon as this hits repos I am downloading it - if there is anything I can do to support or help the project let me know.

slartibartfass 2010-07-02 23:06

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

Originally Posted by Jay92 (Post 738802)
Once I've typed that into xterminal
I get back

Reading package lists... Done
Building dependency tree
Reading state information... Done
wget is already the newest version
wget set to manually installed
E: Couldn't find package libsdl2.0-0



So what should I do now?

Have exactly the same problem, please help.

I installed that Ren'Py too, but what should i do with it?

Edit:
ok lol HOW is a dating sim supposed to help me?

Reffyyyy 2010-07-02 23:22

Re: How To: Nintendo 64 Emu for N900
 
It installs libsdl2.0-0 which is needed by the N64 emulator.

Apparently, you can also get it by installing DrNokSnes.

nax3000 2010-07-03 00:18

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

Originally Posted by salawat (Post 738975)
here is the video
if anyone wants to request for me to do another video of another game i can, i will be doing perfect dark n64 aswell

http://www.youtube.com/watch?v=L8Br1oYeO5c

Wow, this is running on software rendering? If so imagine how it would run with GPU acceleration!
________
PORTABLE VAPORIZERS

NokiaRocks 2010-07-03 01:08

Re: How To: Nintendo 64 Emu for N900
 
Is it so hard to implement GPU acc ?
Would be so great with acc :/

IzzehO 2010-07-03 01:10

Re: How To: Nintendo 64 Emu for N900
 
Alright... wow 5 pages of stuff in 6 hours..

Solved the issue as libsdl Try again (I really shouldn't type up from memory... should copy paste these things.) it should be libsdl-ttf2.0-0.

Also a fair few other things in the guide that are wrong. Fixing them up now. Wrote the thing up at 1.30 am can you blame me? For anyone having issues with config.. I'd suggest re-reading the second post as I used an incorrect path x.x

I'll try and answer some questions starting from the back:
Quote:

Originally Posted by ishurmer (Post 739041)
Sadly, whilst the emulator runs, gles2 initialises, and a black screen opens, it seems to hang at this point. Does anyone who has a bit of experience with building this emulator have any ideas?

Cheers,
Ian

Javispedro and cpusjaste are the only people I'm aware of that have gotten the source (older code however) to compile. Efforts made in an earlier thread by smokku got to the same place you are. Perhaps a post on the GP32 forum may present some.. they are fairly nice and Adventus seems to answer questions easily enough.

This was the real aim for this thread.. so I can only hope you have some success.

Quote:

Originally Posted by nax3000 (Post 739132)
Wow, this is running on software rendering? If so imagine how it would run with GPU acceleration!

It has GPU acceleration... thats the only reason I desperately want this picked up. It isn't, however, anywhere near as optimized as it CAN be.

Quote:

Originally Posted by salawat (Post 738975)
here is the video

Thanks bud! Added to the first post. And hang on... Perfect Dark starts for you? I'd prefer a couple more functional videos first :P Eg. Lylat Wars and Banjo Kazooie. As I'd doubt Perfect dark would get over 1 fps.

Hmmm.. does anyone know is youtube code on this form?

Quote:

Originally Posted by salawat (Post 738911)
how do you change the buttons because in super mario 64 which is in excellent speed i is up, k is down, j is left and l is right

thanks!

Read my second post now. My old instructions were wrong.. but it should work now.

Quote:

Originally Posted by Fötus (Post 738846)
Mine is working now and also very quick, but my controlls from the PS3 Sixaxis seem to be a bit mixed up.

selct = trigger the extras
[] = jump
O = A / accelerate

But nothing else.

I've checked want characters my PS3 sixaxis sends:
Start = KP_Enter
select = space
L1 = w
R1 = e
L2 = q
R2 = r
X = z
[] = a
/\ = s
O = x

Has someone a suggestion what I could change or what I'm doing wrong?

My second post was messed up... follow it again to replace the conf file... it will work perfectly then.

The PS3 controller doesn't work through the keys its mapped to. It works as buttons, like a regular gamepad. This means the 2 sticks work much better as they have sensitivity. I've disabled keymaps for my PS3 controller so they don't interfere.. but you shouldn't need to as the second conf file will only pick up button presses.

...

...

Appears to be all the un-answered ones. Just to clarify however, you NEED to navigate to where your rom files are for it to be able to pick them up. For example if they are in games folder:
cd home/user/MyDocs/games
mupen64plus mariokart.z64

To see what roms are in the directory you are in type 'ls' also if it is a long difficult name, type the first couple of letters then hit the onscreen Tab button.. it will autocomplete it.

cddiede 2010-07-03 04:17

Re: How To: Nintendo 64 Emu for N900
 
Sorry about the duplicate thread, IzzehO. Just got a bit excited. :)

Here's the link for StarFox running full speed, full screen, and with sound:

http://www.youtube.com/watch?v=sVT56BpUOkk

And here's a new one of Goldeneye running full screen, but with sound disabled to help it run faster (my N900 is Overclocked to 950 Mhz):

http://www.youtube.com/watch?v=7s7OV0RSjUg

EDIT: Here it is with sound. Turns out Goldeneye runs just as fast with sound enabled. This video also contains some game play footage:

http://www.youtube.com/watch?v=k1ogircgtu0

killerjay 2010-07-03 04:27

Re: How To: Nintendo 64 Emu for N900
 
any way this can be made into a .deb file instead of having to use lines of code and xterminal?

IzzehO 2010-07-03 04:32

Re: How To: Nintendo 64 Emu for N900
 
Afraid not killerjay. However, installation with xterm is not difficult to do. Dive in.. nows as good a time to learn as any.

Quote:

Originally Posted by cddiede (Post 739222)
Sorry about the duplicate thread, IzzehO. Just got a bit excited. :)

Here's the link for StarFox running full speed, full screen, and with sound:

http://www.youtube.com/watch?v=sVT56BpUOkk

And here's a new one of Goldeneye running full screen, but with sound disabled to help it run faster (my N900 is Overclocked to 950 Mhz):

http://www.youtube.com/watch?v=7s7OV0RSjUg

Noticed you didn't bother to get in to gameplay. I don't blame you.. its even slower :P Try putting frameskip up to 5-6... game runs full speed.. but you don't see much. If you are after a FPS to trial: Duke Nukem 64 seems to work really well. Another fun game is Dual Heroes (my first 64 game) and it runs full speed.

killerjay 2010-07-03 04:41

Re: How To: Nintendo 64 Emu for N900
 
is there any plans of making this into a .deb with a gui like psx4all and such? i just dont feel safe using the xterm..... or would using a .deb lower the quality of gameplay?

pctek 2010-07-03 04:58

Re: How To: Nintendo 64 Emu for N900
 
I think I already have libsdl installed how can I tell?

cddiede 2010-07-03 05:01

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

Originally Posted by pctek (Post 739243)
I think I already have libsdl installed how can I tell?

Just type this into a terminal (don't even need to be root):

dpkg -l | grep libsdl-ttf2

pctek 2010-07-03 05:31

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

Originally Posted by cddiede (Post 739245)
Just type this into a terminal (don't even need to be root):

dpkg -l | grep libsdl-ttf2

what character is that a 1 or letter i or what dpkg -l

Also I typed this in and it says I need to be a superuser?

Also I did it with a 1 and it gives me a help info so I think its wrong, so is that a forwrd slash or a striaght line? -l | grep

IzzehO 2010-07-03 05:44

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

Originally Posted by pctek (Post 739243)
I think I already have libsdl installed how can I tell?

If you do it won't do ANY damage trying to reinstall it. Just run the command I put.

For all those that are worried about trying this, it doesn't require root access for any of the steps (other than installing) and I fail to see whats so scary about giving it a go.

cddiede 2010-07-03 05:50

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

Originally Posted by pctek (Post 739256)
what character is that a 1 or letter i or what dpkg -l

Also I typed this in and it says I need to be a superuser?

Also I did it with a 1 and it gives me a help info so I think its wrong, so is that a forwrd slash or a striaght line? -l | grep

that's:
dpkg -l (lowercase L) | (pipe) grep libsdl-ttf2

Most dpkg commands need you to be root, but just doing a dpkg -l to list installed .deb files can be done as the default user.

IzzehO 2010-07-03 05:55

Re: How To: Nintendo 64 Emu for N900
 
Oh something else I was thinking about for anyone that cares. This program SHOULD support accelerometer, all you'll need is the accelemymote (I think thats the package name?) and then just set the axes in the blight_input config. I might look in to it later... but as it is I'm happy with PS3 Controller.

yodawg 2010-07-03 06:11

Re: How To: Nintendo 64 Emu for N900
 
can we save games?

yodawg 2010-07-03 06:27

Re: How To: Nintendo 64 Emu for N900
 
is there save states?

lucas777 2010-07-03 07:10

Re: How To: Nintendo 64 Emu for N900
 
Guys ive been trying to get this going all day i have done eveything its ask me even redone everything 3 times i keep getting the same error

when i type cd MyDocs/games it goes to the right directory then i type

mupen64plus Mario.n64 i keep getting permission denied no matter what i do can anyone help? please

IzzehO 2010-07-03 08:34

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

Originally Posted by lucas777 (Post 739294)
Guys ive been trying to get this going all day i have done eveything its ask me even redone everything 3 times i keep getting the same error

when i type cd MyDocs/games it goes to the right directory then i type

mupen64plus Mario.n64 i keep getting permission denied no matter what i do can anyone help? please

I'm assuming your the guy I've been PM'ing... but I'll write it up here... with some other things to try:

First of all make sure you weren't log in as root for ANY of the process other than installing wget and libsdl. Ensure the first run ./mupen64plus worked fine. Delete the symlink by going sudo rm /usr/sbin/mupen64plus and try again.

Try and run with the full path.. so in terminal:
/home/user/.mupen64plus/mupen64plus /home/user/MyDocs/Mario.n64

Be sure to use the Tab button as much as possible.. to ensure it isn't a spelling error.

If all else fails... paste the exact output of the emulator here. (Hint: 'mupen64plus Mario.n64 > temp.txt' and copy temp.txt to pastebin.com or something.)

Quote:

Originally Posted by yodawg (Post 739271)
can we save games?

I actually haven't looked that far in to it. There is save states available, but I'm not sure if they are enabled by default. You should be able to enable Memory Pack and have it work to save like a regular n64 game.. but I can't speak from experience.

If you want to try open up the blight_input.conf and add a key for Mempack switch to enable it. Also for save states there is a key you can set inside mupen64plus.conf... but I've not looked in to this at ALL

salawat 2010-07-03 09:20

Re: How To: Nintendo 64 Emu for N900
 
tried to play perfect dark, black screen popped up looking like it will start but then after like 3 seconds it closes.

damion 2010-07-03 10:04

Re: How To: Nintendo 64 Emu for N900
 
Wow, I'm clearly years behind the emulators on X scene, last time I played N64 on Linux was with a voodoo3000 with wine on UltraHLE using the glide support. This was wine version dependant, specific h/ware dependant, and a specially kludged X 3d drm voodoo3000 compiled .so dependant. When I switched gfx cards I gave up all hope of ever seeing this again. Nobody had done a linux glide->opengl support so the few glide only old games were abandoned for my nvidia.

Anyway, it seems n64 has been ported not only to opengl but to ES as well. **uck the n900 I'll try this on my desktop ;) heh

IzzehO 2010-07-03 10:54

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

Originally Posted by salawat (Post 739375)
tried to play perfect dark, black screen popped up looking like it will start but then after like 3 seconds it closes.

Works on the more recent releases for Pandora.... but still no where near playable... its just a far too graphically heavy game.

The Quote Train 2010-07-03 10:55

Re: How To: Nintendo 64 Emu for N900
 
Any chance of a Mario Kart 64 vid with sound? :)

F2thaK 2010-07-03 10:56

Re: How To: Nintendo 64 Emu for N900
 
any chance of it being in the repos soon?

aldevil 2010-07-03 11:01

Re: How To: Nintendo 64 Emu for N900
 
Thanks for this great work !! Are you by any chance going to make an APP for us Noobs who don't touch the xterminal......

IzzehO 2010-07-03 12:14

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

Originally Posted by aldevil (Post 739437)
Thanks for this great work !! Are you by any chance going to make an APP for us Noobs who don't touch the xterminal......

No reason not to, steps are very easy to follow and nows as good a time as any to learn xterm. You can't really do any damage if you stay out of root and follow the guide.

Quote:

Originally Posted by f2thak (Post 739433)
any chance of it being in the repos soon?

Not unless someone else steps in to do it - I've no where near the expertise for it. Especially not to design a basic frontend.

Azzhanlon2004 2010-07-03 12:43

Re: How To: Nintendo 64 Emu for N900
 
guys im having trouble creating a directory and moving it.

get the error msg cannot create directory.

however after i type the line tar zxf....... nothing happens i would of thought it would extract yes?

nax3000 2010-07-03 12:45

Re: How To: Nintendo 64 Emu for N900
 
So basically, is there a chance for this to run at 60fps on most games?
________
CUMSHOT LONG

cddiede 2010-07-03 13:13

Re: How To: Nintendo 64 Emu for N900
 
Here's Zelda: Ocarina of Time playing (not just the opening cinema):

http://www.youtube.com/watch?v=h-FcmNzn4NU

Magik 2010-07-03 13:20

Re: How To: Nintendo 64 Emu for N900
 
Super Mario 64 works beautiful!

But it's a shame... StarCraft64 crashes and Command & Conquer doesn't start(it says in terminal it cannot open flashram file or something... ).

Anyway thanks IzzehO(and sorry for disbelieve in the other thread :D ) for this "HOWTO". I'm crossing my fingers for graphical interface :)

IzzehO 2010-07-03 13:29

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

Originally Posted by nax3000 (Post 739523)
So basically, is there a chance for this to run at 60fps on most games?

Given most N64 games were designed to run at 20 FPS (17 for Pal) almost certainly not... but it is certainly plausible that a significant amount of games can be fully playable.

Quote:

Originally Posted by Azzhanlon2004 (Post 739518)
guys im having trouble creating a directory and moving it.

get the error msg cannot create directory.

however after i type the line tar zxf....... nothing happens i would of thought it would extract yes?

What directory are you trying to move? Its hard to diagnose a problem when you explanation has no detail whatsoever? Need actual errors.

Quote:

Originally Posted by Magik (Post 739549)
Super Mario 64 works beautiful!

But it's a shame... StarCraft64 crashes and Command & Conquer doesn't start(it says in terminal it cannot open flashram file or something... ).

Anyway thanks IzzehO(and sorry for disbelieve in the other thread :D ) for this "HOWTO". I'm crossing my fingers for graphical interface :)

Yeah several games don't work. Most of them it is due to the pre-alpha version of the GPU plugin. Ogre Tactics works however, if your in the mood from some strategy games. (Nothing in the RTS category comes to mind though.

My list on the second post has grown.. all work full speed.


All times are GMT. The time now is 04:58.

vBulletin® Version 3.8.8