Copy the J2Play toolkit resources into your project

From J2Play

Jump to: navigation, search

The J2Play toolkit has dependencies on a multiple DLL packages, Mozilla files, and has a unique settings file called j2play.ini. These files need to be copied over to the folder where the main executable is generated. Follow the steps to gather the necessary files:

Copy Mozilla Files

Navigate to the folder where the PC-Toolkit was downloaded; extract the zip file and the folder under the main directory, "cpp-toolkit", called "Mozilla" in the PC toolkit. Copy the whole folder and paste it to your output directory (i.e. where your executable file, mygame.exe, is generated) in both the Release and Debug folders of the game.

Copy DLLs and j2play.ini

There are multiple versions of the DLLs based on the Visual Studios version (i.e. 2003 or 2005) and build type (release or debug). Choose the right Visual Studio version and:

  1. copy files from bin/[version]/debug to your debug output director
  2. copy files from bin/[version]/release to your release output directory
  3. copy files from bin/[version] to both your debug and release output directory

There, all the required DLLs and the j2play.ini are now in the output directory of the game.

Links

Personal tools