PocketMatrix forums

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

PocketFrog newbie questions

Hello. I have to port some of my appplications to PocketFrog as I can't use GapiDraw anymore (licence, you know). So there are some questions.

1. Does PF seamlessly support WM5? I have complaints from customers that they have problems running my apps on WM5.

2. Does PF support VGA resolution? (Have some drawing software)

3. Is PF at least comparable to GapiDraw in its feature list?

4. Guess someboby already did some GD->PF ports - How hard the porting procedure is? I mean possible differences in "ideology".

Thanks.
PocketFrog supports Windows Mobile 5 but you have to build for the device. Stuff built with the pre-HAL PF for PPC 2002 will probably not work. My PF/HAL/Hekkus game Space Treker is currently working & on sale for WM5.

VGA is fully supported :)

No real issues with Porting other than the obvious ones. You just need to know what commands you have & don't have. You still use surfaces and PF can load data from resources or files. There are a heap of blit functions but fonts and sound are both add ons.

I have only played with GD, never used it for real but perhaps Frank can post & tell you what he thinks cause he has used both.

Major difference is source code. You can and are encouraged to contribute.
Hi no pockets,
no pockets wrote:1. Does PF seamlessly support WM5? I have complaints from customers that they have problems running my apps on WM5.

Yes there is full support for WM5, but you need to patch several files of PF, see this thread:
http://www.pocketmatrix.com/forums/view ... hp?t=22270

no pockets wrote:3. Is PF at least comparable to GapiDraw in its feature list?

Comparable, I think that PF is easier to use.
re: the patched PocketFrog you are best to obtain a zip from me or someone else with the latest version with all patches applied.

PF does not need anything on the device but does need the PF & HAL libs for the correct platform on the PC you are developing on. If you use Hekkus for sound then that needs a dll on the device.

ps: my tutorials will help but I've not updated then to WM5 yet.
http://www.sundialsoft.freeserve.co.uk/pocket_frog.htm
Conan, BIGBEN, thank you!
PF looks very good for me. Just one more question - does PF support user-defined window resolutions when running on desktop? Say if I want to make a 800*600 window. And does it support multiple windows?

Conan, please send me your zip. Sending my email via PM.
I've moded PF to run in different window sizes (static size, not variable) on the desktop. I can share code if you're interested.

Multiple windows would probably be a problem.
Re: PF vs. GD

I've release games using both (Invasion: Trivia using PF, K&G; Arcade using GD). They are both quite similar in most regards. You really need to compare the feature set for yourself and see if there is anything either offers that the other does not that you really need. For me, the simple fact that GD costs so much persuaded me to not use it beyond K&G.; As far as actually using it though, I'd recommend it just as much as PF.

Having the source for PF is a big advantage and should never be forgotten :)

Re: patches

Remember that PF now has a SourceForge site (http://pocketfrog.sourceforge.net). The very latest version is in CVS HEAD, although I don't know if anyone has checked it out to see if I broke anything (all I did was reorganize a bit to get it ready for the open-source world "proper"... most notably, you now must supply PocketHAL yourself, so they are completely separate entities). I know there have been some patches floating around for PF for a while, and I would love it if someone could produce some diff patches and get them to me (by opening a tracker ticket on the SF site) so they can be applied and we can get a new, full version cut at some point.

Also, if anyone else is interested in doing some actual work, I wouldn't mind not being the only developer attached to the project :) And since my focus hasn't been on PocketPC work lately, it's in everyone else' best interest too :)
Hi Frank, I actually wanted to add myself to the project, but I don't know how to do it, there is no links on the http://pocketfrog.sourceforge.net/ site :oops:
Nope, you wouldn't be able to add yourself, a project admin has to do it (of which I am currently the only one). Please send me your SourceForge user ID and I can add you.
Are the 'bug fixes' bigben put together _not_ in the sourceforge project? (i.e. these: http://www.pocketmatrix.com/forums/view ... hp?t=21765 )
No, they are not... I just took the latest official PF code (0.8.1) and reorganized it a bit, dealt with the copyright notices and such, and checked it in to CVS. I know there are a number of patches out there, but I am frankly not familiar with them all. My hope was that people would submit diffs for them so they could be quickly and easily applied.
Is there somewhere to read about how to submit a 'diff'?

I've never delt with a sourceforge project before - mainly because I never got around to figuring out the cvs stuff works. Do you have to use the cvs to generate the diff?
Nope, diff is separate from CVS (although many CVS clients have the functionality built-in).

Here's an introductory article:

http://www.network-theory.co.uk/articles/patchintro.html

Diff and patch go together, although diff will be more important in your case. There is a Windows version of both utilities:

http://gnuwin32.sourceforge.net/packages/diffutils.htm

http://gnuwin32.sourceforge.net/packages/patch.htm

It is good to know how to use both because it is nice to apply your patches before submitting them to be sure they work (as long as the version of the file being patched hasn't changed there isn't much to go wrong, but I *have* seen them fail for various reasons).

What you'll need to do is check out the code from CVS HEAD (which is always the latest), make your changes, then use diff to generate a patch and then submit it. I assume your using Windows, in which case I suggest installing TortoiseCVS:

http://www.tortoisecvs.org

That's what I use, and it takes virtually all of the complexity out of using CVS (once you get connected to the repository, that can sometimes be tricky for first-timers).

By the way, I just realized there is no link from the PF page (url]http://pocketfrog.sourceforge.net[/url]) to the main SF page, I'll have to add one later, so here is the URL everyone will probably want:

http://sourceforge.net/projects/pocketfrog

Once there, you should see a link for Patches, and that is where you will be able to submit them. When you submit them, please eMail me so I don't miss them :)

Let me know if you have any other questions. Thanks!