The Deliantra development VM
What is it?
It's a virtual computer which comes with GNU/Linux as operating system and all necessary packages for Deliantra development pre installed: Map editor, server, all maps and archetypes. You can immediately edit and create maps on it, create or edit archetypes and test them easily with the installed server.
What do I need and where to get it?
- First you will need something to run a virtual VMware image: If you don't already have the VMware workstation, VMware server or something like that installed we recommend to use the free-of-charge VMware Player. Download and install the right package for your system.
- The only other thing you need to download is our Deliantra development VMware image (deliantra-vm.rar). Download the file deliantra-vm.rar, unpack it (use unrar or winrar) and run it with the VMware player.
You should see a screen with boot messages of the linux system scrolling up. A few seconds or minutes later you should finally see a graphical desktop similiar to this:
How do I...
...start and operate the test server?
First notice the "Terminal" window you get after the virtual machine has booted. It contains some valuable gems of information about the VM. You can always get back to that screen by opening a new terminal and type in the info command! It shows you which IP address the virtual machine, and thus the test server, has. Remember that IP address, you will need it to connect to the test server after it has started.
To start up the server there is a button on the right side of the desktop called "Start Server". Clicking it once will open a terminal window on the bottom of the screen with the server log messages scrolling through. The very first time you start the server it scans all maps, which can bring your machine down to its knees for a minute. If you want to stop the server you can press CTRL+C in that terminal window or simply hit the "close the window" button in the upper right corner. If you want to restart the server you can just click on the Start Server button again.
When the server is starting up wait a while until the messages in the server log window have calmed down a bit.
Next start up the Deliantra client and enter the IP address of the virtual machine in the "Host:Port" field in the "Server" tab of the Setup dialog in the client. Next choose a character name and password for your test character (the server has no registered players) Log in and create the character.
In the test server everybody can become Dungeon Master by issuing the command 'dm'. As dungeon master you can use special commands that manipulate the world, create items and walk and see through walls. This is a small cheat sheet of useful DM commands you are able to use as dungeon master:
- dm - become dungeon master
- nodm - drop dungeon master privileges
- goto <path> - become dungeon master
For example to go to the inn in scorn you could use:
- reset . or reset <path> - resets the current map or the map with the path <path>
Resetting maps is necessary if you for example changed a map and want to load the changes from disk to the running server. Or if you messed it up somehow and want to reset it.
For example to reset the current map your DM character is on
Or to reset the inn in scorn use:
- For example to reset the current map your DM character is on use:
- create <number> <archetype name> - create an object from an archetype
- create 100 platinacoin
- create 1 dog hp 1000 name "strong dog"
Regular objects will be put into your inventory and monsters are put on the ground where your DM character is.
- addexp <player name> <amount of XP points> [<skill name>] - adds experience to your overall experience or to the experience of a skill
- addexp elmex 1000000 - boosts the overall experience of the character 'elmex' to level 15
- addexp elmex 1000000 punching - boosts the 'punching' skill experience of the character 'elmex' to level 15
... navigate the file system?
The virtual machine is a regular (a bit stripped down, for smaller size) Debian GNU/Linux distribution. If you are not familiar with using terminals and shells to browse the file system here are some hints that might help: Moving around the filesystem (from the GNU Linux Tools Summary of the Linux documentation Project).
If you don't have the energy to look into that or still feel more comfortable with a graphical file manager
we recommend XFE. You can install it by issuing the following commands in a terminal window (an internet
conenction is required, as this will download the required packages from there):
- apt-get update
- apt-get -y install xfe
And then you can start the XFE by typing xfe in a terminal window or use the appliaction menu on the "Other ..." to start it (you will find it in the menu Applications => File mangagement).
... find other interesting application packages?
Here is a list of other probably interesting applications you might want to install:
NOTE: Remember to run apt-get update before using apt-get install!
- apt-get -y install synaptic - graphical Debian package browser (if you don't like apt-get)
- apt-get -y install gimp - The GNU Image manipulation Program - if you want to edit or create images
... stay up to date to Deliantra development?
As time passes there are going to be changes on the server, the maps and/or the archetypes of Deliantra. To update your VM to the latest state of our CVS, you just have to click on the "Update" button on the right. It will automatically update the server, the maps and the archetypes on the VM. This might take some time.
However, if you made local changes (for example on the maps or archetypes) you might get conflicts when updating. If you get those conflicts, you will have to sort them out yourself. (We recommend you to become more familiar with CVS, see CVS manuals).