Graphics Library for Win CE - Windows Mobile Development and Hacking General

Hi, i am looking for nice and simple graphics libary for Win CE / Mobile.
I've tried already the SDL Port, but it's not a real solution for me.
Can someone help me pls?
Or what should i use if i want to make little games or whatever?
Thx in advance!

Depends on what you want to do ^^
I use XFlib, the library I developped with a friend of mine. It's still pretty limited compared to older/more mature libraries (some are commercial, though), but it works fairly well for me
Examples of games I coded using it : http://www.xflib.net/index.php?action=games

Looks nice, thx , i'll try it .
Hmm, i just want to make some 'animated' (and fast) apps, not really games.
Do you know, what i should use if i wanted to make apps like pointui ? (I don't want to make something like that, but i am curious )

http://pocketmatrix.com/forums/index.php?c=2

I guess XFlib is pretty much oriented towards games, yeah ^^ You'll find nice info on PocketMatrix, even though the site/forum is kind of dead and spammed :s

ah , exactly EDGELIB.. i've already tried that (didn't work, i guess i have to try it again) .
And PocketFrog -> I've read about it at CoduGuru, but the link was down and i didn't find anything useful on google .
Thx for this link.

Related

ChARMeD - Disassembler for ARM CPU

Hi,
This is the program i mentioned earlier,
IT IS STILL IN BETA
so it has a problem here and there,
but i had only three days to work on it
when i get a chance from work and university i will try and add the analyzer *gulp* etc
let me know if it looks useful, pm me or post reply
(oh and if anyone is interested in hosting on the web pls let me know too)
(i hope posting this here is ok)
thanx for ur interest toenailed
latest version available at
http://carolos.za.net/
charmed on ftp
hi,
also put charmed.zip in root of ftp
tnx .. carolos
i was looking for a Good dissassembler from ages now ......
i will try it and give my feedback later.. ( :wink: )
anyway i will split this post ..
and put it in Developing and Hacking section ..
so other can see also your app ..
tnx again .. n looking forward for your future upgrade especially the analyzer .. .. tnx so much
-toe
it works!
It seems to work pretty good! Great job man!
carolos,
will it be too much to ask you for a small program to delete files and/or folders for WM2k5? Something like the old AutoRun.exe-Config.txt program; where you can list the folder/file names in a file for deletion.
If not, does this already exist? Could you point me there?
Thanks.
hi acmorfe
hmmm...
to tell you the truth
i started playing with windows ce 2.0
then i left portable devices until recently (about a month ago)
because i got a phone that has windows ce 2003 se
so i am a bit rusty
but if you want a program that does it on the phone itself
there was like ms cmd for pocket pc or something like that
i think you could possibly make it run a .bat or .cmd file on execution
and i think you can add the that to the registry of your ppc
i wont be able to write anything anytime soon...
because
1) i dont have the ms sdks
2) they are too big to download
3) internet access is really expensive here
sorry i hope info helps, good luck
Charmed BETA 0.2
hi,
gee 59 downloads already...
well i hope everyone who downloaded beta 0.1
will download beta 0.2
added 17 mnemonics
and fixed some mnemonics that were too restrictive
for full info look at help
-bye
Re: Charmed BETA 0.2
Why are you developing this program? You cannot make anything that would be as useful as an IDA (www.datarescue.com). You'd better spend your time on IDC scripts or developing a processor module for ARM if you don't like IDA's builtin disassembler (which is really great in 4.80).
didn't everyone at one point in their live write their own disassemblers?
http://www.xs4all.nl/~itsme/projects/disassemblers/
willem
@mamaich: I just wanted to point out the same thing.
the only sence of making a disassembler - is to integrate it into a really useful program for all PocketPC developers: a good and stable debugger.
http://www.datarescue.com/idabase/wince/index.htm
i beta tested it, i works very nicely, much better than the evc debugger.
willem
@itsme: Very nice. How are we supposed to wait till "Q2-Q3 2005"?
Re: hi acmorfe
carolos said:
hmmm...
i wont be able to write anything anytime soon...
sorry i hope info helps, good luck
Click to expand...
Click to collapse
Carolos, thanks anyways.
Guys, what programming language would you suggest that i study for programming stuff for PPC (WM2k5)?
Re: hi acmorfe
acmorfe said:
carolos said:
hmmm...
i wont be able to write anything anytime soon...
sorry i hope info helps, good luck
Click to expand...
Click to collapse
Carolos, thanks anyways.
Guys, what programming language would you suggest that i study for programming stuff for PPC (WM2k5)?
Click to expand...
Click to collapse
hi again,
c++ (embedded c++) would probably be the best
because you can do anything u like with it
but there are other options
c# and visual basic (visual studio 2005)
but they rely on the .net frame work, which is kinda like the java Virtual Machine, only microsofts version, it allows them to port applications to any os easily (even mac probably if there is a .net vm for mac)
good luck
Re: Charmed BETA 0.2
mamaich said:
Why are you developing this program? You cannot make anything that would be as useful as an IDA (www.datarescue.com). You'd better spend your time on IDC scripts or developing a processor module for ARM if you don't like IDA's builtin disassembler (which is really great in 4.80).
Click to expand...
Click to collapse
last time i checked ida was not free
and also there was no built in assembler? was there?
mamaich said:
the only sence of making a disassembler - is to integrate it into a really useful program for all PocketPC developers: a good and stable debugger.
Click to expand...
Click to collapse
charmed was intended to be a debugger...
but disassembler must be finished first...
oh yah and ida is not 250k
i knew about the new ida with remote debugging
even before i started charmed
but its not free!!!
Charmed BETA 0.3!
hi
toenailed requested some upgrades
charmed now has an export to .html and .txt
and a search
yay!
does anyone want this program???
please post if you think its useful else
its gona stay at 0.3
it was never supposed to go beyond 0.1 anyway
i wrote it for my own use and 0.1 was good enough
Thank you very much. I like it. As you said, IDA is not free, hence the reason I don't have it. Now to just figure out how to make small changes. Thanks for your hard work.
@carolos: Why don't you start a new project at sf.net? So others might help and someday it may become better than IDA - who knows.

