Weird doors ?
Posted: Fri Jul 10, 2026 1:28 pm
Hello,
First congratulation for the development of CSBWin, DSB and ReDMCSB !
I dug into the code during the last few months and the least I could say is that the code is bit hard to read (I'm a professional C++ Developer
).
I manage to understand C++ code written as C (looking at you CSBWin).
Plain C is still OK but I had to learn Lua for DSB.
I really tried to look at ReDMCSB but the assembly code is a bit too much for me ...
Anyway I made this post because I used part of CSBWin code I found on GitHub to extract the graphics of DM. I know it has already been done but I wanted to generate 8A8R8G8B Bitmap files for doors with overlays at the right position.
And when I managed to do it, I stumbled upon two really weird looking doors.
First one is the door just before the ZOOOOM in level 9, it's the only instance of a door that uses a portcullis as base and the rectangular handlebars as overlay.
When I saw my rendering I thought it was wrong because the handle bars looks like they are floating in the portcullis void (I'm new to this forum, not sure how to post a picture).
So I had a look to CSB rendering and indeed it's weird as well.
I found a youtube video of a playthrough of "Dungeon Master HD" (whatever it might be) that show briefly this door, and the handlebars are neatly integrated into the second row of the portcullis "holes" which seems that is the intended rendering (I don't remember this door being weird during my original playthrough on my father's Atari 520 STF 30 years ago, but as it's a single door on the whole dungeon ...)
So I checked DSB rendering with DM conversion for DSB, and the rendering is the same as CSBWin (maybe because of the conversion ...)
Next step was to have a look at ReDMCSB but I'm really rebuked by the ASM code for bitmap rendering, and it seems the x/y offsets of door overlays are encoded in the graphics.dat file anyway so maybe it's irrelevant.
All of that to ask you about this weird door, do anyone has found a rendering of it that looks great ? Could it be a bug in the Atari ST graphics.dat for the x/y coordinate ? Or maybe the dungeon.dat reference a wrong id for the overlay that should point to other x/y coordinate in the graphics.dat ?
There are also two instances of portcullis with rounded handlebars overlay on level 11 but they are doors that you encounter sideways and they open when you pass in front so you would have to be quick to notice them.
First congratulation for the development of CSBWin, DSB and ReDMCSB !
I dug into the code during the last few months and the least I could say is that the code is bit hard to read (I'm a professional C++ Developer
I manage to understand C++ code written as C (looking at you CSBWin).
Plain C is still OK but I had to learn Lua for DSB.
I really tried to look at ReDMCSB but the assembly code is a bit too much for me ...
Anyway I made this post because I used part of CSBWin code I found on GitHub to extract the graphics of DM. I know it has already been done but I wanted to generate 8A8R8G8B Bitmap files for doors with overlays at the right position.
And when I managed to do it, I stumbled upon two really weird looking doors.
First one is the door just before the ZOOOOM in level 9, it's the only instance of a door that uses a portcullis as base and the rectangular handlebars as overlay.
When I saw my rendering I thought it was wrong because the handle bars looks like they are floating in the portcullis void (I'm new to this forum, not sure how to post a picture).
So I had a look to CSB rendering and indeed it's weird as well.
I found a youtube video of a playthrough of "Dungeon Master HD" (whatever it might be) that show briefly this door, and the handlebars are neatly integrated into the second row of the portcullis "holes" which seems that is the intended rendering (I don't remember this door being weird during my original playthrough on my father's Atari 520 STF 30 years ago, but as it's a single door on the whole dungeon ...)
So I checked DSB rendering with DM conversion for DSB, and the rendering is the same as CSBWin (maybe because of the conversion ...)
Next step was to have a look at ReDMCSB but I'm really rebuked by the ASM code for bitmap rendering, and it seems the x/y offsets of door overlays are encoded in the graphics.dat file anyway so maybe it's irrelevant.
All of that to ask you about this weird door, do anyone has found a rendering of it that looks great ? Could it be a bug in the Atari ST graphics.dat for the x/y coordinate ? Or maybe the dungeon.dat reference a wrong id for the overlay that should point to other x/y coordinate in the graphics.dat ?
There are also two instances of portcullis with rounded handlebars overlay on level 11 but they are doors that you encounter sideways and they open when you pass in front so you would have to be quick to notice them.