View Single Post
  #19  
Unread 02-21-2005, 03:09 PM
Kosmos's Avatar
Kosmos Kosmos is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Lucan DLere
Posts: 581
Default

Quote:
Originally Posted by Laffs
Lol well when you get back maybe this below is of some help or maybe will give you a few more ideas..



Name="vhqperf" OnPress="r_performance=1"

Thats profile 1 ... So where is that profile located in the eq diretory?

Could you not find that and make your own profile there called 7 and put

o_max_farplane=999.999998 o_max_farplane=999.999998 r_fast_layer_min_distance=149.999998 r_fast_layer_min_distance=149.999998 Etc, etc in there?

As the data for profile 1,2,3 etc must be stored someplace ?

Failing that have you tried not using r_performance=7 r_performance=7
with the button ?

So after button is pressed to changes all the settings and then after you click accept it stores it as r_performance 7 in your ini file..


As that profile dont exist untill you have made up a custom profile of you own or at least acrording to my "recent.ini" that seems to be the case....

To me it reads like your trying to call up a profile that is not there and also setting the values of the profile at the same time..

Shoot if this was BBC basic (lmao) a simple "proc" call would fix it hehe
All profiles are stored in the eq2.recent.ini file. Open it with a text editor and you can read the information.
r_performance is the variable name for the drop down box under the options and Performance Profiles.
r_performance 0 is for the extreme performance
r_performance 1 is for very high quality etc...
r_performance 6 is Extreme Quality
r_performance 7 is 'custom'

If you change anything at all the game saves it as a r_performance 7.
These are the pre-defined profiles that are hardcoded.
Basically what i'm doing is manipulating the variables that are maped to the sliders, check boxes, and dropdown boxes in the display properites.
The game already checkes these values on a continual bases, so by changing those, I change the display properties.
it's a round about way of doing it, but it works rather well.
the "r" are for 'render' I believe.
if you wll check the links, you will see the table I created for each of these commands and the variables.
The table can be viewed here.
http://www.geocities.com/ziggy_bock_...yCommands.html


Here is a side by side comparison of the values that the game places in the eq2.recent.ini file.
http://www.geocities.com/ziggy_bock_...SideBySide.htm

And the game saves all these settings in the eq2.recent.ini file if they are game set, or user set.
So there is no 'custom' file created at all by the game, in fact the eq2.recent.ini IS the custom file. The 'pre-define' profiles are hard coded settings in the game.

I would also not there there are a few logical flaws in the way the 'pre-define' profiles work when switching from one to the other.
For example if you adjust a settings manually and then use one of the pre-define profiles it may or may not reset the value depending on the particular value. The is mostly due to the fact that there is no check in place before it makes the changes, and if it 'thinks' a value is set to something, it won't reset it. Many of the blank spots in my table are due to this fact. Those settings are written after changing a profile and then clicking accept and then checking the updated file.
Some of them are blank, due to the fact that the game will only save a value in the eq2.recent.ini file that is not at it's defualt state.
For example. r_heatshimmer is by default always off. So there is no listing in the eq2.recent.ini file of this value untill it's changed to 'true'.
It doesn't appear in the file untill after you get past the balanced settings.
This apprears to be why the pre-defined profiles don't always work exactely the same way.
Have you ever noticed how if you have some things tweaked, it list you in a custom mode, but then you load a pre-defined profile like extreme quality, or extreme performance, and it doesn't always change ALL the values.
sometimes flora is ON when I'm in balanced and sometimes it's not.
if you turn flora off manually, the pre-defined profiles won't turn it back on sometimes.
Ok I hope all that makes sense.
Reply With Quote