Compiling for WinCE

Subforum for discussion and help with ScummVM's PocketPC/HandheldPC port

Moderator: ScummVM Team

Post Reply
Exolon
Posts: 24
Joined: Thu Feb 05, 2009 3:30 pm

Compiling for WinCE

Post by Exolon » Mon Jun 11, 2012 6:02 am

Hi,

I managed to build mingw32ce, tremolo, mad, libmpeg2 and zlib but unfortunately I have some problems building SDL.

Cerials nice howto from 2009 refers (and provides a build patch) to SDL Version 1.2.13-r4600 but that was before they switched away from subversion to mercurial.

The patch does not fit on newer versions and there seems no path for newer versions.

How do I get the SDL Version 1.2.13-r4600? I think the revision number is an subversion one ... how do they match to mercurial?

Thanks

Exo

Exolon
Posts: 24
Joined: Thu Feb 05, 2009 3:30 pm

Post by Exolon » Mon Jun 11, 2012 10:51 am

O.k. found a solution:

The SDL commit archives are still online:
http://lists.libsdl.org/pipermail/commits-libsdl.org/

So i took the date from the r4600 and did an:

hg update --date

Now cerials patches apply without error.

Thanks

User avatar
pilaxoft
Posts: 81
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft » Wed Jun 26, 2013 6:42 am

Can someone compile a 1.6 version?
Are buildbot versions good enough for using in a pocketpc?

Thanks.

digitall
ScummVM Developer
Posts: 971
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Wed Jun 26, 2013 12:26 pm

pilaxoft:
1. "Someone" should be the WinCE porter who is still Cerial... I'd suggest asking him when it is likely to be released.
2. "Good enough" is very subjective. They should work fine, but your mileage may vary:
http://buildbot.scummvm.org/builds.html

User avatar
pilaxoft
Posts: 81
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft » Thu Jun 27, 2013 2:49 pm

Sorry, you´re right.
I´ve been experimented some working problems with lasts buildbot releases: Scumm doesn´t recognize lastests supported games. :cry: This is the reason I´m asking for a hand made compilation if someone is yet capable of compiling scumm for wince by now.

Thanks.

User avatar
LordHoto
ScummVM Developer
Posts: 1030
Joined: Sun Oct 30, 2005 3:58 pm
Location: Germany

Post by LordHoto » Thu Jun 27, 2013 9:26 pm

pilaxoft wrote:Sorry, you´re right.
I´ve been experimented some working problems with lasts buildbot releases: Scumm doesn´t recognize lastests supported games. :cry: This is the reason I´m asking for a hand made compilation if someone is yet capable of compiling scumm for wince by now.

Thanks.
What games are you talking about exactly?

digitall
ScummVM Developer
Posts: 971
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Fri Jun 28, 2013 4:30 pm

pillaxsoft: To repeat Lordhoto's question, which games?

The WinCE port is limited by the screen size and depth of most WinCE devices, thus only games which work well in 256 colors and at resolutions of 320x200 are likely to be supported. See:
http://wiki.scummvm.org/index.php/Windows_CE

I would suspect that the backend does not support 16bit color output which is needed for most newer games... Thus "a hand made compilation" will not help.

User avatar
pilaxoft
Posts: 81
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft » Mon Jul 01, 2013 11:03 am

Dreamweb, The Last Express and I have no mouth.

I own several pocketpc (axim x50v/x51v/x51, HTC Diamond 1&2, Loox FS520, Qtek 9000&9090, HP4705....) but I usually play in a HP 1940 (wince4.2 - 320x240 - 65.536 colours)couse this one is more stable an handyfull.


Thanks.

digitall
ScummVM Developer
Posts: 971
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Mon Jul 01, 2013 4:03 pm

Dreamweb is 640*480 during intro so will not work on smaller screen. Possibly in future, but not now. The Last Express will never work as requires far too much CPU and 1024x768 IIRC, in any case it is incomplet. wIP and not supported. IHNM uses the SAGA engine, but again is 640*480 IIRC, so unilkely.

User avatar
pilaxoft
Posts: 81
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft » Tue Jul 16, 2013 11:11 am

I thought these programs should work via rescalling graphics.
So I understand that these games should work in a wince vga pda. I´ve some of this kind: Dell Axim x50v, x51v, hp ipaq 4700, FS loox 560, HTC diamond and a HTC diamond2 with 800x480 WVga display.
Can I try playing on these ones?

digitall
ScummVM Developer
Posts: 971
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall » Tue Jul 16, 2013 4:45 pm

I am unsure about the WinCE backend's graphics scaling.

Note, that we have an outstanding Pull Request with an entire reworking of the Scalar architecture as the current system is not optimal... However, this would break the WinCE build, so has not yet been merged:
https://github.com/scummvm/scummvm/pull/271

I have no idea if the WinCE backend or scalars are capable of downscaling, but even if this is supported, it requires CPU time to do this work which may result in a jerky and unplayable result.

You can now try split WinCE builds (Each build has a subset of the engines) from the buildbot in addition to the large static build. This may help on lower memory devices:
http://buildbot.scummvm.org/builds.html

Dreamweb is supported by split build #3.

Post Reply