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.

Dark GDK / Compiling DGDK for VS2010

Author
Message
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 29th Jul 2010 23:36 Edited at: 30th Jul 2010 04:20
I've been trying to compile DarkGDK so I can use it with VS2010 Professional. I've got all but two projects of the solution to compile without errors, but of the two left(Display and Multiplayer) one of them requires a deprecated feature of the DX SDK(DirectPlay). In the latest SDK(June 2010) they've removed DirectPlay from the SDK completely, thus I am unable to completely compile Dark GDK.

I've read that the easiest way to fix this problem is to use an older SDK, but I'm hesitant to do that. Am I going to be stuck with using an older DXSDK to compile/use DarkGDK? Or completely replace all the directplay code?

PS: Has anyone else managed to compile DarkGDK for VS2010 or for the latest SDK release?

EDIT: Got the Display library to compile.


Mireben
15
Years of Service
User Offline
Joined: 5th Aug 2008
Location:
Posted: 31st Jul 2010 11:12 Edited at: 31st Jul 2010 11:18
Here is a thread about how to make a dummy multiplayer library, to make newer DirectX versions work with Dark GDK.

http://forum.thegamecreators.com/?m=forum_view&t=139830&b=22

EDIT: another thread about the same topic.

http://forum.thegamecreators.com/?m=forum_view&t=149737&b=22
Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 31st Jul 2010 21:39 Edited at: 31st Jul 2010 22:23
Thanks, Mireben. I was just about to give up entirely.

EDIT:I give up. Seems they also deprecated and removed DirectDraw from the DirectX SDK. It's just too much work to do to get DGDK to work at all, much less properly. I guess I'm using Irrlicht for C++ unless TGC decides to update to this DirectX SDK(What are the chances of that happening?).


Hassan
15
Years of Service
User Offline
Joined: 4th May 2009
Location: <script> alert(1); </script>
Posted: 31st Jul 2010 23:09
wish DGDK had a little bit of support, currently, this board is totally forgotten by mods/creators, maybe just BigAdd, as he's responsible for moderating, a mod posts in this board once a month, or twice a year, something like this

they really should pick this project once again and update it to work with VS2010 and the new directX SDK (feb 2010)

Dar13
16
Years of Service
User Offline
Joined: 12th May 2008
Location: Microsoft VisualStudio 2010 Professional
Posted: 1st Aug 2010 15:25
Same here, I was meaning to port one of my DBPro projects over with minimal fuss(as I just want the ability to pass classes into/out of functions). It's not so much VS2010(just a lot of reconfiguring) it's the DirectX SDK that's such a pain in the neck.

If DarkGDK was supported up to the February 2010 DXSDK, I'd use it but since it isn't, I'm going to use Irrlicht.


Wilvis
17
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 21st Aug 2010 22:49 Edited at: 21st Aug 2010 22:53
I have complied GDK with vs2010 and DirectX June 2010.

I had to remove the networking stuff, and had to remove the VR920 support thats why the display would not complie, I couldn't get the VR SDK to complie right under vs2010.

@Dar13 If you undefine the vr920 stuff you should be able to get the display to complie. The netowkring is another story, i went though and commented out all the code and left the function calls that do nothing. was going to replace them with a 3rd party multi player but haven't started that yet.

I think there is more but i am not at home to check all the changes i made, Will update this when i get home.
bjadams
AGK Backer
16
Years of Service
User Offline
Joined: 29th Mar 2008
Location:
Posted: 22nd Aug 2010 18:23
they had announced that now dbpro and dgdk share the same codebase.

i thought that meant, every time a new dbpro version came out, they just had to press compile, and they would have an equivalent dgdk version.

seems i was very wrong
Wilvis
17
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 30th Aug 2010 05:55
Here is the changes i have made to get it to compile in vs2010, I used the June 2010 Direct X.

Some of it is not complete and i have not tested it with all the commands.
Wilvis
17
Years of Service
User Offline
Joined: 6th Aug 2006
Location:
Posted: 30th Aug 2010 06:43
Sorry for the delay, had a busy week.

Here is the changes i have made to get it to compile in vs2010, I used the June 2010 Direct X.

Some of it is not complete and i have not tested it with all the commands.

So it will not upload within the forums even know it is only 25mb

Here is a you send it link Only problem is it expires

https://www.yousendit.com/download/aHlUUWVpeFU3bUEwTVE9PQ
File expiration date: September 5, 2010

Login to post a reply

Server time is: 2024-07-02 09:02:49
Your offset time is: 2024-07-02 09:02:49