maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   scummvm 0.12 pre-release (https://talk.maemo.org/showthread.php?t=23071)

fanoush 2008-08-22 06:55

scummvm 0.12 pre-release
 
Hi,

it is testing week for ScummVM 0.12 so here is one pre-release version:

scummvm_0.11.99_armel.deb

Before testing it may be good idea to

- backup your saved games (~/.scummvm unless set in UI differently) and config file ~/.scummvmrc if you want to go back to 0.11

- get up to date supplementary files for some games
http://scummvm.svn.sourceforge.net/s...s/engine-data/

- read what is new
http://scummvm.svn.sourceforge.net/s...ch-0-12-0/NEWS

I am mostly interested in testing of newly supported games. As I don't own most of them I don't know if they need any Maemo-specific keybindings.

There is also new big icon for menu. If you see small one from previous version try rebooting device.

fanoush 2008-08-26 09:04

Re: scummvm 0.12 pre-release
 
OK, scummvm 0.12.0 was tagged yesterday. Binary built from tagged sources is here
http://fanoush.wz.cz/maemo/scummvm_0.12.0_armel.deb
MD5sum c4a4a2d481b1f398c14986990f1ef269

Official 0.12.0 release announcement is planned for next week.

mikkov 2008-08-26 09:33

Re: scummvm 0.12 pre-release
 
I hope that you could upload scummvm to extras

fanoush 2008-08-26 12:28

Re: scummvm 0.12 pre-release
 
Everything except Diablo will be there at the time of official release on ScummVM site. It was like this with previous releases too. scummvm is in extras since 0.9.1 (?).

For Diablo extras there is this 'autobuilding from source' requirement which is not met yet.

Source is there of course since day one. And now there is even Makefile workaround for internal compiler error in one source file so it has chance to be built without manual intervention. The missing bits are checking and testing all dependencies in extras (mad,ogg,flac,tremor,mpeg, i think at least tremor is not in Diablo) and making uploadable and buildable source.

mikkov 2008-08-26 14:14

Re: scummvm 0.12 pre-release
 
I could modify debian 0.11.1 package to be autobuildable with maemo patches and upload it somewhere. If it works, you could continue from there on

qwerty12 2008-08-26 16:27

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by fanoush (Post 217606)
Source is there of course since day one. And now there is even Makefile workaround for internal compiler error in one source file so it has chance to be built without manual intervention. The missing bits are checking and testing all dependencies in extras (mad,ogg,flac,tremor,mpeg, i think at least tremor is not in Diablo) and making uploadable and buildable source.

I'll take a look into this as well, I'm not a brilliant packager (far from it) but I've been building so much audio related libs recently, I feel like one :)

libmpeg2 + flac were here, flac was already in extras, mikkov has already uploaded mpeg2dec :)

libmad is already in extras with flac, libogg is here: http://tuomas.kulve.fi/debian/pool/chinook/maemo/libo/
libvorbisidec: http://tuomas.kulve.fi/debian/pool/chinook/maemo/libv/. Source packages could easily be uploaded to extras.

Ok, I've got libmad, flac, libogg, libvorbisidec installed, lets see how this goes :)

mikkov 2008-08-26 16:53

Re: scummvm 0.12 pre-release
 
All of the depencies are in extras, except tremor. Tremor seems to be fixed point ogg vorbis decoder and for N8x0 we can use normal ogg because there is fpu?

qwerty12 2008-08-26 16:59

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by mikkov (Post 217738)
All of the depencies are in extras, except tremor. Tremor seems to be fixed point ogg vorbis decoder and for N8x0 we can use normal ogg because there is fpu?

I can't see libmpeg2 there :/. Everything I've looked at recommends tremor for arm.

EDIT: I see it was uploaded to extras-devel (by you?) :)
Ok, looked, it was old version. Source for latest version here: http://qwerty12.maemobox.org/libmpeg2-0.5.1.tar.bz2

fanoush 2008-08-26 19:57

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by mikkov (Post 217738)
All of the depencies are in extras, except tremor.

