PocketMatrix forums

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

PocketHal's future, and some personal comments

Hi Thierry and all,

Since GapiDraw is now a commercial product, I was wondering what's your plan for the future of PocketHal. Are you aiming at creating a commercial library?

Despite the whoopin' Johan game me in his forum I'm not opposed to paying for software, on the contrary. I love to support a good piece of software, and would especially do so for PocketHal if development is continued.

Now some personal comments. These comments are not meant to attack anyone directly or indirectly, but to offer my personal perspective and opinions on the topics I'll discuss.

Paying for software is something I enjoy. I criticized GapiDraw, non-maintenance pricetag and got a good whooping from Johan himself. GapiDraw costs money, I have no problem with that. Almost everything does. I buy plenty of software and plenty of games. I also buy "Monster" energy drinks at $3.00 a pop, and I love it. I think I'm like many people. I'm not cheap, but I'm not rich. I need to think about what I buy, and how it will impact other things in my life, not just business. My company is my own, and its money is my money.

fmod. What a great player. The shareware license is nice, $100 and you're set! But if you happen not to qualify for that license, get ready to spit out more money. $5600 for fmod? Are you insane? I would rather spend 6 months making a mixer myself than paying that. And that's what I did, and it took me less than 6 months. Took me 2 weeks for the base, and all the time after that for bug fixing and adding features.

BoundsChecker is great, but I don't use it anymore. I did when I made document management software. Chances are if you use leak checks, debug on both eVC and VS, use good programming practices, reuse classes and stay informed, you can still end up with good code.

The final fact that I need to consider when I buy software or stuff in general is that I live in Canada. Our money is worth a lot less than US currency. So fmod price as quoted by Johan is really $7300 for me. The day I spend that kind of money on a single component for a project is the day I spend somebody else's money.

Basically you (you = any software vendor) can sell your products any price you want, but don't get pissed when people tell you its expensive.

Personally, I've been involved in PocketPC programming for the past 2 years. I still haven't released a single game due to several factors, including my own inexperience. Things are looking brighter now as I'm working on a properly managed and designed project.

I'm tired of people telling others what is right for them, when in fact these people know nothing of them. I'm "odd" because I don't want to pay $xxx for a product? So be it. Your product, at its pricepoint, does not fit MY requirements.

I'm glad I waited a few days before comitting to a gfx library. I'll now be using PocketHal, and with luck I'll be able to support or contribute to it in one way or the other.

--Eric
I'm in the same boat. Being Canadian, 1 USD is equal to about 1.3 Canadian dollars. Given that I also earn less than our American cousins, and pay more taxes, I can't afford exorbitant fees.

For example, I just last hour purchased Paint Shop Pro 8 for $100 USD (plus whatever brokerage fees I have to pay at the border). I wanted Photoshop CS but there's no way I'm paying $800 Cdn for it.

I could walk over to a friend's house and get a warez version of Photoshop in an hour, but like efortier said I want to pay for software. I just don't want to pay too much.

So somebody get PocketFrog, PocketHAL, or even SDL into shape!
Heck, I still get laughed at because I use the emulator in EVC. I said it in another thread, free EVC is in my price range, VC or worse, Visual Studio is not. GapiDraw3.0 is not. FMOD is not.

I've worked on several games for PPC and not realeased a thing, mostly due to my own lack of talent/experience/time. But I get a kick out of doing it, and I hope to get something done someday and make a little money too. If I can make enough to buy a new PPC or a digital camera, I'll be happy. If I can make enough to buy Visual Studio and other tools, great. But right now, I buy $1.50 hotdog and soda for lunch and borrow books from friends/library.

Anyway, I do alot of stuff accessing the buffer directly. When I first looked at GapiDraw, I asked about support for things that PF had, like Circles and Pixel Shaders. The answer was I could do it myself because I could get direct access to the buffer. So, as long as I'm going to be writing my own primitives and blit routines, I might as well use PocketHAL then since its free and highly optimized.

Once we have a PF on top of PocketHAL, life will be good again.

And if anyone is thinking about starting up with PocketHAL and needs help, just ask here on the forums. I've been able to do everything I've tried with the help here, and trust me, I'm not smart enough to have figured them all out on my own either. :wink:

Pam
mlepage wrote:
So somebody get PocketFrog, PocketHAL, or even SDL into shape!


Could be a better choice !

I don't think GD has much value in fact, it's bloated with technical mistakes (the orientation thing) and it's API do not offer much (no sound support, no compressed archive support, no network API), and the fact that you can't see the source to adapt it to your needs...

Many developers in this scene (pocket pc game dev) have their own multiplatforms game engine, and I think that any serious developer should consider building one...
There's been a lot of uncertaintly over the future of several pieces of PocketPC (and Symbian) 'middleware' recently - GapiDraw, PocketHAL, and the Hekkus sound system (LGPL compliance details). Most of it now seems to be getting cleared up - but of course, there's no guarantees that licences/prices won't be changed again mid-project....

The uncertainty over future licence terms is the biggest problem for anyone starting out development of a PPC title. Or worse for people that have done quite a lot of development when the licence terms change!

I'm working on my first PPC game that is likely to be released (it's probably going to be very delayed due to starting a new full-time coding job, though!), so I have no idea what sort of sales to expect, so am reluctant to invest much cash into the project at the moment.

