What I need help in doing is creating a .reg file on my desktop that I can double click on and will modify my registry key's hexadecimal value.
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video\reswidth
and
HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video\resheight
are the ones I want to modify.
The hexadecimal value of a 1920 width resolution is "720" and I want a .reg file on the desktop that will change that value to 1280 width resolution aka a hexadecimal value of "500". In the same file I would want the resheight key to be changed from 1200p resolution to 720p resolution.
Then I can make another .reg file to switch back to 1920x1200 but if you have an idea I am open to suggestion.
Do you know how I can do this?
-
-
ViciousXUSMC Master Viking NBR Reviewer
just shortcut to rededit and change it each time?
or export a reg backup of each version?
If I was you I would just have 2 game .exe shortcuts and add the -reswidth and -resheight command line parameters to it, then the game exe itself will set the value. -
-
you want to be very very careful playing around with .reg files to do something as mundane as switching vid card resolutions.
Have you looked at the driver for your vid card, then enthusiast boards for that vid card (not here), the enthusiast boards for your game, anyplace to see if there is a 'safer' utility that will let you manipulate things.
Writing to the registry is not error checked, even after 10 years. The OS 'assumes' you know what you are doing and that there are no errors.
If you make a mistake, if your system has a hiccup in the middle, you can easily end up with a machine that could be bootable into safe mode only or worse, not bootable at all. -
ScuderiaConchiglia NBR Vaio Team Curmudgeon
Gary -
Gary's answer is the ticket.
-
List of Command-Line Switches - WoWWiki - Your guide to the World of Warcraft
So it'd look like
Code:wow.exe -1920x1200
Code:wow.exe -1280x720
-
On another forum someone gave me and example of how to do this:
-open notepad, type this:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video]
"reswidth"=dword:00000000
"resheight"=dword:00000000
then save the file as xxx.reg
the dword is the hexadecimal value you want to change.
I've made two .reg files for 1200p and 720p and they work perfectly as intended. Now I just want to know how to prevent the warning message from popping up every time I double click the file. -
That won't work. Just do it like I said and you won't have any messages, and it'll just work.
Seriously... editing the registry is just a bad idea, doubly so when the game itself gives you the ability to start it with the options you want. -
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video]
"reswidth"=dword:00000780
"resheight"=dword:000004b0
then I created a .bat file like this:
@echo off
regedit.exe /s "C:\Users\Owner\Desktop\1200p Games\Frozen Throne 1200p.reg"
START "" "frozen throne.exe"
I placed that .bat in the Warcraft 3 folder, made a shortcut to the .bat and named it "Frozen Throne 1200p" and voila', the resolution sets itself to 1920x1200 without me having to go into the options. I made another shortcut "Frozen Throne 720p" for when I am using the Projector at 120hz in Stereo 3d and it works as intended with no messages.
Want to create .reg file to switch game resolution
Discussion in 'Windows OS and Software' started by andros_forever, Jan 14, 2011.