Change graphics resolution with a macro
Hello,
Since I play WOW with a MacMini M2 Pro, this PC sometimes reaches its performance limits. That's why I would like to change the resolution from 3840x2160 to 2560x1440 using a macro. Can someone tell me what the macro should look like? |
I haven't tested it, but this is what it in theory should look like.
Code:
/run local v,m,f=C_VideoOptions,GetCVar("gxMonitor"),GetCVar("gxFullscreen")~="0";local t=v.GetGameWindowSizes(m,f);if #t>1 then v.SetSetGameWindowSize(t[t[2]:IsEqualTo(v.GetCurrentGameWindowSize(m,f)) and 1 or 2]:GetXY());end |
If I insert this into a Marko, nothing happens. Or do I have to write the resolution in there somewhere?
|
It "should" work on the retail client. Classic appears to use a different name for the fullscreen CVar. Replace "gxFullscreen" with "gxMaximize".
The function that actually sets the resolution is C_VideoOptions.SetSetGameWindowSize(). The rest of the code tries to read what the list of supported resolutions is and alternates between the top two. |
2 Attachment(s)
Nein, nichts ist wirklich passiert. Whether I enter gxFullscreen or gxMaximize doesn't matter. It doesn't switch from 4K to WQHD. I always stick to 4K resolution. Ist es wichtig, dass das Spiel für mich Deutsch ist? Actually not, right? Does it work for you?
Or have I entered something wrong? |
Unfortunately, I can't test it. Multi-monitor setups don't handle spontaneous resolution changes well.
|
Have you tried using the macro on the retail client, and does it make a difference if the game is set to German, or could there be an error in the macro itself?
|
I tried retail but unfortunately without success. I think it doesn't matter whether the game is in German or English. I also enter macros in German in English.
Is there another macro that changes the setting? |
You could change every graphics settings variable separately. I used to do this to switch between different shadow settings via hotkey:
Code:
VER 3 000000000000003D "ShadLow" "INV_MISC_QUESTIONMARK" |
Have you considered changing individual graphics settings variables separately instead of using a single macro to address your resolution change issue in World of Warcraft?
|
I don't have exactly what I wanted, but I was able to create a macro using the Config.wtf file. I can't change the resolution itself, but I can change the render setting. I now use /console RenderScale 0.96 once and /console RenderScale 0.66 once. This means I change the resolution at least indirectly. What is nasty, however, is that with a /console command it is not visible in the settings. It is set but unfortunately you can't see it in the settings.
|
All times are GMT -6. The time now is 02:22 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI