mirror of
https://github.com/ClydeyEXE/uc2-recomp.git
synced 2026-11-25 01:52:20 +00:00
5d414c4b81
setup.ps1 now installs Git, Python 3.12 and the VS 2022 Build Tools (C++, CMake, Ninja) with winget after one question, clones the pinned toolkit when the repo came as a zip without its submodule, asks for the disc image in a file dialog, accepts an extracted disc folder, numbers its steps and can put a desktop shortcut down. Setup.cmd and Play.cmd in the root run it and the game with a double-click.
10 lines
333 B
Batchfile
10 lines
333 B
Batchfile
@echo off
|
|
rem Double-click to play. Options such as -Scale 2 or -Fps 60 pass through to tools\play.ps1.
|
|
if not exist "%~dp0build\game\ucc2_recomp.exe" (
|
|
echo The game is not built yet. Run Setup.cmd first.
|
|
pause
|
|
exit /b 1
|
|
)
|
|
set "PSModulePath="
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0tools\play.ps1" %*
|