Page 1 of 2

Original DM and CSB dungeons

Posted: Tue May 07, 2013 9:44 pm
by beowuuf
A direct port of the Atari ST CSB dungeon

Old versions, converted from RTC by Joramun:
Download this dungeon from this Shared OneDrive (in the 'Custom Dungeons' folder)

Original threads:
http://www.dungeon-master.com/forum/vie ... hp?t=26630
http://www.dungeon-master.com/forum/vie ... hp?t=26731

Bug fix thread:
http://www.dungeon-master.com/forum/vie ... 53&t=28636

(Edited by Sophia)

Re: Original DM and CSB dungeons

Posted: Wed May 08, 2013 12:35 pm
by Lord_BoNes
Sorry... I just ask for a link to these... and now, I've spotted these. Sorry for the un-needed request. Thanx for the links Beo!

Re: Original DM and CSB dungeons

Posted: Mon Jul 13, 2015 2:40 pm
by master
Do these work all the way to the end? because this would be the answer to my RTC problems i am having.

Re: Original DM and CSB dungeons

Posted: Mon Jul 13, 2015 2:43 pm
by Gambit37
Hi there... yes, I think these are complete to the end as far as I remember, although Sophia may be able to answer better.

Re: Original DM and CSB dungeons

Posted: Mon Jul 13, 2015 2:46 pm
by master
Gambit37 wrote:Hi there... yes, I think these are complete to the end as far as I remember, although Sophia may be able to answer better.

Thanks friend.

Re: Original DM and CSB dungeons

Posted: Mon Jul 13, 2015 10:15 pm
by Sophia
The direct port of Atari ST CSB (the bolded link up top) is definitely complete, and is 100% faithful (to the best of my knowledge) to original CSB. It's the recommended way to play CSB on DSB.
Unfortunately, no such port of DM exists, because I ran into some difficulties along the way and the entire project kind of faltered, but there is still the conversion from RTC, which is not bad.

Re: Original DM and CSB dungeons

Posted: Mon Jul 13, 2015 11:31 pm
by master
Sophia wrote:The direct port of Atari ST CSB (the bolded link up top) is definitely complete, and is 100% faithful (to the best of my knowledge) to original CSB. It's the recommended way to play CSB on DSB.
Unfortunately, no such port of DM exists, because I ran into some difficulties along the way and the entire project kind of faltered, but there is still the conversion from RTC, which is not bad.

Thanks that is great. I'm using the bolded one for CSB and the RTC DM for DSB.

Re: Original DM and CSB dungeons

Posted: Tue May 08, 2018 11:45 am
by hana35
DSB is the same high-performance clone as CSB-WIN, I think that AI of a creature has evolved much more.
I did chaos strikes back of Atari-ST,AMIGA,PC-9801,FM-TOWNS,X68000 (also RTC, CSB-WIN).
I am currently examining the dungeon master at DSB 68, but I will report CSB verification results first.

<CSB results>
DSB39 FATAL ERROR ABEND
DSB58 Many errors occurred at the bottom of the screen
DSB67 Errors occurred at the bottom of the screen(SOUND?,etc)
DSB68 LUA ERROR

I verified csb with DSB67

○Ku's route
can't go to EXCUTIONAR 's place (the door closing too fast)
the door of the VEXIRK room can't be destroyed,it will not open
○ROS's route
The door where Death Knight is located is impossible to destroy, it will not open
○NETA's route
Even if Vexirk is pursued, don't drop anything, only one will appear
Mummy does't appear in a place to confine in Mummy in a small room (☆Door open Fire Ball)
○DAIN's route
Three doors ahead of Laughing Pit can not be destroyed,it will not open

Throwing 4 Corcums in Fulya pit, none will happen

(CSB was judged to be incomplete, please correct it)

There is CSB made in Japan (with bgm)
It seems that it will not move unless it is DSB54
Please re-upload the DSB54 (preferably 55, 56, 57, 58)

Re: Original DM and CSB dungeons

Posted: Tue May 08, 2018 7:45 pm
by Sophia
I'm not sure where these bugs are coming from... I think you may have been using the old RTC port, which is pretty broken and no longer supported.

The best way to play DSB on CSB is using the direct port of the CSB dungeon automatically generated from the CSB dungeon.dat. I played all the way through this version with DSB 0.60 quite some time ago and I've tested some of the mechanics in the meantime and it's all still worked fine.

Hopefully that will work for you!

Re: Original DM and CSB dungeons

Posted: Wed May 09, 2018 4:46 am
by hana35
Thanks for the reply sophia

I will verify with DSB 0.60

