[
SF Page |
Home |
Download |
Screenshots |
Architecture
]
Installation
Download
http://sourceforge.net/project/showfiles.php?group_id=53172
Versions
- Stand alone executable jar file: xmud.jar. It requires just the JDK 1.4 and Java3D 1.3 Beta 2.
- Source Code. Requires all packages listed below.
Required Packages
- JDK 1.4
Download: http://java.sun.com/j2se/1.4/
- Java3D 1.3 Beta 2
Download: http://java.sun.com/products/java-media/3D/index.html
- xj3d VRML Loader for Java3D. Note: In order to load gifs you need to modify the source for xj3d. I modified the file: org/web3d/vrml/nodes/loader/ContentLoader.java in the source tree. You can download the source of xj3d and replace the file ContentLoader.java with this one ContentLoader.java. Alternatively you can download the binary version of xj3d and replace the jar file xj3d-vrml.jar with this one xj3d-vrml.jar.
Download: http://www.web3d.org/TaskGroups/source/xj3d.html
- Never Winter Nights Model loader. In order to test the nwn models you need to download the nwn viewer from bioware. http://nwn.bioware.com/downloads/viewer.html. The demos use Deer.mdl and Fire_Elemental.mdl.
Download: http://nwn-j3d.sourceforge.net
- Mysql 3.23. Used to store state information. Note: If using corba in order to use mysql with pss you need to modify the pss package so that index creation syntax is compatible with mysql. I can provide the modified sources. If you do not wish to download mysql pss can be configured to use memory persistance.
Download: http://www.mysql.com/downloads/mysql-3.23.html
- Ant 1.4.1. Java make utility
Download: http://jakarta.apache.org/builds/jakarta-ant/release/v1.4.1/bin/
- ctags. If you want to navigate the code more easily.
Download: http://www.vim.org/util.html#ctags
Compiling
- Install required packages and add libraries to classpath
- Uncompress xmud.tgz
- Edit build.xml to match your directory structure
- Type java org.apache.tools.ant.Main in the directory containing build.xml
Running
- Place the file xmud_properties in the classpath. And add the following entries:
media_dir=your_media_directory
nwn_dir=your_nwn_viewer_directory
- Start the server
java xmud.server.Server
- Start the client
java xmud.server.Client 1
Optional
- Start the monster manager
java xmud.server.monsterManager
- Start another client
java xmud.server.Client 2