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?



My Projects:

Impossible Ultraviolet | Impossible UV2 | Impossible UV3
Mercenaries 2020 | Mercenaries III
Squad Defense

Legacy Projects (No guarantee of functionality in modern SC):

Pixel Adventure 2 | Space Snipers | Control the Ball

______________________________________________

Join me in Torn City

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.
[2024-12-04. : 12:56 am]
da real donwano -- ClansAreForGays
ClansAreForGays shouted: http://www.staredit.net/topic/18772/
Is money an object?
[2024-12-02. : 11:44 pm]
Excalibur -- Done. Let me know what else you need.
[2024-12-02. : 4:55 pm]
NudeRaider -- * 4/7 or 6/9
[2024-12-02. : 4:53 pm]
dumbducky -- 3/7 of the front-page announcements are Happy Thanksgiving
[2024-12-01. : 4:03 pm]
Ultraviolet -- :lol:
[2024-12-01. : 7:18 am]
l)ark_ssj9kevin -- don't worry I had no creepy intentions. only labor exploitative intentions. I'm gonna scout the next big content creators from there
[2024-12-01. : 3:23 am]
Ultraviolet -- l)ark_ssj9kevin
l)ark_ssj9kevin shouted: Holy shit. This is like a goldmine of children-made content o_o
this sounds dirty and dark
[2024-11-30. : 5:35 pm]
RIVE -- l)ark_ssj9kevin
l)ark_ssj9kevin shouted: Holy shit. This is like a goldmine of children-made content o_o
Yes
[2024-11-30. : 12:38 pm]
Oh_Man -- that's legit
Please log in to shout.


Members Online: Oh_Man, RIVE