DSB Source Code

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
Sophia
Concise and Honest
Posts: 4007
Joined: 12-Sep-02 19:50
Location: Nowhere in particular
Contact:

DSB Source Code

Post by Sophia » 10-Apr-18 23:39

The C source code to DSB is now available:

https://github.com/sparkletwist/DSB

There is little included here if you want to build it yourself, and, honestly, I'm not really sure how much help I could provide. The environment I use is ancient (DevC++ and MinGW) and not anything I use for any other project anymore; I've not bothered to upgrade it because it's also tiny by modern standards and it would just be a pain.

So... I'm not sure how useful this is, but it's there if anyone wants it. :mrgreen:

User avatar
Gambit37
Should eat more pies
Posts: 13263
Joined: 31-May-00 11:57
Location: Location, Location
Contact:

Re: DSB Source Code

Post by Gambit37 » 11-Apr-18 08:55

Wow. That's very generous. If I knew what to do with it, I'd be all over it, but alas I don't have the skills.
If some kind other programmer wants to delve in there and upgrade it all to 1280x960 resolution, that would be awesome :D :D :D
(I do still tinker with DSB from time to time and still dream of a high(er)-res DM... ;) )

I assume this means DSB for you is over now? What happens to the original project in terms of ownership, and any derivative variations based on this source code release?

User avatar
Sophia
Concise and Honest
Posts: 4007
Joined: 12-Sep-02 19:50
Location: Nowhere in particular
Contact:

Re: DSB Source Code

Post by Sophia » 11-Apr-18 19:27

Gambit37 wrote:
11-Apr-18 08:55
I assume this means DSB for you is over now? What happens to the original project in terms of ownership, and any derivative variations based on this source code release?
I wouldn't say 'over,' but the fact is that I haven't made a release in over a year, and life has a way of sneaking up on you-- so if it ever got to the point that I just wasn't coming around here any more, I didn't want to leave DSB in a state where it was impossible for anyone to carry on with it, if someone was interested in doing so. To be blunt about it, I didn't want it to end up like RTC did.

Anyway, in terms of ownership, I still own the DSB code, just as the original DM authors still own their work. If someone makes a derivative work based on DSB, then we are essentially co-authors with them owning their additions and me still maintaining copyright over my original DSB code. The only limits I would apply to derivative works are to not act in bad faith, to not misrepresent a DSB derivative as an 'official' version of DSB, and to not plagiarize my code without credit. (It's not even very good code, so why would anyone want to!)

kaypy
Craftsman
Posts: 117
Joined: 19-Jan-14 06:11

Re: DSB Source Code

Post by kaypy » 12-Apr-18 13:04

Went to have a try at compiling it, but I think that fmodex 4 may for all intents and purposes no longer exist. 8-(

User avatar
Sophia
Concise and Honest
Posts: 4007
Joined: 12-Sep-02 19:50
Location: Nowhere in particular
Contact:

Re: DSB Source Code

Post by Sophia » 12-Apr-18 22:30


kaypy
Craftsman
Posts: 117
Joined: 19-Jan-14 06:11

Re: DSB Source Code

Post by kaypy » 13-Apr-18 00:51

I'll give it a go. I was also vaguely considering commenting out enough code to get "Closed Captions Strikes Back" but this is a much better option 8-)

Hmm. And it looks like theres linux versions of everything in the libraries list. But lets see if I can get a working (and documented) process for compiling on windows first...

User avatar
Sophia
Concise and Honest
Posts: 4007
Joined: 12-Sep-02 19:50
Location: Nowhere in particular
Contact:

Re: DSB Source Code

Post by Sophia » 13-Apr-18 02:10

Well, I do have to warn you, the libraries may be cross-platform but I'm pretty sure DSB is not. There are enough calls to the Win32 API in there that porting it would be kind of difficult, especially ESB.

kaypy
Craftsman
Posts: 117
Joined: 19-Jan-14 06:11

Compiler strikes back

Post by kaypy » 13-Apr-18 03:32

OK, getting closer: I now have a .o file for each .c file

Had to make a minor tweak to cope with having lua5.2

Onwards to linking!

User avatar
Gambit37
Should eat more pies
Posts: 13263
Joined: 31-May-00 11:57
Location: Location, Location
Contact:

Re: DSB Source Code

Post by Gambit37 » 3-Sep-18 07:43

Kaypy, I'm interested to know if you ever got any further with compiling DSB, and if you have any plans to do extra things with it (Improve the resolution for example, hint, hint ;-) )

Post Reply