The first weblog devoted to Demoniak3D Demo-System

How to release a demo with the PRO version

March 18th, 2008 Posted in Tips'n'Tricks, Tutorials
  • English
  • French

The PRO version of Demoniak3D is nodelocked, i.e. it is locked to the computer. Then you can’t distribute Demoniak3D.exe file. In return, a Demoniak3D scene player comes with the PRO version (Demoniak3D_Player.exe). This player is only capable to read a scene in a binary format. That binary format is created by Demoniak3D PRO (CTRL+E). Pressing CTRL+E will make Demoniak3D
to create a file called demo.h3d in the demo’s folder. This file holds all the scene description (XML, LUA and GLSL) in binary format. Demo’s source code is now hidden and protected. To release the demo, just follow the procedure described in this entry (How to release a demo with the FREE version) with the following small differences:
- the executable file to be copied and renamed is now Demoniak3D_Player.exe.
- the demo’s main file is now demo.h3d (of course, you can rename this file). The name of this file has to be put in the auto_load attribute of startup_params node.

Et voilà, the release of a demo with the PRO version is not very difficult (from a Demoniak3D developper standpoint…).


[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
  1. One Response to “How to release a demo with the PRO version”

  2. By Dr. Goulu on Mar 20, 2008

    Comment ça se passe pour les librairies en LUA (DemAux) voire en C ? Où faut-il les placer pour qu’on puisse “compiler” la démo sans les oublier ni avoir à changer le code ?

    Pour être propre, il faudrait que le compilateur prenne tous les fichiers qui se trouvent dans package.path et package.cpath …

You must be logged in to post a comment.