Skip to content

ReStreet: FIFA Street (2012) recompiled for Windows PC, with online play, a launcher with friends, chat and rooms. Bring your own game.

Migrate Windows installer workflow and project links to GitLab

SamuelitoDaVilae33dd406e0cc
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 0000000..dc31cd3
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,26 @@
+stages:
+ - validate
+ - build
+
+validate-source:
+ stage: validate
+ image: mcr.microsoft.com/powershell:7.4-ubuntu-22.04
+ script:
+ - pwsh -NoProfile -File ci/validate-source.ps1
+
+build-installer:
+ stage: build
+ tags:
+ - saas-windows-medium-amd64
+ timeout: 2h
+ rules:
+ - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
+ when: manual
+ allow_failure: true
+ script:
+ - pwsh -NoProfile -File ci/build-installer.ps1
+ artifacts:
+ name: FifaStreet-Setup
+ expire_in: 30 days
+ paths:
+ - dist/FifaStreet-Setup.exe.sha256
diff --git a/Installer/BuildSetup.ps1 b/Installer/BuildSetup.ps1
index 710030b..af035b5 100644
--- a/Installer/BuildSetup.ps1
+++ b/Installer/BuildSetup.ps1
@@ -1,5 +1,16 @@
-param([Parameter(Mandatory = $true)][string]$Output)
+param(
+ [Parameter(Mandatory = $true)][string]$Output,
+ [string]$LLVMRoot = 'C:\Program Files\LLVM',
+ [string]$CMakeRoot = 'C:\Program Files\CMake',
+ [string]$NinjaPath = (Get-Command ninja.exe -ErrorAction Stop).Source,
+ [string]$ClangResourceVersion
+)
$ErrorActionPreference = 'Stop'
+if (-not $ClangResourceVersion) {
+ $ClangResourceVersion = (Get-ChildItem -LiteralPath (Join-Path $LLVMRoot 'lib\clang') -Directory |
+ Sort-Object { [version]$_.Name } -Descending | Select-Object -First 1).Name
+}
+if (-not $ClangResourceVersion) { throw 'Clang resource directory was not found.' }
$root = $PSScriptRoot
$projectRoot = Split-Path $root -Parent
$stage = Join-Path $env:TEMP ('FifaStreetPackage_' + [guid]::NewGuid().ToString('N'))
@@ -17,7 +28,6 @@ New-Item -ItemType Directory -Path (Join-Path $stage 'tools') | Out-Null
Copy-Item -LiteralPath (Join-Path $root 'tools\extract-xiso.exe') -Destination (Join-Path $stage 'tools')
New-Item -ItemType Directory -Path (Join-Path $stage 'payload\Game') -Force | Out-Null
Copy-Item -LiteralPath (Join-Path $root 'payload\Game\fifastreet.toml') -Destination (Join-Path $stage 'payload\Game')
-Copy-Item -LiteralPath (Join-Path $projectRoot 'Jogo\cover') -Destination (Join-Path $projectRoot 'Launcher\FifaStreetLauncher\cover.jpg') -Force
dotnet publish (Join-Path $projectRoot 'Launcher\FifaStreetLauncher\FifaStreetLauncher.csproj') -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -o (Join-Path $stage 'payload')
if ($LASTEXITCODE -ne 0) { throw 'Falha ao publicar o launcher.' }
Get-ChildItem -LiteralPath (Join-Path $stage 'payload') -Filter '*.pdb' | Remove-Item
@@ -89,16 +99,16 @@ foreach ($name in @('rexruntime.lib','rexgpu-xenos.lib')) {
Copy-Item -LiteralPath (Join-Path $projectRoot 'ReXGlue\include\rex') -Destination (Join-Path $stage 'sdk\include') -Recurse -Force
Get-ChildItem -LiteralPath (Join-Path $stage 'sdk\bin') -Filter 'rexglue.before*' | Remove-Item
New-Item -ItemType Directory -Path (Join-Path $stage 'compiler\bin') -Force | Out-Null
-foreach ($name in @('clang.exe','clang++.exe','lld-link.exe','llvm-rc.exe','llvm-mt.exe')) { Copy-Item -LiteralPath "C:\Program Files\LLVM\bin\$name" -Destination (Join-Path $stage 'compiler\bin') }
+foreach ($name in @('clang.exe','clang++.exe','lld-link.exe','llvm-rc.exe','llvm-mt.exe')) { Copy-Item -LiteralPath (Join-Path $LLVMRoot "bin\$name") -Destination (Join-Path $stage 'compiler\bin') }
New-Item -ItemType Directory -Path (Join-Path $stage 'compiler\lib\clang') -Force | Out-Null
-Copy-Item -LiteralPath 'C:\Program Files\LLVM\lib\clang\23' -Destination (Join-Path $stage 'compiler\lib\clang') -Recurse
-foreach ($name in @('cmake.exe','cmcldeps.exe')) { Copy-Item -LiteralPath "C:\Program Files\CMake\bin\$name" -Destination (Join-Path $stage 'compiler\bin') }
-Copy-Item -LiteralPath 'C:\Program Files\CMake\share' -Destination (Join-Path $stage 'compiler\share') -Recurse
-Copy-Item -LiteralPath 'C:\Users\Samuel M\miniconda3\Library\bin\ninja.exe' -Destination (Join-Path $stage 'compiler\bin')
+Copy-Item -LiteralPath (Join-Path $LLVMRoot "lib\clang\$ClangResourceVersion") -Destination (Join-Path $stage 'compiler\lib\clang') -Recurse
+foreach ($name in @('cmake.exe','cmcldeps.exe')) { Copy-Item -LiteralPath (Join-Path $CMakeRoot "bin\$name") -Destination (Join-Path $stage 'compiler\bin') }
+Copy-Item -LiteralPath (Join-Path $CMakeRoot 'share') -Destination (Join-Path $stage 'compiler\share') -Recurse
+Copy-Item -LiteralPath $NinjaPath -Destination (Join-Path $stage 'compiler\bin')
New-Item -ItemType Directory -Path (Join-Path $stage 'licenses') -Force | Out-Null
Copy-Item -LiteralPath (Join-Path $root 'FifaStreetSetupTool\ThirdParty\MonoGame-LICENSE.txt') -Destination (Join-Path $stage 'licenses\MonoGame-LZX-MS-PL.txt')
Copy-Item -LiteralPath (Join-Path $projectRoot 'ReXGlue\LICENSE') -Destination (Join-Path $stage 'licenses\ReXGlue.txt')
-Copy-Item -LiteralPath 'C:\Program Files\CMake\doc\cmake\LICENSE.rst' -Destination (Join-Path $stage 'licenses\CMake.rst')
+Copy-Item -LiteralPath (Join-Path $CMakeRoot 'doc\cmake\LICENSE.rst') -Destination (Join-Path $stage 'licenses\CMake.rst')
$thirdPartyRoot = Join-Path $projectRoot 'ReXGlue\thirdparty'
Get-ChildItem -LiteralPath $thirdPartyRoot -Recurse -File | Where-Object { $_.Name -match '^(LICENSE|COPYING|NOTICE|COPYRIGHT)(\..*)?$' } | ForEach-Object {
$relative = $_.FullName.Substring($thirdPartyRoot.Length + 1)
@@ -109,7 +119,6 @@ Get-ChildItem -LiteralPath $thirdPartyRoot -Recurse -File | Where-Object { $_.Na
$forbidden = Get-ChildItem -LiteralPath $stage -Recurse -File | Where-Object { $_.Name -match '\.(iso|xex|big|bh)$|\.xex\.dll$|^fifastreet\.exe$|^fifastreet_.*_xex\.dll$|^fifastreet_recomp' }
if ($forbidden) { throw 'O pacote contem ficheiros do jogo ou codigo recompilado.' }
-Copy-Item -LiteralPath (Join-Path $projectRoot 'Jogo\cover') -Destination (Join-Path $root 'FifaStreetSetupTool\cover.jpg') -Force
Add-Type -AssemblyName System.IO.Compression.FileSystem
$bundle = Join-Path $root 'FifaStreetSetupTool\bundle.zip'
if (Test-Path -LiteralPath $bundle) { Remove-Item -LiteralPath $bundle }
diff --git a/README.md b/README.md
index 12023af..9f2e82a 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
### PORTED BY: SAMUELITODAVILA
-[Downloads](https://github.com/samuelitodavila/fifa-street-pc/releases) · [Report a bug](https://github.com/samuelitodavila/fifa-street-pc/issues) · [Build from source](docs/BUILDING.md)
+[Downloads](https://gitlab.com/samuelitodavila-group/fifa-street-pc/-/releases) · [Report a bug](https://gitlab.com/samuelitodavila-group/fifa-street-pc/-/issues) · [Build from source](docs/BUILDING.md)
<img src="docs/images/start-screen.png" alt="FIFA Street running on PC" width="1000">
@@ -22,7 +22,7 @@ The installer uses your own Xbox 360 ISO to extract the game files, apply my men
## Download and install
-The latest experimental release is available from the [release page](https://github.com/samuelitodavila/fifa-street-pc/releases).
+The latest experimental release is available from the [release page](https://gitlab.com/samuelitodavila-group/fifa-street-pc/-/releases).
**You'll need:** Windows x64, your own Xbox 360 FIFA Street ISO, a compatible Direct3D 12 or Vulkan GPU and at least 12 GB free on the destination drive, plus extra space for temporary and build files.
@@ -86,7 +86,7 @@ A clean end-to-end installation from an original Xbox 360 ISO has been completed
I've recorded gameplay from my PC build.
-<a href="https://github.com/samuelitodavila/fifa-street-pc/releases/download/v0.1.0-experimental/unknown_2026.10.01-16.18_1.mp4">
+<a href="https://gitlab.com/samuelitodavila-group/fifa-street-pc/-/releases/download/v0.1.0-experimental/unknown_2026.10.01-16.18_1.mp4">
<img src="docs/images/gameplay.png" alt="Download my FIFA Street PC gameplay video" width="1000">
</a>
@@ -100,7 +100,7 @@ This remains an experimental port. Performance depends on hardware, drivers, out
See [known issues and validation](docs/STATUS.md) for the current validation scope.
-If you encounter a problem, [open an issue](https://github.com/samuelitodavila/fifa-street-pc/issues) with your hardware, Windows and driver versions, selected graphics API/settings and relevant logs. Please don't upload ISOs or game files.
+If you encounter a problem, [open an issue](https://gitlab.com/samuelitodavila-group/fifa-street-pc/-/issues) with your hardware, Windows and driver versions, selected graphics API/settings and relevant logs. Please don't upload ISOs or game files.
## Credits and licence
diff --git a/ci/build-installer.ps1 b/ci/build-installer.ps1
new file mode 100644
index 0000000..cdf2ff6
--- /dev/null
+++ b/ci/build-installer.ps1
@@ -0,0 +1,130 @@
+$ErrorActionPreference = 'Stop'
+$PSNativeCommandUseErrorActionPreference = $true
+$env:RUNNER_TEMP = $env:TEMP
+$vswhere = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe"
+$vs = & $vswhere -latest -products * -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64 -property installationPath
+if (-not $vs) { throw 'Visual Studio C++ build tools are required.' }
+& (Join-Path $vs 'Common7\Tools\Launch-VsDevShell.ps1') -Arch amd64 -HostArch amd64
+$env:PATH = "C:\Program Files\LLVM\bin;C:\Program Files\CMake\bin;$env:PATH"
+$ErrorActionPreference = 'Stop'
+if (-not (Get-Command cmake.exe -ErrorAction SilentlyContinue)) {
+ choco install cmake --installargs 'ADD_CMAKE_TO_PATH=System' -y
+}
+if (-not (Get-Command ninja.exe -ErrorAction SilentlyContinue)) {
+ choco install ninja -y
+}
+if (-not (Test-Path 'C:\Program Files\LLVM\bin\clang.exe')) {
+ choco install llvm -y
+}
+cmake --version
+ninja --version
+& 'C:\Program Files\LLVM\bin\clang.exe' --version
+dotnet --info
+
+
+$ErrorActionPreference = 'Stop'
+git -c core.autocrlf=false clone --recursive https://github.com/rexglue/rexglue-sdk.git ReXGlue
+if ($LASTEXITCODE -ne 0) { throw 'ReXGlue clone failed.' }
+git -C ReXGlue config core.autocrlf false
+if ($LASTEXITCODE -ne 0) { throw 'Unable to configure ReXGlue line endings.' }
+git -C ReXGlue checkout c94f5ebdcb3c9d1a460ca48e04f9758448f8d518
+if ($LASTEXITCODE -ne 0) { throw 'Pinned ReXGlue checkout failed.' }
+git -C ReXGlue -c core.autocrlf=false submodule update --init --recursive
+if ($LASTEXITCODE -ne 0) { throw 'ReXGlue submodule update failed.' }
+# The project checkout can convert the patch itself to CRLF on Windows.
+$patch = Join-Path $PWD 'patches/rexglue-local-changes.patch'
+$patchText = [System.IO.File]::ReadAllText($patch).Replace("`r`n", "`n")
+[System.IO.File]::WriteAllText($patch, $patchText, [System.Text.UTF8Encoding]::new($false))
+git -C ReXGlue apply --check ../patches/rexglue-local-changes.patch
+if ($LASTEXITCODE -ne 0) { throw 'ReXGlue patch validation failed.' }
+git -C ReXGlue apply ../patches/rexglue-local-changes.patch
+if ($LASTEXITCODE -ne 0) { throw 'ReXGlue patch application failed.' }
+
+
+$ErrorActionPreference = 'Stop'
+cmake -S ReXGlue --preset win-amd64
+cmake --build ReXGlue/out/build/win-amd64 --config Release --parallel 2
+cmake --install ReXGlue/out/build/win-amd64 --config Release
+
+
+$ErrorActionPreference = 'Stop'
+$out = (Resolve-Path '.').Path.Replace('\','/')
+
+cmake -S ReXGlue -B ReXGlue/out/build/win-amd64-vulkan -G "Ninja Multi-Config" `
+ -DCMAKE_C_COMPILER=clang `
+ -DCMAKE_CXX_COMPILER=clang++ `
+ "-DCMAKE_C_FLAGS=-mssse3" `
+ "-DCMAKE_CXX_FLAGS=-mssse3" `
+ -DREXGLUE_USE_VULKAN=ON `
+ -DREXGLUE_USE_D3D12=OFF `
+ -DREXGLUE_BUILD_TESTS=OFF `
+ -DREXGLUE_ENABLE_PERF_COUNTERS=ON `
+ "-DREXGLUE_OUTPUT_DIRECTORY=$out/ReXGlue/out/win-amd64-vulkan"
+
+cmake --build ReXGlue/out/build/win-amd64-vulkan --config Release --parallel 2
+
+
+$ErrorActionPreference = 'Stop'
+$out = (Resolve-Path '.').Path.Replace('\','/')
+
+cmake -S ReXGlue -B ReXGlue/out/build/win-amd64-d3d12 -G "Ninja Multi-Config" `
+ -DCMAKE_C_COMPILER=clang `
+ -DCMAKE_CXX_COMPILER=clang++ `
+ "-DCMAKE_C_FLAGS=-mssse3" `
+ "-DCMAKE_CXX_FLAGS=-mssse3" `
+ -DREXGLUE_USE_VULKAN=OFF `
+ -DREXGLUE_USE_D3D12=ON `
+ -DREXGLUE_BUILD_TESTS=OFF `
+ -DREXGLUE_ENABLE_PERF_COUNTERS=ON `
+ "-DREXGLUE_OUTPUT_DIRECTORY=$out/ReXGlue/out/win-amd64-d3d12"
+
+cmake --build ReXGlue/out/build/win-amd64-d3d12 --config Release --parallel 2
+
+
+$ErrorActionPreference = 'Stop'
+New-Item -ItemType Directory -Force -Path Installer/tools | Out-Null
+$zip = Join-Path $env:RUNNER_TEMP 'extract-xiso.zip'
+$dir = Join-Path $env:RUNNER_TEMP 'extract-xiso'
+Invoke-WebRequest `
+ -Uri 'https://github.com/XboxDev/extract-xiso/releases/download/build-202609111233/extract-xiso-Win64_Release.zip' `
+ -OutFile $zip
+Expand-Archive -LiteralPath $zip -DestinationPath $dir -Force
+$exe = Get-ChildItem -LiteralPath $dir -Recurse -Filter 'extract-xiso.exe' | Select-Object -First 1
+if (-not $exe) { throw 'extract-xiso.exe was not found in the downloaded archive.' }
+Copy-Item -LiteralPath $exe.FullName -Destination 'Installer/tools/extract-xiso.exe' -Force
+
+
+# Package the exact validated runtime pairs from the migrated release.
+foreach ($backend in @('D3D12', 'Vulkan')) {
+ $directory = Join-Path $PWD "ReXGlue/out/win-amd64-$($backend.ToLower())/Release"
+ foreach ($file in @('rexruntime.dll', 'rexgpu-xenos.dll')) {
+ $url = "$env:CI_API_V4_URL/projects/$env:CI_PROJECT_ID/packages/generic/validated-backends/v0.3.0/$backend-$file"
+ Invoke-WebRequest -Uri $url -Headers @{ 'JOB-TOKEN' = $env:CI_JOB_TOKEN } -OutFile (Join-Path $directory $file)
+ }
+}
+$ErrorActionPreference = 'Stop'
+New-Item -ItemType Directory -Force -Path dist | Out-Null
+$clangRoot = 'C:\Program Files\LLVM\lib\clang'
+$clangVersion = (Get-ChildItem -LiteralPath $clangRoot -Directory |
+ Sort-Object { [version]$_.Name } -Descending |
+ Select-Object -First 1).Name
+if (-not $clangVersion) { throw 'Unable to determine the installed Clang resource version.' }
+$ninja = (Get-Command ninja.exe -ErrorAction Stop).Source
+./Installer/BuildSetup.ps1 `
+ -Output "$PWD/dist/FifaStreet-Setup.exe" `
+ -LLVMRoot 'C:\Program Files\LLVM' `
+ -CMakeRoot 'C:\Program Files\CMake' `
+ -NinjaPath $ninja `
+ -ClangResourceVersion $clangVersion
+if (-not (Test-Path 'dist/FifaStreet-Setup.exe')) {
+ throw 'FifaStreet-Setup.exe was not created.'
+}
+Get-FileHash 'dist/FifaStreet-Setup.exe' -Algorithm SHA256 |
+ ForEach-Object { "$($_.Hash.ToLower()) FifaStreet-Setup.exe" } |
+ Set-Content -Encoding ascii 'dist/FifaStreet-Setup.exe.sha256'
+
+
+$packageUrl = "$env:CI_API_V4_URL/projects/$env:CI_PROJECT_ID/packages/generic/installer-builds/$env:CI_COMMIT_SHA"
+foreach ($file in @('FifaStreet-Setup.exe', 'FifaStreet-Setup.exe.sha256')) {
+ Invoke-RestMethod -Method Put -Uri "$packageUrl/$file" -Headers @{ 'JOB-TOKEN' = $env:CI_JOB_TOKEN } -InFile (Join-Path $PWD "dist/$file") -ContentType 'application/octet-stream' | Out-Null
+}
diff --git a/ci/validate-source.ps1 b/ci/validate-source.ps1
new file mode 100644
index 0000000..46dceb9
--- /dev/null
+++ b/ci/validate-source.ps1
@@ -0,0 +1,9 @@
+$ErrorActionPreference = 'Stop'
+$files = Get-ChildItem Installer, ci -Filter '*.ps1' -Recurse
+foreach ($file in $files) {
+ $tokens = $null
+ $parseErrors = $null
+ [System.Management.Automation.Language.Parser]::ParseFile($file.FullName, [ref]$tokens, [ref]$parseErrors) | Out-Null
+ if ($parseErrors) { throw "$($file.Name): $($parseErrors.Message -join '; ')" }
+}
+Write-Host "PowerShell syntax verified for $($files.Count) source files."
diff --git a/docs/GITLAB.md b/docs/GITLAB.md
new file mode 100644
index 0000000..619973a
--- /dev/null
+++ b/docs/GITLAB.md
@@ -0,0 +1,11 @@
+# GitLab migration
+
+The repository, commit history, backup branch and experimental version tags have been migrated to GitLab.
+
+The GitLab pipeline checks PowerShell syntax on each commit. The Windows installer build is manual: open **Build > Pipelines** and start `build-installer`. It requires available GitLab Windows runner capacity and CI minutes. Installers and checksums are uploaded to the generic package registry under `installer-builds`, identified by commit hash. The small checksum artifact is also retained for 30 days. New builds do not replace the historical release automatically.
+
+The build uses the recorded ReXGlue revision and project patch in an isolated CI checkout. It retains the exact validated v0.3.0 graphics DLL pairs and their existing hash checks, downloading them from the project's `validated-backends` generic package. Upstream SDK and tool downloads still use their original GitHub locations.
+
+Packaging uses the cover images tracked in the repository and accepts explicit LLVM, CMake, Ninja and Clang resource paths. It no longer depends on Samuel's local game directory or Miniconda installation.
+
+Git tags and release pages are separate objects. Local installer files must be positively identified before attaching them to historical versions. Missing GitHub issues, comments, release notes or assets cannot be reconstructed from Git history alone.