Thread overview
DerelictSteamworks
Aug 18, 2015
extrawurst
Aug 18, 2015
xky
Aug 18, 2015
Mike Parker
Aug 18, 2015
Rikki Cattermole
Aug 19, 2015
WebFreak001
Aug 19, 2015
extrawurst
August 18, 2015
Hi everyone,

during my development of a little game engine in my spare time with D I created a couple of libs and wanted to announce one of them that I find particularly useful.

A Dynamic binding for the Steam API:

dub: http://code.dlang.org/packages/derelict-steamworks
github: https://github.com/Extrawurst/DerelictSteamworks

I can finally announce this as the latest sdk release (1.34) includes a flat c-api by default that these bindings use.

There is a demo app in it that shows how to use especially the callback system (the only tricky part) and is my proof of concept.

BUT: The SDK is huge and I know that not every callback is supported yet since that is not strictly typed and you may need to add those based on the documentation when you stumble upon one not present yet.

In any case let's create the first platform independent game written in D on Steam!!!!

Cheers,
Stephan
August 18, 2015
On Tuesday, 18 August 2015 at 08:47:27 UTC, extrawurst wrote:
> Hi everyone,
>
> during my development of a little game engine in my spare time with D I created a couple of libs and wanted to announce one of them that I find particularly useful.
>
> [...]

NICEEEEEE WORK! :)
August 18, 2015
On Tuesday, 18 August 2015 at 08:47:27 UTC, extrawurst wrote:
> Hi everyone,
>
> during my development of a little game engine in my spare time with D I created a couple of libs and wanted to announce one of them that I find particularly useful.
>
> A Dynamic binding for the Steam API:
>
> dub: http://code.dlang.org/packages/derelict-steamworks
> github: https://github.com/Extrawurst/DerelictSteamworks
>
> I can finally announce this as the latest sdk release (1.34) includes a flat c-api by default that these bindings use.

Awesome! That's something I've always planned to get around to some day. Glad you got there first :)

>
> In any case let's create the first platform independent game written in D on Steam!!!!

Mayhem Intergalactic could have been platform-independent([1] and [2]). IIRC, it was written with D1. DerelictSDL and DerelictGL were used (probably from Derelict 2) as Crispy mentioned halfway down the thread at [3]. I know he did some work on Mac, but it appears he only ever released on Windows. There's probably an old newsgroup announcement somewhere.

[1] http://www.inventivedingo.com/mayhemig
[2] http://store.steampowered.com/app/18600/
[3] http://dsource.org/forums/viewtopic.php?t=2891




August 18, 2015
On 19/08/2015 1:07 a.m., Mike Parker wrote:
> On Tuesday, 18 August 2015 at 08:47:27 UTC, extrawurst wrote:
>> Hi everyone,
>>
>> during my development of a little game engine in my spare time with D
>> I created a couple of libs and wanted to announce one of them that I
>> find particularly useful.
>>
>> A Dynamic binding for the Steam API:
>>
>> dub: http://code.dlang.org/packages/derelict-steamworks
>> github: https://github.com/Extrawurst/DerelictSteamworks
>>
>> I can finally announce this as the latest sdk release (1.34) includes
>> a flat c-api by default that these bindings use.
>
> Awesome! That's something I've always planned to get around to some day.
> Glad you got there first :)
>
>>
>> In any case let's create the first platform independent game written
>> in D on Steam!!!!
>
> Mayhem Intergalactic could have been platform-independent([1] and [2]).
> IIRC, it was written with D1. DerelictSDL and DerelictGL were used
> (probably from Derelict 2) as Crispy mentioned halfway down the thread
> at [3]. I know he did some work on Mac, but it appears he only ever
> released on Windows. There's probably an old newsgroup announcement
> somewhere.
>
> [1] http://www.inventivedingo.com/mayhemig
> [2] http://store.steampowered.com/app/18600/
> [3] http://dsource.org/forums/viewtopic.php?t=2891

On that note about dsource:
phpBB : Critical Error

Error creating new session

DEBUG MODE

SQL Error : -1 ERROR: value too long for type character(8)

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('5cca698ac32fb019472a8c3350eaf3db', -1, 1439906106, 1439906106, '966000000', 19, 0, 0)

Line : 187
File : sessions.php

August 19, 2015
On Tuesday, 18 August 2015 at 08:47:27 UTC, extrawurst wrote:
> Hi everyone,
>
> during my development of a little game engine in my spare time with D I created a couple of libs and wanted to announce one of them that I find particularly useful.
>
> [...]

Nice, now I can finally implement the steam api in my game engines, thanks :D
August 19, 2015
On Wednesday, 19 August 2015 at 10:03:37 UTC, WebFreak001 wrote:
> On Tuesday, 18 August 2015 at 08:47:27 UTC, extrawurst wrote:
>> Hi everyone,
>>
>> during my development of a little game engine in my spare time with D I created a couple of libs and wanted to announce one of them that I find particularly useful.
>>
>> [...]
>
> Nice, now I can finally implement the steam api in my game engines, thanks :D

You are welcome!
Do you have anything ready for steam yet ?