![]() |
ScummVM on N900
Just a quick note, that I have made an initial build of ScummVM for the N900 that is basically working, for the rest of the details, please see my web page:
http://www.tuug.fi/~toni/serendipity/index.php?/archives/2-ScummVM-for-N900-Fremantle.html |
Re: ScummVM on N900
Quote:
Now, one feature request: a mode similar to the Maemo 5 browser where you can display the mouse cursor. Many of the games are easier when you can hover over things... |
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
I've been waiting for this. The Monkey Island theme immediately started playing in my head :)
|
Re: ScummVM on N900
Thanks for this, as I'm currently playing Curse of Monkey Island on my N810 and it would be nice to continue on the N900. Mind you, I already have to squint a bit sometimes to see small items or read small text on the N810, so the N900 might be a bit of a challenge.
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
I have a newer version out now:
http://www.tuug.fi/~toni/serendipity/ - enable full screen mode with ctrl-f - enable global menu with ctrl-m - enable SCI (newer Sierra) game support, seems to work with for example Larry 1 VGA, Larry 6, Quest for Glory 2 |
Re: ScummVM on N900
you're a legend!!
|
Re: ScummVM on N900
Thanks toninikkanen! I cant wait to play it on the n900 when it arrives. Is there a list of compatible games? Especially Monkey Island 3 and Full Throttle!
Did you manage to fix the screen to be centered? Thank you! |
Re: ScummVM on N900
Great work just a quick question ive been playing these games on m nokia n97 will the same game work on the Nokia n900
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
You mention you applied Maemo specific patches... you mean fanoush' ones?
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
Quote:
What I'm missing in your TODO list is - release source diff together with the binary - let the current maintainer know ;) Quote:
ScummVM 1.0.0 had a delay and is currently planned as "November 6: tagging, November 15: release". Since this thread proves there appears to be some interest :) it would be nice to have basic N900 fixes in official 1.0.0 and perhaps have 1.0 testing version in Fremantle extras-testing ASAP. toninikkanen, can you post source diff for your changes here? |
Re: ScummVM on N900
and BTW what is the best to check in debian source package building scripts for determining current maemo SDK version? I'd like to build all binaries (OS2006,7,8,fremantle) from same source.
|
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
I'm going to bed right now so here's just an ugly megadiff against 1.0.0rc1 sources, it has the supplied backend/platform/maemo/scummvm-1.0.0-maemo.patch applied in it as well.
http://www.tuug.fi/~toni/blogitems/p...mmvm_n900.diff Í have the stuff in a locat git repo and can make you a better diff tomorrow if needed. |
Re: ScummVM on N900
Quote:
But there are some other issues, SDL_UpdateRects is dead slow and SDL_Quit is somewhat unsafe :) https://bugs.maemo.org/show_bug.cgi?id=5524. SDL_SetIcon breaks keyboard input. I think that some basic power saving features would be useful. For example stop when backgrounded and stop when in front and screen blanks. Perfect powersaving is not possible with SDL library unless the whole program is killed though ;). |
Re: ScummVM on N900
Hey fanoush. Will you be releasing another port for the N8x0 come the November 16th release?
Only asking, not a request this time. Also, if you do, will it have SCI support? Looks like in your current version you have that blocked out for some reason. Thanks chief! By the way, I'm still enjoying Discworld, so again, many thanks! :) |
Re: ScummVM on N900
Just to recap, the three most important (and very small) changes I did on top of the included maemo patch were:
Add -lX11 to link flags. This was enough to build the whole package and get it running as well. Added RX-51 to the list of keyboard-equipped Maemo devices Commented out the SDL_WM_SetIcon call. This enabled getting window focus -> enabled you to use the keyboard. The rest is just trying to get the keyboard mappings to such a state that they make sense on the N900 - and I'm still missing the ability to enter the save dialog and enter numbers - the keyboard command part of the code is a bit confusing there and I don't know SDL anyway. Also I enabled the SCI and SCI32 engines because I wanted to play Quest for Glory 2. |
Re: ScummVM on N900
Quote:
Quote:
|
Re: ScummVM on N900
OK, I have finally installed Fremantle SDK :o and made some build of scummvm, installed into x86 target to test with the fancy Maemo 5 UI and indeed there are some issues.
Quote:
Quote:
Maybe with so many buttons missing, some virtual buttons on screen are really needed :-( Quote:
So I guess to test the water I will start with fremantle specific sources for uploading to fremantle extras-devel (hopefully this weekend) and try one source for all later. As for dependencies and maemo autobuilder it looks great. I see there is both libvorbisidec and libmad in fremantle extras-devel but libmad is not in extras. FLAC is in both. As for power management - do SDL apps get lost focus event when the application is switched away or display is blank? How can I blank the display in SDK? |
Re: ScummVM on N900
Quote:
Quote:
Quote:
Quote:
Quote:
Code:
+ else if (event.type == SDL_ACTIVEEVENT) ACTIVEEVENT is not received when screen blanks. For that we should use libosso, but right now (or again :)) I can't get it to receive display events. |
Re: ScummVM on N900
Quote:
I'm all about instability! Just ask anyone who knows me! :D I do understand that the daily builds can play a game, such as Leisure Suite Larry VGA, in it's entirety one day and then break it the next. So there's no guarantees on anything with an unofficial release. It still would be fun just to try a few out though. Your call. Either way, it won't take away my happiness from your current build. :) |
Re: ScummVM on N900
Quote:
|
Re: ScummVM on N900
one can use key combinations like Ctrl+Enter to switch to fullscreen too.
|
Re: ScummVM on N900
Is this still being worked on? I would love to have this working on N900.
|
Re: ScummVM on N900
I am no longer actively doing anything at least, since I supposed others picked up the ball..
|
Re: ScummVM on N900
...but the .deb package (and patches) I made can still be downloaded from http://www.tuug.fi/~toni/serendipity/ while waiting for more polished, more official versions from others.
|
Re: ScummVM on N900
Well, after I updated my scratchbox environment to latest Fremantle SDK I no longer see display updated inside Xephyr window. Only when switching to/from fullscreen display is updated. This happens to all maemo 5 apps (browser, control panel,...) in FREMANTLE_X86 target, not just scummvm. Previous SDK had only wrong colours :-) This is my old ubuntu 6.04 virtual machine I have since OS2006 days and I do all OS2006/7/8/Fremantle development there. I need to migrate it to something newer but currently don't have disk space for another virtual machine :o
That's why I have put is aside for the moment since the developer device should arrive any time soon (3 weeks since I ordered) But anyway, the 1.0.0 scummvm release is out and the 1.0.0 source includes N900 fixes mentioned in this thread so it should in theory build out of box. Then there is submission to extras-devel->extras-testing->extras and voting which can take some time too. 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. |
Re: ScummVM on N900
Quote:
Since Fremantle uses gcc 4 compiler and previous SDKs use gcc 3.4, I was expecting it to fail because of different libgcc/libstdc++. It is nice this is not the case and we can still have same binary fror all devices. Time to add escape and menu key. Fullscreen switch is currently ctrl+space, global menu is ctrl m, both work on N810 too. |
Re: ScummVM on N900
Ah it seems they have disabled SDL_WM_SetIcon for Maemo, so I'm not surprised it's working out of the box, that was the only major problem (along with the keybindings of course.)
|
Re: ScummVM on N900
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. |
Re: ScummVM on N900
Quote:
Quote:
Quote:
Also maybe you will be missing ESC in other software too, another way is to change N900 native keymapping to add tab, esc, pipe, page up/down, braces etc. For N810 this is in /usr/share/X11/xkb/symbols/nokia_vndr/rx-44, maybe there is rx-51 too? Quote:
|
Re: ScummVM on N900
Quote:
Quote:
N900 has not relevant "incompatibility" with official scummvm :) Quote:
ctrl backspace is not free on N900, it open program switcher (such as ALT TAB on windows)... ctrl e ? ( e = esc) '.' (or arrows) doesn't work for me in N900 to skip MI2 dialogues. Quote:
Quote:
|
Re: ScummVM on N900
Quote:
Quote:
Quote:
Quote:
For previous tablets there was also xkbd and xvkbd available with customizable layouts (usable also for dosbox and other stuff that needs keyboard). |
Re: ScummVM on N900
Quote:
UI for installing from .debs was removed in fremantle |
Re: ScummVM on N900
Quote:
Application manager has not any "load file" :( With "dpkg -i file.deb" all ok. Quote:
English layout Non-english layout fn+right arrows ( = down) is not recognized... but fn+numers works ok on MI2 protection. Quote:
|
All times are GMT. The time now is 11:58. |
vBulletin® Version 3.8.8