mirror of
https://github.com/djdevin/recflare-client.git
synced 2026-10-26 23:48:56 -07:00
Compare commits
2 Commits
0.0.1-2026
...
2026
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e06523ca9 | |||
| eca67a9e22 |
+5
-9
@@ -44,13 +44,10 @@ Type: filesandordirs; Name: "{app}"
|
|||||||
|
|
||||||
[Code]
|
[Code]
|
||||||
const
|
const
|
||||||
PatchVersion = 'v0.0.2';
|
PatchVersion = 'v0.0.3';
|
||||||
DepotManifest = '8867414017562658247';
|
DepotManifest = '8867414017562658247';
|
||||||
{ No 2026 community mirror yet: hides the source page and installs from Steam.
|
ClientMD5 = '96512e70cfa1c2d0da5745740cba1472';
|
||||||
Set to True (and update ClientMD5/ClientURL) once a mirror exists. }
|
ClientURL = 'https://s3.g.megas4.com/2koayuyiwxv4groxzwdbbxg43cwustavrkvfb/recflare/2026/client.zip';
|
||||||
MirrorAvailable = False;
|
|
||||||
ClientMD5 = '6820e89bff41906ded7f5c066027f1d6';
|
|
||||||
ClientURL = 'https://s3.g.megas4.com/2koayuyiwxv4groxzwdbbxg43cwustavrkvfb/recflare/2025/client.zip';
|
|
||||||
DepotDownloaderURL = 'https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_3.4.0/DepotDownloader-windows-x64.zip';
|
DepotDownloaderURL = 'https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_3.4.0/DepotDownloader-windows-x64.zip';
|
||||||
PatchURL = 'https://github.com/recflare/patch-2026/releases/download/' + PatchVersion + '/2026Patch-' + PatchVersion + '-x64.zip';
|
PatchURL = 'https://github.com/recflare/patch-2026/releases/download/' + PatchVersion + '/2026Patch-' + PatchVersion + '-x64.zip';
|
||||||
{ Points the client at the RecFlare server; to use your own instance, fork and
|
{ Points the client at the RecFlare server; to use your own instance, fork and
|
||||||
@@ -67,7 +64,7 @@ var
|
|||||||
|
|
||||||
function UsingSteam: Boolean;
|
function UsingSteam: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := not MirrorAvailable or SourcePage.Values[0];
|
Result := SourcePage.Values[0];
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function OnDownloadProgress(const Url, FileName: String; const Progress, ProgressMax: Int64): Boolean;
|
function OnDownloadProgress(const Url, FileName: String; const Progress, ProgressMax: Int64): Boolean;
|
||||||
@@ -100,8 +97,7 @@ end;
|
|||||||
|
|
||||||
function ShouldSkipPage(PageID: Integer): Boolean;
|
function ShouldSkipPage(PageID: Integer): Boolean;
|
||||||
begin
|
begin
|
||||||
Result := ((PageID = SourcePage.ID) and not MirrorAvailable) or
|
Result := (PageID = SteamPage.ID) and not UsingSteam;
|
||||||
((PageID = SteamPage.ID) and not UsingSteam);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function NextButtonClick(CurPageID: Integer): Boolean;
|
function NextButtonClick(CurPageID: Integer): Boolean;
|
||||||
|
|||||||
+5
-6
@@ -1,6 +1,6 @@
|
|||||||
@echo off
|
@echo off
|
||||||
setlocal
|
setlocal
|
||||||
set "PATCH_VERSION=v0.0.2"
|
set "PATCH_VERSION=v0.0.3"
|
||||||
|
|
||||||
rem ANSI colors (Windows 10+): get the ESC character, then define color codes
|
rem ANSI colors (Windows 10+): get the ESC character, then define color codes
|
||||||
for /F "delims=" %%a in ('forfiles /p "%~dp0." /m "%~nx0" /c "cmd /c echo 0x1B"') do set "ESC=%%a"
|
for /F "delims=" %%a in ('forfiles /p "%~dp0." /m "%~nx0" /c "cmd /c echo 0x1B"') do set "ESC=%%a"
|
||||||
@@ -9,9 +9,8 @@ set "GREEN=%ESC%[92m"
|
|||||||
set "RED=%ESC%[91m"
|
set "RED=%ESC%[91m"
|
||||||
set "RESET=%ESC%[0m"
|
set "RESET=%ESC%[0m"
|
||||||
|
|
||||||
rem Non-Steam (mirror) option disabled until a 2026 mirror is available
|
choice /C YN /M "Do you have Rec Room in your Steam library? "
|
||||||
rem choice /C YN /M "Do you have Rec Room in your Steam library? "
|
if errorlevel 2 goto :bucket
|
||||||
rem if errorlevel 2 goto :bucket
|
|
||||||
|
|
||||||
:steam
|
:steam
|
||||||
set "STEAM_USERNAME="
|
set "STEAM_USERNAME="
|
||||||
@@ -32,7 +31,7 @@ DepotDownloader\DepotDownloader.exe -remember-password -app 471710 -depot 471711
|
|||||||
goto :patch
|
goto :patch
|
||||||
|
|
||||||
:bucket
|
:bucket
|
||||||
set "CLIENT_MD5=6820e89bff41906ded7f5c066027f1d6"
|
set "CLIENT_MD5=96512e70cfa1c2d0da5745740cba1472"
|
||||||
if not exist client.zip goto :download
|
if not exist client.zip goto :download
|
||||||
echo %CYAN%=== Checking existing client.zip ===%RESET%
|
echo %CYAN%=== Checking existing client.zip ===%RESET%
|
||||||
set "LOCAL_MD5="
|
set "LOCAL_MD5="
|
||||||
@@ -45,7 +44,7 @@ echo %RED%client.zip does not match expected hash - redownloading.%RESET%
|
|||||||
|
|
||||||
:download
|
:download
|
||||||
echo %CYAN%=== Downloading game client from mirror ===%RESET%
|
echo %CYAN%=== Downloading game client from mirror ===%RESET%
|
||||||
curl -f -L -o client.zip https://s3.g.megas4.com/2koayuyiwxv4groxzwdbbxg43cwustavrkvfb/recflare/2025/client.zip || goto :error
|
curl -f -L -o client.zip https://s3.g.megas4.com/2koayuyiwxv4groxzwdbbxg43cwustavrkvfb/recflare/2026/client.zip || goto :error
|
||||||
|
|
||||||
:extract
|
:extract
|
||||||
echo %CYAN%=== Extracting game client ===%RESET%
|
echo %CYAN%=== Extracting game client ===%RESET%
|
||||||
|
|||||||
Reference in New Issue
Block a user