This tool allows you to create and edit scenario files for the Targetware engine.

You can find some help on the Targetware scenario development guide.

You can use it online by pressing the "Edit scenario" button or install it on your local machine.

Installation Instructions :

  • Supported architectures :
    All architectures supported by :
    • Apache web server (In fact any HTTP server that support php integration.)
    • PHP scripting language with GD support.
    • JavaScript scripting language (All modern web browsers support it. Check the configuration options of your favorite web browser to enable it.)
    • ImageMagik image processing tool.

     
  • Quick installation guide :
    Note that the steps to install Apache, ImageMagick and PHP on your system will not be detailled here.

    Mac users can look here for a pre-packaged version of Apache+PHP+MySQL formerly known as MAMP.

    Windows users can look here for a pre-packaged version of Apache+PHP+MySQL formerly known as EasyPHP.

    Linux users can look here for the LAMP architecture (commonly preinstalled on most standard linux installation).

    All users can look here for the ImageMagick package (commonly preinstalled on most standard linux installation).


    Please read the documentation provided by any of these projects.
     

    For now, this tool will not work on Windows servers. Some code is about to be edited to allow Windows users to install this tool.


    This installation guide consider :
    • Your hostname is set to : myhost
    • Your Targetware installation directory is : /home/my_user/targetware
    • Your Apache document root is set to : /my_document_root

    • Download the tarball archive here
    • Extract the tarball in the Apache document root directory (See Apache documentation)
    • Verifiy in your apache configuration file that the "follow symlink option" is enabled.
      You should find these lines in your httpd.conf file :
      <Directory />
          Options FollowSymLinks
          AllowOverride None
      </Directory>

    • Make sure that the user used by your apache HTTP server have write permission on your document root.
    • Make also sure that the user used by your apache HTTP server can access to the convert program provided with the ImageMagick pachage (/usr/bin/convert in most linux distribution).
    • Make a symbolic link named targetware pointing to your targetware installation directory. (The way to do this depends on your operating system but all shell based system can do it with the 'ln -s' command.)
      ln -s /home/my_user/targetware /my_document_root/tw_scen_designer/targetware

    • Edit the /include/include.php to suit your configuration (convert program path...)
    • If the HTTP Apache server is running and PHP scripting language is correctly installed with GD support, typing "http://myhost/tw_scen_designer" in your browser's adressbar should show you the index page of your local installation of the Online Targetware Scenario Designer.

Known bugs :

  • Scenario file with team/unit/target... number <1
    (ie. [ team 0 ] or [ team 1 target 0 ]) can not be loaded.
  •  Scenario file with number of teams > num_teams value can not be loaded.
    This bug is valid for every num_xxx value.
    (ie. num_targets, num_missions and so on)
  •  Scenario file with sections or key/value pairs not defined in the scenario file reference loads randomly.
  •  Some keys in the original scenario file are nor listed nor displayed when uploaded.