Hey all, today I bring you a little trick which you can use to automatically log in to FFXIV rather than run the game, type your password, click 'play', click through a maintenance notification (if any) and then finally get in-game. This process becomes even more annoying if you play with a controller, perhaps out of distance of your mouse and keyboard (playing on a TV, for instance). Sure it's a small thing, but why suffer the inconvenience when the tools to automatically enter your password and log in to the game are already on your PC?
For those of you who aren't aware, built in to Windows is a simple programming language called vbscript. It's analogous to the html, css, and javascript that are generating this webpage you're reading on, only rather than operate on the web, vbscript runs right inside Windows on your PC. And as it turns out, not only is it capable of launching FFXIV for you, it's pretty simple too. Here's how.
1) Create a new text file anywhere on your computer and name it something like: "FFXIV Auto-login.vbs". The suffix is the kicker. Whatever name you choose, it must end in .vbs. You'll know if the name is set correctly if the file icon is a blue or yellow scroll (depending on your version of Windows). If it's not, make sure the file didn't end up as "FFXIV Auto-login.vbs.txt" or something.
2) Copy this code into your new .vbs file:
Highlighted in blue are the two things you will most likely want to change about this script. The first is the path to your ffxivboot.exe - you can get this easily by locating ffxivboot.exe in your file browser, holding SHIFT, right-clicking on the .exe, and choosing "Copy as Path". Then just paste the path, quotes included, into the code above. Next is your password, which you obviously simply replace with your Square Enix account password.
3) Save the file (duh)
4) Instead of launching the game from its normal shortcut, make a shortcut to your .vbs file and run that like you would run any program. Congratulations, FFXIV will now log in and start up all by itself!
A few notes:
-Do not input anything on your keyboard/mouse once you have launched the script or you could interrupt the login process.
-This script accounts for the maintenance messages that sometimes pop up after logging in, and will click through those for you, too. Hooray!
-The red numbers above presume upon the speed of your PC and your internet connection, to some degree. The values are in milliseconds, and pause the script while the FFXIV launcher does its thing opening, logging in, and connecting to the FFXIV servers. If you happen to have slow internet and/or a slow PC, you may want to increase these values to account for the extra time it will take between each step in the login process.
-You can create a shortcut to the .vbs file in Steam, set the icon to ffxivboot.exe, and set this image as the banner (use 'grid view' to set banners) for a Big Picture Mode full controller experience.
-Obviously this will not work with Square Enix's one-time password system, so you'll have to forego the extra security to use this script.
And there you have it! Hope you enjoy
For those of you who aren't aware, built in to Windows is a simple programming language called vbscript. It's analogous to the html, css, and javascript that are generating this webpage you're reading on, only rather than operate on the web, vbscript runs right inside Windows on your PC. And as it turns out, not only is it capable of launching FFXIV for you, it's pretty simple too. Here's how.
1) Create a new text file anywhere on your computer and name it something like: "FFXIV Auto-login.vbs". The suffix is the kicker. Whatever name you choose, it must end in .vbs. You'll know if the name is set correctly if the file icon is a blue or yellow scroll (depending on your version of Windows). If it's not, make sure the file didn't end up as "FFXIV Auto-login.vbs.txt" or something.
2) Copy this code into your new .vbs file:
Code:
Dim objShell
Set objShell = WScript.CreateObject( "WScript.Shell" )
objShell.Exec("[COLOR=#00ffff]C:\Program Files (x86)\SquareEnix\FINAL FANTASY XIV - A Realm Reborn\boot\ffxivboot.exe[/COLOR]")
WScript.Sleep [COLOR=#ff0000]8000[/COLOR]
objShell.SendKeys "[COLOR=#00ffff]PASSWORD[/COLOR]"
WScript.Sleep 100
objShell.SendKeys "{ENTER}"
WScript.Sleep [COLOR=#ff0000]4000[/COLOR]
objShell.SendKeys "{ENTER}"
WScript.Sleep [COLOR=#ff0000]3000[/COLOR]
objShell.SendKeys "{TAB}"
WScript.Sleep 100
objShell.SendKeys "{ENTER}"
Set objShell = Nothing
Highlighted in blue are the two things you will most likely want to change about this script. The first is the path to your ffxivboot.exe - you can get this easily by locating ffxivboot.exe in your file browser, holding SHIFT, right-clicking on the .exe, and choosing "Copy as Path". Then just paste the path, quotes included, into the code above. Next is your password, which you obviously simply replace with your Square Enix account password.
3) Save the file (duh)
4) Instead of launching the game from its normal shortcut, make a shortcut to your .vbs file and run that like you would run any program. Congratulations, FFXIV will now log in and start up all by itself!
A few notes:
-Do not input anything on your keyboard/mouse once you have launched the script or you could interrupt the login process.
-This script accounts for the maintenance messages that sometimes pop up after logging in, and will click through those for you, too. Hooray!
-The red numbers above presume upon the speed of your PC and your internet connection, to some degree. The values are in milliseconds, and pause the script while the FFXIV launcher does its thing opening, logging in, and connecting to the FFXIV servers. If you happen to have slow internet and/or a slow PC, you may want to increase these values to account for the extra time it will take between each step in the login process.
-You can create a shortcut to the .vbs file in Steam, set the icon to ffxivboot.exe, and set this image as the banner (use 'grid view' to set banners) for a Big Picture Mode full controller experience.
-Obviously this will not work with Square Enix's one-time password system, so you'll have to forego the extra security to use this script.
And there you have it! Hope you enjoy
Last edited: