diff --git a/scripts/uba_launch.ps1 b/scripts/uba_launch.ps1 new file mode 100644 index 0000000..e1efb9b --- /dev/null +++ b/scripts/uba_launch.ps1 @@ -0,0 +1,27 @@ +$path_scripts = $PSScriptRoot +$path_helpers = join-path $path_scripts 'helpers' +$path_root = split-path -Parent -Path $path_scripts +$path_ue = join-path $path_root 'UE' + +$UbaAgent = join-path $path_ue 'Engine\Binaries\Win64\UnrealBuildAccelerator\x64\UbaAgent.exe' + +$uba_quic = '-quic' +$uba_host = '-host' +$uba_listen = '-listen' +$uba_name = '-name' +$uba_no_poll = '-no_poll' +$uba_store_raw = '-storeraw' +$uba_max_cpu = '-maxcpu' +$uba_mul_cpu = '-mulcpu' +$uba_memwait = '-maxwait' +$uba_zone = '-zone' + + +$args = @() +# $args += "$uba_host=192.168.1.148" +$args += $uba_listen +# $args += "$uba_mul_cpu=2.0" +# $args += $uba_quic +# $args += $ + +& $UbaAgent $args diff --git a/scripts/update_deps.ps1 b/scripts/update_deps.ps1 index 7adcdc9..c6ac278 100644 --- a/scripts/update_deps.ps1 +++ b/scripts/update_deps.ps1 @@ -131,14 +131,14 @@ function Process-UnrealDeps $setup_args += "$fgitdep_cache=$path_gitdeps_cache" # $setup_args += $fgitdep_dryrun - $path_setup_log = 'setup_log.txt' - # & .\Setup.bat $setup_arg - & .\Setup.bat + # $path_setup_log = 'setup_log.txt' # $output = Start-Process -FilePath "cmd.exe" -ArgumentList "/c .\Setup.bat $setup_args" -Wait -PassThru -NoNewWindow -RedirectStandardOutput $path_setup_log + # & .\Setup.bat $setup_arg + & .\Setup.bat # $path_templates = join-path $path_ue 'Templates' # remove-item $path_templates -Recurse - 'Deleted UE templates (grab them manually if want)' + # 'Deleted UE templates (grab them manually if want)' write-host "Finished processing unreal deps`n" }