maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   ScummVM on N900 (https://talk.maemo.org/showthread.php?t=33126)

mikkov 2009-12-02 14:46

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 402496)
So to make it short - I was waiting for the device to do some final touches and already expected to have it. Look like it can still take long so I guess I can build Maemo5 deb and put it somewhere even without doing proper testing with real device.

I don't see any reason for not to push it to extras-testing (or at least extras-devel) even if you haven't tested it in device by yourself. This way you can get more early feedback.

fanoush 2009-12-02 15:51

Re: ScummVM on N900
 
Quote:

Originally Posted by mikkov (Post 404894)
I don't see any reason for not to push it to extras-testing (or at least extras-devel) even if you haven't tested it in device by yourself. This way you can get more early feedback.

Sound like a good idea in theory, but I'm not sure how this would work in reality. I fear of a lot of wasted time on both sides when going this way. But anyway, if you think so, I can put it to extras-devel/testing and see what happens :-)

mikkov 2009-12-02 15:54

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 405069)
Sound like a good idea in theory, but I'm not sure how this would work in reality. I fear of a lot of wasted time on both sides when going this way. But anyway, if you think so, I can put it to extras-devel/testing and see what happens :-)

If it doesn't work it's found out real soon. But if it works, bugs can be found earlier and the final version is ready earlier :)

I'm all for extras-testing, after all that's why it's there.

edit: I hope that it's optified

mikkov 2009-12-02 15:57

Re: ScummVM on N900
 
I can do the smoke test after you've uploaded it to extras-devel. After that it's good to go to extras-testing

Alex Atkin UK 2009-12-02 19:17

Re: ScummVM on N900
 
Quote:

Originally Posted by Kjow (Post 404343)
Hi! I installed it on N900, but to do this I used "dkpg -i" from terminal. Maybe this is the biggest problem for common users. I think N900 doesn't accept .deb as native "installer"...

However ScummVM runs very well, full speed (monkey Island 3, full throttle), right speech, perfect mouse emulation... only things I see that misses are some keys, such as "ESC" (it can be emulated by "backspace" [ <- ]), "." to skip dialogues and possibilities to remap arrows (in non-english keyboard layout there are "up" and "down" in 2° function).

A virtual keyboard would be very appreciated (ctrl+k ? :) ) to insert some text with real qwerty closed or without some special keys.

Monkey Island 3 ran with good sound but slightly low frame-rate on my Xperia X1. So it makes sense it would work perfectly on N900, even as it stands now which is presumably unoptimised. Oddly it ran worse on my iPod Touch 2G which should be identical specs, not to mention its completely unusable on a small capacitive screen with no keyboard.

I had a lot of problems with the 3" screen size though and keyboard mapping, I found it too awkward to use. Will be interesting to see if the N900 is any better for that.

I really want to play the original Sam & Max though, after completing the new ones on Xbox 360. It just looks aweful on a modern monitor so the small screen would actually help reduce the nastiness of the low resolution.

Kjow 2009-12-02 21:10

Re: ScummVM on N900
 
Quote:

Originally Posted by Kjow (Post 404343)
"." to skip dialogues

Hi! I was in wrong!

'.' works well! I don't know why never worked before (maybe fn locked).

I'm uploading 2 video on youtube... wow :D

Kjow 2009-12-02 22:07

Re: ScummVM on N900
 
Quote:

Originally Posted by Alex Atkin UK (Post 405626)
Monkey Island 3 ran with good sound but slightly low frame-rate on my Xperia X1. So it makes sense it would work perfectly on N900, even as it stands now which is presumably unoptimised. Oddly it ran worse on my iPod Touch 2G which should be identical specs, not to mention its completely unusable on a small capacitive screen with no keyboard.

I had a lot of problems with the 3" screen size though and keyboard mapping, I found it too awkward to use. Will be interesting to see if the N900 is any better for that.

I really want to play the original Sam & Max though, after completing the new ones on Xbox 360. It just looks aweful on a modern monitor so the small screen would actually help reduce the nastiness of the low resolution.

Hi!
ScummVM on N900 is amazing! Look at these videos I recorded some minutes ago:

http://www.youtube.com/watch?v=oHUcij6kFz0
http://www.youtube.com/watch?v=s9NbpXakLw0

:)

fanoush 2009-12-02 22:52

Re: ScummVM on N900
 
Quote:

Originally Posted by mikkov (Post 405103)
I can do the smoke test after you've uploaded it to extras-devel. After that it's good to go to extras-testing

OK, thanks. Few questions first for finalizing basic key bindings:
Do the zoom/volume keys work fine or they are eaten by system? In scummvm on N810/N900 zoom- should be right click, zoom+ should be menu in most games. Is the camera button eaten too or available? I guess it should produce F9 or F10. Does the Enter key produce Return or KP_Enter? It is KP_Enter on N810. Apart from those F keys (zoom, camera) I guess shift+enter and shift+backspace or shift left/right arrows could be mapped to something (escape, menu).

mikkov 2009-12-02 23:08

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 406153)
OK, thanks. Few questions first for finalizing basic key bindings:
Do the zoom/volume keys work fine or they are eaten by system? In scummvm on N810/N900 zoom- should be right click, zoom+ should be menu in most games. Is the camera button eaten too or available? I guess it should produce F9 or F10. Does the Enter key produce Return or KP_Enter? It is KP_Enter on N810. Apart from those F keys (zoom, camera) I guess shift+enter and shift+backspace or shift left/right arrows could be mapped to something (escape, menu).

Volume buttons are eaten by the system (they control volume) unless something is done (I don't know what). I guess that camera button is the same case, but I haven't checked. Enter is KP_ENTER. I think that backspace is the most logical key for escape.

fanoush 2009-12-02 23:16

Re: ScummVM on N900
 
Quote:

Originally Posted by mikkov (Post 406184)
I think that backspace is the most logical key for escape.

Except that deleting text in text entries (mostly saved games) would produce unexpected results.

mikkov 2009-12-02 23:21

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 406201)
Except that deleting text in text entries (mostly saved games) would produce unexpected results.

Ah yes, forgot that you might need to type in some games :)

Some of the combos is fine. Ctrl+backspace is reserved for task switching.

Kjow 2009-12-03 11:07

Re: ScummVM on N900
 
Full Throttle: I'm not able to switch punch / kick... how to do? :(

Video from start
Video from fight

fanoush 2009-12-03 11:37

Re: ScummVM on N900
 
Quote:

Originally Posted by Kjow (Post 407188)
Full Throttle: I'm not able to switch punch / kick... how to do? :(

Haven't played FT myself but I think you need right mouse click. So no problem, right click is mapped to Tab or zoom+ or dpad center ... oh wait none of them work on N900 ;) You can try Enter key but I guess it won't work. Looks like you need to wait few days for missing key mappings.

qwerty12 2009-12-03 11:41

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 406153)
In scummvm on N810/N900 zoom- should be right click, zoom+ should be menu in most games. Is the camera button eaten too or available?

Think of the power button on the N800/N810... except, a D-Bus signal is emitted when half-pressing it.

Quote:

Originally Posted by fanoush (Post 406153)
Do the zoom/volume keys work fine or they are eaten by system?

http://wiki.maemo.org/Documentation/...ng_volume_keys - GDK oriented; not sure of SDL specifics.

Kjow 2009-12-03 11:53

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 407269)
Haven't played FT myself but I think you need right mouse click. So no problem, right click is mapped to Tab or zoom+ or dpad center ... oh wait none of them work on N900 ;) You can try Enter key but I guess it won't work. Looks like you need to wait few days for missing key mappings.

Perfect! Thank you! :)
Enter key doesn't do anything.

I noticed that if I don't touch display for a while it goes to "power saving mode", there is a way to set it always on?

fanoush 2009-12-03 11:57

Re: ScummVM on N900
 
Quote:

Originally Posted by qwerty12 (Post 407279)
http://wiki.maemo.org/Documentation/...ng_volume_keys - GDK oriented; not sure of SDL specifics.

Thanks, the first part looks X11 oriented, I need to set _HILDON_ZOOM_KEY_ATOM for the window. There already is similar code (setting different atom) so this looks easy. Let's hope that's all for volume/zoom keys.

EDIT: Yes, it is easy, confirmation also here http://wiki.maemo.org/Documentation/..._Zoom_Out_keys

mikkov 2009-12-03 12:13

Re: ScummVM on N900
 
I usually hate when volume keys do something else than change volume. But on the other hand there isn't much keys available without opening the keyboard (well I keep the keyboard always open when using the device)

Dexter1759 2009-12-08 11:24

Re: ScummVM on N900
 
Hi All,

I shall be getting my hands on my N900 tomorrow night and one of the first things I'd love to do is install ScummVM and install MI1, 2 & 3.

I'm a complete Maemo noob, so just had a quick scan through this thread.

Firstly, am I right in thinking I simply download the .deb file (in Linux speak are .deb files similar to .exe files that install/setup a program?) then install it via X-Terminal?

Secondly, does this automatically add it to my Apps Menu ?(therefore allowing me to add a shortcut on my desktop?)

Finally, how safe is it for a Maemo noob to do this? (I'm not going to be installing stuff "willy nilly" unless it's via the "proper" repositories through the App Manager - but ScummVM and maybe one or two others would be an exception to the rule)

One more side question actually, slightly off topic, but I have read (but don't fully understand) that maemo5 apps need to be "optified" otherwise you'll probably run out of safe for app pretty quick, do I need to worry about htis when install ScummVM, via this method?

Many thanks in advance, for answering any of the above questions.

rapante 2009-12-08 13:21

Re: ScummVM on N900
 
Quote:

Originally Posted by Dexter1759 (Post 416268)
Hi All,

I shall be getting my hands on my N900 tomorrow night and one of the first things I'd love to do is install ScummVM and install MI1, 2 & 3.

I'm a complete Maemo noob, so just had a quick scan through this thread.

Firstly, am I right in thinking I simply download the .deb file (in Linux speak are .deb files similar to .exe files that install/setup a program?) then install it via X-Terminal?

Secondly, does this automatically add it to my Apps Menu ?(therefore allowing me to add a shortcut on my desktop?)

Finally, how safe is it for a Maemo noob to do this? (I'm not going to be installing stuff "willy nilly" unless it's via the "proper" repositories through the App Manager - but ScummVM and maybe one or two others would be an exception to the rule)

One more side question actually, slightly off topic, but I have read (but don't fully understand) that maemo5 apps need to be "optified" otherwise you'll probably run out of safe for app pretty quick, do I need to worry about htis when install ScummVM, via this method?

Many thanks in advance, for answering any of the above questions.

yes, you can install it via console (get the rootsh app first)

yes you will see an icon in the apps(more) menu and you will be able to place it onto the desktop like every other app

but just to be clear, you won't be able to save or do anything that requires proper key mapping as there is no built that fully supports the n900 yet!

hope that helps

Bundyo 2009-12-08 20:36

Re: ScummVM on N900
 
Maybe the proximity sensor can be used for a right click modifier?

Dexter1759 2009-12-08 20:56

Re: ScummVM on N900
 
Quote:

Originally Posted by rapante (Post 416438)
yes, you can install it via console (get the rootsh app first)

yes you will see an icon in the apps(more) menu and you will be able to place it onto the desktop like every other app

but just to be clear, you won't be able to save or do anything that requires proper key mapping as there is no built that fully supports the n900 yet!

hope that helps

Hi that's wonderful help, thanks. Shame about the saving and key mapping, but most games are "point-and-click" surely? so the key mappings aren't that important?

Any ideas when a "proper" N900 version will be out? Or is just a case of it'll be done when it's done?

Thanks again.

kimtuomi 2009-12-09 06:59

Re: ScummVM on N900
 
Quote:

Originally Posted by Bundyo (Post 417349)
Maybe the proximity sensor can be used for a right click modifier?

This is a great idea! That sensor is in perfect place and easy to operate for this purpose! The right clicking is quite critical, in Broken Sword you miss some of the feel because you cannot actually just look at the objects.

There is another problem concerning Broken Sword 1. The inventory bar opens in top of the screen. Even when playing in full screen mode and trying to handle the first object in inventory bar, the N900 application menu is triggered although it is not visible on screen.

One more thing is that there is no working escape-button in ScummVM. It would be nice to be able to skip the intro movies and whatever is skippable.

fanoush 2009-12-09 08:20

Re: ScummVM on N900
 
Quote:

Originally Posted by kimtuomi (Post 418209)
This is a great idea! That sensor is in perfect place and easy to operate for this purpose!

Well, the sensor already have a purpose. By covering it you will change display brightness. I'm fine with it (as I will disable this feature anyway) but it is too hackish. Could be extra tool outside of scummvm similar to camera button hack.

EDIT: oh, maybe proximity sensor is different from ambient light sensor? Then it would make sense indeed.

Quote:

Originally Posted by kimtuomi (Post 418209)
There is another problem concerning Broken Sword 1. The inventory bar opens in top of the screen. Even when playing in full screen mode and trying to handle the first object in inventory bar, the N900 application menu is triggered although it is not visible on screen.

Yes, that's indeed quite bad and I fear there is no easy way to disable it. Maybe screen should be aligned to right to avoid it but it will look strange. Could be solved by filling the space on the left with some sort of virtual keyboard :-)

fanoush 2009-12-09 08:36

Re: ScummVM on N900
 
Quote:

Originally Posted by Dexter1759 (Post 417386)
? Or is just a case of it'll be done when it's done?

Yes, exactly. I hope I will have some first version fully usable on N900 by the end of this week.

BTW, my N900 is currently on the way from Finland to me. Today arrived at DHL facility in Czech Republic so I will have it today or tomorrrow :-) Woohoo!

rapante 2009-12-09 08:41

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 418319)
Yes, exactly. I hope I will have some first version fully usable on N900 by the end of this week.

