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 / DarkGDK for VS-2012

Author
Message
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 23rd Apr 2013 15:14 Edited at: 28th Nov 2013 12:52
Hi,
I've compiled the DarkGDK-Engine from the opensource project by my self with VS-2012.
I've try some tests and it works fine. It uses the DirectXSDK 2007(August).

Now I want to share it with you. For anyone who wants to develop with vs-2012. I hope it works for you pretty well.

Her is the GDK.

Unzip it anywhere on your hard drive and run 'install-template'. Then the template will be installed and set an environment variable.

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
s_i
14
Years of Service
User Offline
Joined: 23rd May 2009
Location: Russia
Posted: 23rd Apr 2013 18:43
Plugins will work with this version of the DarkGDK?
For example, Cloggy's D3D ?
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 23rd Apr 2013 21:31
I think so.

However, I think you need to compile the lib with vs-2012 and with the DarkGDK libs from vs-2012.

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Gunslinger
16
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 8th Aug 2013 02:00 Edited at: 8th Aug 2013 02:00
Is it just me, or is creating an object resets the camera?

wtf
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 8th Aug 2013 09:14
Before you create an object you must set auto cam off (dbAutoCamOff()).

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Gunslinger
16
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 7th Nov 2013 06:22 Edited at: 7th Nov 2013 06:39
Could you try to compile sparkys with that?
If i try to use it with your DGDK i get a "darksdk.lib not found" error. Because there is no...?

http://forum.thegamecreators.com/?m=forum_view&t=205208&b=18

Thanks!

e/ tried it by myself, but i get some strange syntax errors in the dx sdk, with just one google result - without answer, on russian :/
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 8th Nov 2013 13:35
Here, I've compiled for you. I hope it works.

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Gunslinger
16
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 15th Nov 2013 10:05
Ah, you're from germany...



Doesnt work :/
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 15th Nov 2013 14:28 Edited at: 15th Nov 2013 14:29
If you link the sc_collision.lib with your project?

Can you give me a short code snippet to reproduce this messages?

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Gunslinger
16
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 15th Nov 2013 19:32
tried, doesnt work.
I'm using the sample project code

:/
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 17th Nov 2013 17:03
by me, it works. And you are sure you link the correct lib? I've tested it with the static lib.

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
Gunslinger
16
Years of Service
User Offline
Joined: 29th May 2007
Location:
Posted: 26th Nov 2013 16:01 Edited at: 26th Nov 2013 16:12
Well i'm trying it with yours, doesnt work :/
The orig lib file is 256KB, yours is just 20KB. Is that correct?

Edit: Okay got it working.
I was just using your VS12 GDK, without the "original". Thats why DarkSDK.lib was missing.
Stupid mistake
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th Nov 2013 17:36
Bit belated, but how do I get GDK working with VS2012?

I already have 2012 installed, do I now install the vanilla GDK then this, or just this?

I've not done this before and all the instructions I have are for VS2008. (Which I can't install currently..)

MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 28th Nov 2013 09:11
Hi Mobiius,

you need only unzip this file somewhere on your hard drive. Then start install_template.bat that's it. Just like described in the first post.
You do not need the original.
If the template is not copied to the correct place, you need to copy it manually.

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine
MadBit
VIP Member
Gold Codemaster
14
Years of Service
User Offline
Joined: 25th Jun 2009
Location: Germany
Posted: 28th Nov 2013 12:40 Edited at: 28th Nov 2013 12:41
I've compiled the complete sdk with the integration of SC-collision. so all sc commands are available by including the "DarkGDK.h" header. The lib will automatically linked.

The .dll library won't work, so i use only the static lib.

download

Share your knowledge. It's a way to achieve immortality. (Tenzin Gyatso)
Pixie-Particle-Engine

Attachments

Login to view attachments
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 28th Nov 2013 16:30
Thanks for your comment, I've manually copied the wizard folder, it's the location for the actual GDK libs and h files I don't know where they go.

Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 28th Nov 2013 18:55
Never mind, I sorted it by a bit of computer professional searching. I now have a spinning cube as per the example code.

Now to learn C++!

Thanks for your help, the download is awesome!

Login to post a reply

Server time is: 2024-04-19 20:52:36
Your offset time is: 2024-04-19 20:52:36