Edit: thanks @IAMOBSCENE, if anyone ever has similar issues in the future it's because the second EU4 install was running eu4.exe as admin, which apparently made the script program not work unless also run as admin

I don't know how to program stuff, I stole this script from The Internet because I hate being restricted to mouse/arrow key camera movement in strategy games, so I use this to force EU4 to use WASD movement. It's supposed to run whenever eu4.exe is running, but for some reason it's not working. I had to install a second copy of EU4 so that I had a version that was compatible with the version of Anbennar I have, but it's still eu4.exe that's launching it. It just doesn't work for some reason. Any ideas? It still works properly with my other EU4 install...

the script is:

SendMode Input

GroupAdd WASD, ahk_exe eu4.exe

GroupAdd WASD, ahk_exe hoi4.exe

GroupAdd WASD, ahk_exe CK2game.exe

#IfWinActive ahk_group WASD

w::Send {Up DOWN}

w UP::Send {Up UP}

+w::Send w

a::Send {Left DOWN}

a UP::Send {Left UP}

+a::Send a

s::Send {Down DOWN}

s UP::Send {Down UP}

+s::Send s

d::Send {Right DOWN}

d UP::Send {Right UP}

+d::Send d

^Space::

Suspend Toggle

If %A_IsSuspended%

SoundPlay %WINDIR%\media\Windows Hardware Remove.wav

Else

SoundPlay %WINDIR%\media\Windows Hardware Insert.wav

Return

I guess it's not the end of the world if I can't get it to work but it's super annoying having to use the arrow keys or mouse...

  • IAMOBSCENE [none/use name]
    ·
    2 years ago

    Glad it worked, I feel like I've run into every issue one can have pirating software over the years. Not that issues are common, but I have never paid for any software that uses DRM unless I later cracked it or financed someone else to crack it.

    • InsideOutsideCatside [they/them]
      hexagon
      ·
      2 years ago

      yeah I don't pay for shit unless I really wanna support the devs or it's something that has multiplayer or other features that necessitate buying it

      I WOULD download a car