Original DM Conversion for DSB?

This forum is for the Lua scriptable clone of DM/CSB called Dungeon Strikes Back by Sophia. Use DSB to build your own highly customised games.

Moderator: Sophia

Forum rules
Please read the Forum rules and policies before posting.
Post Reply
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Original DM Conversion for DSB?

Post by Sera »

So I have been to as many of the links i could find related to this, however all of them appear to be broken. does anyone here have the original DM for this that they could make available in a new link again?
Immortal Dungeoneer.
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Original DM Conversion for DSB?

Post by Saumun »

Ah, dammit... I had it on my old laptop, but the hard disk got fried.
I have some stuff on a memory stick. I’ll have a look (be aware that the one I had crashed when igniting the firestaff, but is easily fixable in ESB).
Failing that, I’m sure someone must have it. Have you asked Sophia?
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Original DM Conversion for DSB?

Post by Saumun »

I looked, and it’s not on the stick I thought it might be on... so it must’ve been lost with everything else in the great hard disk frazzle of 2016.

Sorry.
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

No problem Saumun, i appreciate you looking at least! =)

hopefully someone will still have it so its not lost and will have to be remade again >_<
Immortal Dungeoneer.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Original DM Conversion for DSB?

Post by Sophia »

I have it, but it's never really been playtested. I can dig it up if you want it, though.

DSB CSB was more of the focus of the conversion effort, and DM kinda fell by the wayside.
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

i shall be the playtester for this then! XD link it up <3
Immortal Dungeoneer.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Original DM Conversion for DSB?

Post by Sophia »

Ok, here it is. Make sure you're using the current version of DSB (0.68), give it a try and let me know if (or more like when...) anything breaks.
User avatar
Saumun
High Lord
Posts: 2238
Joined: Fri Feb 20, 2009 3:03 am
Location: The Ether

Re: Original DM Conversion for DSB?

Post by Saumun »

Actually, I need that too for some potential tinkering... thanks Sophia.

If it’s the one I played through, there was a crash when igniting the firestaff. As I recall, you gave me a fix but I can’t remember what it was.
“Grynix Ernum Quey Ki Skebow Rednim U Os Dey Wefna Enocarn Aquantana” - Anon
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

thank you so much! <3 i shall be playing this starting tomorrow
Immortal Dungeoneer.
kaypy
Artisan
Posts: 171
Joined: Sun Jan 19, 2014 7:11 am

Re: Original DM Conversion for DSB?

Post by kaypy »

I just did a quick test and it looks like most of the old glitches are fixed. The only thing I could still see is that it still doesn't actually register as winning when you
Spoiler
fuse chaos,
you just get a grey lord sitting there grinning at you unless you eventually attack him and the game crashes.
Spoiler
I would recommend doing something with h_fused_chaos to trigger a victory message and exit.
objects.lua (stole this text from some other version)

Code: Select all

-- CSB buttons don't use click_to
for o in pairs(obj) do
	obj[o].click_to = nil
end

obj.floortext.no_party_triggerable = true

obj.greylord.fintext=
{
   "THANK YOU MY FRIENDS.",
   "",
   "YOU HAVE BANISHED CHAOS AND REJECTED THE FALSE PATH",
   "OF UNCOMPROMISING ORDER.",
   "",
   "ONLY BY LEARNING THE TRUTH AND SEEKING",
   "THE PATH OF BALANCE DID YOU GUESS",
   "THE TRUE NATURE OF THE FIRESTAFF.",
   "",
   "BY YOUR BRAVE DEEDS I AM MADE WHOLE AGAIN",
   "AND HARMONY IS RESTORED TO THE WORLD.",
   "",
   "YOUR NAMES WILL BE REMEMBERED",
   "BY THE FUTURE GENERATIONS YOU HAVE MADE POSSIBLE.",
   "",
   "",
}

obj.greylord.msg_handler=
{
  [M_NEXTTICK]=function(id, data)
     if (data > 1 and obj.greylord.fintext[data-1] == "") then
        dsb_write(system_color, "")
     end
     if (data > table.getn(obj.greylord.fintext)) then
        dsb_game_end()
     elseif ( obj.greylord.fintext[data] == "" ) then
        dsb_msg(5,id,M_NEXTTICK,data+1)
     else
        dsb_write(system_color, obj.greylord.fintext[data])
        dsb_msg(2,id,M_NEXTTICK,data+1)
     end
  end
}
startup.lua

Code: Select all

lua_manifest = {
	"dm.lua"
}

function h_fused_chaos(chaos_id)
   dsb_msg(1,chaos_id,M_NEXTTICK,1)
end
Friends don't let friends eat worm round
User avatar
PicturesInTheDark
Arch Master
Posts: 1154
Joined: Mon Aug 26, 2002 4:47 pm
Location: Vienna, Austria

Re: Original DM Conversion for DSB?

Post by PicturesInTheDark »

Hi. I played through the dungeon once (0.69) and most of the original features seem fine. Movement and spell casting is a bit slower than with RTC 0.49, but as far as I remember that is actually truer to the original although it hampers you a bit once you are used to running quickly / casting spells quickly with the keyboard. The "enlarge my view" does not accept the magnifier but just a mouse click / use of the hands but again, this seems to me to be the original behavior and has been adapted in RTC if I recall correctly. However: there is a major problem at the very end: when fusing Chaos the animation runs through, the Grey Lord appears - but then nothing, he just stands there and there is no dialogue (rather: monologue). Even demons keep attacking for example and the GL just stands there.

[Edit] Just saw that I am the second one to notice this, so take it as confirmation for the above post.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

I can confirm that nothing happens at the end of the game after you fuse Chaos: Grey Lord appears but the game is still active and he doesn't say his thanks.

There's a bunch of code in the base code within method_fuse() which clearly handles the end game by doing the fuse animation and sound effects. At the end it calls h_fused_chaos(chaos_id) in hooks.lua. But that function is empty.

There's already some floor texts placed in the dungeon with the Grey Lord's final message: these are clearly unused (maybe left over from the conversion?)

Looks like all the pieces are there but it's not quite been wired up to completion. I tried Kaypy's suggestion above but that doesn't work.

I'm not sure I'm skilled enough in DSB code to fix this... a solution would be good because at the moment the game can't be completed.

(BTW, it's possible to fuse Chaos even when he's not surrounded by fluxcages/walls. I successfully fused him in a corridor even though the space behind him was clear to escape to with no fluxcage on it)
kaypy
Artisan
Posts: 171
Joined: Sun Jan 19, 2014 7:11 am

Re: Original DM Conversion for DSB?

Post by kaypy »

Your save is before fusing him, right? You dont have it saved with the grey lord sitting there?

If you add
__log("some text")
to the fuse hook does it turn up in the game logs?
Friends don't let friends eat worm round
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

I didn't have a save, I just tested the feature by putting Chaos behind a door and fusing him immediately with a single character who has the firestaff.

I'm in the process of writing a full function to do the end sequence correctly, including the stats screen of all the champions. It turned out to be pretty straightforward. I'll post it when done.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

I'm not sure who owns the DM dungeon now, so I'm not sure where to report bugs...? Anyway, just to note that on level 5, swamp slimes are incorrectly added as CSBs Slime Devils. Weird that no-one noticed before!
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Original DM Conversion for DSB?

Post by Sophia »

At this point nobody really "owns" it so it's distinctly possible this has been noticed before and the bug report is buried in some thread nobody looks at anymore. I have noted it and I will fix it for the next release though!
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

i ended up getting sidetracked (yet again) so i haven't been able to finish it yet.

from what i'm seeing now though, the old pinned topics to the original DM and CSB dungeons are broken so now we have to rely on hoping that people still own the files? perhaps we should set up new topics with the up-to-date links? it would be a shame if all the hard work to make these just disappear :c
Immortal Dungeoneer.
User avatar
boyflea
Expert
Posts: 321
Joined: Mon Nov 20, 2006 3:23 pm
Location: Southampton, UK
Contact:

Re: Original DM Conversion for DSB?

Post by boyflea »

Hi all, must admit to being drawn to a lot of old faces... :)
I cannot find a link, though I might have a version on an old laptop, perhaps.
It'd be sad if a reliable link cannot be found to the dsb DM: checking the links to a lot of custom dungeons on the encyclopedia still work, so just seems odd to miss this one, (was thinking links may have broke during the migration, but the custom ones seem fine.)