I've got my project set up so it can be quickly switched between PocketHAL and GapiDraw, or even my own GAPI-based framework if neccessary. Of course, this has meant writing my own blitting routines and font routines, as well as making my 3D engine work with variable screen orientations. (but it's had the advantage that it's all integrated with my .wad-type filesystem, and I have a Symbian build)

I'm glad I took that approach, as it's kept things flexible, and a lot could change by the time the game is finished... But I'm certainly hoping I'll be still be able to use PocketHAL in the finished game :)
StephC wrote:
I don't think GD has much value in fact, it's bloated with technical mistakes (the orientation thing) and it's API do not offer much (no sound support, no compressed archive support, no network API), and the fact that you can't see the source to adapt it to your needs...


To become a decent cross-platform system, GapiDraw needs it's own sound system, file system (especially for future PalmOS support), and ideally, a networking system.

At the moment, it provices very useful functionality to the supported platforms, but doesn't enable you to write fully cross-platform games.

Differing screen sizes will always be a problem, especially for 2D games, but it should be possible for 95% or so of a game's code to be shared between all suitable platforms (PocketPC, Smartphone, Symbian S60, Symbian UIQ, and maybe GP32 and high-end PalmOS devices)
efortier: I just wanted to apologize for my perhaps unmotivated "whoppin'" in the GapiDraw forum. Putting out a new release of GapiDraw is a really stressed situation, and for me being in the "middle" (between the company interests and keeping the community even if there is no money to be made from it) is really difficult.

I think that some users such as yourself are not interested in Palm/Symbian versions of their applications and perhaps will switch back to PocketFrog/PocketHAL. For me personally I have nothing to object with this. I like the libraries, and I deeply respect Thierry's programming expertise. The more people using his libraries the better for his Curriculum Vitae. Also it's good with some competition, especially on the Pocket PC platform when hardware accelerators begin to pop up.

I completely understand your reasoning also when it comes to FMOD. Unfortunately (or fortunate for us) some developers do not have the time, knowledge or motivation to spend several weeks creating the engine itself. I guess some guys can do it right (Thierry, StephC, Snails engine, Digital Concepts, etc) but it will take lots of time and it does require some serious coding skills.

I would however encourage everyone switching PocketHAL/PocketFrog (and cannot afford the $100 for the GapiDraw hobbyist license) to donate at least some money to Thierry's PayPal account. I know the costs we have had for hardware purchases the past six months, and even if ten users paid $50 each it would barely cover the costs of one PDA alone.
StephC wrote:
" don't think GD has much value in fact"

Well, it is mainly a graphic library and frankly, these days it does work on multiple systems as such it is a good choice for some types of games.
warmi wrote:StephC wrote:
" don't think GD has much value in fact"

Well, it is mainly a graphic library and frankly, these days it does work on multiple systems as such it is a good choice for some types of games.


I think that if a graphic layer is well written it's not too hard to port it on multiple platforms such as Symbian and PalmOS, but the file I/O, sound and network layers are much more difficult to write for a cross platform API, especially if PalmOS is one of your target.

Also, performance wise the 2D functions (blit) are not optimal.
Also, performance wise the 2D functions (blit) are not optimal.


Adding a RLE decoder (as you use in your engine) is on the list, but it will not be made public until a future release. I know that you can keep on arguing on why everyone should use RLE-surfaces ;), but you cannot clip surfaces to an arbitary rectangle on the destination if you use RLE encoding ("i.e. blit a part of the sprite to the destination") and you cannot provide raw data access to a surface unless you decompress it first, or keep multiple copies of the surface. These two limitations is the primary reason RLE surfaces are not in there yet. But I consider RLE surfaces to be an extension to the current 2D API, not a replacement.

We will have RLE-encoding in GapiDraw.. Adding it is quite easy (I have a test class CGapiRLESurface running, and even doing an LDMIA ARM implementation is not that hard). Doing all the current 2D blit routines in template C++ code with support for 32-bit operations however was difficult.

All the current 2D routines are quite optimized. We will add a RLE routine later that will provide faster performance for sprites that do not need clipping or raw surface access.
Johan wrote:

But you cannot clip surfaces to an arbitary rectangle on the destination if you use RLE encoding ("i.e. blit a part of the sprite to the destination")


In fact you can, I do it.

This feature is absolutely necessary to write 2D games.

But it's true that the RLE drawing code is not ultra fast when clipping is needed, but this worst case do not occur very often. (was not a pleasure to write...)


and you cannot provide raw data access to a surface..


True, this is why scaling and rotation have to be precalculated at loading time if one want to use the RLE accel, of course we also provide a classic "bitmap" set of functions specially designed to handle rotation and scaling in real time.
I've written data structures and algorithms which are probably similar to clipping RLE surfaces, in a data mining application, dealing with large amounts of sparse/compressed data.
StephC":drii8i8b]

Doesnt this take up a ton of memory? Is this what you did for the billboarded objects in crazy kart?
In fact you can, I do it. This feature is absolutely necessary to write 2D games. But it's true that the RLE drawing code is not ultra fast when clipping is needed, but this worst case do not occur very often. (was not a pleasure to write...)


I agree completely.
Anonymous":1vbuc059]
StephC wrote:

Not that much, in CK the sprites are (pre)scaled down, and they do not take huge quantity of memory because they are quite small.