Planetside Software Forums

Support => Terragen Support => Topic started by: schroedera on November 10, 2008, 07:05:10 PM

Title: Unrecognized Class Error
Post by: schroedera on November 10, 2008, 07:05:10 PM
Hi Everyone,

I updated to the Beta release yesterday and recieved the attached error.  I hoped that I wasn't alone and that someone else would have posted about it by today, but looks like I'm the only one so far.  Installed it a couple times, same problem.  Running on Win XP64.

What might the problem be?

Best Regards,

Andrew
Title: Re: Unrecognized Class Error
Post by: jo on November 10, 2008, 07:29:19 PM
Hi Andrew,

So you have TG2 related environment variable set anywhere? One of the alpha testers had a similar problem and had to update the environment variable to point to the place you have TG2 installed. I think the install location is different for the beta on Windows.

Regards,

Jo
Title: Re: Unrecognized Class Error
Post by: schroedera on November 10, 2008, 11:32:10 PM
Hi Jo,

I don't think I do - At least, I don't recall making any registry-level changes.  Can you be more specific regarding the value to be modified?  At least that way I can have a good look.  A cursory check, searching on the word "terrgen", shows all paths pointing to the correct beta directory.

Thanks,
Andrew
Title: Re: Unrecognized Class Error
Post by: Matt on November 11, 2008, 12:14:26 AM
Please open a command prompt and type the following:

  set TERRAGEN_PATH

You will either see this:

  Environment variable TERRAGEN_PATH not defined

or something like this:

  TERRAGEN_PATH="C:\Program Files\Terragen 2 Technology Preview (Deep)"

It is OK for the variable to not be defined for normal use. But if it is set and it's set to the wrong directory, you need to correct that. See the file win_command_line.txt in the docs folder where Terragen is installed for some more information. It may have been set in System properties, or in some other script running on your system.

Matt
Title: Re: Unrecognized Class Error
Post by: schroedera on November 11, 2008, 01:40:24 AM
Bingo - thanks Matt.  That, followed by a reboot, fixed the issue.