Skip to content

Instantly share code, notes, and snippets.

@igromanru
Last active August 29, 2015 14:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save igromanru/912a7be854e3889f4d63 to your computer and use it in GitHub Desktop.
Save igromanru/912a7be854e3889f4d63 to your computer and use it in GitHub Desktop.
PlanetSide 2 32bit Launcher. It make sure that the 32bit exe get launched.
#cs ----------------------------------------------------------------------------
AutoIt Version: 3.3.10.2
Author: Igromanru
Script Function:
Launching the 32bit version of PS2
#ce ----------------------------------------------------------------------------
#include <MsgBoxConstants.au3>
#include <FileConstants.au3>
Global Const $SCRIPT_NAME = "PS2 32bit Launcher by Igromanru"
Global Const $PLANET_EXE = @ScriptDir&"\PlanetSide2.exe"
If WinExists("Planetside 2") = 0 Then
Run(@ScriptDir&"\LaunchPad.exe")
WinWaitActive("Planetside 2")
EndIf
If MsgBox(BitOR($MB_YESNO,$MB_ICONQUESTION), $SCRIPT_NAME,"Is the update complete?"&@CRLF&'If not, wait until you can press "Play", than click on "Yes"') = $IDYES Then
FileCopy($PLANET_EXE, $PLANET_EXE&".bak")
FileCopy(@ScriptDir&"\PlanetSide2_x86.exe", $PLANET_EXE, $FC_OVERWRITE )
MsgBox($MB_ICONINFORMATION, $SCRIPT_NAME, "The game will launch in 32bit mode now!"&@CRLF&"Have fun :)")
EndIf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment