Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / Will the DBC/DBP source code ever be released?

Author
Message
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 10th Aug 2014 08:35
Are there any plans to make DBC/DBP open source or free-software?
As far as I can tell TGC makes most of its money from selling add-ons and companion software. Both languages are quite old now but maybe releasing the source to the public might result in some clever boffins adding and improving features, it might even bring in new users who want a language they can tinker with, and those arriving for the new features.

Yes? No? Shall I go sit in the corner and be quiet?

Formerly OBese87.
Dark Java Dude 64
Community Leader
13
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 10th Aug 2014 09:33
I don't know if they will release the source or not, but if they do, it could be some very messy code. I just say that based upon the, erm well, lack of optimization in the compiled executables

Flash is falling out of... Flashion.
Hockeykid
DBPro Tool Maker
16
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 10th Aug 2014 10:08
Dark Basic Pro has actually been open source for a little while, it just really doesn't get mentioned a lot. You can find the source here: https://code.google.com/p/darkbasicpro/ It could be cool if someone started on some sort of DBPro "mod".

Sean

mr Handy
16
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 10th Aug 2014 11:32
Should be not modded but FORKED, and uploaded to sourceforge. TGC just need to mention in the license that to use any forked version you need to own commercial license for official DBP.

All your TGC are belong to us.
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 10th Aug 2014 14:26
Quote: "FORKED"


What does that mean? Is it another way of saying KNIFED?



Powered by Free Banners
The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 10th Aug 2014 16:25
Forked means that you take an open source repository from something like SVN or git and create your own version (branch) of it.

Also, it looks like the source is on SVN so you should just be able to fork it and do what you want with it (while following the license ofc)

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Indicium
15
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 10th Aug 2014 16:26
Quote: "What does that mean? Is it another way of saying KNIFED?"


He's used the words as if they're opposite of one another which is confusing. A branch, or fork is just a different version of development that usually runs concurrently with the original.
Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 10th Aug 2014 16:52
Quote: " What does that mean? Is it another way of saying KNIFED?"

It's an open source software(OSS) term used when a project is splintered off by a group for various reasons. Either a different development philosophy, inability to make changes in a reasonable time, etc, etc are reasons that people fork open source projects.

Dark Java Dude 64
Community Leader
13
Years of Service
User Offline
Joined: 21st Sep 2010
Location: Neither here nor there nor anywhere
Posted: 10th Aug 2014 16:59
Quote: "Is it another way of saying KNIFED?"
That was the first thing to make me laugh this morning; thanks.

Flash is falling out of... Flashion.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 10th Aug 2014 17:00 Edited at: 10th Aug 2014 17:00
Lee and his developers have the repository set up much like the following:



All developers have write access to the repository, so they are all able to branch from it directly, then make, commit, and push changes back to the repository.

We on the other hand do not have write access. What we can do however is fork the repository. This is nothing more than creating another online copy of the repository.



This allows me to clone my copy of the repository and check out a branch on my local computer. Because the branch is tracking my repository and not Lee's repository, I have writing permission and can push changes.

When I've finished my modifications to DBP, I can initiate a merge request. Someone on the DBP team who has writing access to Lee's repository will then clone the changes from my repository, and if everything looks alright, he will push the changes to Lee's repository:



There can of course be more than one fork of Lee's repository. This is what's known as a distributed workflow.



mr Handy
16
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 10th Aug 2014 22:17
AFAIR there is one small problem: we have no forks the opened code is not the latest version.

All your TGC are belong to us.
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 10th Aug 2014 22:58
Quote: "That was the first thing to make me laugh this morning; thanks."


I'm glad someone appreciated it.

Thanks for the explanations everyone. I'd never heard the word used in that context before.



Powered by Free Banners
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 11th Aug 2014 17:44
Quote: "What does that mean? Is it another way of saying KNIFED?"

No, it's closer to sporked

Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 12th Aug 2014 00:06
"Spooning" a repository means snuggling up to it.