BTW, my N900 is currently on the way from Finland to me. Today arrived at DHL facility in Czech Republic so I will have it today or tomorrrow :-) Woohoo!

congratulations to a new proud owner and thanks for putting in the effort to get us our beloved scummvm :)

kimtuomi 2009-12-09 11:34

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 418303)
Well, the sensor already have a purpose. By covering it you will change display brightness. I'm fine with it (as I will disable this feature anyway) but it is too hackish. Could be extra tool outside of scummvm similar to camera button hack.

Yeah, forgot to mention; it would be nice to have ScummVM disable screen saver / screen dimming when it is running (or, when it is executing a game).

andygt 2009-12-10 10:05

Re: ScummVM on N900
 
Can someone tell me how to apply the diff patch please?

MrGrim 2009-12-10 10:46

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 418303)
Well, the sensor already have a purpose. By covering it you will change display brightness. I'm fine with it (as I will disable this feature anyway) but it is too hackish. Could be extra tool outside of scummvm similar to camera button hack.
EDIT: oh, maybe proximity sensor is different from ambient light sensor? Then it would make sense indeed.

They are quite different. See manual for more details on the proximity sensor
And maybe this thread (and/or it's creator) can give you some more pointers on where to start
I'd like to help more, but, well, i'm not that good :(

fanoush 2009-12-10 14:16

Re: ScummVM on N900
 
Quote:

Originally Posted by andygt (Post 420458)
Can someone tell me how to apply the diff patch please?

You mean you want to recompile it from source? I am not sure what you want since I think those who are able to install SDK and recompile it should have no problem with applying a patch. Anyway It is patch -p1 <path/to/patchfile when run from toplevel scummvm source directory, patch is inside backend/platform/maemo/ (typing from memory). It is also described in the README in toplevel directory.

BTW, got the device yesterday and getting familiar with it now. Everything works fine so far, I'm happy I haven't got a lemon.

hopbeat 2009-12-10 14:20

Re: ScummVM on N900
 
Regarding the proximity sensor: how the right button modifier is done? (Sorry, I didn't dig through the whole thread :) )

The question is, if this can be done externally (i.e. proximity sensor daemon sending an event/emulating a key press) or does this require changes in the application?

fanoush 2009-12-10 14:31

Re: ScummVM on N900
 
Quote:

Originally Posted by hopbeat (Post 420917)
Regarding the proximity sensor: how the right button modifier is done? (Sorry, I didn't dig through the whole thread :) )
The question is, if this can be done externally.

Yes, it can be done externally too. Maemo specific keymappings are done in addition to original ones (unless there is conflict) so if you can generate right mouse click event, it is OK. This would be helpful also for other software (VNC viewer?). For ScummVM I am currently thinking about using zoom keys like it is used on N810 - right zoom is right click, left is menu key. Still not sure about escape.

andygt 2009-12-10 14:59

Re: ScummVM on N900
 
Quote:

Originally Posted by fanoush (Post 420906)
You mean you want to recompile it from source? I am not sure what you want since I think those who are able to install SDK and recompile it should have no problem with applying a patch. Anyway It is patch -p1 <path/to/patchfile when run from toplevel scummvm source directory, patch is inside backend/platform/maemo/ (typing from memory). It is also described in the README in toplevel directory.

BTW, got the device yesterday and getting familiar with it now. Everything works fine so far, I'm happy I haven't got a lemon.

Sorry if I have misunderstood - I presumed the file here http://www.tuug.fi/~toni/serendipity...-updated!.html
needed to be patched with the diff file?
Anyway I have installed this version http://prdownloads.sourceforge.net/s...l.deb?download and it's working great with the monkey island games and indy FOA

Dexter1759 2009-12-10 17:17

Re: ScummVM on N900
 
Quote:

Originally Posted by andygt (Post 420979)
Sorry if I have misunderstood - I presumed the file here http://www.tuug.fi/~toni/serendipity...-updated!.html
needed to be patched with the diff file?
Anyway I have installed this version http://prdownloads.sourceforge.net/s...l.deb?download and it's working great with the monkey island games and indy FOA

Hi All,

Just a quick question, once I've downloaded and installed from the 2nd link in the post above. Is it really easy to uninstall, when/if a "proper" version makes it to the Extras Repo? Is it one simple command in X-Term?

Many thanks for you help, again, I know us Maemo/Linux noobs must be doing your heads in, but we all have to start somewhere.

Dex

hopbeat 2009-12-10 17:25

Re: ScummVM on N900
 
@fanoush, I have a daemon to poll the sensor (supports vibration feedback, stopping when the keyboard is blocked), which soon will be part of a daemon used for shortcuts.
You tell me how you would like to use it (i.e. what it should emit when ScummVM is running) and we will include that :)

gowen 2009-12-10 20:43

Re: ScummVM on N900
 
I'm trying to install the -3 version but it keeps asking for libflac8, libmad0 and libvorbisidec1. Where can I find these libs?

Helmuth 2009-12-11 01:08

Re: ScummVM on N900
 
When using the proximity Sensor for right click it should be possible to use volume - for esc and volume + for menu.

But a earlier post here suggests a good solution. The N900 screen aspect ratio is not 4:3. So I guess we have at all scummVM games a black unused space on one or booth sides. So why don't put there a ESC, Menu and other Buttons on the left and F1 to F12 on the right side?

You have not to hold ESC and click somewhere on the screen on the same time. So multitouch is for this not needed. In this case you can let the volume keys be volume keys. I would like this. ;)
The only thing you need in the same time is the right click modifier. Map this to the proximity sensor AND to the camera Button will cover the full functionallity for left- and righthanded people. :)

In my opinion this could be the best solution. What do you think about it?

DaSilva 2009-12-11 08:53

Re: ScummVM on N900
 
Good idea!

andygt 2009-12-11 09:35

Re: ScummVM on N900
 
Quote:

Originally Posted by gowen (Post 421559)
I'm trying to install the -3 version but it keeps asking for libflac8, libmad0 and libvorbisidec1. Where can I find these libs?

Just instal this version - http://prdownloads.sourceforge.net/s...l.deb?download

Works straight away without any need for other files and saving works fine too. Just remember to uninstall the other version first.
When you add games the folder path to root is /home/user/MyDocs

rapante 2009-12-11 09:52

Re: ScummVM on N900
 
Quote:

Originally Posted by Helmuth (Post 421970)
When using the proximity Sensor for right click it should be possible to use volume - for esc and volume + for menu.

But a earlier post here suggests a good solution. The N900 screen aspect ratio is not 4:3. So I guess we have at all scummVM games a black unused space on one or booth sides. So why don't put there a ESC, Menu and other Buttons on the left and F1 to F12 on the right side?

You have not to hold ESC and click somewhere on the screen on the same time. So multitouch is for this not needed. In this case you can let the volume keys be volume keys. I would like this. ;)
The only thing you need in the same time is the right click modifier. Map this to the proximity sensor AND to the camera Button will cover the full functionallity for left- and righthanded people. :)

In my opinion this could be the best solution. What do you think about it?

yep, I guess that's the best solution

pelago 2009-12-11 09:58

Re: ScummVM on N900
 
Quote:

Originally Posted by Helmuth (Post 421970)
But a earlier post here suggests a good solution. The N900 screen aspect ratio is not 4:3. So I guess we have at all scummVM games a black unused space on one or booth sides. So why don't put there a ESC, Menu and other Buttons on the left and F1 to F12 on the right side?

I think this is a good idea, and I thought the same the first time I used ScummVM on my N810. I think it would be ideal if the buttons were game specific, as different games use different buttons. For the right-click modifier, that could be done with a "sticky" onscreen button (i.e. tap the button once, then tap the screen for right-click), although I think there should also be a hardware modifier key available too.


All times are GMT. The time now is 13:10.

vBulletin® Version 3.8.8