DAmnable but Necessary Arx Editor (DANAE)

From Arx Libertatis Wiki
Jump to navigation Jump to search

The released Arx Fatalis source code includes the Game's custom level editor, titled DAmnable but Necessary Arx Editor - or DANAE, which is also the name used for the game's main source file name and central functions, matching the mythological Greek theme of the other subsystem names. DANAE isn't really a separate tool but a special build of the game engine with editor controls.

DANAE only runs under Windows and is not part of the Arx Libertatis sources, but we hope to create our own cross-platform editor at some point.

The engine and editor can load .teo object meshes, .tea animations and .scn scene meshes which were created with the THEO Game Maker tool as well as several other types of files. Object and scene meshes are and converted into baked .ftl and .fts files respectively, which are what is shipped with the game.

DANAE is featured in the making of Arx Fatalis documentary (original, youtube) included in some releases of the game.

See https://dimoks86.narod.ru/index/danae/0-11 for a detailed description of the editor's capabilities.

Screenshots

These screenshots are from Dimoks' DANAE build and not from the original development of the game.

Running the original editor

A few people have expressed the wish to try the original editor. The following sections explains how to build & run it using vanilla Arx Fatalis source. A build of DANAE is also provided by Dimoks as well as some instructions (in Russian):

Build

  • To build DANAE yourself, grab & extract the original source from http://www.arkane-studios.com/uk/arx_downloads.php
    D:\ArxFatalis_1.21_Sources\
  • Open D:\ArxFatalis_1.21_Sources\Sources\Gaia.sln
  • Change Danae.cpp line 427 to initialize FINAL_COMMERCIAL_GAME to 0
  • Comment line 106 of HERMES_PAK.cpp to
    mode = LOAD_TRUEFILE_THEN_PACK;
  • Comment lines 642—657 of Arx_FTL.cpp:
/*	if ((!NOCHECKSUM || NoCheck) && !DontCheck)
	{
		char check[512];

		MakeUpcase(complete_fic);
		HERMES_CreateFileCheck(complete_fic, check, 512, CURRENT_FTL_VERSION);

		char * pouet = (char *)(dat + pos);

		for (long i = 0; i < 512; i++)
			if (check[i] != pouet[i])
			{
				free(dat);
				return NULL;
			}
	} */
  • Grab unicows.dll from the original game installation, ARX_SCRIPT_DEBUGGER.dll from
    D:\ArxFatalis_1.21_Sources\Sources\DANAE\Release\
    and copy them under
    D:\ArxFatalis_1.21_Sources\game\

Run

  • First, you need to unpack all the assets. Use arxunpack from Arx Libertatis
    arxunpak <pakfile> [<pakfile>...]
  • Run
    D:\ArxFatalis_1.21_Sources\game\arx.exe
  • Specify your data directory by clicking "Choose Dir"
    • This folder must contains your pak files, a misc/ folder with the .ttf fonts, and all the subdirectories with the extracted assets (EDITOR, GAME, LOCALISATION, etc.)
  • Select a Level on the right an click the button “OK”; or click the button “Launch game”.


UI

Does nothing

Does nothing

Launch Fullscreen

Show Options

Pause scripts

Does nothing

Toggle Edit Mode

Edit Nodes

Edit Lights

Edit Fogs

Edit Zones

Edit Pathways (navmesh)

Edit Particles

Snapshot Tool

Script Search

Script Debugger

See http://dimoks86.narod.ru/index/danae/0-11 for more information.