WMP plug-in

Hi all,
This is my first post in this forum and I hope that I will find some help here :wink:
I am a c++, c# and vb programmer, and I am very good in VC++, DLLs, ..., you know that stuff..
I want to develop a plugin for pocket windows media player but I dont know where to start!!
can anybody shade some light please :wink: , any references , articles ,examples, tutorials, anything you might find useful is welcome :lol:
Thank you,
Mohammad Gdeisat
mohgdeisat said:
Hi all,
This is my first post in this forum and I hope that I will find some help here :wink:
I am a c++, c# and vb programmer, and I am very good in VC++, DLLs, ..., you know that stuff..
I want to develop a plugin for pocket windows media player but I dont know where to start!!
can anybody shade some light please :wink: , any references , articles ,examples, tutorials, anything you might find useful is welcome :lol:
Thank you,
Mohammad Gdeisat
Click to expand...
Click to collapse
Salam Brother,
I am not interested in the WMP plug-in but I can give you a suggestion.
Why not develop a Plug-in behind the plug-in...?
Hmmmm.... what is that.
What is that...!
Hmmm. There it is...
Develop a Clock Plug-in but instead of ordinary today plugin... This plug-in is displayed behind the other today Plug-in...
See my attached image for some idea......
Thanks..
rmercado: that would be quite difficult, because the Windows API has a built in routine to make today plugins "transparent", which basically paints the today wallpaper through onto the plugin.
In order to do what you say, I think you'd have to subclass every today plugin and intercept its WM_PAINT, monitor screen draws and then squirt in your background plugin at the end of the screen draw. But this would still not account for different screen draws by the various plugins, so you would also have to force a syncronised refresh every so often, otherwise bits of the background would be out of sync.
There are much easier ways to achieve what you want, basically by writing a replacement for the today screen with today plugin emulation.
mohgdeisat: download the sdk. There are good examples in there.
Also check out PocketPCDN, and I recommend the book, “Programming Windows CE.NET” by D. Boling.
V
Thanx alot friends for ur replys,
Actually, I think I might have been missunderstood, I am not planning to write a "today plugin" to be displayed on the today screen, I am planning to write a plug-in for the WMP application, for example an equalizer for WMP.
I need to get the sound data that are being played, adjust them based on equalizer settings, then play the new data.
I dont know if Pocket WMP is designed to support such "functionalty extensions", and I really have no idea where to start my work, I can work with .NET or with C++, and I think I can learn it fast..
Any light can be shaded here?? waiting for your help guys :wink:
Mohammad
What would be really awesome would be to use the microphone of the phone to get ambient background noise, and then with some clever signal processing superimpose the negative waveform of the background noise over the audio output of WMP - effectively, a noise cancelling plugin that uses the microphone on the phone.
Not sure if the Wizard could handle it though, especially if it's streaming bluetooth audio!
Afraid I can't help on where to start writing a plugin...
Oliy
Thanx Oily,
It would be really a great idea, but I think that ourbeloved wizards cant perform heavy sound processing, maybe this would be more feasible on XDA Atom which has a faster processor.
Thanks for ur idea, but where should I start???????????? :wink:
Mohammad
Try the media player SDK.
V
thanx vigay,
I am taking a look on MSDN WMP sdk, seems to have good information, but still needs time to be understood well.
Just a note guys, I dont like to duplicate others work, so are there any plug-ins available for Pocket WMP, and what kind of plug-ins are out there?
Mohammad
Hi friends,
I really wonder what is the best approach with regard to performance when processing and displaying images:
1. is it DDBs??
2. DIBs?
3. OpenGL?
4. DirectX?
or maybe other??
plz provide me with ur advice.
Thank you,
Mohammad
mohgdeisat: you might want to open another thread in the development section for this question.
AFAIK - Microsoft is pushing DirectX, but it's WM5 only for now, not WM2003. Otherwise, depends on what you're working with. OpenGL is unlikely to be great, due to lack of good hardware acceleration.
V
I do not know if you have looked at this but it might help you.
http://msdn.microsoft.com/mobility/windowsmobile/howto/starterkits/default.aspx
I do not know if you have looked at this but it might help you.
http://msdn.microsoft.com/mobility/windowsmobile/howto/starterkits/default.aspx
Click to expand...
Click to collapse
Yes its great, and I will study.
Thanks,
Mohammad
I'm sure this has been mentioned but i thought id post a link to the media player 10 SDK
http://msdn.microsoft.com/library/d.../wmplay10/mmp_sdk/windowsmediaplayer10sdk.asp
Some useful info on plugins.

[App] [Updated 02-NOV-2008] Diamond Cubes

Here is a small OpenGL based program that allows you to use your Diamond as a "Dice Shaker". It is a simple program and it was written to learn how to use OpenGL together with C# on my Diamond.
There are still some bugs in the collision detection code, but I think it is a good example of what can be done with this lovely PDA/Phone.
I apologize for the bad interface, there is not much else you can do then shake it and exit from the program.
The dices are 3D objects and tumble across your screen. I still think there should some better "randomness" and there is an annoying bug, which I short-fused in a very ugly way
Anyway have fun and if I find the time, I will certainly try to improve it.
Done:
- Add sound effects/ buzzer triggering - thanks to gerDiamond to fix the "bugs" in the collision detection and surur for the sound and background file. Also thanks to simplifight to clean up some of the code.
- Better graphics - I think I finally understand OpenGL lighting
- Menu choice for the number of dices - You can choose 1 till 7 dices
- Ticking on the screen is the same as shaking the device.
Still todo
- Different faces for different types of games (for example the dice colors needed for "Cities3D" ?) - Basic setup for this is done, just need to find the time to create the images
- Nicer graphics for the playboard. Again I have the graphics understood and made some code changes with regard to the rendering of the dices.
- 3D tilting. Have a look at my "Paper Plane" app, which shows a 3D F16, which you can look at from all sides.
Lower priority todo
- Zoom in or out ??
- Change size of play-field ???
Any suggestions are welcome.
I will post the latest sources again, but it could take a few days, since they sort of are a mess for the moment.
Dice can be parked by clicking on them. Clicking on them when parked, they will go back to the "field".
Help needed
I could still use some help in the dice rotation algorithm. Currently there is a tendency to favor some numbers, but I need to randomize it better. One solution is perhaps to randomly choose between turning around the x or y-axis ?
Graphics are welcome.
I also could use some help or guidance in using a "3DS" loader or something similar, so that people can design their own dice textures.
If you have nice pictures of dices, preferable JPG or PNG with square sides, I will try to use them. Usable sizes are 64x64, 128x128 or 512x512
got the sofa!!
Hi there!! It looks great for fun with your friends!!!
I will try it right away !!
I just tested this first version.
The animation is great, perhaps de Gsensor sensitivity could be enhanced to be more realistic the "shake" to trow the cubes.
Great job my friend!
Wow.. very nice
This looks great... A little more programming and it will be perfect...
some sound... and interaction with the cubes.. ( now they can land ontop on eachother)
Looking forward to see the next version
nice job!
how about adding another 3 dice so i can play yatzee?
Great app, but it doesn't work for me. I'm using 1.93 NL official rom.
I allso found an iPhone dice app so here is the link for inspiration for further developement http://www.youtube.com/watch?v=ugoq8M2XxVE
I'm also willing to make the dice so they look more beutifull but i don't know how this is done with mobile phone apps. Will a Cinema 4D or 3DSMAX render do?
.NET CF 3.5 needed
gebruikershaes said:
Great app, but it doesn't work for me. I'm using 1.93 NL official rom.
I allso found an iPhone dice app so here is the link for inspiration for further developement http://www.youtube.com/watch?v=ugoq8M2XxVE
I'm also willing to make the dice so they look more beutifull but i don't know how this is done with mobile phone apps. Will a Cinema 4D or 3DSMAX render do?
Click to expand...
Click to collapse
Problem 1: You might want to check if you have .NET CF 3.5 installed. I always use that because it is installed in my ROM.
The dice is created as a cube on which I render 6 different images. So I don't know if you can use Cinema 4D or 3DSMAX. Check the sources, maybe that it gives you a better idea ? Any way I appreciate any help I can get, I am still learning to use the OpenGL software, so I have not really a clue about all the possibilities. Sometimes it feels like I have managed to understand about 5%
Maybe some other people can help out here ?
My main reason to add the sources also was the hope that somebody would take the application and make it better, so that I can learn of it too.
Nice app!
A little laggy though, besides that it looks great!
Great idea. Should be called "Diamond Dice" though? sounds more appropriate ;-) And is the animation quite smooth for everybody else? not very smooth on my Diamond, but that might be due to the high memory usage I usually have
Greatttt ... thanks a lot...
Can you make a version for Yahtzee?
gebruikershaes said:
Great app, but it doesn't work for me. I'm using 1.93 NL official rom.
I allso found an iPhone dice app so here is the link for inspiration for further developement http://www.youtube.com/watch?v=ugoq8M2XxVE
I'm also willing to make the dice so they look more beutifull but i don't know how this is done with mobile phone apps. Will a Cinema 4D or 3DSMAX render do?
Click to expand...
Click to collapse
The graphics looks very realistic for the iphone...hope someone can do better for the diamond.
Would b great if can add in sound and slight vibrations when the dices hit the sides of diamond...
Very nice app. Just a little bit more tweaking. Thanks a lot.
I've tried looking into it but tbh i have no clue about how that stuff is done. But this might help you improving your opengl skills . http://nehe.gamedev.net/ on the left are lots of tutorials.
ykyong said:
The graphics looks very realistic for the iphone...hope someone can do better for the diamond.
Would b great if can add in sound and slight vibrations when the dices hit the sides of diamond...
Click to expand...
Click to collapse
I settle for "just as good". I hope someone here will take on the challenge to create a similar app. Diamond Cubes is a really good start!
Yeah this is cool to start with, heres hoping someon can expand this with sounds, better responses etc.
Wow.. very nice thanks!!!!!!!!!!!!!
Is there anyone working on this or is it forgotten? Hopefully not, I’d love to see a yatzy version ala Iphone style…
Hi, congratulations and thanks for the app!
after having seen this app i wondered if it is usable for playing table top role playing games like d&d
It would be very nice to have those features (first are most relevant):
- type of dice (4, 6, 8, 10, 12 or 20 faces are standard dices)
- how many dices
- color one or more dices differently (in d&d you may be using one dice for fire damages and another one for ice damages for example)
- save and quick load presets like "2D8+1D6(fire)"
- if we have presets it would be nice to save fixed modifiers and calculate the final result, for example ""2D8+1D6(fire)+2" means you roll 2 8 faces dices, 1 red 6 faces dice and sum 2 to the final result.
- ok.. since maybe i am the only one who needs those features a simple and advanced selector at the startup would be nice for everybody
thanks!
Video of the app here.
http://wmpoweruser.com/?p=1016
Surur

Porting a game from PC to ppc

Hi, I never did that, but I was playing to Anthelion 2 on my PPC and I thank that it could be great to port Homeworld 1 or Cataclysm to the PPC, and I would like to know how to do that, I think that I could "recompiler" it, but I don't know how, and I would like to know if a tutorial has been created somewhere on the net?...
I'm not sure if it would be even technically possible. Well, the newest pdas _might_ be powerful enough to run something like HW1 but i'm not sure if it's such a good idea. Did you try to run homeworld in 640x480 resolution? Most of the time you'll see ships as groups of two to eight pixels. Now imagine it all squished on a phone three-inch screen: try ordering your corvettes to smash that annoying bomber on a screen that small I think that a bit better idea would be porting really old games, that were designed to run in VGA or even lower resolutions (SubCulture, Command&Conquer, I-War, Dark Forces are some of the titles i'd pay for ).
Anyway, back to porting subject.
First of all you would need the source code of the program you want to port - in case of homewrld1 it's not a problem.
Secondly, you would have to make sure that all libraries (graphic, sound, input, etc) used by a game have windows mobile/windowsCE versions. Again, homeworld1 seems lucky since it has been ported to SDL - a multiplatform opensource graphic/sound/input library.
But that's where good news end. Porting a game is not just a matter of grabbing the PC version source and recompiling it. If it was as easy, we would have hundreds of PC games already ported You need considerable programming skills to actually create a port because usualy not all libraries used by a game a compatible with WindowsCE. An example - the opensource version of homeworld uses OpenGL for graphic rendering. The pocket version would have to use OpenGL's "little brother" - OpenGLES. As far as i know, they're not 100% identical, so to put it simply, you would have to make the game talk in OGLES language, instead of standard OGL. And doing changes in graphic rendering routines usually breaks something else, so you'd have to go and fix it.
I'm not trying to discourage you here but i'd suggest learning to program for WindowsCE (or at least for PC) _before_ attempting to port anything - doing it the other way around will be just a waste of time and a source of frustration.
There are some development resources that can help start the adventure with programming here on xda. You could also search for some general C/C++ tutorials targeting PC's. If you consider getting into programming, i suggest checking out SDL - Many games use it, and thanks to this library you can skip the OS-specific part of coding and get right to the fun stuff - a program that actually does/displays anything For an even easier start, you might want to check out QuickCG - a SDL wrapper simplifying the coding even further.
Oki, thanks for your answer, I've a friend who is learning to program in C++, so, I'll ask him if he can help me to do that, it would be great to have this game on a PPC (perhaps the Diamond, because it has D3D and OpenGL Drivers, or of the iPhone, but I guess that the programming language is not the same as the PPC...
[EDIT] STARCRAFT would be great to, and easier to port on PPC, because of his age and that he uses 2d Graphisms...
You should look into the stratagus engine.
antrak said:
You should look into the stratagus engine.
Click to expand...
Click to collapse
Nice Engine, but it's not Starcraft, but I can't find the Source Code on the net, they could give the source code with the game when you buy it
Psycho said:
Hey, it's Calvin, I found him
Click to expand...
Click to collapse
Stargus a starcraft's clone, I'm trying to download it, but I don't know if it works for PPC...
You might want to check this thread:
http://forum.xda-developers.com/showthread.php?t=497086&highlight=starcraft

[REQUEST] MiniGame collection ala Wario Ware from DS...

I´ve been thinking this for long but since I cant code anything I decided to make a request on this forum. Everyone who played Wario Ware on the Nintendo DS knows what kinda fun it is for touchscreen devices to play short quick minigames. My idea is to create something similar like this. As example a minigame appears for about 3-5 sec and then a loading screen switches to the next minigame which could be done in "modules" so the community can also create their own games There are billions of different ways the games can have. I have some nice ideas in my mind which I tried to draw in few cheap screenshots. I also made a video to demonstrate the interaction.
So is any programmer/dev interested in doing this? I guess Im not the only one which would appreciate the work
Thanks for future replys and feedback!
Regards
Sercio
http://www.youtube.com/watch?v=n_KHrnw6UaA
.
I was impressed with the funny and inovative games that the DS came up with.
Flash would be a great tool for this on future machines, on the current ones its simply too slow for the animations.
a DS emu wouldnt hurt either.
The concept looks amazing.
+1 for this thread.
Wow, yesterday i was playing wario ware and was thinking the same thing...
It would be great if someone makes this
3 months and still no useful progress?
Come on guys...
No progress because nobody is working on this ;/
The easier way to do this is in Flash, there are a lot of online flash games out there already. Just grab a few examples and stich them together.
Like this example...
FINGER:
TO USE:
--------
- Just copy the EXE into your device and run it.
- Up or DOWN to change quality, ENTER to exit application.
- The time is still buggy... :/
This is not my game, its a online game I found, I just changed it a little for our devices.
Needs flash 7 (not lite, not buggy lite, not lite and a half, seven!).
twolf said:
The easier way to do this is in Flash, there are a lot of online flash games out there already. Just grab a few examples and stich them together.
Like this example...
FINGER:
TO USE:
--------
- Just copy the EXE into your device and run it.
- Up or DOWN to change quality, ENTER to exit application.
- The time is still buggy... :/
This is not my game, its a online game I found, I just changed it a little for our devices.
Needs flash 7 (not lite, not buggy lite, not lite and a half, seven!).
Click to expand...
Click to collapse
Nice. How do you convert flash games to run on ppc? (btw, why is it not that smooth?)
Thanks for the quote, I would never understand what you ment whithout it, lol.
I use SOTHINK DECOMPILER to turn the SWF into FLA
Then FLASH CS4 to optimize the file, rotate it/add more options/sounds/bigger buttons/etc
And finally Bryht FlashApp Builder to turn the swf into a WM EXE.
Its kinda smooth on my 400 mhz machine, not as smooth as it is on my PC, of course. Flash isnt great on low mhz devices or bad video drivers (hint, HTC)...
Oooh... that explains a lot. I'm using a HTC Touch HD. Absolute horrendous video drivers.
Now i'll go try and convert some games
@ twolf:
Thats a nice Game / flash and exact the kind of stuff I was looking at... Well the idea of using flash is brilliant!
Maybe someone´s able to create a main executable which loads those flash modules so it can be a fluent game switch as like in "wario ware"...
Im thinking big of this
hey, twolf, for some reason the bryht flash player couldnt convert the swf to ppc exe format it only converts it to PC projector format. Could you say, help me convert this
http://www.funny-games.biz/paper-toss.html ?
You need to export it on flash 6 or 7.
Yeah, its a flash 7 swf movie. However when I publish it on bryht flashapp builder, it comes out as a PC .exe file which cannot be run on my ppc
Would be nice to have a collection of Flash Apps converted to our phones. Flash is a powerful thing. I love working in flash. There are also some great apps to be made. Most of the apps on the iPhone are basically flash based.
player911 said:
Would be nice to have a collection of Flash Apps converted to our phones. Flash is a powerful thing. I love working in flash. There are also some great apps to be made. Most of the apps on the iPhone are basically flash based.
Click to expand...
Click to collapse
yeah, maybe you could provide a list of games which are ppc friendly so they can be converted?
Again...
Is it possible to create those games as kinda like "modules" so we dont have to exit and run each time to switch the apps ?
A simple "gallery chooser" can be done, but the flashes would need to follow certain rules. So, yes its possible, now bring it on...

Categories

Resources