PocketMatrix forums

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

Testing Blit fails

Okay. Installed eVC++ 3.0 and PPC2002 sdk.
Used the 'fireworks compile' forum info for setting up the eVC++ and got it to compile, start the emulator and upload the app.
The only configurations I have for it are:

Win32 WCE (ARM) Release
Win32 WCE (ARM) Debug

There are no others to choose from in 'Set Active Project Configuration'.

The emulator starts and I get told that my PC doesn't support the build. I click past that and in the emulator I see 'blit' in the menu.
I click on 'blit' and get "This is not a valid PocketPC application".

I've linked in PocketFrog and PocketHAL.

(The reason I have eVC++ 3.0 and PPC2002 is I want to support as many platforms as possible and PPC2002 is usually the lowest common denominator). I have a hp4150, myself.
Maybe, Build->Configurations->Add...
BIGBEN wrote:Maybe, Build->Configurations->Add...


Yeah. I've started trying to follow this:
http://www.pocketmatrix.com/forums/view ... hp?t=17948

Seems to be helping a bit. I can't get it to create "new lib called PocketFrog.lib is created in the x86Dbg-directory" but working on it.
I'm trying BUILD blit.exe instead.

tnx
1) In the PocketFrog workspace target "WIN32(WCE x86) Debug". (You probably have to add this configuration in Build->Configuration. Choose *Default Debug configuration). Compile.

2) A new lib called PocketFrog.lib is created in the x86Dbg-directory. (e.g. c:/PocketFrog/make/x86Dbg).


Have done a search of my whole HDD and there's no file called "PocketFrog.lib" nor any other lib file created in 2005.
and if my tutorial (linked above) does not solve it just let me know. I'm free tomorrow evening to be online & get you working.
Thanks, Conan. I will try it out this afternoon when I get home. I'm in Australia so it's currently 7:43am
Will try to synchronise times with you :)

I've programmed a PalmOS game, but now have an HP4150 instead of my old T|T. I think Palm is on it's way out.
I guess with PocketFrog & PocketHAL I can now write games for both devices (I also have a UIQ Symbian Motorola A1000). Maybe program for three devices ;)

Am I right in thinking I compile for x86 to test on the emulator then change it to ARM Win32 for testing on my actual device?
About testing on the emulator yes x86 however I almost never do that because it's so slow and does not help with any real testing for which you need a device. If you can get Visual C 6++ then just build using the PC. The only thing in the code is that you must use the 'TCHAR' approach which gets round the ascii - unicode differences and of course paths are different
Then I need to shell out $$$s ;)
Conan wrote:About testing on the emulator yes x86 however I almost never do that because it's so slow
and does not help with any real testing for which you

You're wrong with this one - its damn fast. With my games I get ~30 fps on my P2-266 notebook and much more than that on PC.

There is one emulator which is really slow one - the one brand new beta from microsoft, which runs ARM code natively, its 10 times slower. PPC2000, PPC2002 and PPC2003 emulators which come with EVC3 and 4 are fast.

Conan wrote:
need a device. If you can get Visual C 6++ then just build using the PC. The only thing in the code is that you must use the 'TCHAR' approach which gets round the ascii - unicode differences and of course paths are different


There is much more annoying aproach - you can't use PNGs in PC build, but it is the only graphics format usable. So I can't use VC++, though I wish to.
jaguard":2sxv8bzc]

30 fps is slow. I get around 300 fps (forgot because I limit it now, of course) in VC++.
At first I also used emulator(it was long ago about 1 year), but now I use VC++.
Here are some good reasons, of course fps for me is not a primary:
eVC code compilation is significantly slower than VC.
eVC starts emulator, than you should start your app etc.
VC application starts suddenly after compilation, without waiting for "today screen" :)

But the main reason for me is compilation time, you know I used K6-II laptop before so it was a real pain to wait until compilation ends(of course I use lots of cpp that compile separately not one big every time).

VC compilation much faster and VC code management much better(especially some additional tools like Wizard Bar or how its called)

jaguard wrote:
There is much more annoying aproach - you can't use PNGs in PC build, but it is the only graphics format usable.


