Staredit Network > Forums > Modding Assistance > Topic: How to change hotkeys on modded campaign
How to change hotkeys on modded campaign
Oct 17 2023, 12:36 pm
By: songbyong  

Oct 17 2023, 12:36 pm songbyong Post #1



Sorry guys, I'm pretty new here and have zero clue about modding, so I apologize if there were topics/tutorials about this. I just wanted to play Insurrection Remastered by Vorgozz but the main problem is he changed all hotkeys to grid which makes it totally unplayable :-( . His mod comes with .exe file. Can you plese help me if there's a way to revert hotkeys back? His mod runs on 1.16.1. Here's the link:

https://www.moddb.com/mods/starcraft-insurrection-remastered-mod/#8642361

Post has been edited 1 time(s), last time on Oct 17 2023, 12:47 pm by songbyong.



None.

Oct 17 2023, 10:36 pm Voyager7456 Post #2

Responsible for my own happiness? I can't even be responsible for my own breakfast

You can do this by editing the mod file, but it will require a little bit of modding knowledge.

The first thing you'll need to do is download and install PyMS here: https://github.com/poiuyqwert/PyMS#installation

Once you've done that, use PyMPQ to open the mod EXE and extract the file rez\stat_txt.tbl.

Use PyTBL to open stat_txt.tbl, hotkey strings look something like this:

Quote
q<4>Research Yamato Gun (<3>Q<1>)
(Battlecruiser ability)<0>

The first letter (in this case q) is the actual key pressed to trigger the button. <3> and <1> are colour-changing codes that indicate which parts of the string will be highlighted in yellow. So if you wanted to change the hotkey for this research to Y, your final string would look something like this:

Quote
y<4>Research Yamato Gun (<3>Y<1>)
(Battlecruiser ability)<0>

Make all the changes to stat_txt.tbl that you want, then save the file. Back in PyMPQ, delete rez\stat_txt.tbl from the mod, and then add your modified copy of stat_txt.tbl. When it prompts you for a folder name, use "rez\"

Close PYMPQ and then run the mod.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Oct 17 2023, 11:31 pm Vorgozz Post #3



I would love to add customizable hotkeys if I could, sadly that's something I would need SCR for which would forfeit other stuff I care about more. I changed the hotkeys to grid semi recently when I randomly thought about it and realized how infinitely better it would be, vanilla hotkeys are abysmal and the only reason people prefer them at all is because years of being used to them. I never used hotkeys because of how awful they are, so changing them to grid and finally being able to was a blessing. I intentionally picked what would be the most intuitive, straight forward, and comfortable layout I could think of (I didn't even know people already were aware and called this "grid" when I added it) and I don't think it's too much of a compromise to use it, even in the worst case scenario where someone finds it unusable, well, Insurrection Remastered has been balanced with me using no hotkeys so if you have to use the mouse for everything you're getting the true dev's experience :P

But if you *truly* can't take it and don't mind going into editing the exe yourself, what Voyager said is the one way you can change them. I would need to make more than one exe for that so I rather avoid that.

Post has been edited 1 time(s), last time on Oct 17 2023, 11:37 pm by Vorgozz.



None.

Oct 19 2023, 1:32 pm songbyong Post #4



@Voyager7456
Thanks for the reply Voyager, my horse headed friend :bleh: you really helped me so much! Now I really know how to open and edit files around.
I have one another question, maybe you can help me: I launch my SC 1.16.1 via Chaoslauncher, just because I can change my mouse speed. After playing Remastered with my own settings it's really hard to play old version without changing mouse speed. Is there a way to launch mod with Chaoslauncher? I even tried to extract mpq file out of .exe and replace with patch_rt.mpq but it messes up hero units colors and written text color. Or maybe you know other way/launcher that let's me change mouse speed and launch executable mod with SCBW.

@Vorgozz
Yeah, could've been so much life changer if old version supported customisable hotkeys. I understand your take but in other hand I disagree that hotkeys are that awful. Korean progamers are still using them and doing fine. There must be advantages to grid keys but it's like trying to relearn how to multiple and divide a number. Like I said I just couldn't play it because I always use hotkeys but if you are mouse user you wouldn't feel much difference.



None.

Oct 20 2023, 12:54 am Ultraviolet Post #5



Can't you just adjust your mouse speed through your operating system?




Oct 20 2023, 6:30 pm Voyager7456 Post #6

Responsible for my own happiness? I can't even be responsible for my own breakfast

I'm afraid I don't know anything about Chaos Launcher, but yeah you definitely do not want to just replace patch_rt.mpq. The mod executable itself is responsible for applying some changes (like plugins and applying the contents of .fgd files), it's unfortunately not as simple as just dumping all the contents into an MPQ.

Maybe someone else has some experiencing using FireGraft mods with Chaos Launcher and can comment.



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Oct 26 2023, 6:47 pm moataz Post #7



BWAPI Revamped allows you to "Import your SCR hotkeys to v16 with one click, elegantly", no other tool/launcher do that.



None.

Dec 2 2023, 10:18 pm ManCubuS Post #8

Oldschool Purist

OP, did you have any luck restoring original hotkeys? I also checked out this campaign a while ago and it looks dope but to my dismay it's impossible for me to enjoy, heck even play it with custom hotkeys.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:53 am]
Ultraviolet -- :lol:
[06:51 pm]
Vrael -- It is, and I could definitely use a company with a commitment to flexibility, quality, and customer satisfaction to provide effective solutions to dampness and humidity in my urban environment.
[06:50 pm]
NudeRaider -- Vrael
Vrael shouted: Idk, I was looking more for a dehumidifer company which maybe stands out as a beacon of relief amidst damp and unpredictable climates of bustling metropolises. Not sure Amazon qualifies
sounds like moisture control is often a pressing concern in your city
[06:50 pm]
Vrael -- Maybe here on the StarEdit Network I could look through the Forums for some Introductions to people who care about the Topics of Dehumidifiers and Carpet Cleaning?
[06:49 pm]
Vrael -- Perhaps even here I on the StarEdit Network I could look for some Introductions.
[06:48 pm]
Vrael -- On this Topic, I could definitely use some Introductions.
[06:48 pm]
Vrael -- Perhaps that utilizes cutting-edge technology and eco-friendly cleaning products?
[06:47 pm]
Vrael -- Do you know anyone with a deep understanding of the unique characteristics of your carpets, ensuring they receive the specialized care they deserve?
[06:45 pm]
NudeRaider -- Vrael
Vrael shouted: I've also recently becoming interested in Carpet Cleaning, but I'd like to find someone with a reputation for unparalleled quality and attention to detail.
beats me, but I'd make sure to pick the epitome of excellence and nothing less.
[06:41 pm]
Vrael -- It seems like I may need Introductions to multiple companies for the Topics that I care deeply about, even as early as Today, 6:03 am.
Please log in to shout.


Members Online: Oh_Man