Tremor/libivorbisdec is part of mogg (ogg support for maemo) in Chinook but I don't see it in Diablo extras. mpeg2 would be nice but not strictly needed, videos for Broken Sword is available at scummvm site in DXA format which is superior quality. I think no other game uses mpeg2 so if not available it can be disabled. Tremor is a must IMO.

mikkov 2008-08-26 21:43

Re: scummvm 0.12 pre-release
 
scummvm 0.11.1 is now in diablo extras-devel. It is missing flac and ogg support totally.

I had libvorbisidec-dev, which should contain tremor, in build depencies instead of normal libvorbis. libvorbisidec-dev is having some problems or for some other reason scummvm doesn't recognise it.

Flac works for me locally, but something went wrong with autobuilder.

I will at least fix flac and normal ogg vorbis support, and maybe look into tremor support.

fanoush 2008-08-27 06:37

Re: scummvm 0.12 pre-release
 
Thanks for your efforts. There can be the issue mentioned in the mail I linked previously. FLAC needs real libogg unless configured without but tremor provides both libogg and libvorbis functions but in incompatible manner. Linking flac + real ogg + tremor doesn't work for me. But maybe I have old version of something and latest versions work?

I checked it out from extras and see you started from debian version of debian directory but otherwise everything important is in. I will try similar route with 0.12. Thanks.

mikkov 2008-08-27 09:00

yes, I didn't use patches to debian directory directly, but feel free to put your own content there. Notice use of quilt and patches directory. 'rm -f engines/kyra/screen.oo' should be added to debian/rules clean target.

edit:
I can't get tremor working at all, even when I uninstall flac and real ogg and leave only tremor in place. flac+real ogg works.

mikkov 2008-09-13 09:41

Re: scummvm 0.12 pre-release
 
scummvm 0.11.1 is now in extras-devel with all features enabled, except it is using vorbis instead of tremor. How important it is to use tremor? I feel that it is very importatant to get scummvm to diablo extras, more important than to get tremor working.

fanoush 2008-09-13 19:16

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by mikkov (Post 223557)
scummvm 0.11.1 is now in extras-devel with all features enabled, except it is using vorbis instead of tremor. How important it is to use tremor?

Well it is said to use at least half the CPU power of the floating point version. Check the thread here http://www.gossamer-threads.com/list...rs/15901#15901 it is like 30% vs 12% of CPU. Please note that some games like COMI run near 100% CPU so this may make difference. I do have COMI with vorbis encoded audio so I'll try your version and see how bad it is with cpu usage.
Quote:

Originally Posted by mikkov (Post 223557)
I feel that it is very importatant to get scummvm to diablo extras, more important than to get tremor working.

Well, current scummvm has no extra dependency so it can be installed by clicking the deb without adding any repository. I agree it is important to have it in extras but IMO slower version is worse than nothing because two different versions will confuse people.

fanoush 2008-09-13 20:16

Re: scummvm 0.12 pre-release
 
Hmm, I don't have COMI on my N810, it is on full size SD card inside my OS2007 based N800 :-( Tried Simon 1 floppy version with stereo oggs from http://www.jameswoodcock.co.uk/?page_id=954 and there is some serious difference. 0.11.1 from extras devel eats ~85% of CPU on first screen once game starts in the cottage but my 0.12.0 one eats only 19% in same screen. If you try to 'use postcard' which brings up save dialog and stops screen updates it drops to ~75% and my version to ~6%. Looks like it is not just vorbis but also some compiler or other scummvm config flags. Will test other games and will try to install my build of 0.11 too.

EDIT: tried my 0.11.1 and it is same as 0.12.0

EDIT2: maybe vorbis in extras-devel is not VFP enabled?

Serge 2008-09-13 20:31

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by qwerty12 (Post 217742)
I can't see libmpeg2 there :/. Everything I've looked at recommends tremor for arm.

I'm recommending ffvorbis ;)

Quote:

EDIT: I see it was uploaded to extras-devel (by you?) :)
Ok, looked, it was old version. Source for latest version here: http://qwerty12.maemobox.org/libmpeg2-0.5.1.tar.bz2
Vanilla libmpeg2 has only some very limited ARM optimizations for motion compensation. Adding ARM optimized iDCT and more optimized functions for motion compensation could improve performance very noticeably.

