Vampire Survivors: AutoHotkey Script (Quick Run Restart)

An AutoHotkey script to quickly restart your run with the same character, area, arcana and settings, with the press of a single key.

 

Instructions

  1. Download and install AutoHotkey, if you haven’t already, available here[www.autohotkey.com].
  2. Create a new text file and name it anything you want, but with a .ahk extension.
  3. Copy/paste the script in the next section to this new file and save it.
  4. Right-click the file and select Run Script from the context menu.

The script is now running and ready to be executed.

While in the game, outside of any menu, press the Home key on your keyboard to quit the current game and start a new run with all the same settings, area, and character.

Important! Read also the Notes section below in case it answers any of your questions.

Script

#SingleInstance force
#NoEnv
#Warn

SendMode Event
SetKeyDelay 200, 100

#IfWinActive ahk_exe VampireSurvivors.exe

Home:: ;restart run
Send {Esc}{Left}{Space}{Left}{Space 2}
Sleep 1000
Send {Space 6}
Sleep 500
Send {Space}
return

 

Notes

  • Any changes you do to the script will require you to reload it by right-clicking the AutoHotkey icon in your Windows taskbar.
  • If you don’t like to use the Home key, you can replace it in Line 10 of the script with something else. Use this key naming guide[www.autohotkey.com] to help you with that.
  • Due to the way Vampire Survivors captures keyboard input, a small delay is necessary between keystrokes (this is also why we can’t use the Input send method with this game). The current input delay set in Line 6 of the script should work for everyone. But if you have problems, try to increase both numbers in increments of 50.
  • If you want the script to always stop on the Arcanas screen, delete Lines 14 and 15. You can keep those lines if you are not using Arcanas in your run, since the extra Spacebar input event on Line 15 will be ignored by the game.

Thanks to Marfig for his great guide, all credit to his effort. you can also read the original guide from Steam Community. enjoy the game.

Related Posts:

Post Author: Robins Chew

Leave a Reply

Your email address will not be published. Required fields are marked *