Q3Map2WPC - Windows Priority Control

For all topics related to using or installing radiant
Post Reply
User avatar
xandaxs
Posts: 959
Joined: Wed Aug 17, 2011 5:22 pm
Location: Oeiras, Portugal

Q3Map2WPC - Windows Priority Control

Post by xandaxs »

[quote=mindriot]I've been trying to find a way to get q3map2 to start with below normal priority in Windows while still using Q3Map2Build. I was tired of manually setting it in Task Manager every time I ran it to stop it from consuming my cores when I wanted to continue using other programs. Batch files didn't work and Shortcuts didn't work. So I made a simple python program to handle it. This will probably work with Q3Map2Toolz as well but I haven't tested it. Also will work without Q3Map2Build - just treat it like q3map2.exe and it will launch q3map2 with the specified priority.

1) Download Q3Map2WPC and extract it to the location of your choice.
[url="http://74.121.182.91/mindriot/mapping/tools/Q3Map2WPC/0_0_3/Q3Map2WPC-0.0.3.zip"]Q3Map2WPC-0.0.3.zip[/url]

2) There is a configuration file you will need to modify. It's 'config.xml' and it's in the main Q3Map2WPC directory. Open it with a text editor (notepad is fine). Save after making changes.

q3map2 - The full path and file of the q3map2 executable. You will need to change this to the path and file you use.
priority - Currently set to 'below_normal'. You will not need to change this, though be careful if you decide to set it higher than 'normal'. If omitted, it will default to 'normal'.

3) Open Q3Map2Build and click on 'Directory Options'.

4) Change the field "Q3Map2.exe location" to "yourpath/Q3Map2WPC.exe".

5) Click 'Save'.

6) Configure Q3Map2Build as you normally would and click 'Build'. q3map2 should now run without slowing down your computer.

7) If it fails to run due to a DLL error, you will need to install 'Microsoft Visual C++ 2008 Redistributable Package (x86)'.
https://www.microsoft.com/downloads/en/ ... laylang=en
If that version doesn't work, install the SP1 version.
https://www.microsoft.com/downloads/en/ ... laylang=en

Please let me know if you have any questions or suggestions.

Source code:
[url="http://74.121.182.91/mindriot/mapping/tools/Q3Map2WPC/0_0_3/Q3Map2WPC.py"]Q3Map2WPC.py[/url][/quote]
[12:25] <JohnnyEnglish> morning Nounou
[12:25] <JohnnyEnglish> wotcha doing?
[12:25] <Nounou> hello
[12:26] <Nounou> nothing much, i've nothing to do at work so
[12:26] <Nounou> modeling woman
[12:26] <JohnnyEnglish> woo
[12:26] <JohnnyEnglish> real women?
[12:26] <Nounou> realistic yes, on maya

Image

Post Reply