PocketMatrix forums

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

PocketFrog using PocketHAL

Hi Thierry,

I've started a new game (it will be 2d side scroller this time) recently and have whipped up a few C based 2d functions for blitting/alpha etc. However, I don't want to get bogged down in optimising, so have started looking at PocketFrog as an option. Just wondering - when do you think it will be working with PocketHAL? If I start developing now with the current version will the code be compatible when it's released?
I wouldn't hold my breath over the next release of PF. I still want to do it, but the reality is that I am getting far more requests for PocketHAL features.

The way I see it is since PocketHAL is far more successful then PocketFrog ever was, I should spend my energy there.

To answer your question, the next PF won't be compatible as-is with the current one. Although porting to it should be pretty straightforward.

One of the big change will be related to cross-platform development. There is currently too much Win32-specific code in PocketFrog, a problem that isn't present in PocketHAL.
Thierry wrote:I wouldn't hold my breath over the next release of PF. I still want to do it, but the reality is that I am getting far more requests for PocketHAL features.


I think I speak for most people:
:cry:
While I understand what Thierry said, I have to agree with HTK.

I was very much looking forward to the option of a fully-supported PH-based PF, but now I won't be holding my breath, as per Thiery :)

Ah well, look at it this way... he didn't say he's NOT doing it, it's just not going to be this weekend is all :)
PocketFrog really wasn't designed with cross-platform considerations in mind. PocketHAL is currently being ported to other platforms and until this is done, I can't predict in which direction PocketFrog needs to move.

As it currently stands, PocketFrog is still a really useful library and can be easily modified since the source code is available. I know one version was built with PocketHAL and reported to work. It may not be the perfect integration some of you are looking for, but it gets the work done.
Thierry wrote:PocketHAL is currently being ported to other platforms ..


Hello Thierry,

Is it possible to know on which platform you are planning to port PocketHAL first ? (maybe symbian serie 60 ?).
StephC wrote:Is it possible to know on which platform you are planning to port PocketHAL first ? (maybe symbian serie 60 ?).


Yes, the Symbian Serie 60 is the next platform I would like to support.
Thierry wrote:I wouldn't hold my breath over the next release of PF. I still want to do it, but the reality is that I am getting far more requests for PocketHAL features.


IIRC you have done most fo the work on PF 0.8. Why not release it as is and let the community finish it off? I would be happy to help in whatever way I can.

Sean
I guess I can do that. I only had time to convert the "Blit" sample to PF 0.8. So what I will do is simply make sure this sample works with PocketHAL 0.6.5 on both the PC and PPC. I will then package everything as PF 0.8.0.

I should have time this weekend =)

Seriously, I hope to get it done before then, as all is needed is 1-2 hours of work.
Pejo Software - Per · 30 Mar 2004, 07:07 UTC
Thierry":3ilz2l4x]

This is great!
I was going to start making a port of my graphics routines and Beshaped 2 to Symbian. Now if I can use PocketHal it would make things easier since I already are using it for the PocketPC and Smartphone version.

What time table do you have for this?

Will PocketHal still use the 5-6-5 format or will it use what is native to the device?

I guess after you have finished your Symbian port you will move on to Palm? Could you have a guess when this could be available? I am asking because we plan to support Palm also but I do beleive we don't have time to wait for PocketHal there.

And... I have a Nokia 6600 that I can test on if you are interested.
Will PocketHal still use the 5-6-5 format or will it use what is native to the device?


Um. The 6600 uses the 5-6-5 as native format.. Most other phones use 4-4-4 however... Quite the mix...:)
I don't understand why 4-4-4 would be used - wouldn't it have to get stored in 16 bits? if so, why on earth did someone think up 4-4-4?
Thierry, I think lot of people were waiting for PHAL integrated PFrog as a true alternative to GD. We just did not want to piss you off with requests, unneccessarily. Thanks for your commitment anyway and very much looking forward to PF0.8.0.
I don't mind what happens (HAL on it's own or PF/HAL) though obviously I would prefer PF/HAL but the main thing is to know what's going to be available so I can properly plan my next game. Currently I'm looking at doing an isometric <> game for Smartphone & PocketPC based on a PC game I 3/4 wrote & never finished (due to technology moving too fast)
I will release PocketFrog v0.8.0 with PocketHAL properly integrated. It just won't have all the features I was hoping to put there (ex: the new shaders based on templates). I also won't have the time to convert/create all the project files needed for the samples.
Pejo Software - Per wrote:Will PocketHal still use the 5-6-5 format or will it use what is native to the device?


