Skip to content

Instantly share code, notes, and snippets.

@Stiner
Created July 7, 2023 02:09
Show Gist options
  • Select an option

  • Save Stiner/66a90a09f843c9faa7b0dce13d905924 to your computer and use it in GitHub Desktop.

Select an option

Save Stiner/66a90a09f843c9faa7b0dce13d905924 to your computer and use it in GitHub Desktop.
Script for generating Unreal Engine project files.
@echo off
set CUR_DIR=%~dp0
for /f "tokens=*" %%a in ('"dir /b/s %CUR_DIR%\*.uproject"') do set PROJECT_PATH=%%a
set TOOL_PATH="%ProgramFiles(x86)%\Epic Games\Launcher\Engine\Binaries\Win64\UnrealVersionSelector.exe"
%TOOL_PATH% /projectfiles %PROJECT_PATH%
#!/bin/bash
PATH_TO_ENGINE=$HOME/Epic\ Games/UE_5.1
sh "$PATH_TO_ENGINE/Engine/Build/Batchfiles/Mac/GenerateProjectFiles.sh" \
-project="$(ls $(dirname $(realpath $0))/*.uproject)" \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment