Page 9 of 14
Posted: Fri Jan 25, 2008 4:59 pm
by Paul Stevens
Posted: Sat Jan 26, 2008 9:13 am
by T0Mi
AAAAArrrrgggghh....
I've completely missed this thread was going on...
Paul has a Read.me for PPC here (same folder as CEv101):
http://www.dianneandpaul.net/CSBwin/PocketPC_README.txt
Ha... I'm clode to the end of ToC now (remember the 4 skeleton locks and the stairway down, the wall saying "prepare to meet your doom" with Lord Chaos around and tons of ghosts?) and really looking forward to spend some time in Conflux... having to admit that I fear the riddles, that (from what I've seen so far) look very confusing/fluxing. ToC had some really great riddles in it: Asphixiation --> Choker was great, Zero Displacement made me think I would have to collect all plasmas I casted in that level, later found that it the solution was in my inventory...
greets
T0Mi
Hint Oracle
Posted: Thu Feb 28, 2008 10:06 pm
by T0Mi
For the new page and all those who find this thread looking for information on how to run DM/conflux on PPC without having to dig into the previous pages, I'd like to mention that the very well written hint oracle for conflux III works on the PPC too.
Conflux III for PPC can be found here:
http://www.dianneandpaul.net/CSBwin/Win ... ugfix3.zip
Please remember, that the game directory should be located in windows/Startmenu/programs as Conflux won't run from memorycard or from anywhere else.
The hint oracle is included in the original package for CSBwin. Look into this thread:
http://www.dungeon-master.com/forum/vie ... hp?t=25152
To easy things up, you may simply download the hint oracle files from myplace:
http://www.members.aol.com/ttoommii/DM/HCSB.DAT
http://www.members.aol.com/ttoommii/DM/hcsb.hct
Copy them into your game directory. You may then access the oracle using the "hint" button.
Hope I got everything right.
Thanks again to Paul.
greetings
T0Mi
Posted: Sat Mar 22, 2008 5:13 pm
by camelopardis
Hi Paul - thanks very much for an awesome program that runs great on my Pocket PC.
I also have a PNA (Personal Navigator Assistant) that runs a cutdown version of Windows Mobile (WinCE 5.0).
CSBWinCE runs on this device (by adding a couple of missing DLL's to the CSBWin folder), but because the display is landscape (320x240), it cuts of the top and bottom of the program window. You can just see the very top of the left, forward, and right arrows below the dungeon view pane. i can move around but because the top and bottom are missing, i cant play the game properly.
Is there any way that the program can be changed to run in this resolution? I have tried changing the resolution from landscape to portrait on the device, but it cannot be done.
Posted: Sat Mar 22, 2008 5:34 pm
by ChristopheF
I now have a PocketPC too and would also appreciate to be able to play in full screen landscape (320x240) instead of 240x320. This would allow the display to be just like the original game. However, I think Paul said a long time ago that he did not want to implement such feature.
Posted: Sat Mar 22, 2008 5:43 pm
by Paul Stevens
Hey guys. You can move the pieces of the screen
around to suit your fancy, can you not? Didn't
I put that in the config.txt file?
Posted: Sat Mar 22, 2008 9:16 pm
by T0Mi
you did.
hmm...
most likely I'm terribly wrong, but...
in the config coming with the Bugfix.rar, there is:
;PLACE <segment> <stretch> <source> <size> <destination>
;<segment> = A, B, C, D, E
;<stretch = 1,2,3,4
;<source> = x and y
;<size> x pixels, y pixels
;<destination> = x and y
; For 960 x 600 screen:
Place D 3 0 0 13f 21 0 0
Place A 3 0 21 e0 88 0 63
Place C 3 e0 21 60 88 2a0 63
Place B 3 0 a9 13f 1f 0 1fb
Place E 3 0 0 140 c7 0 fff
which is in dezimal (+1):
Place D 3 1 1 320 34 1 1
Place A 3 1 34 225 137 1 100
Place C 3 225 34 97 137 673 100
Place B 3 1 170 320 32 1 508
Place E 3 1 1 321 200 1 4096
It looks like the positions are coming with the *.exe.
Changing anything doesn't result in changing the position of the places on the screen.
Even completely deleting doesn't do anything.
again I might 'drop a brick' here... but hey...
T0Mi
Posted: Sat Mar 22, 2008 9:39 pm
by Paul Stevens
You may be right. What version
of CSBwinCE are you using? I see:
http://dianneandpaul.net/CSBwin/CSBwinCEv101.exe
Posted: Sun Mar 23, 2008 3:24 am
by T0Mi
It's CSBwinCEv102 which comes with your package of ConfluxIII:
http://www.dianneandpaul.net/CSBwin/Win ... ugfix3.zip
(I just can give you surface scratching information, which means all I can report are the things I've experienced using CSBwinCE as a dumb user and not a coder.)
- Testing v101 produced the same results. (runs great, no influence when changing values for places)
- Running v101/v102 with ConfluxIII and the standard config.txt for CSBwin (which doesn't have PLACE <segment> <stretch> <source> <size> <destination>) also works.
- The CEtest8000 you provided for me ran happily with the ToC dungeon.dat, original CSB graphics and the standard config file.
- Looking into the quotedstrings.txt (for my translation) I wondered about CSBUICE2002.cpp... options for record (...), replay, screensize are disabled and can no more be selected (which of course does make sense), but also X, Y, Width, Height.
T0Mi
Posted: Sun Mar 23, 2008 4:31 am
by Paul Stevens
OK. You seem to be correct.
This PocketPC stuff is a pain because I
cannot install the Development Environment
for WinCE on the same computer as the
environment for Windows2K.
Oh well, I'll make the screen configurable.
It is a bit more complicated than what you
have seen, I think. There is the matter of
a Z-Order, which describes which windows
overlap which other windows.....a necessity
in the smallest screen sizes. See you soon.
Or late.
Posted: Thu Apr 03, 2008 6:51 pm
by Paul Stevens
Christophe wrote:play in full screen landscape (320x240)
get:
http://dianneandpaul.net/CSBwin/CSBwinCE10_3.zip
Examine the 'config.txt'. Fiddle with it.
This version of CSBwinCE is 'lightly' tested.
It has all of Zyx's changes, none of which have
been tested. But I think it will play DM and
CSB without problem. Let me know.
Posted: Thu Apr 03, 2008 11:08 pm
by T0Mi
uhuuu...
ConfluxIIIbugfix3 (started from windows/startmenu/programs)
and DM, Toc, CSB (started from SD card) all produce a:
Debug Graphics
exception 0
on my PPC. (and maybe just for me)
Posted: Fri Apr 04, 2008 1:28 am
by Paul Stevens
Slow down.......One thing at a time.
Can you run DM? Put the following
files in a single folder:
CSBwinCE10_3.exe
dungeon.dat
graphics.dat
config.txt
Then start CSBwinCE10_3.exe.
Let's start with something simple!
As I said in my note above...I have
not tested much. Just DM, actually.
I'll try Conflux myself later this evening.
If it fails, try to tell me EXACTLY what
happens. Also, if you modified my
config.txt, I'll need to see that.
Posted: Fri Apr 04, 2008 9:38 am
by T0Mi
There is little more I can tell and would like to hear what others have tried. As DM ran for you it may be likely it is me or my PPC/OS.
My PPC is both quite old and not well cared for, but usually CSBwinCE runs stable for days, even weeks without ever closing the game.
This is what I did:
- create a folder "landscape_test" on the SD card
- copy dungeon.dat and graphics.dat from original DM (no modified files) into "landscape_test"
- copy CSBwinCE10_3.exe and config.txt from the *.zip package into "landscape_test"
- start CSBwinCE10_3 from the explorer
The "I'm busy" symbol appears and shortly after, a window named "Debug Graphics" pops up, with "exception 0" in it.
Closing the error window ends the app. Having landscape mode selected before doesn't make a difference. Same for copying the folder into windows/startmenu/programs (like for conflux).
Still (while the error window is there) the bar for Tools/File/Misc, etc appears on the bottom of the screen and some (not all) options can be accessed and altered. So for example "Tools" --> "About" shows the info about the version. (For me the same error window appears randomly ingame for Conflux if I manually close "Active Sync" after my PPC was connected to the PC. A hard reset is needed then. Workaround usually is to let the "Active Sync" alive.)
T0Mi
Posted: Fri Apr 04, 2008 2:48 pm
by camelopardis
Hi Paul,
I'm the person who originally asked whether a landscape version was possible - my details are above.
Thanks very much for your efforts so far! However I am getting a similar error message.
I can run the new executable, and it loads up the opening screen. I then press the DUNGEON button and it loads the front gate with the ENTER and RESUME buttons. However, when I then select ENTER, the doors open but then a dialaog box appears on screen. The title is DEBUG GRAPHICS, and the message is "exception 0". Also, I notice that even though the game appears to displaying in a alandscape format, it only extends to about 9/10ths of the height of the screen - I can see the WinCE desktop still at the bottom
I have also run the executable with the command switches but get the same results. I ran:
CSBWinCE10_3 height=240 width=320
Posted: Fri Apr 04, 2008 3:06 pm
by camelopardis
OK - I re-read the instructions in the config file and see it says right at the top "all numbers in hexadecimal" Does that mean I have to enter the command line switches in hex? I tried entering height=f0 width=140 but immediately got the DEBUG GRAPHICS error without the game screen loading
Posted: Fri Apr 04, 2008 4:02 pm
by Paul Stevens
it says right at the top "all numbers in hexadecimal"
The CEDisplay parameters can be either
decimal or hexadecimal.
The "DEBUG GRAPHICS" is totally misleading.
What has happened is that the thing has
suffered an access violation. Probably due
to an unaligned word reference. I will
work at making it happen to me. If I cannot,
then I will ask for copies of your files.
Posted: Fri Apr 04, 2008 7:17 pm
by T0Mi
I kind of hope this may all turn out as a failed upload/download then.
Will bang my head against the nearest Keyboard anyway.
and:
thanks for all the work you're putting into this.
("I will work at making it happen to me"

)
Posted: Fri Apr 04, 2008 10:43 pm
by ChristopheF
I get the same error message as TOMi and camelopardis on my own Pocket PC.
Posted: Sat Apr 05, 2008 6:04 pm
by Paul Stevens
Try CSBwinCE10_4.zip
It has a better chance of working.
Posted: Sat Apr 05, 2008 8:08 pm
by camelopardis
Thanks for the new file Paul,
The graphics error has now gone, but the i have the same problem as before with the missing bottom part of the screen (see my initial post)
I have tried changing the configuration file parameters as follows:
;Name srcx srcy dstx dsty width height copymode palette overlay z_order
CEDisplay HFULL_VCENTER 0 0 0 0 320 240 0 0 0 0
CEDisplay HCENTER_VFULL 40 0 0 0 320 240 0 0 0 1
CEDisplay PRISON_DOOR 80 0 0 0 320 240 0 0 0 2
but I get the following error: BAD CONFIG LINE
Line number=82 CEDisplay HFULL_VCENTER
In fact, I get this error if I change your defaults to anything else in the config.txt file
Here is a screenshot of my device:
The picture at the bottom is my WinCE desktop beneath the program. You can just see the very top of the left, forward, and right buttons at the bottom of the program
Posted: Sat Apr 05, 2008 8:22 pm
by Paul Stevens
You cannot specify a height of 240.
The Atari screen was only 200 high.
So there are no pieces of the screen
that are 240 high.
These configuration commands cannot
stretch or squeeze the image. All they
can do is move the pieces of the 320x200
screen around to different places.
The source size = the destination size.
Edit: I see you screenshot. This I think
I can fix.
Posted: Sun Apr 06, 2008 12:48 am
by Paul Stevens
I take it back. I don't know why your
window is truncated at the bottom.
Can you send me your config.txt, please?
Posted: Sun Apr 06, 2008 3:59 am
by camelopardis
Hurrah .. I've played about with the config.txt and have now got this:
This is the part of the config.txt that i changed:
CEDisplay HFULL_VCENTER 0 0 0 0 320 200 0 0 0 0
CEDisplay HCENTER_VFULL 40 0 0 0 320 200 0 0 0 1
CEDisplay PRISON_DOOR 80 0 0 0 320 200 0 0 0 2
CEDisplay PORTRAIT_A 0 0 240 30 64 29 1 0 0 6
CEDisplay PORTRAIT_B 69 0 240 60 64 29 1 0 0 5
CEDisplay PORTRAIT_C 138 0 240 90 64 29 1 0 0 4
CEDisplay PORTRAIT_D 207 0 240 120 64 29 1 0 0 3
CEDisplay VIEWPORT 0 33 8 29 224 136 0 1 1 7
CEDisplay SPELL_CONTROLS 233 32 0 169 87 43 0 1 0 8
CEDisplay ATTACK_CONTROLS 233 77 102 167 87 45 0 0 0 9
CEDisplay TURN_LEFT 233 124 182 170 29 22 0 0 0 10
CEDisplay MOVE_FORWARD 262 124 211 170 28 22 0 0 0 11
CEDisplay TURN_RIGHT 290 124 229 170 30 22 0 0 0 12
CEDisplay MOVE_BACKWARD 262 146 211 192 28 23 0 0 0 13
CEDisplay SLIDE_LEFT 233 146 182 192 29 23 0 0 0 14
CEDisplay SLIDE_RIGHT 290 146 229 192 30 23 0 0 0 15
CEDisplay SCROLLING_TEXT 0 169 0 212 153 30 0 0 0 16
CEDisplay MARCHING_ORDER 275 0 270 169 52 33 1 1 0 17
CEDisplay OVERLAPPEDTEXT 0 169 0 180 240 30 0 0 0 16
However, I still have got the desktop showing at the bottom part. And I dont have any room to show the scrolling text or overlapped text - I cant think where to move them. If i had that bottom bit of screen - I could move the text there.
Its looking great so far though! Thanks very much!
Posted: Sun Apr 06, 2008 5:32 am
by Paul Stevens
You put the spell controls at:
y=169; height 43;
Therefore, your screen is at least
212 pixels high.
You put the marching order at:
x=270; width=52;
Therefore, your screen must be
at least 322 wide.
****** BUT*******
The original Atari screen was only 320x200.
Your screen is at least 322x212.
Therefore, why don't you simply put
all the pieces in their original places????
Posted: Sun Apr 06, 2008 10:51 am
by T0Mi
Great step forward!
using
Code: Select all
;Name srcx srcy dstx dsty width height copymode palette overlay z_order
CEDisplay HFULL_VCENTER 0 0 0 0 320 200 0 0 0 0
CEDisplay HCENTER_VFULL 0 0 0 0 320 200 0 0 0 1
CEDisplay PRISON_DOOR 0 0 0 0 320 200 0 0 0 2
CEDisplay PORTRAIT_A 0 0 0 0 64 29 0 0 0 6
CEDisplay PORTRAIT_B 69 0 69 0 64 29 0 0 0 5
CEDisplay PORTRAIT_C 138 0 138 0 64 29 0 0 0 4
CEDisplay PORTRAIT_D 207 0 207 0 64 29 0 0 0 3
CEDisplay VIEWPORT 0 33 0 33 224 136 0 1 1 7
CEDisplay SPELL_CONTROLS 233 32 233 32 87 43 0 1 0 8
CEDisplay ATTACK_CONTROLS 233 77 233 77 87 45 0 0 0 9
CEDisplay TURN_LEFT 233 124 233 124 29 22 0 0 0 10
CEDisplay MOVE_FORWARD 262 124 262 124 28 22 0 0 0 11
CEDisplay TURN_RIGHT 290 124 290 124 30 22 0 0 0 12
CEDisplay MOVE_BACKWARD 262 146 262 146 28 23 0 0 0 13
CEDisplay SLIDE_LEFT 233 146 233 146 29 23 0 0 0 14
CEDisplay SLIDE_RIGHT 290 146 290 146 30 23 0 0 0 15
CEDisplay SCROLLING_TEXT 0 169 0 169 153 30 0 0 0 16
CEDisplay MARCHING_ORDER 275 0 275 0 50 33 0 0 0 17
CEDisplay OVERLAPPEDTEXT 0 169 0 169 240 30 0 0 0 16
almost everything works now...
except the "marching order" which for me disappears as soon as it is on the same y-level as the portraits (where it should be) or even the viewport.
@camelopardis: Would you try the config above and tell if it works for you? Thanks.

In case you're a left-handed person select right-hand instead and use "hide Taskbar" in "Tools" to get the space needed for the scrolling text.
T0Mi
Posted: Sun Apr 06, 2008 1:07 pm
by camelopardis
HI Tomi,
I tried your config.txt and got this:

As you can see, the character portraits are mostly hidden behind the top menu bar. Also, the marching order grahic is missing. That is why I moved them to the right in my previous config.txt.
Paul - is there any way the menu bar can be moved to the bottom, beneath the screen?
Tomi - i cannot select left or right handed. i do not have a proper pocket pc running Windows Mobile. It is only a PNA, running plain vanilla WinCE 5.0. It runs in landscape mode only, and there is no way of rotating the screen.
More information about this PNA is available here:
http://www.navsoon.org/navgo-sy885-f18.html
Paul - if I use your original config.txt I get this:
As you can see, the movement arrows are too far down.
Hiding the taskbar makes no differerence. That space beneath the program window where you can see my desktop is where the taskbar would display if it wasnt hidden.
The PNA is definately 320x240 pixels
Posted: Sun Apr 06, 2008 4:27 pm
by Paul Stevens
About the marching order....
Portrait D is put at x=207 to x=271.
The Marching Order is put at x=275 to x=324.
But the screen is only 320 wide, you say.
ANd certainly the Atari screen, from which
you are copying these graphics, is only
320 pixels wide. Perhaps the copy operation
refuses to proceed if you select non-existent
pixels as the destination. I see that there is
garbage to the right side of the Marching
Order....therefore it appears that selecting
non-existent pixels from the source simply
wraps around to the next scan line.
Maybe changing the size of the Marching
Order piece to 45 pixels wide (275 to 319)
would make it show its face.
Posted: Sun Apr 06, 2008 4:37 pm
by Paul Stevens
Are either of you setting the 'width' and 'height'
parameters in the config.txt?
Posted: Sun Apr 06, 2008 5:12 pm
by Paul Stevens
Ah, hah! I see that on my PPC
the menu is at the bottom. And the
code carefully subtracts some space
at the bottom to make room for it.
Can you move the menu to the bottom?
Else I need a config parameter to
save some room at the top, instead.
Maybe:
menuheight = nnnn
Negative means bottom, positive means top.
Let me know if this is necessary.