ryanjon2040 / Unreal-Binary-Builder

An application designed to create installed Unreal Engine builds (aka Rocket builds) from Unreal Engine GitHub source.
MIT License
660 stars 150 forks source link

Missing UEPrereqSetup_x64.exe #57

Open sfla opened 2 years ago

sfla commented 2 years ago

Just trying to follow the steps. I cloned the UE repo (branch 5.0, commit 6b10e3f3b7a1). Started UBB, selected path to local repo, click "Start" and it immediately fails, saying The system cannot find the file Engine\Extras\Redist\en-us\UEPrereqSetup_x64.exe cmd exited with code 0 ==BUILD FINISHED== and then it still has status "Running", counting upwards, not letting me start again. And when I try to close the application, I get options in Chinese. I've tried the same with and without all three options (Build Setup, Generate Project Files, Build Automation Tool). image image I assume I'm supposed to run a .bat-file or something, but the step-by-step README does not specify anything.

louga31 commented 2 years ago

I have the same issue, but I fixed it by running setup.bat manually first

LipcaCZ commented 5 months ago

I have the same problem, but the actual issue is probably this:

`Unreal Binary Builder Analytics Initialized. Welcome to Unreal Binary Builder v3.1.6 Welcome to Unreal Binary Builder v3.1.6 ========================== RUNNING - Setup.bat ========================== Commandline: --force --all --exclude=Win32 --exclude=Linux --exclude=Mac --exclude=IOS --exclude=TVOS --exclude=HoloLens --exclude=Lumin --threads=4 --max-retries=4 --no-cache Invalid command line parameter: -all

Usage: GitDependencies [options]

Options: --all Sync all folders --include= Include binaries in folders called --exclude= Exclude binaries in folders called --prompt Prompt before overwriting modified files --force Always overwrite modified files --root= Set the repository directory to be sync --threads= Use N threads when downloading new files --dry-run Print a list of outdated files and exit --http-timeout-multiplier= Override download timeout multiplier --max-retries Override maximum number of retries per file --proxy=user:password@url Sets the HTTP proxy address and credentials --cache= Specifies a custom path for the download cache --cache-size-multiplier= Cache size as multiplier of current download --cache-days= Number of days to keep entries in the cache --no-cache Disable caching of downloaded files

Detected settings: Excluded folders: Win32, Linux, Mac, IOS, TVOS, HoloLens, Lumin Proxy server: none Download cache: disabled

Default arguments can be set through the UE_GITDEPS_ARGS environment variable. Installing prerequisites... The system cannot find the file Engine\Extras\Redist\en-us\UEPrereqSetup_x64.exe. cmd exited with code 0`

It fails to run setup.bat because there is one "-" missing in --all parameter, so setup.bat fails to run but the program tries to continue and install things that wasn't downloaded beacuase setup.bat failed :).

EDIT: No, the problem is actually in setup.bat itself, which does not handle --all corectly.