Skip to content

Commit e3f7a1d

Browse files
committed
10.0
1 parent cd6752e commit e3f7a1d

File tree

20 files changed

+191
-1906
lines changed

20 files changed

+191
-1906
lines changed

archive/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Builds Archive
2+
3+
Builds are stored on a Cloudflare R2 instance at `https://builds.rebootfn.org/versions.json`.
4+
If you want to move them to another AWS-compatible object storage, run:
5+
```
6+
move.ps1
7+
```
8+
and provide the required parameters.

archive/move.ps1

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
param(
2+
[Parameter(Mandatory=$true)]
3+
[string]$UrlListPath, # Path to a text file with one URL per line
4+
5+
[Parameter(Mandatory=$true)]
6+
[string]$BucketName, # Name of the R2 bucket
7+
8+
[Parameter(Mandatory=$true)]
9+
[string]$AccessKey, # Your R2 access key
10+
11+
[Parameter(Mandatory=$true)]
12+
[string]$SecretKey, # Your R2 secret key
13+
14+
[Parameter(Mandatory=$true)]
15+
[string]$EndPointURL, # Your R2 endpoint URL, e.g. https://<account_id>.r2.cloudflarestorage.com
16+
17+
[Parameter(Mandatory=$false)]
18+
[int]$MaxConcurrentConnections = 16, # Number of concurrent connections for each file download
19+
20+
[Parameter(Mandatory=$false)]
21+
[int]$SplitCount = 16, # Number of segments to split the download into
22+
23+
[Parameter(Mandatory=$false)]
24+
[string]$AwsRegion = "auto" # Region; often "auto" works for R2, but can be set if needed
25+
)
26+
27+
# Set AWS environment variables for this session
28+
$Env:AWS_ACCESS_KEY_ID = $AccessKey
29+
$Env:AWS_SECRET_ACCESS_KEY = $SecretKey
30+
$Env:AWS_REGION = $AwsRegion # If required, or leave as "auto"
31+
32+
# Read all URLs from file
33+
$Urls = Get-Content $UrlListPath | Where-Object { $_ -and $_. Trim() -ne "" }
34+
35+
# Ensure aria2 is available
36+
if (-not (Get-Command aria2c -ErrorAction SilentlyContinue)) {
37+
Write-Error "aria2c not found in PATH. Please install aria2."
38+
exit 1
39+
}
40+
41+
# Ensure aws CLI is available
42+
if (-not (Get-Command aws -ErrorAction SilentlyContinue)) {
43+
Write-Error "aws CLI not found in PATH. Please install AWS CLI."
44+
exit 1
45+
}
46+
47+
function Process-Url {
48+
param(
49+
[string]$Url,
50+
[string]$BucketName,
51+
[string]$EndPointURL,
52+
[int]$MaxConcurrentConnections,
53+
[int]$SplitCount
54+
)
55+
56+
# Extract the filename from the URL
57+
$FileName = Split-Path -Leaf $Url
58+
59+
try {
60+
Write-Host "Downloading: $Url"
61+
62+
# Use aria2c to download with multiple connections
63+
& aria2c `
64+
--max-connection-per-server=$MaxConcurrentConnections `
65+
--split=$SplitCount `
66+
--out=$FileName `
67+
--check-certificate=false `
68+
--header="Cookie: _c_t_c=1" `
69+
$Url
70+
71+
if (!(Test-Path $FileName)) {
72+
Write-Host "Failed to download $Url"
73+
return
74+
}
75+
76+
Write-Host "Uploading $FileName to R2 bucket: $BucketName"
77+
& aws s3 cp $FileName "s3://$BucketName/$FileName" --endpoint-url $EndPointURL
78+
if ($LASTEXITCODE -ne 0) {
79+
Write-Host "Failed to upload $FileName to R2"
80+
return
81+
}
82+
83+
Write-Host "Upload successful. Deleting local file: $FileName"
84+
Remove-Item $FileName -Force
85+
86+
Write-Host "Completed processing of $FileName."
87+
88+
} catch {
89+
Write-Host "Error processing $Url"
90+
Write-Host $_
91+
}
92+
}
93+
94+
# Process each URL sequentially here. If you'd like to run multiple URLs in parallel,
95+
# you could replace the foreach loop with a ForEach-Object -Parallel block.
96+
foreach ($Url in $Urls) {
97+
Process-Url -Url $Url -BucketName $BucketName -EndPointURL $EndPointURL -MaxConcurrentConnections $MaxConcurrentConnections -SplitCount $SplitCount
98+
}

archive/versions.txt

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
https://builds.rebootfn.org/1.7.2.zip
2+
https://builds.rebootfn.org/1.8.rar
3+
https://builds.rebootfn.org/1.8.1.rar
4+
https://builds.rebootfn.org/1.8.2.rar
5+
https://builds.rebootfn.org/1.9.rar
6+
https://builds.rebootfn.org/1.9.1.rar
7+
https://builds.rebootfn.org/1.10.rar
8+
https://builds.rebootfn.org/1.11.zip
9+
https://builds.rebootfn.org/2.1.0.zip
10+
https://builds.rebootfn.org/2.2.0.rar
11+
https://builds.rebootfn.org/2.3.rar
12+
https://builds.rebootfn.org/2.4.0.zip
13+
https://builds.rebootfn.org/2.4.2.zip
14+
https://builds.rebootfn.org/2.5.0.rar
15+
https://builds.rebootfn.org/3.0.zip
16+
https://builds.rebootfn.org/3.1.rar
17+
https://builds.rebootfn.org/3.1.1.zip
18+
https://builds.rebootfn.org/3.2.zip
19+
https://builds.rebootfn.org/3.3.rar
20+
https://builds.rebootfn.org/3.5.rar
21+
https://builds.rebootfn.org/3.6.zip
22+
https://builds.rebootfn.org/4.0.zip
23+
https://builds.rebootfn.org/4.1.zip
24+
https://builds.rebootfn.org/4.2.zip
25+
https://builds.rebootfn.org/4.4.rar
26+
https://builds.rebootfn.org/4.5.rar
27+
https://builds.rebootfn.org/5.00.rar
28+
https://builds.rebootfn.org/5.0.1.rar
29+
https://builds.rebootfn.org/5.10.rar
30+
https://builds.rebootfn.org/5.21.rar
31+
https://builds.rebootfn.org/5.30.rar
32+
https://builds.rebootfn.org/5.40.rar
33+
https://builds.rebootfn.org/6.00.rar
34+
https://builds.rebootfn.org/6.01.rar
35+
https://builds.rebootfn.org/6.1.1.rar
36+
https://builds.rebootfn.org/6.02.rar
37+
https://builds.rebootfn.org/6.2.1.rar
38+
https://builds.rebootfn.org/6.10.rar
39+
https://builds.rebootfn.org/6.10.1.rar
40+
https://builds.rebootfn.org/6.10.2.rar
41+
https://builds.rebootfn.org/6.21.rar
42+
https://builds.rebootfn.org/6.22.rar
43+
https://builds.rebootfn.org/6.30.rar
44+
https://builds.rebootfn.org/6.31.rar
45+
https://builds.rebootfn.org/7.00.rar
46+
https://builds.rebootfn.org/7.10.rar
47+
https://builds.rebootfn.org/7.20.rar
48+
https://builds.rebootfn.org/7.30.zip
49+
https://builds.rebootfn.org/7.40.rar
50+
https://builds.rebootfn.org/8.00.zip
51+
https://builds.rebootfn.org/8.20.rar
52+
https://builds.rebootfn.org/8.30.rar
53+
https://builds.rebootfn.org/8.40.zip
54+
https://builds.rebootfn.org/8.50.zip
55+
https://builds.rebootfn.org/8.51.rar
56+
https://builds.rebootfn.org/9.00.zip
57+
https://builds.rebootfn.org/9.01.zip
58+
https://builds.rebootfn.org/9.10.rar
59+
https://builds.rebootfn.org/9.21.zip
60+
https://builds.rebootfn.org/9.30.zip
61+
https://builds.rebootfn.org/9.40.zip
62+
https://builds.rebootfn.org/9.41.rar
63+
https://builds.rebootfn.org/10.00.zip
64+
https://builds.rebootfn.org/10.10.zip
65+
https://builds.rebootfn.org/10.20.zip
66+
https://builds.rebootfn.org/10.31.zip
67+
https://builds.rebootfn.org/10.40.rar
68+
https://builds.rebootfn.org/11.00.zip
69+
https://builds.rebootfn.org/11.31.rar
70+
https://builds.rebootfn.org/12.00.rar
71+
https://builds.rebootfn.org/12.21.zip
72+
https://builds.rebootfn.org/12.50.zip
73+
https://builds.rebootfn.org/12.61.zip
74+
https://builds.rebootfn.org/13.00.rar
75+
https://builds.rebootfn.org/13.40.zip
76+
https://builds.rebootfn.org/14.00.rar
77+
https://builds.rebootfn.org/14.40.rar
78+
https://builds.rebootfn.org/14.60.rar
79+
https://builds.rebootfn.org/15.30.rar
80+
https://builds.rebootfn.org/16.40.rar
81+
https://builds.rebootfn.org/17.30.zip
82+
https://builds.rebootfn.org/17.50.zip
83+
https://builds.rebootfn.org/18.40.zip
84+
https://builds.rebootfn.org/19.10.rar
85+
https://builds.rebootfn.org/20.40.zip"

redirect/Core/Constants.h

Lines changed: 0 additions & 13 deletions
This file was deleted.

redirect/Core/Core.cpp

Lines changed: 0 additions & 11 deletions
This file was deleted.

redirect/Core/Core.h

Lines changed: 0 additions & 16 deletions
This file was deleted.

redirect/Core/Unreal/Array.h

Lines changed: 0 additions & 143 deletions
This file was deleted.

0 commit comments

Comments
 (0)