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 »

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 »

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: 89
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft »

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

Thanks.
digitall
ScummVM Developer
Posts: 1177
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

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: 89
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft »

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: 1029
Joined: Sun Oct 30, 2005 3:58 pm
Location: Germany

Post by LordHoto »

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: 1177
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

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: 89
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft »

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: 1177
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

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: 89
Joined: Tue Jan 08, 2008 6:42 pm

Post by pilaxoft »

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: 1177
Joined: Thu Aug 02, 2012 1:40 pm

Post by digitall »

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