maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Snes port for nokia n8*0 series (https://talk.maemo.org/showthread.php?t=28435)

lolwatbade 2009-04-20 23:13

Snes port for nokia n8*0 series
 
Hi just got my nokia n810 i was wondering is it possible to get a fully working snes emulator on it? i couldn't really find anything from what ive searched so far.

DJArty 2009-04-21 06:16

Re: Snes port for nokia n8*0 series
 
http://pupnik.de/snes9x.html may be not fully working.. but SNES :)

oneoneone 2009-04-21 15:07

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by DJArty (Post 281081)
http://pupnik.de/snes9x.html may be not fully working.. but SNES :)

Can anyone make a .deb for this, please? I'm bad at linux and don't know how to do it.

eliagp 2009-04-22 15:43

Re: Snes port for nokia n8*0 series
 
there were instructions on a thread, I got it running but it was slow, I guess RPGs and strategy games only.

oneoneone 2009-04-22 19:04

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by eliagp (Post 281370)
there were instructions on a thread, I got it running but it was slow, I guess RPGs and strategy games only.

Looks like the instructions are for manual install through command line. And terminal is just unreal for me to understand. I can't get it.:)
So, i still ask to do a favor and make a .deb, please.

Low speeds are OK, I play RPGs only on tablet.

ArnimS 2009-04-26 01:45

Re: Snes port for nokia n8*0 series
 
very sorry, no time

if anyone wants to work on a much better port, i have one from the gp2x partially running. should be fullspeed etc. i can help if there's interest

edit: source - http://pupnik.de/DrPocketSnes_Nokia_The_Horror.tgz

klogdog 2009-04-27 16:52

Re: Snes port for nokia n8*0 series
 
Well I am definitely interested! (especially if you know how to get CT working) I was using pysnes the other day after installing it. A good program. Zerojay was wrong about the full speed thing. It works beyond full speed! Some people are such pessimists

konttori 2009-04-27 18:10

Re: Snes port for nokia n8*0 series
 
I just tested snes9x on the new maemo device. Seems to work. Anyway, having the gp2x port would be awesome.

Bundyo 2009-04-27 18:52

Re: Snes port for nokia n8*0 series
 
You teaser! :D

Laughing Man 2009-04-27 21:43

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by konttori (Post 282414)
I just tested snes9x on the new maemo device. Seems to work. Anyway, having the gp2x port would be awesome.

Could you tell us something? Would the iPhone/iTouch be a better SNES emulator than the next maemo device? :P

konttori 2009-04-28 05:01

Re: Snes port for nokia n8*0 series
 
Well, I cannot comment much. Just that it seems to run and I was able to play super mario on it. processor wise, iphone and the omap3 are about on par with each other afaik (but I really don't know for a fact, please someone correct me if needed).

fms 2009-04-28 05:29

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by Laughing Man (Post 282546)
Could you tell us something? Would the iPhone/iTouch be a better SNES emulator than the next maemo device? :P

I can tell you that much. As far as SNES goes, I think n8x0 should be sufficient, but just barely.

Thesandlord 2009-04-28 06:19

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by konttori (Post 282632)
Well, I cannot comment much. Just that it seems to run and I was able to play super mario on it. processor wise, iphone and the omap3 are about on par with each other afaik (but I really don't know for a fact, please someone correct me if needed).

Omap3 is a lot better than iPhone. Omap3 vs iPhone 2, however....


Anyway, both pysnes and snes9x are hacks. The worst part is the stupid keyboard config, it makes it so hard to play. I just recently beat Earth Bound with no sound and a cramped control. Off to play Kirby on iNes...

twaelti 2009-04-28 14:36

Re: Snes port for nokia n8*0 series
 
Now that we have a debmaster...
(Although I'd prefer a debslave :-)

oneoneone 2009-04-28 19:29

Re: Snes port for nokia n8*0 series
 
Oh, guys, it would be really brilliant, if you'd manage to make a good snes emulator. I wanna play some Chrono Trigger on a tablet! Will be waiting for some progress.

klogdog 2009-04-28 19:58

Re: Snes port for nokia n8*0 series
 
Ya I recently tried to play CT... no go. Well at least metal warriors works! So does this mean that people that are in the know are going to make this happen? I sure hope so!

jackburton 2009-04-29 11:36

Re: Snes port for nokia n8*0 series
 
I was playing final fantasy 6 (US 3) last night on my Palm T3 using Little John Emulator and the game runs perfect. I was thinking to myself, why can't my N810 do what my older T3 can so well? They both have 400mhz cpus. I know Palm T3 has an Xscale and the N810 an Omap. Not sure that is the difference or not. I would love to have LJP on N810. One can wish....

Pushwall 2009-04-29 12:04

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by jackburton (Post 282961)
I would love to have LJP on N810. One can wish....

I agree. LJP rocks as an all-around great emulator.

karatchov 2009-04-29 18:22

Re: Snes port for nokia n8*0 series
 
so ? anyone ? i will be more than happy to see a good snes emulator for N8x0.

what about raising some funds to motivate a coder ?

jackburton 2009-04-30 01:50

Re: Snes port for nokia n8*0 series
 
I wonder if the work being done on the cross platform LJX would be a good candidate for Maemo
http://little-john.net/wiki/index.php?title=LJX

Laughing Man 2009-04-30 03:50

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by jackburton (Post 282961)
I was playing final fantasy 6 (US 3) last night on my Palm T3 using Little John Emulator and the game runs perfect. I was thinking to myself, why can't my N810 do what my older T3 can so well? They both have 400mhz cpus. I know Palm T3 has an Xscale and the N810 an Omap. Not sure that is the difference or not. I would love to have LJP on N810. One can wish....

Graphics chip maybe?

jackburton 2009-05-05 19:43

Re: Snes port for nokia n8*0 series
 
After following the link in this thread:
http://www.internettablettalk.com/fo...ad.php?t=28750 which points to:
http://www.internettablettalk.com/fo...ad.php?t=14391,

I was able to install LJP inside Garnet VM. I was expecting the thing to crash once installed and actually trying to run a game, but it works! What a surprise.

I was only able to test NES Double Dragon. It seemed like it was working great.

A couple of issues:
1. No sound. couldn't get it working for whatever reason
2. Not sure how to map hardware buttons on keyboard to GVM to LJP. Used the onscreen buttons in LJP.

I didn't have time to test SNES (I want my final fantasy 6, hehe), but wanted to let those know who are interested that LJP may work for them if they want to try it out and play around.

karatchov 2009-05-06 07:00

Re: Snes port for nokia n8*0 series
 
i tried it with a snes rom, but it failed with a short memory msg.

Thesandlord 2009-05-06 07:23

Re: Snes port for nokia n8*0 series
 
Yup, it runs out of memory. Must be a way to allocate more to it though. LJP was the best on my T3... Better controls than any on the N810.

javispedro 2009-05-06 11:17

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by jackburton (Post 284674)
I was able to install LJP inside Garnet VM. I was expecting the thing to crash once installed and actually trying to run a game, but it works! What a surprise.

A miracle indeed.

Quote:

Originally Posted by jackburton (Post 284674)
1. No sound. couldn't get it working for whatever reason

I couldn't get sound to work in any application in GVM. Weird, since it has been said that PocketTunes works, but i couldn't get it to work either. Maybe previous GVM versions had working sound?

Summeli 2009-05-07 11:58

Re: Snes port for nokia n8*0 series
 
I have been thinking about porting the GP32x snes9x to the maemo, but I haven't found the time to do so yet :( I have some experience from the S60 port, so you can ask me, if you want to try it.

You should at least make few minor modification to the assembly sources, if you wan to run the gp32x arm9 optimized sources on N8x0 with ARM11, see my blog entry for help http://www.summeli.fi/?p=218. You can also download the antsnes sources and take a peak, if you like

jackburton 2009-05-07 23:39

Re: Snes port for nokia n8*0 series
 
Interesting update. I have still been playing around with GVM and trying to get it to play LJP games (mainly NES and SNES) and I have a quick update from playing around on the bus commute home today.

I was reading up on launching apps from the command line in the forums and what options are available from gvm since I wanted to increase the dynamic heap issue with SNES.

I found a command line that plays Final Fantasy 2! Here it is:
Code:

gvm -a LJPM --dynheap=8192 -i Arz1 -O no -c palm -T -s 320x480 -b 16 --refresh=2
At first I tried without the "refresh" option and the game would start, but would not start to play. Then I found in my NES working LJP config the option of "autoRefresh=2" in /home/user/.gvm/gmv_apps_config. I assumed this option was passed from gvmlauncher into gvm somehow and hoped that would solve the refresh issue.

So, I ran the "strings" utility from my easy-debian install against a copy of gvm binary I had on mmc1 and voila! The word "refresh" was there. I assumed the command was a long option and it works now. It's not a documented command when doing a
Code:

gvm --help
I assigned the "A" button to the bottom right screen and was able to play through the intro of the game! Wow. I'm impressed.

Sound still doesn't work and I don't know how to map buttons for the emulator to the keyboard. There are a couple command line options that may help, but not sure.

I tried the option
Code:

--sound=yes
but that does nothing. I see an option for
Code:

--alsa
and think maybe that's the next area of research.

For mapping the keyboard to buttons, I think this is possible. The gvm has an option for keyboard mapping it looks like with this:
Code:

--keymap=GDK_KeyCode:vchrPalmOS....
I wanted to post this info in case anybody else wanted to explore LJP with SnES on their tablets.

jackburton 2009-05-07 23:52

Re: Snes port for nokia n8*0 series
 
Another quick update.

SOUND IS WORKING!

I rebooted my device (well, actually the tablet crashed after I tried kill `pidof dsp_dld` from this post:
http://talk.maemo.org/showthread.php?t=20553)

and sound works on fresh boot. Interesting!

One recommendation from that same post is to run this command instead:
dsp_dld --enable-restart

I'll have to try that when I get a chance to screw around with it.

For now I'm really, really impressed and surprised this even functions.

oneoneone 2009-05-13 11:57

Re: Snes port for nokia n8*0 series
 
So, guys, any progress?

totololo 2009-05-13 15:59

Re: Snes port for nokia n8*0 series
 
I believe that a SNES emulator is the only major thing missing now ont our tablets ...

Unfortunetely I'm not smart enough to help porting it ... But would be very happy to use it ... Chrono Trigger would be niiiiiiiiiiiiice on my NIT !

jackburton 2009-05-13 18:41

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by oneoneone (Post 287028)
So, guys, any progress?

Were you able to try the standard LJP for PalmOS with my command lines above?

I have been running Final Fantasy II and III (US Versions, SNES) pretty well under Garnet now.

jackburton 2009-05-13 18:43

Re: Snes port for nokia n8*0 series
 
Oh, right. I haven't posted how to map keyboard keys!!! I'll do that soon. There are more command lines for mapping.

oneoneone 2009-05-13 20:00

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by jackburton (Post 287152)
Were you able to try the standard LJP for PalmOS with my command lines above?

I have been running Final Fantasy II and III (US Versions, SNES) pretty well under Garnet now.

Unfortunately, no. I'm just noob in such matters. It is very hard for me to understand all those commands and such things.
Actually I can only click the "install" button.:D Such a shame, but can't do anything. Just have no time to learn all this stuff. Just waiting for someone so kind to do all work for me.;)

JustNick 2009-05-13 20:25

Re: Snes port for nokia n8*0 series
 
I succeeded in launching Earthbound via terminal using your instructions, unfortunately key mapping is a major issue (having an N800 and so few hw keys doesn't really help...), LJP uses - & + keys for quicksave/quickload, the DPAD does the same using L and R and I can't remember what the rest of the keys do right now...

jackburton 2009-05-17 22:37

Re: Snes port for nokia n8*0 series
 
Quote:

Originally Posted by JustNick (Post 287211)
(having an N800 and so few hw keys doesn't really help...)

Yeah, I have no idea how the N800 would be able to work with SNES games. NES might work okay using the onscreen button mappings available in LJP, though.

jackburton 2009-05-17 23:36

Re: Snes port for nokia n8*0 series
 
I wanted to do a follow-up post for those who need keyboard mapping with the N810.

One can map keyboard keys to palm keys via the command line option:
Code:

  -k, --keymap=GDK_KeyCode:vchrPalmOS,...                                                                      Key Mapping (e.g.: 0xFF91:vchrHard1
The GDK_KeyCodes come from gdkkeysyms.h. I used this as a reference: gdkkeysyms.h

In order to know what the Palm keys i could map to, I ran a "strings" command from my Easy Debian install against the gvm binary and found the following:
Code:

vchrmenu
vchrlaunch
vchrhard1
vchrhard2
vchrhard3
vchrhard4
vchrrockercenter
vchrrockerleft
vchrrockerright
vchrrockerup
vchrrockerdown
vchrpageup
vchrpagedown

Using gdkkeysyms.h and these vchr* palm codes, I could then map the N810 keyboard for Palm for use in LJP.

The following command is what I have used to successfully play Final Fantasy 2 and 3 (SNES U.S) under LJP under Garnet:
Code:

/usr/bin/gvm/gvm -a LJPM --dynheap=8192 -i Arz1 -O no -c palm -T -s 320x480 -b 16 --refresh=2 --keymap=0x069:vchrhard1 --keymap=0x06f:vchrhard2 --keymap=0x06b:vchrhard3 --keymap=0x06c:vchrhard4
This maps the following keys:
i is mapped to vchrhard1
o is mapped to vchrhard2
k is mapped to vchrhard3
l is mapped to vchrhard4

Once these keys are mapped to PALM, one can subsequently map them in LJP. For Final Fantasy 3, i have the following keys mapped:
i->left trigger
o->right trigger
k->b button
l->a button
touchscreen upper left->select
touchscreen upper right->start
touchscreen bottom left->y button
touchscreen botttom right->x button

I have L and R mapped to keyboard keys so that I can run from fights, which requires both these triggers pressed at once. I tried setting LR to onscreen soft keys, but since Multi-touch doesn't work, both cannot fire at once. X and Y are menu keys on FF3, so this works for me. What's nice about LJP is that each game can have it's own config.

I am also using the "--nice" command line option. This is not documented in the "gvm --help" output, but I did see it in the "strings" output for the binary. Not sure if it helps or not. It can't hurt.

With double dragon for NES, I was able to easily play through the second level with these mappings on my first try. While definitely not suited for action, it is playable. I think my config is best for slower games like simulations and RPGs.

I hope others find this information useful.

jackburton 2009-05-17 23:45

Re: Snes port for nokia n8*0 series
 
1 Attachment(s)
Here's a screenshot

Thesandlord 2009-05-18 22:47

Re: Snes port for nokia n8*0 series
 
Ok, I have been messing around with this key binding stuff:

Up and Down, as well as the zoom's, are set to PageUp and PageDown. There is nothing using rockerup or rockerdown, however these CANNOT be set. So we loose two keys. launcher and menu both do NOT work. rockercenter does work.

I really want all six keys to be mapped, is there any way to do this? It is difficult to use the touch screen.

Ironically, the SNES emulator is powered by Snes9x, the same one which barely runs on the tablet...

jackburton 2009-05-19 02:44

Re: Snes port for nokia n8*0 series
 
I had the same problem with the rocker keys. I was wondering if the different key mappings may be tied to the Device Model emulated. My command line uses the device id for the T3. One could try to see if the other keys can be mapped depending on the device. This is the "-i" or the "--deviceid=abcd" option.

The following are potential devices to try:
-Treo 650 is device ID "H102" with company id "hspr"
-T3 is device "Arz1" with company "palm"
-T5 is device "TnT5" with company "palm"
-T|X is device "D050" with company "palm"

I got these by doing a "Configure" from the gvm-launcher and seeing what happened when selecting device model "Custom".

This might work, but I have no idea. It's an area to try out and see.

Thesandlord 2009-05-19 05:09

Re: Snes port for nokia n8*0 series
 
Hmmmm, does anyone have a treo?
Is it possible to map the keyboard directly using a treo in LJP?
If so, can the same be done for the n810 (I guess not)?

My T3 only has the 4way D-pad, 4 hard buttons, and a voice memo button. Also the power button. Why is there no mapping for a voice memo button?


All times are GMT. The time now is 02:14.

vBulletin® Version 3.8.8