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.

PureGDK / Delphi support

Author
Message
mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 5th Jul 2011 13:06
Is Delphi supported planned?

Smart Packer Pro - Distribute games and applications
V-Packer for Games - Compress your game files into one executable
Flash Packer - Pack your Flash movies
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 5th Jul 2011 14:17 Edited at: 5th Jul 2011 14:17
I'd love to see Delphi support. If Delphi can load and call windows DLLs then it is already "compatible", but someone will have to write a supporting plugin.

Source code for the C++ and PureBasic plugins are available in the SDK.

I don't know Delphi so someone else will have to write it.

mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 5th Jul 2011 15:23
Yes Delphi is capable of loading and calls DLL's.

I have Delphi experience so I can give it a try.

Do I need the full version for this? I didn't purchase it yet.

Smart Packer Pro - Distribute games and applications
V-Packer for Games - Compress your game files into one executable
Flash Packer - Pack your Flash movies
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 5th Jul 2011 17:54 Edited at: 5th Jul 2011 17:58
The beta releases are the full release. They will just eventually expire and stop working.

You can download the current SDK here:

http://forum.thegamecreators.com/?m=forum_view&t=177817&b=38

The plugins are written in C++ and compiled with GNU g++. However, it should work just fine with any standards-compliant C++ compiler.

The input and return structures are located in "/include/libbuilder.h" and the plugins in the "/src" directory.

LibBuilder::Version1::BaseStruct is the input structure and LibBuilder::Version1::ReturnStruct is the return structure. The input struct includes all of the information to be parsed into Delphi. Then the result is returned in the return structure.

You're basically fed lots constants, structures, and functions which you then parse and spit out into the language you want.

Unfortunately, you will probably have to tweak it a bit to get it to compile. Since no one has been interested in using it, I haven't spent any time putting together a public makefile.

mrniceguy
18
Years of Service
User Offline
Joined: 5th Oct 2005
Location:
Posted: 8th Jul 2011 14:41
Thanks for the info. Will check it out.

Smart Packer Pro - Distribute games and applications
V-Packer for Games - Compress your game files into one executable
Flash Packer - Pack your Flash movies

Login to post a reply

Server time is: 2024-03-29 06:48:39
Your offset time is: 2024-03-29 06:48:39