<?php
	include("header.php");
?>
		<div id="content">
		<h1>Utilities</h1>
<p>Utilities for working with Hardwar.</p>

<h2>RefMax</h2>

<p>RefMax was our tool used to create and edit all the 3D models and the
terrain for Hardwar. I've only just managed to compile a working version
of this, so I can't guarantee it's fully operational, but it seems ok.
Don't expect it to be easy to use either, it was stricly an internal
tool.</p>

<p>First of all, download <a href="/hardwar/refmax/refmax.zip">RefMax.zip</a>
and unzip the files to a directory somewhere.</p>

<p>Then open up refmax.ini, which looks like this:</p>

<pre>
palsupport=1
palette=hardwar.pal
materials=moths.mat
polylightmode=0
secondres=c:\hardwar\resource\hardwar.res
</pre>

<p>You need to change the last line so it points to the 'res' file from
your copy of Hardwar, so it can find the textures.</p>

<p>Now you should be able to run RefMax. Select Shape Editor, then click
Object on the right, and Load on the left. You should see a model I included
in the zip file, which you can open and view. The perspective view uses the
same controls as the Hardwar camera, and you'll probably have to zoom out
straight away.</p>

<p>For other models, you can extract any relevant SHP, WLD or MAT files
from the Hardwar 'res' file and open those in the same way.</p>

<p>I'll write up some further instructions if necessary, let me know if
you're stuck.</p>

		</div>


<?php
	include("footer.php");
?>
