IonicWind Software

IWBasic => General Questions => Topic started by: Duffer on August 21, 2009, 10:42:24 AM

Title: Creating command paks
Post by: Duffer on August 21, 2009, 10:42:24 AM
I have been working on a DX9 based 2D "game engine" for EB.  I am using VC++ and the DX9 SDK.  Currently it is working and being tested in DLL format.

How can I create an "unofficial" command pak?
Title: Re: Creating command paks
Post by: Ionic Wind Support Team on August 21, 2009, 11:16:57 AM
If it is a DLL then just create the include file, the import library and put all three in a .zip with instructions.

command libraries are usually static libraries and include an associated .incc file which exists in the /bin directory of the installation.  You can study the format of the .incc files to see how it's done if you are interested.

If you are going to try and use an installer you will need to account for user privileges on Vista and higher. I use an external executable which contains the libs, help, and included files stored in resources and have inno setup run that executable as the current user.  So it can read the registry and get the current users paths to the emergence BASIC installation.

Paul.
Title: Re: Creating command paks
Post by: Duffer on August 21, 2009, 11:39:14 AM
Thanks, Paul.  It is only a DLL for easier testing.  I will compile it as a static lib for release.  Currently, it compiles to 30k, so it shouldn't add too much size to the EXE.

I appreciate the tips about installing.  That is something I will have to look into as I know my old installer program does not work with Vista.

Title: Re: Creating command paks
Post by: Copex on August 22, 2009, 10:14:19 AM
hay have a look her

http://www.ionicwind.com/forums/index.php/topic,1175.0.html
and
http://www.ionicwind.com/forums/index.php/topic,1661.0.html

it may be helpful