PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Have chosen next libraries for developing PocketPC game

Hi All!

I've looked everywhere I could in the Net and have chosen next libraries for gamev. My first criterion was freeware or donateware type of distribution.

Graphics: PocketHAL
Sound: HekkusSoundSystem
Video: ported libmpeg2 library
Resource file handling: ZIP UTILS by Lucian Wischik from www.codeproject.com

Experienced game developers what can you say about that my choice?
Maybe there are others better options?

Best regards, Nomad.
summer_goth · 19 Mar 2007, 13:36 UTC
Hi Nomad.

Since the death of GledPlay, I am quite scared of free libraries. GledPlay was great and so was PocketFrog before that. But PocketFrog has not been updated in ages and well we all know what happened with GledPlay.

I am worried that the same will happen with other free libraries.

Hekkus has been doing a great job though. Great library with great support.

I think those are great options and have gone a similar route, except for the graphics library. Here's what I have opted for:

Graphics: GapiDraw. (Looking forward to next release and will most likely buy then)
Sound: Hekkus SoundSystem
Video: ported libmpeg2 library (and for your help with that Nomad, I am so thankful I'll give you a free game once it has been released. That was brilliant).

May you do well in your development process.

Have a great time,
Summer.
Hi, Summer.

You wrote:
I am quite scared of free libraries. I am worried that the same will happen with other free libraries.

I have forgot to write. My graphics section looks like:
Graphics: PocketHAL for WM 2003 and DirectDraw for WM 5, 6 and all next.
Thus avoiding new problems from new devices, as I think Microsoft will not give licence for device manufactures if DirectDraw will fail on their device.
And as PocketHAL and DirectDraw give both only fast access to video memory, I'll will implement higher level algorithms for them both together.

Since the death of GledPlay

I don't think that GladPlay is dead. At some time it will appear. But unfortunately we have no time for waiting.

And about playing a video, mine work was only a deep search on different internet resources, I'm not experienced programmer yet. More work was made by that guy Arisme at http://arisme.free.fr/ports/libmpeg2.php I didn't even spend a time to get to know for what reason he changed some lines of code :oops:

Best regards, Nomad.
Nomad wrote:Hi, Summer.
DirectDraw for WM 5, 6 and all next.


Don't mean to sound the pessimist, but that's hardly a given with MS.

Dan East
summer_goth · 20 Mar 2007, 07:11 UTC
Unfortunately I have to agree with Dan. Microsoft have this tendency to change.

Otherwise Nomad I think that the libraries you chose are great for development. Mostly I decided to pay for something like Gapidraw to get stability. I know that they will continue development and it will work on most platforms without any hard work on my side.

Also the whole thing about GledPlay and why I think it died. Well the developers stopped posting on the forum. they do not answer any emails and the last update was end of last year! Plus there haven't been a stable release yet. I'd be very glad if it does make a reappearance but I honestly doubt it.

I was very angry about this, since a lot of hard work came to just about nothing. But they were not obliged to actually offer us anything. Hence the reason why I have become scared of free things.

If I had the money I'd go with Edge immediately. Their support is superior (except for PPL maybe). It's just too expensive right now for me. But Gapidraw looks good and there I hope to find that stability which I've been longing for for quite a long while.

In the end I hope we all manage to release great products.
Don't mean to sound the pessimist, but that's hardly a given with MS

Microsoft have this tendency to change.


I can't understand what do you guys mean? Can you explain, please.
I remember a loooong time ago on the first WinCE devices (before even 2.0) MS said they would support Java into the future. I think that may be what Dan is referring to ;)
While I don't think that MS will abandon DirectDraw the problem is actually in the quality of the drivers - which is something that MS has only little influence on.

Take for example DirectShow (a special pain for me). MS requires every vendor of a WM5+ device with a built in camera to provide DirectShow drivers. Yet many device creators tend to only support the minimum (which is one video mode at any quality) to pass the checks. As a result this renders video capture via DirectShow useless on several devices, since some vendors only expose the lowest quality modes.

Same goes for DirectDraw. While I have no experience with this, it is well known that devices made problems with GAPI in the past. I wouldn't expect more from DirectDraw.

If you really just require a method for switching to fullscreen then wrapping PocketHAL, DirectShow or something else is a quite trivial thing and you can always switch to another solution.

About the libraries: We have good experiences with a rip of betaplayer that we once did. It plays back MPEG4 movies (incl. audio) at a good performance. If MPEG2 is enough for you then libmpeg2 is probably fine too.

bye,
Daniel
Hi, Daniel.

Perfomance of that ported libmpeg2 is quite enough for playing full screen 320x240 video files, but I have not tested VGA-sized video playback on VGA device yet. And think there will be difficulties. Do you test your library on VGA device with VGA-sized file?

And another hard thing to me is to provide synching mechanism with audio. When video plays faster then audio, simple short time stoppage of video gives desired result. But when video decoding is slower then audio, I can't think out solution, because I don't know yet how to skip frames with mpeg2 stream.
summer_goth · 22 Mar 2007, 09:33 UTC
Hi there.

Sorry it took a while to reply Nomad. We had a public holiday here in South Africa.

I see GledPlay has finally been released. Though I haven't had a proper look at it yet. So you were right. I am quite surprised. Really thought we wouldn't hear anything from them ever again.

Oh and as for Microsoft, well I think I may have been a bit hasty there when I said what I said. I was a bit annoyed with the whole GledPlay thing at that time.

I worked as a DirectX developer before moving to PocketPC development. And I love DirectX. At the moment though I just want everything to work everywhere. DirectShow is a nuisance currently and it may not be Microsoft's fault.

So yes, I was a bit hasty in everything I said. And I apologise for that.