DSB 0.54, DSB 0.55, DSB 0.56 is also necessary because there is verification of CSB made in Japan
(one drive has only 0.39, 0.58.0.67.0.68)

Please re-upload DSB 0.60, DSB 0.54, DSB 0.55, DSB 0.56.

Re: Original DM and CSB dungeons

Posted: Wed May 09, 2018 10:26 am
by hana35
Hi sophia

I checked dsbcsb 060 (contents are csb)

dsb 0.68, 0.67, 058 resulted in the following results and can not proceed
-----------------------------------------------------------------------------------------
Reason: Excessive trigger queue
Stack Dump:
DSBmain
DSB gameloop
gameloop.process_tick
run_timers
deliver_msg (pit)
lua.dsb_enable
enable_inst (on_trigger) -> pit
flush_instmd_queue
i_flush_instmd_queue
-----------------------------------------------------------------------------------------
The location is <quick supply>

Please try it.

Please also upload (dsb 0.54, 0.55, 0.56)

Re: Original DM and CSB dungeons

Posted: Wed May 09, 2018 7:40 pm
by Sophia
I couldn't reproduce this problem. I ran around the Supplies for the Quick area for a little while and triggered most of the pits (and tried falling through as well) but I wasn't able to cause any sort of bug to happen. Do you have any more specific idea what is causing the problem?

I can find the older versions of DSB and upload them if you really want them, but I'd rather not rely on old versions. They have bugs that have been fixed, so I'd rather people didn't play with the old buggy versions... if something has become incompatible I'd rather figure out what's wrong with the current version of DSB, if possible.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 5:58 am
by hana35
I understood the cause

It is the location of the Vorpal Blade of qucik supply
If you try to take items before Vorpal Blade 100% abend
(In csb-win, the Vorpal Blade fell down, of course Atari-ST does not fall)
If you take the Vorpal Blade first, the error is avoided. (^ O ^)
Vorpal Blade is the trigger

Re-uploading DSB 0.54
http: //www.mediafire.com/?v8w19u3ryyaw089 download pass: CSB
It is CSB made in Japan, the sound source seems to be a wonderful thing of FM-TOWNS
Unfortunately ABEND it is DSB 0.58

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 5:17 pm
by Paul Stevens
I played using version 0.67. I went to Supplies for
the Quick and saved my game. Then I tried taking the
Vorpal blade in various ways from the false wall location

Forward and back.
Right and left
Right and back and down
Right and back and back
Right and down
Forward and down.

Then various ways from the interior of the hidden space.

I could cause no problem.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 5:39 pm
by Paul Stevens
Then I left the Vorpal blade on the floor and took
the Cheese. Bango! Crash! "Excessive trigger queue".

Once, however, I was able to take the cheese and place
it on the floor beside the Vorpal blade. Then when I took
the flask it crashed. I think the difference is that I took
the cheese before the first time that the pit under the
Vorpal blade opened.

Edit. You don't need to take anything!!!!!!! Simply step
onto the pit twice.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 7:43 pm
by Paul Stevens
hana35 wrote:(In csb-win, the Vorpal Blade fell down, of course Atari-ST does not fall)
I just played Chaos Strikes Back from the beginning using CSBwin.

In "Supplies for the Quick", the Vorpal blade behaves just as it does
in other versions. It falls through the pit and is then teleported back
to its original position. I don't believe ANY version of the engine has
a special case that prevents the Vorpal Blade (or other object) from
falling through that pit.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 8:46 pm
by Sophia
Thank you both for your detailed investigation of this issue. The cause is quite clear to me now.

When you step on the trigger, the pit opens after a short delay, and the vorpal blade falls through. It lands on a teleporter, and is immediately teleported back up. However, the pit is still open, so the vorpal blade immediately falls through the pit again, back to the teleporter, where it is teleported back up, and... after a few hundred iterations of this, DSB gives up and that's the error you're seeing.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 10:20 pm
by Paul Stevens
Can't happen.


Time 0: The party moves to the pit.
Time 5: The pit opens. The Blade is teleported to 4(23,14)
Time 15; The Pit closes.
Time 20: The Blade is teleported back to the closed pit.

Re: Original DM and CSB dungeons

Posted: Thu May 10, 2018 10:47 pm
by Sophia
Oh, you're right. It's more complicated. It has to do with how DSB interprets a delay when applied a constant weight trigger, which is seemingly different than CSB.

Time 0: The party moves to the pit.
Time 5: The pit opens. The Blade is teleported to 4(23,14). A constant weight trigger with delay 15 is activated.
Time 15: The Pit closes.
Time 16: The party moves to the pit again.
Time 20: The Blade is teleported back to the closed pit. The constant weight trigger is deactivated, with delay 15.
Time 21: The pit opens again. The Blade is teleported to 4(23,14). The teleporter at the destination is still active, and the infinite loop starts.

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 1:17 am
by Paul Stevens
And when I attempt this in CSBwin, the Vorpal Blade
winds up one level below its original location (at 5(20,25)).

If I go there and pick up the Vorpal Blad and replace
it then it is teleported back to its original location (at 4(20,25)).

That teleporter is always on so.........What happened?

I have not attempted to explain this behavior but would be
happy to try if anyone is really interested. I think I remember
a loop counter in the Atari code that stops infinite loops such as
this. We may have found the reason for the counter. This would
explain the statement that in CSBwin the Vorpal Blade falls but
not in the Atari game. It is all critically dependent on the
player timing.

Chaos Strikes Back. Always something new.

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 2:10 am
by Sophia
Well that's easy enough.

I've added a simple check that prevents the same object from being moved by the same teleporter more than 3 times in the same tick. This makes DSB now behave like CSBwin in this case, so... I'll call this bug fixed.

DSB 0.69

I've also re-uploaded DSB 0.54, though I stand by my feeling that fixing new versions is better than using old versions.

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 3:03 pm
by hana35
It confirmed with DSB 0.69
I ceased to be ABEND on the Vorpal Blade (it fell down)

We confirmed the contents of CSB until Ending.
It's a wonderful achievement, the strength of the creature and the AI are progressing greatly
Creatures avoid magic, avoid thrown weapons
I think DSB CSB has exceeded Atari-ST CSB, the most advanced CSB
It can be said that it is.

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 3:12 pm
by hana35
Is it data? What I noticed
LOAD is strange

_______ATARI__DSB__ CSB-WIN
------------------------------------
ITZA ____57____42____57
PETAL___37____50____37
LOR_____62____42____62
PLAGUE_ 36____42____36

Have you tried Japanese made CSB, do not ABEND at Vorpal Blade (do not fall)

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 4:30 pm
by Paul Stevens
Indeed. In the Chaos Strikes Back Prison, CSBwin shows Petal
as max load 37 KG and DSB shows her as max load 50 KG.

Hmmmmmm.


The defining text for Petal (in CSBwin) is:
PETAL///F/AAPHAJMEAALA/DDCBECDNDOEACC/ABAFFACFHIGHDIIJ

If I dump ASCII text this is the result:
convert.rawtext({index= 19,text="PETAL]]]F]AAPHAJMEAALA]DDCBECDNDOEACC]ABAFFACFHIGHDIIJ"})


In DSB prison.lua
dsb_add_champion(22, "PETAL_22", "port_petal", "PETAL", "", 2470, 2500, 1760, 510, 330, 660, 610, 620, 640, 340, {4,0,2,0,6}, {5,6,0,3,6}, {8,8,9,7,8}, {9,4,9,9,10})

I have not attempted to decode either of these strings.
Any quick ideas before we spend a lot of time on this?
Were there different "dungeon.dat" files available?


Edit:

I note that all the attributes (strength, etc) are off by 1 line:

DSB CSBwin
51 33
33 66
66 61
61 62
62 64
64 34

Re: Original DM and CSB dungeons

Posted: Fri May 11, 2018 7:19 pm
by Sophia
It's a bit depressing that it's been this way for all these years and this is the first any of us (worst of all, me) have noticed it.

:oops: :oops: :oops: :oops: :oops: :oops: :oops: :oops:

I'm pretty sure that 51 is supposed to be luck and everything just got pushed around.

Re: Original DM and CSB dungeons

Posted: Sat May 12, 2018 1:23 am
by Sophia

Re: Original DM and CSB dungeons

Posted: Sat May 12, 2018 5:02 am
by hana35
The following is the result

_______ATARI__DSB__ CSB-WIN
------------------------------------
ITZA ____57____56____57
PETAL___37____36____37
LOR_____62____61____62
PLAGUE_ 36____35____36

Re: Original DM and CSB dungeons

Posted: Sat May 12, 2018 8:44 am
by Paul Stevens
:D

Re: Original DM and CSB dungeons

Posted: Sat May 12, 2018 7:11 pm
by Sophia
There's probably a rounding error somewhere in the load calculation. I'll add this one to my todo list but it's close enough for now. :mrgreen:

Re: Original DM and CSB dungeons

Posted: Sun May 13, 2018 5:54 pm
by hana35
I tested the Japanese version (CSB_JP) of chaos strikes back which is dsb clone to the end with DSB 0.54

https://youtu.be/UrT7niLwsIg

https://youtu.be/YBbtgB7rN2Y

sophy Can I run CSB_JP with the latest DSB?(^o^)