Why not to use GIF? it's license expired.

I just compared for a long time this types of development(eVC vs. VC) and this is just my opinion, and fast compilation is just a reason for me, maybe you have others :wink:

30 fps is slow. I get around 300 fps (forgot because I limit it now, of course) in VC++.


I get the same on P4 with emulator. I don't own P4 though, but I would get it if I would :). And this is what I not only don't need, but something I don't like. FPS should be closest to device's fps. Will you get 300FPS on PPC? I don't think so, 30 is much closer.
What's the use of 300fps anyway?

At first I also used emulator(it was long ago about 1 year), but now I use VC++.
Here are some good reasons, of course fps for me is not a primary:
eVC code compilation is significantly slower than VC.

Maybe. But to me it's fast enough. It's pretty seldom totally recompilled, mostly its only few files that changed, but even full build doesn't take longer than a minute.

eVC starts emulator, than you should start your app etc.
VC application starts suddenly after compilation, without waiting for "today screen" :)

I don't wait for it. You only wait for emulator to start once you begin development.

VC compilation much faster and VC code
management much better(especially some additional tools like Wizard Bar or how its called)

Have no idea what you're talking about. They seem to me absolutely identical.

jaguard wrote:
There is much more annoying aproach - you can't use PNGs in PC build, but it is the only graphics format usable.


Why not to use GIF? it's license expired.

Oo-hgh.. Tired repeating. Its very limited - to be exact, it is limited to 256 colors. It's pretty little to me, I don't think than even 16bit is enough :).


I just compared for a long time this types of development(eVC vs. VC) and this is just my opinion, and fast compilation is just a reason for me, maybe you have others :wink:


It's pretty nothing in comparison with the need of having two sets of graphics in different formats - one for PC, another for PPC.
Libpng would be a sollution, but it's pretty complicated, so I don't see a way to plug it into pfrog easily..
jaguard wrote:
I get the same on P4 with emulator. I don't own P4 though, but I would get it if I would :). And this is what I not only don't need, but something I don't like. FPS should be closest to device's fps. Will you get 300FPS on PPC? I don't think so, 30 is much closer.
What's the use of 300fps anyway?

You are absolutely right about fps - 300 is useless, but I limit it to 50 and it's OK :)
And I have no PIV also 300 is on my PIII-700 laptop

jaguard wrote:
Maybe. But to me it's fast enough. It's pretty seldom totally recompilled, mostly its only few files that changed, but even full build doesn't take longer than a minute.

For me more I have 34 cpp files about 1000 lines each.
And STL also takes more time to "precompile"(this word used wrong, I know).

EDIT: OOoops I was wrong about compilation time - I rebuilt all with eVC and it took only about 2:30. Before for me it seemed like eternity :lol:

jaguard":1sx2uxrk]
VC compilation much faster and VC code
management much better(especially some additional tools like Wizard Bar or how its called)

Have no idea what you're talking about. They seem to me absolutely identical.
They seem to, but the VC Wizard Bar is wiser - it always works and helps me to navigate through my files. And the eVC many time doesn't work at all(gray background), especially when you add new class functions - and it is such a pain to navigate manually.

[quote="jaguard wrote:

Oo-hgh.. Tired repeating. Its very limited - to be exact, it is limited to 256 colors. It's pretty little to me, I don't think than even 16bit is enough :).


Yes, I saw your Turbo Reaction game, but it seems to me that anything other than background could be reduced to 255(of course if you use different sprites for different objects).
Maybe you saw my game? !PyroManiA!
Most of sprites (all are gif's) are 64 colors reduced.
For my isometric game color reduction is vital, or I'll end up with a too big installation file (don't want to sell something like 50 megs)

OK, I even reduced the screen shot to 64 colors, of course it's not the best condition but here it is:
Attachments:
example_shot.gif

You are absolutely right about fps - 300 is useless, but I limit it to 50 and it's OK :)
And I have no PIV also 300 is on my PIII-700 laptop


I have nice 50 fps on my P3 desktop. What else do you wish for? :).