mikkov 2008-10-25 20:44

Re: scummvm 0.12 pre-release
 
I'd like to get scummvm to diablo work started again. Scummvm is featured in OS2008 User Site (http://tableteer.nokia.com/tableteer..._scummvm.xhtml) so slick installation would be very nice.

Here's the current situation:
- Fanoush has ported scummvm to maemo and it is excellent (thanks fanoush).
- Chinook extras repository has fanoush's official 0.12 build with tremor support
- Diablo extras-devel has 0.11.1 build with libvorbis support which is slower that tremor build. I have uploaded vorbis with vfp support to extras-devel so maybe performance difference isn't so big anymore.

What needs to be done?
- update scummvm in diablo extras-devel to 0.12
- is tremor required? Tremor build with autobuilder is possible, but I haven't been able to build tremor support even in my local scratchbox. Some instructions would be needed.
- if plain libvorbis support is enough I can update scummvm in no time.

fanoush 2008-12-05 09:28

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by mikkov (Post 236639)
- Diablo extras-devel has 0.11.1 build with libvorbis support which is slower that tremor build. I have uploaded vorbis with vfp support to extras-devel so maybe performance difference isn't so big anymore.

I rechecked it now and indeed it is vfp compiled so the load drops to ~34% in same Simon scene (see comment #15 above). This is much better but still significantly worse than tremor (eating like 10% in same situation). All this is consistent with findings here
http://www.gossamer-threads.com/list...rs/15901#15901

Quote:

Originally Posted by mikkov (Post 236639)
- is tremor required?

Well, not exactly required but it is better. It doesn't matter much with Simon but e.g. Curse of Monkey Island uses like 80-100% cpu even with tremor so additional overhead of vorbis may make the difference of fluent vs skipping playback. I will recheck this vfp build with COMI.
Quote:

Originally Posted by mikkov (Post 236639)
Tremor build with autobuilder is possible, but I haven't been able to build tremor support even in my local scratchbox. Some instructions would be needed.

Sadly I don't remember how exactly I did it but I suppose just checking out from tremor SVN http://svn.xiph.org/trunk/Tremor/ was the trick. Bigger problem was the conflict with FLAC which needs real libogg as described here

Even if I hate having suboptimal scummvm package in the repository maybe it is better than nothing. I guess some explanation in maemo download page (and maybe also directly in package description) mentioning ~20% CPU hit with ogg audio and with pointer to more optimized build for those who really care should be enough.

After all not everyone uses ogg audio compression.

OK, I'll check out build script changes in 0.11.1 source in extras-devel and make 0.12 build.

mikkov 2009-01-01 11:32

Re: scummvm 0.12 pre-release
 
1 Attachment(s)
I made a new test build ( scummvm_0.11.99-2) of scummvm 0.12 with new version of tremor (libvorbisidec1_1.2.0-1.svn20080906.tk1) in extras-devel. For me it works with mp3 and ogg files, but I don't know if flac really works.

scummvm_0.11.99-3 also incules patch which shows name "ScummVM" instead of "unknown" in taskswitcher. You have to switch once to fullscreen mode before it works

fanoush 2009-01-02 10:05

Re: scummvm 0.12 pre-release
 
Quote:

Originally Posted by mikkov (Post 253889)
scummvm_0.11.99-3 also incules patch which shows name "ScummVM" instead of "unknown" in taskswitcher. You have to switch once to fullscreen mode before it works

Nice. Tried the code and it works. Hopefully there is better place for this so it works from the start. I also hoped it will solve issue with switching application automatically back via second home key long press (I have it swapped with short press in mce.ini like it was in OS2006, it is really handy for quick peek to desktop screen and back) but unfortunately it doesn't help with this.

mikkov 2009-01-03 00:09

Re: scummvm 0.12 pre-release
 
2 Attachment(s)
I made another version scummvm_0.11.99-4, where both switching application back via home key long press and caption set right from the beginning (and not just "ScummVM") work

patches are pretty rough and they must be applied after scummvm-0.12.0-maemo.patch


All times are GMT. The time now is 22:17.

vBulletin® Version 3.8.8