This is the repository for Yandols' Bachelor's Degree Final Year Project Game (2019).
Game created in Construct 2 and Launcher/Updater is created with AHK.
You can not select more than 25 topicsTopics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Msgbox, 16, %AppName%, Failed to start the game. Please make sure the game is up to date and you have DirectX 10 installed. `n`nIf you think your installation is corrupted, use the 'Redownload Game Data' option in settings.
MsgBox, 52, Redownload Game Data, This will redownload the latest version of the game from the server. Normally used if there is something wrong with your installation of the game. Proceed?
Msgbox, 16, Fatal Error, Updater failed to start because the component is missing.
ExitApp, 18
}
ExitApp
Return
BtnDirectX:
Gui, +OwnDialogs
RunWait, win64\dxwebsetup.exe,, UseErrorLevel
If ErrorLevel
{
Msgbox, 16, Fatal Error, Setup failed to start because the component is missing.
ExitApp, 17
}
Return
BtnClearData:
Gui, +OwnDialogs
Msgbox, 52, Clear Presistent User Data, This will delete all of the game's persistent user data and cache that is stored in your AppData. The game files and any save data are left intact and must be removed manually.
IfMsgBox, Yes
{
Gui, Hide
; -- Disabled because not currently working for some reason --
;FileDelete, %A_AppData%\ResistanceSaga\*.*
;FileDelete, %A_AppData%\ResistanceSagaFYP\*.*
;FileRemoveDir, %A_AppData%\ResistanceSaga, 1
;FileRemoveDir, %A_AppData%\ResistanceSagaFYP, 1
Msgbox, 16, Clear Persistent User Data, Operation failed. Something went wrong, the launcher was unable to clear any of the persistent user data. `n`nTo manually clear the user data, go to your Local AppData folder and delete the 'ResistanceSaga' and 'ResistanceSagaFYP' folders.
;Msgbox, 64, Clear Persistent User Data, User Data and Cache successfully deleted.