For me more I have 34 cpp files about 1000 lines each.
And STL also takes more time to "precompile"(this word used wrong, I know).
jaguard wrote:
About 1.5mb of source code? This is a lot indeed. My current game is only 400kb.

EDIT: OOoops I was wrong about compilation time - I rebuilt all with eVC and it took only about 2:30. Before for me it seemed like eternity :lol:

Well, what have you left versus EVC? ;).


They seem to, but the VC Wizard Bar is wiser - it always works and helps me to navigate through my files. And the eVC many time doesn't work at all(gray background), especially when you add new class functions - and it is such a pain to navigate manually.

Well, I don't know.. I didn't see the difference.

Yes, I saw your Turbo Reaction game, but it seems to me that anything other than background could be reduced to 255(of course if you use different sprites for different objects).


Well, probably. But there be the difference. A little, but it will. And I don't want it. And there surely are several places where you need 16 bit color. Particle effects, for example.

Maybe you saw my game? !PyroManiA!
Most of sprites (all are gif's) are 64 colors reduced.
For my isometric game color reduction is vital, or I'll end up with a too big installation file (don't want to sell something like 50 megs)

I tried 256color gif vs. my 24bit png, and it was only 7-8kb vs 11kb. Is it worth it?


OK, I even reduced the screen shot to 64 colors, of course it's not the best condition but here it is:

It's pretty gloomy and dull ;). I can't say it's gif quality's fault, but it is possible :).
jaguard wrote:
About 1.5mb of source code? This is a lot indeed. My current game is only 400kb.

About 700 kb, the final exe is 468 kb(which is big, of course. I pay a lot for STL).


Well, what have you left versus EVC? ;).


I had nothing. it just easier for me to develop in VC :)

I tried 256color gif vs. my 24bit png, and it was only 7-8kb vs 11kb. Is it worth it?

Ok, this gif-64 screenshot is 24 kb, when I compressed to PNG-24 it is 61 kb :(
Please try to compress this screenshot with your tool, maybe you have some good tool for PNG compression.
And in PNG-64 color this shot is 31 kb, what your compression says?


It's pretty gloomy and dull ;). I can't say it's gif quality's fault, but it is possible :).

Well, some people say it's a "post-nuclear Action-RPG" game atmosphere :)

Fogot to say: I use PNG for shots on my site, so sure I like PNG - even if it would be better to JPG them in future.
Okay, I opened:
D:\Program Files\Microsoft eMbedded Tools\EVC\WCE300\PocketFrog\make\PocketFrog.vcp

I had to add in the X86 configuration and hit Build on PocketFrog - Win32(WCE x86)Release
Now, I don't see any "PocketFrog Emu_PPC200" anywhere. I looked in configurations, but I can't add it to the list either. Something's still wrong :-/
Okay, I kept fiddling around and managed to build PocketFrog.lib which I renamed PocketFrog_EMU_Debug.lib and copied to the PocketFrog/lib directory.
When I try to build blit it says "Can't find PocketFrog_EMU.lib
Do I copy the PocketFrog_EMU_Debug.lib to PocketFrog_EMU.lib now or what?

--------------------Configuration: Blit - Win32 (WCE x86) Release--------------------
D:\Program Files\Microsoft eMbedded Tools\EVC\WCE300\PocketFrog\PocketHAL\symbian\symbian_defs.h(11): Could not find the file w32std.h.
Compiling resources...
Compiling...
blit.cpp
Linking...
LINK : fatal error LNK1104: cannot open file "PocketFrog_EMU.lib"
Error executing link.exe.

Blit.exe - 1 error(s), 0 warning(s)


Directory of D:\Program Files\Microsoft eMbedded Tools\EVC\WCE300\PocketFrog\li
b

12/06/2005 11:42 AM <DIR> .
12/06/2005 11:42 AM <DIR> ..
12/06/2005 11:27 AM 122,958 PocketFrog_ARM.lib
02/08/2004 12:54 PM 465,644 PocketFrog_ARM_Debug.lib
12/06/2005 11:37 AM 101,362 PocketFrog_EMU_Debug.lib
02/08/2004 12:55 PM 129,914 PocketFrog_MIPS.lib
02/08/2004 12:54 PM 480,576 PocketFrog_MIPS_Debug.lib
02/08/2004 12:55 PM 111,630 PocketFrog_SH3.lib
02/08/2004 12:54 PM 429,476 PocketFrog_SH3_Debug.lib
02/08/2004 12:52 PM 125,298 PocketFrog_x86.lib
02/08/2004 12:53 PM 513,548 PocketFrog_x86_Debug.lib
18/07/2004 09:28 PM 164,132 PocketHAL_ARM.lib
18/07/2004 09:28 PM 88,734 PocketHAL_EMU.lib
18/07/2004 09:28 PM 94,654 PocketHAL_MIPS.lib
18/07/2004 09:28 PM 80,138 PocketHAL_SH3.lib
18/07/2004 09:35 PM 74,454 PocketHAL_x86.lib
14 File(s) 2,982,518 bytes
2 Dir(s) 18,175,848,448 bytes free
When I said the emulator was slow I meant the devlopment usage not the running speed. ie: all the steps needed to get the stuff onto the emulator.

PNG only format??? don't follow. You can use bmp jpg (with jpg you have to control the amount of compression to get good results). I store graphics as a resource.
[quote="BIGBEN]About 700 kb, the final exe is 468 kb(which is big, of course. I pay a lot for STL).
[/quote]
That's weird, my 1000 LOC files are about 30-40kb. Well, my calculations are a little wrong ;).

[quote="BIGBEN]
I had nothing. it just easier for me to develop in VC :)
[/quote]
Well, ok :). But what should I do? Start fighting with libpng? It seems that people who made it consider this as their own know-how or something, because I never get reply on this subject :).


Ok, this gif-64 screenshot is 24 kb, when I compressed to PNG-24 it is 61 kb :(

png-256 vs gif-64(your gif) - 21kb vs 24kb. PNG is BETTER :).

Please try to compress this screenshot with your tool, maybe you have some good tool for PNG compression.
And in PNG-64 color this shot is 31 kb, what your compression says?

png256 - 21kb, compression level - 6, tool - irfanview. png-64 - 25kb :). It's no use to try png64, it's not really good format for it, but 256 color is nice :).


Well, some people say it's a "post-nuclear Action-RPG" game atmosphere :)

Ah, ok then ;).


Fogot to say: I use PNG for shots on my site, so sure I like PNG - even if it would be better to JPG them in future.

So you DO understand! :)
Conan wrote:When I said the emulator was slow I meant the devlopment usage not the running speed. ie: all the steps needed to get the stuff onto the emulator.


It's pretty easy with PPC2000 to get stuff there. You only copy it and that's it, with your favorite tools. Thats why I regret so much that Thierry abandoned this platform :(. PPC2002 is already an image file, not pretty usable.

PNG only format??? don't follow. You can use bmp jpg (with jpg you have to control the amount of compression to get good results). I store graphics as a resource.
[/quote]
It's no good. You get 3mb file, and it can take several seconds to cache the icon when it's showed.
Well, it's not a sollution anyway. 50mb exe is not what I want.

So, your formats:
BMP - mind-bogglingly large.
JPG - extremely lossless. You lose quality even with 100% jpg, and it's even more than from convertion to gif. More of this - you get your color mask distorted. Ie, you had color(123,123,123) around the object, and it was blitted correctly, but then you convert it to jpg(100%), there suddenly a net of dots(dotnet, hah) appeared around the object, because it's no longer (123,123,123), its somewhere (122, 124, 122), somewhere (124, 120, 122), or like this.

So, we left with GIF. Gif is limited, I've already told this.
OK, this night I went to libpng site to find the best tool for PNG compression.
And I found it!
It is PNGGauntlet
http://brh.numbera.com/software/pnggauntlet/
It comprsses PNG better than original gif 90% of time.

In my game I use external image lib file, where I store many images at a time. My to lib file compression tool omits file extension, so I'll use mix of gif & png files in the end. But on the development stage, I'll use only gifs.

jaguard if you think than it is quite easy to test and develope your app using only your PPC I think to have two tiles sets is not a very hard thing to do. Not to rewrite your code, you could just have additional string that tells the extension of the file (e.g _tcscat(tfName,_T(".png")). Or do it like I do - just omit the extension.

jaguard wrote:
png-256 vs gif-64(your gif) - 21kb vs 24kb. PNG is BETTER :).

Hey we are talking about PNG maximum quality, not 256-gif colors like.
And PNG-24 file is 45 kb(compressed with PNGGauntlet now) vs 21kb of PNG-256 colors or 24kb GIF-64 colors.
So. PNG-24 more than 100% larger than PNG-256 colors. I just want to show you the price you pay for PNG-24.

jaguard wrote:
It's pretty easy with PPC2000 to get stuff there. You only copy it and that's it, with your favorite tools. Thats why I regret so much that Thierry abandoned this platform :(. PPC2002 is already an image file, not pretty usable.

Nothing abandoned - I run my game on my old E-125(MIPS), no problem at all. PocketFrog on top of PHal supports all PPC.

In the end, I think like Conan said that bmp is the best solution for you. During the dev you could use bmp to have a good (not 256 color ;) )quality.
Before distribution of the game just change it to PNG, it's an easy solution, especially if you omit the file extension.

In my opinion dev stage and final distribution - are absolutely different, so you cound run unoptimezied code with big external resource files - just because it's development stage. And optimize anything ONLY at the end.

jaguard wrote:
JPG - extremely lossless. You lose quality even with 100% jpg, and it's even more than from convertion to gif.

I think you want to say extremely loss-has(or lossy). Of course but it is the main advantage of this format.
But all the lossy goes to the hardly to spot regions.
It is not for cartoon graphics(100%quality jpg wouldn't manage white/black color crossover) - it's for photos or photo like graphics.
You know, even on libpng site they have a JPG logo, just because jpg makes the better job for such an image.
If you have background pictures sometimes it's better to jpg'em. And of course don't use it with images that have some mask color.

BTW IrfanView have PNGOut plugin preinstalled it's best PNG compression tool, and PNGGauntlet uses it as well as IrfanView(because the tool is command-promt, and PNGGauntlet is GUI).

I think that using of PNG-24 you see the good results on PC vs PNG-256 colors. But on PPC (or just in PocketFrog, not Irfanview) 16 bit color used, the diff is hard to spot between PNG-24 PNG-256 strawberry sprite (example related to your game). :wink:

I won't pay 50% of the final installment price for such a difference. If you manage to make it 64 colors it would be more (which is vital for my game). I had a lot of graphics.
But of course in your own game it's up to you ;)
And I know that PNG most times superior compared to GIF, but you should forget it during PC-PPC dev. Or port libpng (I would be very grateful to you) :)
WauloK wrote:Okay, I opened:
D:\Program Files\Microsoft eMbedded Tools\EVC\WCE300\PocketFrog\make\PocketFrog.vcp

I had to add in the X86 configuration and hit Build on PocketFrog - Win32(WCE x86)Release
Now, I don't see any "PocketFrog Emu_PPC200" anywhere. I looked in configurations, but I can't add it to the list either. Something's still wrong :-/


I think you should ask for Thierry why in PocketFrog_0_7_0 in PocketFrog.vcw there is x86em Debug/Release config and in PocketFrog_0_8_1(PocketFrog.vcw) there is no such config.
I' ll be aware of adding any config by myself.
So please mail to Thierry.
jaguard if you think than it is quite easy to test and develope your app using only your PPC I think to have two tiles sets is not a very hard thing to do.

What do you mean by "using only your PPC"?

Not a very hard, but something annoying extra job every time new pic added.

Not to rewrite your code, you could just have additional string that tells the extension of the file (e.g _tcscat(tfName,_T(".png")). Or do it like I do - just omit the extension.

Yes, it's not the problem. The problem is to convert pictures every time. And there's already more than 400 images.

jaguard wrote:
Hey we are talking about PNG maximum quality, not 256-gif colors like.
And PNG-24 file is 45 kb(compressed with PNGGauntlet now) vs 21kb of PNG-256 colors or 24kb GIF-64 colors.
So. PNG-24 more than 100% larger than PNG-256 colors. I just want to show you the price you pay for PNG-24.

I know pretty well that png-24 is larger than gif-256 or -64. It's not the point. I don't actually really care if my game is 5 megs instead of 3, but I really care if there are some dreadful dithering artefacts.

jaguard wrote:
Thats why I regret so much that Thierry abandoned this platform :(. PPC2002 is already an image file, not pretty usable.

Nothing abandoned - I run my game on my old E-125(MIPS), no problem at all. PocketFrog on top of PHal supports all PPC.

Nope. He removed pocketHAL lib for ppc2000emu(or it never existed). It wouldn't be the problem if it was pocketfrog, but you see, I don't have pocketHAL sources, so I can't compile it myself..

In the end, I think like Conan said that bmp is the best solution for you.

No way, my storage card'll run out of space :).

During the dev you could use bmp to have a good (not 256 color ;) )quality.
Before distribution of the game just change it to PNG, it's an easy solution, especially if you omit the file extension.


What shall I do if I want to update my game? convert and reconvert graphics every time?

In my opinion dev stage and final distribution - are absolutely different, so you cound run unoptimezied code with big external resource files - just because it's development stage. And optimize anything ONLY at the end.

That's different.

I think you want to say extremely loss-has(or lossy).

Sure :).

Of course but it is the main advantage of this format.
But all the lossy goes to the hardly to spot regions.
It is not for cartoon graphics(100%quality jpg wouldn't manage white/black color crossover) - it's for photos or photo like graphics.
You know, even on libpng site they have a JPG logo, just because jpg makes the better job for such an image.
If you have background pictures sometimes it's better to jpg'em. And of course don't use it with images that have some mask color.

Don't think I'm scared of jpgs or something, I use them, even in turbo reaction i tried them for backgrounds, but somehow had to remove them. By other reason - it takes slightly more time to load jpgs than pngs.


I think that using of PNG-24 you see the good results on PC vs PNG-256 colors. But on PPC (or just in PocketFrog, not Irfanview) 16 bit color used, the diff is hard to spot between PNG-24 PNG-256 strawberry sprite (example related to your game). :wink:


It's very easy to spot dithering on ppc, which you won't see on your PC. That's because dots are larger and brighter.

I won't pay 50% of the final installment price for such a difference. If you manage to make it 64 colors it would be more (which is vital for my game). I had a lot of graphics.
But of course in your own game it's up to you ;)
And I know that PNG most times superior compared to GIF, but you should forget it during PC-PPC dev. Or

I don't want it :). Maybe i'd even moved to gapidraw if they wouldn't have taken away hobby licence(the one for $100).

port libpng (I would be very grateful to you) :)


It's ported (http://www.pocketpcdn.com/libraries/libpng.html).
You only need to make it to load files in a way pocketfrog needs. Maybe it's not that hard anyway..
I don't want to change your credo about pallet-based images, but:
jaguard":3cloadwp]
I know pretty well that png-24 is larger than gif-256 or -64. It's not the point. I don't actually really care if my game is 5 megs instead of 3, but I really care if there are some dreadful dithering artefacts.



Of course you SHOULD avoid dithering(for 240*320 PPC). It's totally up to you to use it or not. Dithering make bigger pallet-based files, and of course dithering looks awful on PPC(notVGA). The way to avoid it simple- just don't use it :wink: (For example you should have some dithering option in your compression tool set it to "0" or "None"- depends on software)
And of course if you (or I) use gif (no matter the reason) you should sometimes avoid dithering even for PC-graphics. Dithering is LZW killer!
But if you use it for PNG on a PC - it's a good thing, because it would harm size, but not as much as for GIF.

[rus]Слушай, а в каком городе ты живешь, если не секрет?[/rus]
Of course you SHOULD avoid dithering(for 240*320 PPC). It's totally up to you to use it or not. Dithering make bigger pallet-based files, and of course dithering looks awful on PPC(notVGA). The way to avoid it simple- just don't use it :wink: (For example you should have some dithering option in your compression tool set it to "0" or "None"- depends on software)

Then your quality will suffer. Dithering is a thing helping to mask color shortage.
You use it in your screenshot ;).

And of course if you (or I) use gif (no matter the reason) you should sometimes avoid dithering even for PC-graphics. Dithering is LZW killer!

I think you pay to much attention to size. It's not that important, for both PC and PPC. It is on mobile phones, but modern PPCs are the powerful ones, with gigs of storage and 128 megs of ram..

[rus]Слушай, а в каком городе ты живешь, если не секрет?[/rus]
[rus]
Не секрет, можно сказать, что в Москве. В общем, далеко от тебя :).
[rus]
jaguard wrote:
... dreadful dithering artefacts...

...It's very easy to spot dithering on ppc, which you won't see on your PC. That's because dots are larger and brighter.

jaguard wrote:
Then your quality will suffer. Dithering is a thing helping to mask color shortage.
You use it in your screenshot ;).

First you said that you don't like dithering now you say the dithering is all you need. :)
Dithering should be used(when needed) for PC palette-based images(like my screenshot), for PPC(240*320) do not use it(you said before that you have some 'dither-artifacts', which is true).
For me it's obvious.

OK, I'll give you an example. Here is image without dithering, but it is a 256 color image and it is 6kb in size:
Image

4! colors image with diffusion dithering but the size in only 2kb:
Image

As you see on a PocketPC(nonVGA) screen it would be the total mess, while on the PC it's quite OK.

But sometimes dithering used to create some style of the game. For PPC it is a well-known Snails title. It uses dithering but more (in my opinion) to create the good cartoon style.
So there are no rules for artists ;)

By the way PDAMill uses bmp's, they just zip them. This operation have "some" similiarity with gif'ing, because zip also uses LZW.It has nothing about dithering but it may intrest you if you want 24bit images. This way you will run the same tile set for PC and PPC.

[rus]Жалко, а то понадобится еще один человек программист для PPC dev; лучше б чтоб в Питере[/rus]
:!: Thread hijack :!:
BIGBEN wrote:WauloK this topic may help you:
http://www.pocketmatrix.com/forums/viewtopic.php?t=20252


briefly, to build the lib you need to change the default project from the sample app such as blit to the required pf lib project.
see project / set active project and choose PocketFrog then set the drop downs for the type of build and device


Did that. Didn't help.
<thierry_tremblay@bigfoot.com>: host mail-kr.bigfoot.com[211.115.216.228] said:
550 This account is not allowed...thierry_tremblay@bigfoot.com (in reply to
RCPT TO command)


I have a feeling I won't be able to do that...
WauloK wrote:
<thierry_tremblay@bigfoot.com>: host mail-kr.bigfoot.com[211.115.216.228] said:
550 This account is not allowed...thierry_tremblay@bigfoot.com (in reply to
RCPT TO command)


I have a feeling I won't be able to do that...


Don't worry I've already sent a letter to Thierry (on other email address). Waiting for reply.
And sorry for offtop. :roll:
np. my queries were just getting lost in the talk about png vs jpg vs gif with dithering and such :D

[rus]
Жалко, а то понадобится еще один человек программист для PPC dev; лучше б чтоб в Питере
[/rus]

Hm..Interesting, looks like I can be that man :)
Looks like no Thierry.
Guess I'll have to install an old PocketFrog if I want to use the libraries as there's no other way possible to do it :cry:
WauloK wrote:Guess I'll have to install an old PocketFrog if I want to use the libraries as there's no other way possible to do it :cry:

You are right - no reply.
But, Hey don't frustrate too much. I used to run all my development process on the device instantly connected to my laptop before I switched to VC. It isn't so handy as VC development, but it is still affordable solution.:wink:
I wouldn't suggest you using old PF(without Hal) only because of emulator - it doesn't worth it, since it is only x86-based emulator,not a real device replacement.