Formerly OBese87.
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 12th Aug 2014 02:42
Anyone interested in making a Linux port then?

Formerly OBese87.
Indicium
15
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 12th Aug 2014 03:34
Taking an outdated DX9 engine and porting it to GL? I don't see anybody taking you up on that offer.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 12th Aug 2014 03:48
Quote: "Anyone interested in making a Linux port then?"


Sounds like a nightmare come true.

The person doing the port will have to know both APIs extremely well. DX and GL function differently and there will be some major implementation differences causing additional headaches. Furthermore, the person doing the port will have to know C++ to such a degree that they aren't producing complete garbage, as is the case with the current implementation of DarkBASIC.

Not even I feel like I know the language well enough to do that, so...

lolnope kthxbye

The Zoq2
14
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 12th Aug 2014 04:05
I would love to see a linux port, I probably wouldn't use it myself because I like C++ but something having a linux version is allways good

The points Comet make are pretty valid though

Say ONE stupid thing and it ends up as a forum signature forever. - Neuro Fuzzy
Indicium
15
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 12th Aug 2014 04:37
Quote: "as is the case with the current implementation of DarkBASIC."


I'm sure Lee will be thrilled to hear that.
TheComet
16
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 12th Aug 2014 05:32 Edited at: 12th Aug 2014 05:33
The time it would take you to port it would be the time it would take you to learn Java. Just do that.

Quote: "I'm sure Lee will be thrilled to hear that."


It's harsh, but the code is pretty ugly as it stands. Starting with memory management, specifically strings as an example, DarkBASIC Pro doesn't hold any kind of list of instantiated strings. They are created and forgotten about, leading to inherent memory leaks. The number of strings you create in DBP will exist in memory for the entirety of time your application is running, and are never cleaned up, not even on shutdown. Luckily the OS will clean up all allocated memory of a program, but it's foolish to rely on that functionality.

The appropriate functions for manually cleaning up strings aren't exposed to the user either, and the whole string API is weird to begin with.

I can point out loads of other weird WTFs in the code, but maybe you should just read it yourself and form your own opinion.

https://code.google.com/p/darkbasicpro/source/browse/#svn%2Ftrunk%2F%20darkbasicpro%20--username%20LeeBamberTGC%2FDark%20Basic%20Pro%20SDK%2FShared%2FCore%253Fstate%253Dclosed

Dar13
15
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 12th Aug 2014 06:03
Quote: "The person doing the port will have to know both APIs extremely well. DX and GL function differently and there will be some major implementation differences causing additional headaches. Furthermore, the person doing the port will have to know C++ to such a degree that they aren't producing complete garbage, as is the case with the current implementation of DarkBASIC."

ToGL
Plus, DBP is more C than C++.

Kevin Picone
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: Australia
Posted: 12th Aug 2014 09:25 Edited at: 12th Aug 2014 09:41
There's a couple of Open GL based Dbpro compatible libraries that come to mind, Blivvy wrote one a couple years after it released (about 2004/2005) don't think was officially released and Freddix was working on something along those lines recently...


Edit:

Here' a link Freddix's project: Apparently it's inspired by DBpro's command sets...but looks like it's dead now.

http://www.amidark-engine.com/

Indicium
15
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 12th Aug 2014 16:07
Okay I took a look, no thanks to making that cross platform.
bitJericho
21
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 13th Aug 2014 05:58
Monkey X is already open source, multi-platform, and 3d capable, though no official library exists on par with DBP's ease of use, unofficial ones exist or can be created.

mr Handy
16
Years of Service
User Offline
Joined: 7th Sep 2007
Location: out of TGC
Posted: 13th Aug 2014 10:52
Just make DBP GPL and Linux community will do the rest of porting

All your TGC are belong to us.

Login to post a reply

Server time is: 2024-04-25 06:33:28
Your offset time is: 2024-04-25 06:33:28