Browse Source

Remove launcher require always online "DRM".

* AKA allow the game to launch regardless if the launcher is able to connect to patch server or not.
* Also fixes a few flags with the launcher.
origin 2020r1
YandolsZX 1 year ago
parent
commit
10c733e66d
  1. BIN
      Launcher/rs-Launcher.exe
  2. 15
      Launcher/rs-launcher.ahk
  3. BIN
      Launcher/rs-launcher.ahk.ini

BIN
Launcher/rs-Launcher.exe

Binary file not shown.

15
Launcher/rs-launcher.ahk

@ -1,17 +1,17 @@
; /* ------------------------------------------------------------ */
; Script Name : Resistance Saga FYP Launcher
; Version : 1.1.0.1006
; Version : 1.1.0.1008
; Author : Yandols Z'eon X
; Supported Platforms : 64-bit Windows platforms.
; /* ------------------------------------------------------------ */
#SingleInstance Force ; REMEMBER TO CHANGE TO IGNORE BEFORE COMPILING FOR RELEASE
#SingleInstance Ignore ; REMEMBER TO CHANGE TO IGNORE BEFORE COMPILING FOR RELEASE
#NoEnv
#NoTrayIcon
;#Warn ; DEBUG ONLY. REMEMBER TO REMOVE/COMMENT OUT THIS LINE BEFORE COMPILING FOR RELEASE
SendMode Input
SetWorkingDir %A_ScriptDir%
AppName=Resistance Saga Launcher
AppVer=1.1.0.1006
AppVer=1.1.0.1008
AppAuthor=YandolsZX
AppTitle=%AppName% (Version %AppVer%)
AppDataFolder=%A_AppData%\Locaria Technologies\RSF
@ -33,16 +33,11 @@ Gui, Show, w680 h350, %AppName%
SetTimer, CheckUpdates, 300
GuiControl, Disable, BtnStart
;GuiControl,, BtnStart, Checking for Updates...
;sleep 3000
;GuiControl,, BtnStart, &Start Game
;GuiControl, Enable, BtnStart
;GuiControl, Focus, BtnStart
Return
BtnStart:
Gui, Submit
RunWait, win64\rsaga.exe,, UseErrorLevel
RunWait, win64\rsaga.exe --disable-devtools,, UseErrorLevel
If ErrorLevel
{
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.
@ -144,6 +139,8 @@ UrlDownloadToFile, https://kin.yandols.xyz/rs-fyp.ini, %A_Temp%/csu-resistancesa
If ErrorLevel
{
SB_SetText(" Unable to connect to patch server.", 1)
GuiControl, Enable, BtnStart
GuiControl, Focus, BtnStart
return
}
;; Read Remote Config

BIN
Launcher/rs-launcher.ahk.ini

Binary file not shown.
Loading…
Cancel
Save