Page 2 of 3
Posted: Sat Feb 21, 2004 10:35 am
by Sousuke
It does not run yet.
I don't know the reason that becomes so.
Would you compress it by sit or zip?
Posted: Sat Feb 21, 2004 11:50 am
by beowuuf
http://www.dmjump.net/CSBWindowsLinux96+v5.zip
Here, this has the basic accepted v96, and has the v96v5 .exe file that is still being 'tested' that you can switch to for playing confluxII, etc
Posted: Tue Feb 24, 2004 2:42 pm
by tomas zahradnicky
If Tomas has DM for MacOS X working, perhaps he wouldn't mind posting the DM package for us? That would be much appreciated, as I'd kind of like to run through it again before hopping into CSB!
Sure. The released version was 9.03 while I was testing it with 9.6.
ConfluxII does not work yet because of endian issues most probably. DM works fine (I haven't played it yet, but I could open door, choose Zed and kill the first mummy and few screamers...)
Dungeon Master for Mac OS X
-Tomas
Posted: Tue Feb 24, 2004 3:54 pm
by DaveWeb
Thanks for posting the DM package... I can now enter the Dungeoun, move around, pick things up and so on. Unfortunately, nothing I do will bring up the character inventory windows. This means I cannot save, adjust inventory, sleep, etc. Is there a shortcut key or some trick I might be overlooking?
Posted: Tue Feb 24, 2004 7:44 pm
by Lunever
Hmm, the F1 to F4 keys should open the inventory like right-clicking on a character's hands or bars should do, <ctrl+s> should save tha game, and I think <ctrl+q> should quit the game (althouh I am not sure whether this is in all versions).
Posted: Tue Feb 24, 2004 7:59 pm
by DaveWeb
Hmmm... "right-clicking" (which is a control-click on a Mac with a single-button mouse) works perfectly on my desktop Mac. So it looks as though my PowerBook is the problem. Perhaps I have the keyboard locked out while using the mouse, so I'll have to check that out.
All I can say is THANK YOU to everybody for their help. I can toss out my ailing Atari ST now that I can finally play one of the best games of all time on my Mac! I hope that Conflux II eventually makes its way to the Mac as well, as I am curious to see a new DM adventure!
Posted: Tue Feb 24, 2004 10:29 pm
by Paul Stevens
When you see ConfluxII you will be curious for
quite a long time. I doubt that Zyx himself remembers
everything in that dungeon. It is amazing.
The good news is that ConfluxII already works very well
on the Linux port and I see no reason it will not work
on the macintosh. The bad news is that there are a large
number of places that I added code and did not worry about
the little- / big-endian nature of the two machines. Tomas
is going to have to work these out one at a time, get the
suggested changes to me, I will install them and send him the
updates, and then we repeat the whole process until it
works. I cannot see this being finished for over a month.
He may have a test version before that, however.
Posted: Wed Feb 25, 2004 12:09 am
by tomas zahradnicky
Hmmm... "right-clicking" (which is a control-click on a Mac with a single-button mouse) works perfectly on my desktop Mac. So it looks as though my PowerBook is the problem. Perhaps I have the keyboard locked out while using the mouse, so I'll have to check that out.
Should work since I port on my G4 PowerBook and ported on G3 PowerBook before. If you don't have 2 buttons mouse, use control-click. That's what is working for me. I hold down control and tap on the trackpad.
-Tomas
Posted: Wed Feb 25, 2004 1:25 am
by Sousuke
Thank you. I could play DM at last.
But It has some faults.
I want it to be improved someday.
Posted: Wed Feb 25, 2004 9:05 am
by Sousuke
I found why ChaosMacOSX.rar could not be played.
Chaos Strikes Back.app/Contents/MacOS/Chaos Strikes Back<-is not Unix Executable File.
When I changed for Chaos Strikes Back (Unix Excutable File) contained in Dungeon Master.app, Chaos Strikes Back.app operated normally.
I could play both Dungeon Master & Chaos Strikes Back.
Posted: Thu Feb 26, 2004 10:47 pm
by tomas zahradnicky
I found why ChaosMacOSX.rar could not be played.
Chaos Strikes Back.app/Contents/MacOS/Chaos Strikes Back<-is not Unix Executable File.
When I changed for Chaos Strikes Back (Unix Excutable File) contained in Dungeon Master.app, Chaos Strikes Back.app operated normally.
I could play both Dungeon Master & Chaos Strikes Back.
Rar seems be not suitable for packing UNIX things since it
does not preserve UNIX permissions
-Tomas
Posted: Thu Feb 26, 2004 10:51 pm
by tomas zahradnicky
Can I use the CSBuild editor on a Mac?
I may port CSBuild sometimes to Mac but unfortunately I don't have much time for that. Sorry.
-Tomas
Posted: Thu Feb 26, 2004 11:15 pm
by Paul Stevens
I may port CSBuild sometimes to Mac
I will bet against this ever happening. By anyone.
The best that will ever happen is that you can use some
sort of Windows emulator on the macintosh.
CSBuild was not written with any thought of portability.
CSBwin had a lot of portability from the start because
it
WAS a port from the Atari. It is a straight Windows
program with no libraries or other interfaces. CSBuild is
an MFC application using the Document/View architecture.
Posted: Thu Feb 26, 2004 11:31 pm
by tomas zahradnicky
Paul Stevens wrote:I may port CSBuild sometimes to Mac
I will bet against this ever happening. By anyone.
The best that will ever happen is that you can use some
sort of Windows emulator on the macintosh.
CSBuild was not written with any thought of portability.
CSBwin had a lot of portability from the start because
it
WAS a port from the Atari. It is a straight Windows
program with no libraries or other interfaces. CSBuild is
an MFC application using the Document/View architecture.
I thought that

. Let's concentrate on Conflux. Even me wrote some simple CSB editor for Atari but I was unable to calculate the checksum.
Posted: Thu Feb 26, 2004 11:44 pm
by beowuuf
you could use the trick of start from an existing dungeon with checksum, and simply add/subtract the hex for ever conversion of an item or tile to a different state
Posted: Wed Mar 03, 2004 3:17 am
by Tintomara
Paul Stevens wrote:
CSBuild was not written with any thought of portability.
CSBwin had a lot of portability from the start because
it WAS a port from the Atari. It is a straight Windows
program with no libraries or other interfaces. CSBuild is
an MFC application using the Document/View architecture.
Maybe one could conside wxWindows? It's a LGPL project (mainly for linux, I think) which claims to be "very similar to MFC". They don't use the class names of MFC, but they use the same design. Apparently some people think that it is easy to port
MFC applications to linux using wxWindows. I haven't tried wx so far, but I'll read through the documentation.
This could be worth a try if there is a serious interest in porting CSBuild... It exists for windows as well. I don't know if there is a Mac version though..
/* Rebecka */
Moerator note: THe above link replaced at author's request.
Posted: Wed Mar 03, 2004 5:08 am
by Paul Stevens
Hope I got your link right. It seems to work better than
the old one.
I predict that anyone attempting to port CSBuild will be
in for a lot of work and frustration. Porting a 'static'
application might be feasible. CSBuild changes daily and
it will keep changing for a long time to come. Attempting
a port to Linux might make a good graduate student project.
For someone accustomed to working long hours for peanuts.
Posted: Wed Mar 03, 2004 9:30 am
by tomas zahradnicky
Paul Stevens wrote:DaveWeb:
I suspect that it wll be easy to play DM now that you
have CSB working. Get the CSB for Windows and
Linux version 9.6. In your directory replace the
Dungeon.dat and the Graphics.dat with the files by the
same name in the DM directory from the 9.6 release.
But that is why I asked the questions above......are the
original files used or is there a convertor? Christophe?????
Thomas???? Where are you when we need you?
No convertor needed. 9.6 version I posted as Dungeon Master works with DM files.
Posted: Sun Jul 25, 2004 12:42 am
by Zed-Head
Firstly I want to give major kudos to Tomas and all those who have worked on this project. I have struggled with emulators for Atari ST and Amiga which would not support sound or save files. Now I can now play this classic in OS X without emulation! Awesome! Your efforts are majorly appreciated.
Secondly, some of my keyboard controls are not working. The arrow keys work, but don't allow strafing. j k l ; , . are not working and the keypad numbers activate the spell-icons instead of movement (num lock has no effect). I wold like to assign 456123 on the numeric keypad for movement if possible. Mouse control is fine. Any advice? TIA
I'm using a Macally ikey usb keyboard with Mac OS 10.3
Posted: Sun Jul 25, 2004 1:26 am
by tomas zahradnicky
Zed-Head wrote:Secondly, some of my keyboard controls are not working. The arrow keys work, but don't allow strafing. j k l ; , . are not working and the keypad numbers activate the spell-icons instead of movement (num lock has no effect). I wold like to assign 456123 on the numeric keypad for movement if possible. Mouse control is fine. Any advice? TIA
I'm using a Macally ikey usb keyboard with Mac OS 10.3
Well, I'm porting that on my PowerBook G4 so there are no strafe keys defined. You can define them yourself in the configuration file (
config.txt) inside the Resources folder of the CSB package. Download first "Full key codes" application from
http://www.versiontracker.com to get the proper code for the key and then press the key you want to assign take the ASCII value and convert it to hexadecimal code. The screenshot of the simple "Full key codes" application follows:
Use this code transformed to HEX with the config file.
Example: Let's do that for right arrow:
ASCII =
29
therefore 29 / 16 = 1 (huh, 16?
hexadecimal 6+16=16), rest = 13 (1*16+13=29) therefore its hex value is 1D (why 1D? 1 is the result of integer division with rest and D is 13th letter of {0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F} set). The 1d key is the Mac key code for right arrow. That keycode is transformed in CSB's event loop into a 47 key that gets recognized by game engine and turns party right. The code will then be:
Code: Select all
key 1 00001d 470000 ; Mac turn right
so you are expected to add and
Code: Select all
key 1 0000XX 4b0000 ; Keypad '4' = move left
key 1 0000YY 4d0000 ; Keypad '6' = move right
where XX and YY are values you get from the calculation above for two different keys.
Note: You have to fill those values
Tip: If you don't want to bother with the hex translation, you can use
Calculator.app and type the number you want to convert and then choose hex radix instead decimal with View->Display Format->Hexadecimal.
Cheers,
Tomas
Posted: Sun Jul 25, 2004 8:02 am
by Zed-Head
Tomas,
thanks for the clear & thorough instructions.
I did as indicated, using Full Key Codes to get the ASCII code for the "5" key on my numeric keypad (53).
Then converted into hexadecimal (35). (Calculator was very handy for this.)
And finally pasted into the config.txt file (scan 1 000035 500000 ; Keypad '5' = move backward).
But still no response.
I noticed that all the keys with lines that begin "mscan" work fine (except F1-F4) and all the keys with lines that begin "scan" or "key" are unresponsive. (I don't see an entry for the arrow keys but they work too.)
I tried the above procedure with several keys on the numeric keypad and the main keyboard without success.

Anything else I should try?
Thanks again for the help.
Posted: Sun Jul 25, 2004 12:18 pm
by tomas zahradnicky
You can also use the scan code (already in hex) which is already shown in the Full key codes.app and then write:
I don't have numpad, sorry, but suppose you want to move forward when you press 5 key at the top (this key has different scan code from the right one!). Full key codes shows 17 hex scan code therefore:
will work. For QWEASD keys the keys are defined as:
Code: Select all
scan 1 00000c 520000 ; 'Q' = turn left
scan 1 00000d 480000 ; 'W' = move forward
scan 1 00000e 470000 ; 'E' = turn right
scan 1 000000 4b0000 ; 'A' = strafe left
scan 1 000001 500000 ; 'S' = move backward
scan 1 000002 4d0000 ; 'D' = strafe right
-Tomas
Posted: Mon Nov 01, 2004 9:55 am
by Sousuke
Please tell me the definition of num key.
Would you convert someone config.txt?
Universal Binary?
Posted: Wed Mar 05, 2008 9:57 pm
by magroader81
DM/CBS runs great on ppc, but does not run at all on intel

Any chance for an Universal Binary update?
Re: Universal Binary?
Posted: Wed Mar 05, 2008 11:03 pm
by Paul Stevens
magroader81 wrote:DM/CBS runs great on ppc, but does not run at all on intel

Any chance for an Universal Binary update?
An 'UBU'

Not from me.
It runs fine on Intel Windows platforms.
What are you trying to run it on? And
how does it fail?
Posted: Thu Mar 06, 2008 12:15 am
by Sophia
Sit Ubu sit!
Good dog! *Woof*
Re: Universal Binary?
Posted: Thu Mar 06, 2008 2:11 pm
by magroader81
Paul Stevens wrote:magroader81 wrote:DM/CBS runs great on ppc, but does not run at all on intel

Any chance for an Universal Binary update?
An 'UBU'

Not from me.
It runs fine on Intel Windows platforms.
What are you trying to run it on? And
how does it fail?
I am trying to run it on a OSX 10.5.2 (intel), MacMini.
It just won´t run.
I had no luck on OSX 10.4 (intel) either, however, this time the game runs. But the graphics is garbled.
Runs fine on 10.4 (PPC), G3 iMac.
Conclusion: DM/CBS is not OSX (intel) compatible, only compatible with OSX (PPC).
Posted: Thu Mar 06, 2008 4:55 pm
by Paul Stevens
That is certainly believeable. I have
not heard from our macintosh developer
for a very long time. Unless he, or someone
else with suitable skills and willingness,
comes along, I guess you are out of luck.
Posted: Thu Mar 06, 2008 11:27 pm
by magroader81
Thanks for your quick answer Paul. Seems i am indeed out of luck, unless I go for emulation, but still...installing Windows only to play a game thats what, under 1 MB?
I emailed Tomas about this 6 months ago, and did not get a reply. Did not expect to get one either, but I guess he is busy.
Hope somebody will come along and fix it.
Posted: Fri Mar 07, 2008 1:35 am
by Paul Stevens
installing Windows only to play a game thats what, under 1 MB?
I can make an especially big one....just for you
