October 31, 2025, 11:49:13 AM

News:

IWBasic runs in Windows 11!


Creating command paks

Started by Duffer, August 21, 2009, 10:42:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Duffer

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?

Ionic Wind Support Team

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.
Ionic Wind Support Team

Duffer

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.


Copex

-
I really should learn how to use a spell checker! though im not sure how it will help someone who can not spell?
-
Except where otherwise noted, content Posted By Copex is
licensed under a Creative Commons Attribution 3.0 License

http://creativecommons.org/licenses/by/3.0/