Thursday, April 19, 2012

REQ-SC2 Hotkey modification tool.

http://www.gamereplays.org/community/in ... try7312160
Ok, so it seems that hotkeys can be changed via editing game.prefs.
Would some motivated unlazy person step up to win 10000 internets by writing a program that handles this graphically for you? I imagine it should be relatively straightforward for a C#, java, or python hacker to whip something up.
I guess my specification would be something like this:
- Locate game.prefs for you.
- If game.prefs doesnt have that block of code, insert it.
- If game.prefs DOES have that block of code (but in its disorganised format) then parse game.prefs and keep track of which line is which, so you can modify it safely.
(An easier but worse alternative is to allow the program to backup the unmodified game.prefs for use whenever you want to edit your keys.)
- Have 3 different views: graphical, key and action view.
Graphical shows a virtual keyboard with clickable Ctrl/Shift/Alt toggles. It uses colour coding to reveal which keys are already in use. Mouse over (or click) to show what action a key has been bound to. This view is good for revealing spare keys and key collisions.
Key view is a list of all keys, and the actions they are bound to, ordered by key.
Action view is a list of all actions, and the keys they are bound to, ordered by action.
Preferably you can bind hotkeys in any view, but it's also ok if you can only bind in 1.
--------------------------
So there you go, a chance to earn the adulation of thousands and your very own spot in SCom2 history. :)
Go forth brave men, and don't ask the forbidden question, "Why dont you write it yourself you lazy unmotivated barstard?!" :P

No comments:

Post a Comment