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.
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
[2024-5-19. : 6:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
Please log in to shout.


Members Online: Roy, Excalibur