Download
(163Kb)
Download
Updated: 05-06-09 06:24 AM
Pictures
File Info
Updated:05-06-09 06:24 AM
Created:unknown
Downloads:8,337
Favorites:120
MD5:

gfxToggle 2  Popular! (More than 5000 hits)

Version: 2.3.0-beta2
by: Drooliog [More]

Features
What does this addon do?

Maybe you are a gamer with a computer, which is not an uber-high-end-wtfpwnz0riz0r-machine (perhaps you're gaming on a notebook?) and when you get your char into a crowded area your frames per second (FPS) drop instantly. (e.g. like Ironforge, Orgrimmar, Alterac Valley)

So what can you do about that? Hmm, changing the graphic settings in WoW would be a good choice but it soon gets a pain in the butt to change it over and over, so I had the idea to code an addon that toggles these settings automatically by just pressing one key or let it automatically switch settings depending on the zone you're entering. e.g. When I do PvE, I'd like to switch settings to high, when I'm at PvP or in town I'd toggle to low.

gfxToggle 2 has key bindings, slash commands and LDB support

This addon affects the following graphic-parameters (they all don't need a logout or restart of the game):

Effects:
- View Distance (Farclip)
- Environment Detail
- Texture Resolution
- Ground Clutter Density & Radius
- Particle Density
- Weather Intensity
- Shadow Quality
- Death Effect
- Full-Screen Glow Effect
- Projected Textures

Misc:
- Vertical Sync
- Triple Buffering
- Reduce Input Lag

Note: I've only added settings that don't need a restart of the game to take effect. I did this on purpose and I won't add any other features that'll need a restart, so please don't ask.

There are three ways the addon switches the parameters. Note: at the bindings menu you can assign a key to gfxToggle.

1) By pressing the Toggle-Key: If you didn't save customized settings it'll switch from lowest to highest by default.

2) By pressing the Toggle-Key: Once you've saved your customized settings for low and high it will use these instead. (will be saved permanently until you reset or set new ones)

3) Auto-Switch Mode: If you added a zone to the gfxToggle database, it will check for this specific zone and switch automatically to LOW when you're entering it. After you leaved that zone gfxToggle will switch back to HIGH.


Commands
At first bind a 'Toggle Low/High' and 'Auto-Switch'-Key to gfxToggle (you'll find it in WoW's bindings menu)

- '/gfxt about' - will show some extra information about this addon.

- '/gfxtoggle' or '/gfxt' - will show help and all available commands.

- '/gfxt mute' - will toggle all messages off/on.

- '/gfxt medium' - will turn on the new medium feature.

- '/gfxt delay' - set the delay for auto-toggle in seconds.

- '/gfxt restartgx' - Allows or disallows re-initializing the graphics driver (needed for VSync changes).
To switch VSync and Smooth Mouse the game has to restart the graphics. While it does the restart, it'll switch to the desktop for a duration of 1-2 seconds. By using this command you allow switching of Vsync and Smooth Mouse. It's deactivated by default.

- '/gfxt auto' - will toggle auto-switch mode. you can add zones to a database which will get automatically switched to low or medium settings (if activated) after you've entered them.

- '/gfxt toggle' - will manually toggle between low/(medium)/high (for using in macros).

- '/gfxt save low', '/gfxt save medium' and '/gfxt save high' - will save settings you've done in the graphics options.
Before you execute this command, go to the WoW graphics options and make your changes to the world appearance, the shaders and the misc settings. Click on the 'OK' button after you're done. After that type '/gfxt save low', '/'gfxt save medium' or '/gfxt high'
just depending on your settings. These stored settings will also be used for the auto-switch mode.

- '/gfxt addl' - will add a zone to the low database, eg. '/gfxt addl' saves the actual zone '/gfxt add Orgrimmar' is saving Orgrimmar to the low zones db.

- '/gfxt addm' - will add a zone to the medium database, eg. '/gfxt addl' saves the actual zone '/gfxt add Orgrimmar' is saving Orgrimmar to the medium zones db.

- '/gfxt del' - will delete a zone from the database. Same usage as for the 'add' command.

