Dungeon Master for Pocket PC / Win CE
Moderator: Zyx
Forum rules
Please read the Forum rules and policies before posting.
Please read the Forum rules and policies before posting.
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
Dungeon Master for Pocket PC / Win CE
Hi Folks,
I've been a huge fan of DM for years and have recently gotten a Pocket PC and would love to play DM on it!!! But, i don't do programming... So does anyone out there know how to compile games for the pocket pc? and have some source code they can compile?
The pocket pc has a 240x320 screen, so if rotated it's the same as the original DM... and i figure the pocket pc will interpret the touch screen as mouse clicks... I'm not sure how practical it will be, but it'd be great to try...
If anyone has any ideas or suggestions or wants to give a crash course in game compiling... let me know!!!
I've been a huge fan of DM for years and have recently gotten a Pocket PC and would love to play DM on it!!! But, i don't do programming... So does anyone out there know how to compile games for the pocket pc? and have some source code they can compile?
The pocket pc has a 240x320 screen, so if rotated it's the same as the original DM... and i figure the pocket pc will interpret the touch screen as mouse clicks... I'm not sure how practical it will be, but it'd be great to try...
If anyone has any ideas or suggestions or wants to give a crash course in game compiling... let me know!!!
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
I am interested. But I know nothing about the Pocket PC.
Does it run Windows CE? Can it run Windows applications?
What restrictions? CSBwin is a very straight-forward
Windows application that uses the very basic user interfaces.
And runs well on very slow machines with little memory.
What happens if you try to run it? Or is that a nonsense question?
We have ported CSBwin to macintosh and Linux successfully.
How much would a Pocket PC cost if I were to try and
make it work?
Does it run Windows CE? Can it run Windows applications?
What restrictions? CSBwin is a very straight-forward
Windows application that uses the very basic user interfaces.
And runs well on very slow machines with little memory.
What happens if you try to run it? Or is that a nonsense question?
We have ported CSBwin to macintosh and Linux successfully.
How much would a Pocket PC cost if I were to try and
make it work?
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
Well, i just tried CSBwin on my ppc but no joy, it says it's an invalid ppc application. Generally i think everything has to be specific for the ppc to run.
I paid £190 for my ppc, an HP1910 ~ a 200MHz processor.
Is porting software just a case of compiling the source code specifically for an operating system... I'm just downloading some development tools from microsofts website approx 300MB but i'm not sure what i'm exactly after... There is apparently an emulator within the downloads, but i'll have to see how it works!!
Is it likely to be a simple case of recompiling the source code? or will it be more complicated...
I paid £190 for my ppc, an HP1910 ~ a 200MHz processor.
Is porting software just a case of compiling the source code specifically for an operating system... I'm just downloading some development tools from microsofts website approx 300MB but i'm not sure what i'm exactly after... There is apparently an emulator within the downloads, but i'll have to see how it works!!
Is it likely to be a simple case of recompiling the source code? or will it be more complicated...
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
I have no idea. We should be able to make it work.
There are lots of web sites with Pocket PC development
information. But I have not had the time to go look at
any of them in depth. Just enough to see that there is
a lot to learn.
Interesting project.
Additional edit:
I Downloaded the Microsoft Pocket PC 2003 SDK.msi
and I see that I can get an HP2215 PocketPC 2003 for $290.
Does yours have 2003 (or 2002)?
Some comments I see on the developer page indicate to me
that the people having trouble converting their applications
are using strange features of Windows. This leads me to
believe that CSBwin should go in relatively easily.
The 320x240 should be enough. Already CSBwin is capable
of rearranging the pieces of the screen if necessary. Might come
in handy so that it can be played vertically. The viewport
is 224 wide, I think.
There are lots of web sites with Pocket PC development
information. But I have not had the time to go look at
any of them in depth. Just enough to see that there is
a lot to learn.
Interesting project.
Additional edit:
I Downloaded the Microsoft Pocket PC 2003 SDK.msi
and I see that I can get an HP2215 PocketPC 2003 for $290.
Does yours have 2003 (or 2002)?
Some comments I see on the developer page indicate to me
that the people having trouble converting their applications
are using strange features of Windows. This leads me to
believe that CSBwin should go in relatively easily.
The 320x240 should be enough. Already CSBwin is capable
of rearranging the pieces of the screen if necessary. Might come
in handy so that it can be played vertically. The viewport
is 224 wide, I think.
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
My ppc runs 2002, but i don't think there are any significant differences other than enhanced wireless (bluetooth) features in 2003.
Some of the ppc games actually show in 320x240 so you hold the ppc in Landscape, i imagine it's a simple enough feature of the ppc to rotate stuff on screen...
Thinking of this, i was wondering if java would work on ppc... I'll look for a VM and try DM Java... I'm not sure if i'd have to recompile it or not? Does anyone know how to? etc... But i'm guessing DMJ will be too power hungry for the ppc...
If there's anything i can help with let me know!!
Some of the ppc games actually show in 320x240 so you hold the ppc in Landscape, i imagine it's a simple enough feature of the ppc to rotate stuff on screen...
Thinking of this, i was wondering if java would work on ppc... I'll look for a VM and try DM Java... I'm not sure if i'd have to recompile it or not? Does anyone know how to? etc... But i'm guessing DMJ will be too power hungry for the ppc...
If there's anything i can help with let me know!!
- andyboy_uk
- On Master
- Posts: 647
- Joined: Thu Feb 20, 2003 1:51 am
- Location: London, UK
It may be worth your while checking out the Visual Studio.NET 2003 Edition that has the ability to create PPC applications. The studio contains C++, C#, VB.NET and J# that can compile to PocketPC
Also, the following might be interesting to you as well.
http://www.gapidraw.com/
Also, the following might be interesting to you as well.
http://www.gapidraw.com/
Regards,
Andy
Andy
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
No luck... I'm guessing that i should have csbwince.exe in the csbwin folder... Am i supposed to be getting a the full on CSBwin playing?
I just get an error dialog "Cannot find 'CSBwinCE' (or one of its components). Make sure the path and filename are correct and all the required libraries are available."
I also tried to have a look at the the microsoft sdk stuff i downloaded, VB+ 4 etc... but i've no idea what i'm doing with it all!?!?!
I just get an error dialog "Cannot find 'CSBwinCE' (or one of its components). Make sure the path and filename are correct and all the required libraries are available."
I also tried to have a look at the the microsoft sdk stuff i downloaded, VB+ 4 etc... but i've no idea what i'm doing with it all!?!?!
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
OK. It sounds like some runtime library is needed.
I have no idea what that might be.
What I posted was the simplest possible program.
I used the eMbedded C++ wizard to make a 'Hello, World'
application. I made zero modifications. It works in the
emulator. I posted the ARMV4 version. I think you have the
XScale processor which I think is compatible with the
ARM specifications. Lots of 'I think' going on here.
I have no idea what that might be.
What I posted was the simplest possible program.
I used the eMbedded C++ wizard to make a 'Hello, World'
application. I made zero modifications. It works in the
emulator. I posted the ARMV4 version. I think you have the
XScale processor which I think is compatible with the
ARM specifications. Lots of 'I think' going on here.
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- andyboy_uk
- On Master
- Posts: 647
- Joined: Thu Feb 20, 2003 1:51 am
- Location: London, UK
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
I am porting. I think I will have to rewrite three major
pieces:
--The main program that receives and distributes messages.
--The User Interface for screen, keyboard, mouse, and sounds.
--The video translator from Atari bit-mapped to native.
It is all tedious but, hopefully, straight-forward.
What Pocket PC do you have and what operating system and
what CPU? I believe the LazyOldMan has an XScale CPU with
Windows CE 2002.
pieces:
--The main program that receives and distributes messages.
--The User Interface for screen, keyboard, mouse, and sounds.
--The video translator from Atari bit-mapped to native.
It is all tedious but, hopefully, straight-forward.
What Pocket PC do you have and what operating system and
what CPU? I believe the LazyOldMan has an XScale CPU with
Windows CE 2002.
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
The bitmaps are handled quite differently. I posted
a new CSBwinCE2002.exe. It tests the new bitmap
technique. Could you try it, please? It should show
a 30x30 checkerboard with green in the middle and
purple on the corners.
My wife promised me a Pocket PC for my birthday
on 6 April. I think I will get a CE 2003 model so that
we can test both versions. I hope a single release
can be used on both.
a new CSBwinCE2002.exe. It tests the new bitmap
technique. Could you try it, please? It should show
a 30x30 checkerboard with green in the middle and
purple on the corners.
My wife promised me a Pocket PC for my birthday
on 6 April. I think I will get a CE 2003 model so that
we can test both versions. I hope a single release
can be used on both.
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
- andyboy_uk
- On Master
- Posts: 647
- Joined: Thu Feb 20, 2003 1:51 am
- Location: London, UK
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
Try CSBwinCE2002.rar from
dianneandpaul.net/CSBwin
You must put the executable and the graphics.dat
in a directory named
Windows/Start Menu
I don't know why this is necessary but that is the only
directory I have managed to make work.
I am particularly interested in
1) Does it work at all?
2) Are the colors right?
3) Does the mouse work?
4) Is any sound produced when the doors open?
Now I am going to work on the remapping of the screen to
fit on the device. I actually have only 240 x 286 pixels to
work with after the menu space is removed. But I think I
have a plan.
dianneandpaul.net/CSBwin
You must put the executable and the graphics.dat
in a directory named
Windows/Start Menu
I don't know why this is necessary but that is the only
directory I have managed to make work.
I am particularly interested in
1) Does it work at all?
2) Are the colors right?
3) Does the mouse work?
4) Is any sound produced when the doors open?
Now I am going to work on the remapping of the screen to
fit on the device. I actually have only 240 x 286 pixels to
work with after the menu space is removed. But I think I
have a plan.
- LazyOldman
- Journeyman
- Posts: 61
- Joined: Thu Mar 04, 2004 7:17 pm
Hmm... well, i had the same problem as you - with only windows\start menu working (well sort of... See later)
From windows\start menu i got something like this;

Sorry, no cable tonight to sync my ppc, the blocks at the top were multi coloured and almost could've been images in miniature, but they were only a few pixels across each.
I got the same response with everything from CSBwin in the directory and with only the 2002.exe and graphics.dat
When i ran it from my storage card, i got a message saying "can't find dungeon.dat" then a message giving options of where to run csbwin from (i assume thats a remnant of the x86 version). Then it gave me a system error 2989, but it actually opened the program identically to above regardless.
Now about 5 minutes later... and no changes to anything (i don't think so anyway..)... It opens from both locations, to give the white screen with black bar, but no little blocks at the top and gives a system error 42?!?!
Now, i'm slightly confused so i'll delete the lot and start again and see what happens!!
Thanks for the hard work paul, i hope this glitch is easily solved - can't wait for this to work!!!
Ed: Tried it again and got the same results from both windows\start menu and the storage card...
From windows\start menu i got something like this;
Sorry, no cable tonight to sync my ppc, the blocks at the top were multi coloured and almost could've been images in miniature, but they were only a few pixels across each.
I got the same response with everything from CSBwin in the directory and with only the 2002.exe and graphics.dat
When i ran it from my storage card, i got a message saying "can't find dungeon.dat" then a message giving options of where to run csbwin from (i assume thats a remnant of the x86 version). Then it gave me a system error 2989, but it actually opened the program identically to above regardless.
Now about 5 minutes later... and no changes to anything (i don't think so anyway..)... It opens from both locations, to give the white screen with black bar, but no little blocks at the top and gives a system error 42?!?!
Now, i'm slightly confused so i'll delete the lot and start again and see what happens!!
Thanks for the hard work paul, i hope this glitch is easily solved - can't wait for this to work!!!
Ed: Tried it again and got the same results from both windows\start menu and the storage card...
- Paul Stevens
- CSBwin Guru
- Posts: 4322
- Joined: Sun Apr 08, 2001 6:00 pm
- Location: Madison, Wisconsin, USA
That is really strange. Are you sure it said "dungeon.dat"???When i ran it from my storage card, i got a message saying "can't find dungeon.dat"
That should not happen until you actually open the prison
doors.
Why don't we move this discussion into the CSB for Windows
and Linux? We can open a new thread for "CSB for Pocket PC"
or something similar.