PowerVR Help for Jedi Knight
=-=-=-=-=-=-=-=-=-=-=-=-=-=-

patch created by Eddy Currents
eddy_currents@yahoo.com


Overall, the PCX2 is very good for JK; it will give you a very good framerate.
great looking textures, cool shadow and lighting effects, transparent water, 
perspective correction, and other wonderful 3D card stuff.  But you may
experience the following problems:

(1) characters and items become transparent in certain areas, whenever a
bacta tank is on the screen;
(2) when you shoot a projectile into transparent water, you get a dark
triangle at the point of impact;

To fix #1, you need to make your bacta tanks solid instead of transparent.
In this zip is a new "bact.3do" file that does this for you.  Extract it to
your Jedi Knight "resource\3do" directory.  If there is no "3do"
subdirectory in your "resource" directory, simply create one.  Now all of
your bacta tanks will be solid, and the problem is gone!  Note this isn't a
hack, just a slight change of skin for bacta tanks, and only for you.

Thanks to Ace Yarwood for pointing out the problem is the bacta tanks, and to 
Pele of the Code Alliance for getting me started, and to the Code Alliance at
www.darkjedi.com for their detailed info on 3do files.


To fix #2, which I found really annoying and made it hard to track guys 
underwater, you need the PowerVR generic drivers to add the "Advanced" button to 
your PowerVR config.  I think Apocalypse users would have them already, Matrox 
m3D users need to download them -- for some reason Matrox makes you look for 
them.  These drivers are not officially supported for the m3D, but they work 
fine for me and I have not heard of any problems.  But as with every piece of 
advice you get from some nobody on the net, it's buyer beware.

Anyhow, there is a version patched for m3D. Instructions on how to install
and use these drivers are in the self-extracting zip.  Get it from
www.pvr-net.com/downloads/m3d411g.exe
or from:
web.ukonline.co.uk/fisher/mike/drivers/filez/m3d411g.exe

Then once you have gone through the setup procedure, right click on the desktop 
and select "Properties" to get your Display Properties.  Click on the "Matrox 
m3D" tab (or whatever it says for Apocalypse), then click the "Advanced" button 
at the bottom. Click "Add" to create an entry for Jedi Knight, call it "Jedi 
Knight", then Browse to your "JK.exe" file.  Click Ok, and you will get a "Hint 
settings" window.  To stop the triangles, ensure "Enable PowerVR HAL" is on, 
then set "Allow Quads" on.  My other settings are:
Render Overlap = on (I think this is important, see the Help file),
Dithering = on,
Automatic MIP Mapping = off (definitely),
Gouraud Specular = on,
Vertex Fog = off,
Table Fog = off,
Color Key = on,
Override Application Filtering = off,
Override Application Sorting = on, set to Full.

Confused? Read the help file that comes with the drivers, it explains what all 
these settings do.

I set the above to what the help file suggested, but in my tests none of them 
actually did anything, except for Allow Quads of course, and Automatic MIP 
Mapping which messed up the textures.  You can experiment, and if you come up 
with something good please let me know.  You can actually change these settings 
while JK is running, just hit alt-tab and make your changes, then click on the 
Jedi Knight box on the taskbar to return to the game.

NOTE: There are options for many other games that come with the drivers, and you 
can create your own (like we just did for JK).  So definitely get these drivers 
if you use your PowerVR for other games.  For example, apparently turning fog 
off speeds up Microsoft's flight sim tremendously (don't have it, so I don't 
know).

A final note:  In the JK Setup / Display make sure you set "3D Accelerator min 
texture size" to 32, like it says in the manual and in the LucasArts FAQ.  This 
makes a big difference to framerate.  I also get about a 10% framerate boost if 
I set "Backbuffer in System Memory" to On.  I have had no problems with that 
setting, if I make sure I set "Use Device Bitmaps Caching" to On in my Matrox 
Millennium (my 2D card) setup.  If I don't, JK will exit suddenly if I alt-tab 
one too many times (problem is switching resolutions I guess). To turn it on, 
bring up the Display Properties window again, click on the Settings tab, then 
click the PowerDesk button.  Oh, and turn the Millennium 3D acceleration off, it 
seems to cause crashes if the m3D is already accelerating.  