I would like to get this again as I do have CSB on DSB. Would be cool to see a fixed DM ending too;
anyway, hope you are all well. I'm still pottering on DM, so I do lurk here occasionally. Good luck dudes and hope that link can be fixed soon.
The stonework walls? Pristine. The floor? Level. The waterworks? Flowing. Central heating? The Dragon in the basement was grumpily heating the pipes. Lord Chaos consulted the blueprints again, looking for the bathroom. #playmygame!
User avatar
ChristopheF
Encyclopedist
Posts: 1537
Joined: Sun Oct 24, 1999 2:36 pm
Location: France
Contact:

Re: Original DM Conversion for DSB?

Post by ChristopheF »

I keep a "centralized" repository of custom dungeon files in a shared OneDrive. The link is available on the forum home page, in the top list of links.
I have replaced some broken links with links to the OneDrive on this page: viewtopic.php?f=53&t=29806&p=143222 I think this is where you were looking.
Tell me if you find any other broken links to custom dungeons for me to fix.
Also if you have custom dungeon files that you would like me to add to the shared OneDrive, please tell me where to download them and I'll add them there.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Original DM Conversion for DSB?

Post by Sophia »

I appreciate Christophe's efforts to preserve the old files but those old dungeons are ports of the RTC versions rather than direct ports. However, they had all of the bugs of the RTC port and introduced a few more of their own when porting to DSB... and thus probably shouldn't be used nowadays.

And yes, I realize this information isn't actually noted anywhere in that thread and the situation with the original dungeons being ported to DSB is actually sort of a mess. :D
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

when i get the chance, ill finish off the current DM game and see if it crashes at the end. pretty sure i'm close to it anyway.
Immortal Dungeoneer.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

It's confirmed that it crashes if you attack the GreyLord after fusing Chaos, and there's no end-game sequence so unfortunately it can't be completed.

FYI, I have a slow-going project in the works to update DM for DSB, with a bunch of visual, audio and gameplay enhancements, which will also fix these outstanding issues. However, that's many months away as I'm undertaking a full update of all the graphics, so it's quite a big job... ;-)
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

@gambit would you like me to help at all with the graphics? if its keeping true to the original graphics then i can help out no problem... unless these are full on visual changes to look more modern, then that's out of my reach. i'm a bit of a purist when it comes to visuals. XD
Immortal Dungeoneer.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

Hi Sera, thank you for the offer. This is a personal project I've been working on for a while and is a challenge I've set myself. It's not something that I want to share until I've completed it, hope you understand :)
User avatar
Sera
*BLUE* not Purple
Posts: 560
Joined: Tue Mar 01, 2005 9:08 pm
Location: Stafford, UK

Re: Original DM Conversion for DSB?

Post by Sera »

yeah thats perfectly fine, im sort of the same when it comes to doing my own stuff as well. good luck with it tho!
Immortal Dungeoneer.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

Bug report: The alternate ending doesn't work properly. If you try turning on the tile before you're blasted by Librasulus, it only works once, then DSB writes: "Error: Untriggered Nil for 84". The "force player to face north" mechanic is therefore broken, and unfortunately I don't fully understand how this mechanic works to be be able to fix it.
User avatar
The Journeyman
Craftsman
Posts: 137
Joined: Mon Nov 08, 2004 11:55 pm
Location: Hall of Champions

Re: Original DM Conversion for DSB?

Post by The Journeyman »

Hi, I've embarked upon a lone hero quest with a resurrected Tiggy Tamal on the regular Dungeon Master Dungeon. Got halfway through the worm level when DSB crashed on me.
map version: dsb_dm.zip from shared one drive I got it like it was described in the DSB resources thread

DSB version: 0.77

here is what the log file recorded:

Code: Select all

INIT: Callstack pointer is 4ba1c0
INIT: Parsing configuration file
INIT: Using gamedir C:\Users\AMS\Documents\Dungeon Master\dsb77\Dungeons\DungeonMaster (base:0)
INIT: Starting windowed mode
INIT: Using color depth of 32
INIT: Starting FMOD
INIT: Triple buffering unavailable or disabled.
LUA: Lua initialized
Parsing base/global.lua
Parsing base/graphics.lua
Parsing base/gui_info.lua
Parsing base/inventory_info.lua
Parsing base/sound_info.lua
Parsing base/util.lua
Parsing base/triggers.lua
Parsing base/conditions.lua
Parsing base/monster.lua
Parsing base/monster_ai.lua
Parsing base/methods.lua
Parsing base/damage.lua
Parsing base/xp.lua
Parsing base/magic.lua
Parsing base/msg_handlers.lua
Parsing base/hooks.lua
Parsing base/system.lua
Parsing base/render.lua
Parsing base/startup.lua
Parsing C:\Users\AMS\Documents\Dungeon Master\dsb77\Dungeons\DungeonMaster/startup.lua
Parsing base/objects.lua
Parsing C:\Users\AMS\Documents\Dungeon Master\dsb77\Dungeons\DungeonMaster/objects.lua
OBJ: 415 total archs
DUNGEON: Attempting to load
Parsing C:\Users\AMS\Documents\Dungeon Master\dsb77\Dungeons\DungeonMaster/dungeon.lua
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS WIZARD SPELL.
dsb_write: TIGGY JUST GAINED A WIZARD LEVEL!
dsb_write: TIGGY MUMBLES A MEANINGLESS SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS AN EMPTY FLASK IN HAND FOR POTION.
dsb_write: TIGGY JUST GAINED A NINJA LEVEL!
dsb_write: TIGGY JUST GAINED A PRIEST LEVEL!
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY JUST GAINED A PRIEST LEVEL!
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY JUST GAINED A WIZARD LEVEL!
dsb_write: TIGGY JUST GAINED A NINJA LEVEL!
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY JUST GAINED A PRIEST LEVEL!
dsb_write: TIGGY MUMBLES A MEANINGLESS SPELL.
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS PRIEST SPELL.
dsb_write: TIGGY JUST GAINED A WIZARD LEVEL!
dsb_write: TIGGY JUST GAINED A FIGHTER LEVEL!
dsb_write: TIGGY NEEDS MORE PRACTICE WITH THIS WIZARD SPELL.
dsb_write: TIGGY JUST GAINED A FIGHTER LEVEL!
dsb_write: TIGGY JUST GAINED A NINJA LEVEL!
PROGRAM CRASH!
Location: 3 5 26
Reason: Leaky eot_te queue [Type 4 Data 186a4 0]
Stack Dump:
DSBmain
DSBgameloop
Any idea what's going on?
Also I am getting the the feeling that dsb_dm.zip might not be the most recent version to go with. There is also dm_for_dsb.zip in the same shared one drive. Upon further inspection it seems to be the one Sophia was referring to in this thread on Nov 08, 2017

Does anyone know if I 'm gonna be on the save side with this version? :P I sort of made it a challenge for myself not to save much.
I'm gonna sleep in the rat room.
User avatar
Sophia
Concise and Honest
Posts: 4239
Joined: Thu Sep 12, 2002 9:50 pm
Location: Nowhere in particular
Contact:

Re: Original DM Conversion for DSB?

Post by Sophia »

At this point there isn't really a supported conversion of DM for DSB, unfortunately. The conversion script that comes with CSB for DSB can probably produce a pretty good DM dungeon, but I'm not sure what aspects still need to be tweaked.
User avatar
Gambit37
Should eat more pies
Posts: 13714
Joined: Wed May 31, 2000 1:57 pm
Location: Location, Location
Contact:

Re: Original DM Conversion for DSB?

Post by Gambit37 »

I'm using that last available converted DM dungeon as a basis for my DM update. I've fixed some of the broken stuff in it, but it's not really usable by anyone else as it's part of a bigger project. I've not experienced any crashes with that DM dungeon, perhaps it's an issue with DSB 0.77 as it seemed pretty solid to me in 0.76...?
User avatar
The Journeyman
Craftsman
Posts: 137
Joined: Mon Nov 08, 2004 11:55 pm
Location: Hall of Champions

Re: Original DM Conversion for DSB?

Post by The Journeyman »

hey gambit, there are two version on the aforementioned shared one drive. Chances are good that you are using a different version than I did.
I actually tried a second run with the other version yesterday..with my one man...uhm one woman show. But....Tiggy died.

Sophia: I really like DSB, it's extremely fast and smooth and I enjoyed the features demonstrated in the test dungeon (like the water purification or the rusting weapons). But I gotta say, I didnt have much luck starting custom Dungeons. The Snes port SFCMOD_v1.51 crashed upon start, UnintendedHeroism 1.0 crashed during the initial map and dsb_dm seems to be too old to count.

Can you recommend any newer dungeons for the latest version?
I'm gonna sleep in the rat room.
Post Reply