That's currently the plan. We will see whether or not it is a viable option.
I will have some time in a couple of months to assist with samples but not much before then due to the 'big push' to finish current game. I don;t have any need to start next one immediately so can work up some of the samples. No doubt there will be others willing to assist.
Thierry wrote:I guess I can do that. I only had time to convert the "Blit" sample to PF 0.8. So what I will do is simply make sure this sample works with PocketHAL 0.6.5 on both the PC and PPC. I will then package everything as PF 0.8.0.


Great news :)


I should have time this weekend =)


jokes coming on my head! I´m holding the best I can! :D
jweldin · 12 May 2004, 21:29 UTC — PF & PH?
Did you ever release a pf 0.8.0 with pocketHAL?

just wondering.
Please, Thierry don't release PocketFrog ever :-)

Everyone understands that it's a branch you sit on you won't cut if off. ;-)

If you are ready to sell sources (i don't like just a black-box-kind library without plugins technology ever) for commercial use of PocketHAL, let me know.

I don't like to have a donation scheme and just get rid of the PocketHAL splash thus way. Just say that a commercial license costs so much as you want.

I haven't received answer from anyone about examples for PocketHAL. Time is ticking away.

Good luck!

P.S. My guess you need a team like you had in PocketFrog to have a real alternative of PPC graphic libraries and perspective. But I may be wrong.
What in the BLUE HELL are you talking about?!?
Viking wrote:If you are ready to sell sources (i don't like just a black-box-kind library without plugins technology ever) for commercial use of PocketHAL, let me know.

I don't like to have a donation scheme and just get rid of the PocketHAL splash thus way. Just say that a commercial license costs so much as you want.


Multiple people have already obtained licenses to use PocketHAL for one or more projects. A few of them have even obtained site licenses for unlimited use.

I don't know where you got the idea that i wasn't willing to sell it. That's a funny one. Simply contact me by email if you want a license.


Viking wrote:I haven't received answer from anyone about examples for PocketHAL. Time is ticking away.


What kind of example do you need? All you have to do is create a window, initialize PocketHAL and you are all set. You could also port an existing library like SDL, ClanLIB or even Allegro to PocketHAL and you would have something that surpasses GapiDraw in every way. Other options include Klimt for 3D graphics.

Viking wrote:P.S. My guess you need a team like you had in PocketFrog to have a real alternative of PPC graphic libraries and perspective. But I may be wrong.


There never was a PocketFrog "team". I always worked on it alone and then Frank took over for a while. That's pretty much it. But stay tuned... Some things are stiring and I can't talk about them yet.
You know, whenever you DO finally get around to doing PocketFrog, here's what I'd like to see...

(1) A port to the Timex Sinclair 1000. I can't tell you how useful that would be.

(2) I'd like a PFrogGame class that has a single member gameDescription. It should be obvious what it does: set it to a string describing the game and the class will make that game happen. Shouldn't be too tough.

(3) The ability to reconfigure hardware on the fly. For instance, if running on an Axim, expand the screen to be 8" and run at 1024x768, if running on a desktop grow arms and allow the user to control those arms via thought waves to play the game. All this depends on the initial hardware of course.

(4) I'd like the source to be released in Algol, Snobol, PL/1, ADA and Logo. It should also be self-compiling (Google for "self-writing code").

(5) I should be able to pay for PF in bushels of corn. Or bales of brocolli, whatever you prefer.

(Sorry, I'm in a hotel room on a business trip, I'm bored, and being a wise-ass here seemed like a better idea than spending $17 to see Return Of The King again in my room).
Frank,

Some of us would prefer that you spend that $17.

But not me. I find your obvious sarcasm to be good-natured and diversional, which helps put things back in perspective.

So... Thanks.

-John

(I also have no idea what Viking was talking about.)
Well, if it's an consolation, I did spend $19 on a hamburger, fries and a soda from room service (there is literally NOTHING around this place, and the one restauraunt in the hotel is the same thing as room service, prices and all, so why would I leave my room at all?!?)
No offence Viking, but if you can't work out the 3 lines of code required to get PocketHAL to work from all of the supplied header files and the online documentation I suspect there may be more serious problems to resolve before getting example source code.

Theirry, can you provide a general hint on "Some things are stiring and I can't talk about them yet.". You've got me interested. :)
You could also port an existing library like SDL, ClanLIB or even -Allegro to PocketHAL and you would have something that surpasses GapiDraw in every way.


Now how did GapiDraw get into the picture? :) Of course the above statement is incorrect as well. Oh well, why bother. We'll add PocketHAL support through callbacks in the next version of GapiDraw so the entire PocketHAL vs GapiDraw will not be an issue anymore.. Maybe we both will benefit from it in the long run...
I'm sure I saw mention of a secret licensing system for HAL just waiting for this to happen :) Low Low price for the first 5 days, $100 fixed fee for the next month & $30,000 per application sold / per platform.
:lol: :lol: :lol: :lol: :lol:
Johan":2ihoeude]
You could also port an existing library like SDL, ClanLIB or even -Allegro to PocketHAL and you would have something that surpasses GapiDraw in every way.


Now how did GapiDraw get into the picture? :) Of course the above statement is incorrect as well. Oh well, why bother.

It's correct... These librairies do a lot more then GapiDraw. And the whole source code is available.

[quote="Johan wrote:
We'll add PocketHAL support through callbacks in the next version of GapiDraw so the entire PocketHAL vs GapiDraw will not be an issue anymore.. Maybe we both will benefit from it in the long run...


Was there ever such an issue? PocketHAL and GapiDraw are two completely different beasts. Why do you bother with hacky callbacks instead of simply asking me for permission to distribute GapiDraw with PocketHAL?
I for one like the approach Johan is taking... I want the choice of being able to use PH or not, and although I'm sure he could do something where it's integrated more completely but it can be switched to use GAPI instead, this seems like a good idea to me. Then there's no risk of any kind of licensing issues ever popping up. I mean, we can take Thierry at his word if he promises he'll never charge for PH, but words only count for so much in this world, and if there's a way to do thing that it can never possibly be an issue, I say go for it. That I think is what Johan is doing.
Viking · 13 May 2004, 15:14 UTC — So much reaction :)
I'll answer and reply everyone in order.

Thierry: how I can find out where can I got a commercial license (without your notice you are doing for it)? You must have read a license & donation sections of the PocketHAL download page. I'm thinking about obtain it, to pay worth money, but some issues discourage me. If I'd like to have library used on my own way for myself there should be a possibility to extend it. I don't like ask developer everytime to add feature like everybody asks for PF 0.8

You had examples of PocketFrog. They just disappered. I mentioned that PocketHAL is some-kind advanced library. So just everything disappears that may be helpful: examples, docs and sources of course (it's fantasy to pretend for free sources, I understand, so I made my offer).
Team wasn't official I meant.

fzammetti: you have a really contructive replies :) I have nothing for you.

j.edwards: ok. I'm going to use PocketHAL on my own. I've worked with the PocketFrog before and liked it as it was, extending/fixing it on my way. It's not a problem to figure out how to. But in PocketHAL case I'd like to have a great supportive efforts from developer or do it my own (that I prefer). Maybe you're right so PocketHAL isn't for me. But maybe it's best that we have :) MAYBE.

Conan: you got the point! :)

Thierry again: different beasts? If my brains serve me, I heard another opinion from you for GapiDraw when you compare them just in keycodes they return to application. Maybe someone explain me why I may need both of them ever? And I really think that both libs may have same customers whose are choosing where to build their game.

fzammetti again: promises? we have heard promises already, you know. :)
Viking wrote:Thierry again: different beasts? If my brains serve me, I heard another opinion from you for GapiDraw when you compare them just in keycodes they return to application. Maybe someone explain me why I may need both of them ever? And I really think that both libs may have same customers whose are choosing where to build their game.


GapiDraw is a graphic librairy with lot of features. PocketHAL is just an access to the display's framebuffer.
So I'll take that as a "no, I haven't released PF 0.8.0 yet."

- Thanx!
Sorry, seems I forgot to answer you... I indeed did not release PF 0.8.0.