- '/gfxt del all' - clears your whole zone database. (can't be undone)

- '/gfxt list' - will list all zones you entered before

- '/gfxt reset' - will popup a dialog which'll ask you to confirm to clear settings and use defaults

Each time you switch the settings, gfxToggle will report it in an overhead text message (green = low, yellow = medium, red = high) except you mute gfxToggle 2 by '/gfxt mute'.

v2.3.0-beta2
- gradually increase farclip to avoid loading screen
- more code tidy-up; remove temporary table abusage

v2.3.0-beta1
- fix: ticket 1; error when /gfxt list - no translation for "Zones: Low"
- fix: potential exposure of 'self' global var
- remove M2Faster, also hidden lod and shadowLOD CVar's
- only RestartGx() if necessary, when special CVar's actually changes
- force RestartGx() when manually loading a set (but only if necessary)
- even if gxRestart disabled, still set the relevant CVar's
- general code tidy-up; remove needless object vars and functions
- rearrange saved vars structure (all sets will be lost)

v2.2
- split spellEffectLevel into particleDensity and projectedTextures
- re-normalise default settings for low, mid and high
Post A Reply Comment Options
Unread 08-31-11, 08:17 PM  
aggixx
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 3
Uploads: 2
Fixed up the code to account for 4.0+ changes, working version can be downloaded here.

Works either as a patch or stand-alone.
Report comment to moderator  
Reply With Quote
Unread 01-02-11, 04:34 PM  
theiven
A Defias Bandit

Forum posts: 3
File comments: 2
Uploads: 0
this add is a must have for me
but sadly it stopped working with catt
if any one knows of another add that does the same thing or something similar please let us know

and to the nice fellow that said

As far as I know, the only thing you need to do to make this work right is change a couple of occurrences of GetFarclip() (which has finally been removed) to GetCVar("farclip"). I patched my copy and I get no errors.

I'm afraid I don't know how to do this
please explain..... or better yet if you have a copy that's working ...hook us up
Report comment to moderator  
Reply With Quote
Unread 11-10-10, 08:50 AM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
Well, it's not quite working either way. So much functions removed, it need a serious overhaul.
Report comment to moderator  
Reply With Quote
Unread 11-07-10, 09:31 AM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
Originally posted by Karquile
As far as I know, the only thing you need to do to make this work right is change a couple of occurrences of GetFarclip() (which has finally been removed) to GetCVar("farclip"). I patched my copy and I get no errors.
Setfarclip as well?
Report comment to moderator  
Reply With Quote
Unread 11-06-10, 09:18 PM  
Karquile
A Deviate Faerie Dragon
 
Karquile's Avatar

Forum posts: 11
File comments: 1
Uploads: 0
Originally posted by Farook
Will we see an update for 4.0.1 ???

That would be so awesome...
As far as I know, the only thing you need to do to make this work right is change a couple of occurrences of GetFarclip() (which has finally been removed) to GetCVar("farclip"). I patched my copy and I get no errors.
Report comment to moderator  
Reply With Quote
Unread 10-13-10, 10:39 PM  
Farook
A Molten Giant
 
Farook's Avatar

Forum posts: 595
File comments: 113
Uploads: 0
Will we see an update for 4.0.1 ???

That would be so awesome...
__________________
Report comment to moderator  
Reply With Quote
Unread 09-22-09, 02:48 PM  
PilsnerDk
A Kobold Labourer

Forum posts: 0
File comments: 7
Uploads: 0
Just wanted to report that installing this mod broke my SorrenTimers mod. Very strange. SorrenTimers worked again as soon as I disabled gfxToggle.
Report comment to moderator  
Reply With Quote
Unread 05-07-09, 10:27 AM  
Drooliog
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 55
Uploads: 2
Originally posted by Spiderkeg
When I install this mod, the mod does not place a button near my minimap.

When I use "/gfxt m2faster" I get "is not a valid option" response.
Sorry about that, the addon description needs to be updated. M2Faster was recently removed as its functionality changed since first implementation. (It's no longer an on/off toggle but ranges from 0-3.)

Until there's a better UI to manipulate these hidden CVar's, I thought it best to remove them. Currently, the only settings we use are the ones in the Video options.

The mini-map button only exists if you have Broker2FuBar installed, but I do plan to add a separate option asap.
Report comment to moderator  
Reply With Quote
Unread 05-07-09, 09:44 AM  
Spiderkeg
A Deviate Faerie Dragon

Forum posts: 18
File comments: 285
Uploads: 0
Little confused here.

When I install this mod, the mod does not place a button near my minimap.

When I use "/gfxt m2faster" I get "is not a valid option" response.
Report comment to moderator  
Reply With Quote
Unread 05-07-09, 07:07 AM  
Gerudo Rivera
A Kobold Labourer
 
Gerudo Rivera's Avatar
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 40
Uploads: 1
Just wanted to say that the new loadingscreen avoidance functionality when switching profiles seems to work great. I can go from very low settings to Ultra in a matter of seconds without so much as a hiccup. Thanks for the great work on this lovely addon
Report comment to moderator  
Reply With Quote
Unread 05-06-09, 04:12 PM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
Originally posted by KnThrak
The last bit it needs to be perfect would be a way to save different settings for te normal and heroic versions of an instance.
Doubt it's necessary. I'm pretty ok' with low in any instance. Just need to pay a bit more attention on the ground. >.> stupidly died on Grobb today, standing in cloud for too long.
Report comment to moderator  
Reply With Quote
Unread 05-06-09, 09:18 AM  
Carighan
A Defias Bandit
 
Carighan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 96
Uploads: 1
The last bit it needs to be perfect would be a way to save different settings for te normal and heroic versions of an instance.
__________________
SQUEAK.
--(The Death of Rats, Terry Pratchett, Soul Music)
Report comment to moderator  
Reply With Quote
Unread 05-06-09, 05:53 AM  
Drooliog
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 55
Uploads: 2
The delay setting is just that... a delay - to do the auto switch after X seconds of entering a zone. I think the main reason for the setting (I didn't add it) was to prevent continual switching when traversing several zones in quick succession - say, when on a flightpath along a zone border.

Delay has nothing to do with how fast Farclip increases but I can see how it might be a good idea to make that configurable...

First though, I'll change the Farclip increment from 0.05 to 0.2s and put up another beta shortly.

One of the things I'd like to test is if changing other settings in a different order or introducing them gradually will make Farclip incrementals better.
Report comment to moderator  
Reply With Quote
Unread 05-05-09, 01:43 PM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
After some longer tests, if farclip being increased, say, every second, and you're moving in that timeframe (taxi or just riding fast enough), it still lags from a bit (in classic content) to alot (Outland and Northrend).
I have my autoswitch set to 15 sec, BTW. 5 sec kinda... not enough for me
Report comment to moderator  
Reply With Quote
Unread 05-01-09, 07:03 PM  
AnrDaemon
A Chromatic Dragonspawn
AddOn Author - Click to view AddOns

Forum posts: 156
File comments: 2231
Uploads: 5
Originally posted by Drooliog
Maybe even better to read the destination zone in advance and set it to whatever profile is used there.
Even if the destination is in "high", i'd (personally) like to set it to low first.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: