/
linkfly
/
MasterKnight
Обзор
Документация
Войти
/
linkfly
/
MasterKnight
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
RunSecondGame.bat.example.txt
22 строки
710 B
Сергей Катревич
[hw-30] Preparing multiplayer workflow, bugfixes, prepared running two instance into one PC, research low networking is done, prepared to use online subsystem, debug/dev using online subsystem in-progress, etc ...
13 апр 2026, 00:54
13 апр 2026, 00:54
d6b2b66
Код
Авторство
О чём код?
@echo off setlocal set "SCRIPT_DIR=%~dp0" pushd "%SCRIPT_DIR%" REM === Configuring === REM Path to directory with UnrealEditor-Win64-DebugGame-Cmd.exe (example: C:\<ue-sources>\Engine\Binaries\Win64\) set PathToUECmdDir=<[letter:]\path\to\ue\binaries\> REM Set IP existing on network interface (in the same subnet where first game) set SecondIP=<your_second_ip> REM === end Configuring === REM ======================= echo CMD: "%PathToUECmdDir%UnrealEditor-Win64-DebugGame-Cmd.exe" "%SCRIPT_DIR%MasterKnight.uproject" -game -Multihome="%SecondIP%" -log "%PathToUECmdDir%UnrealEditor-Win64-DebugGame-Cmd.exe" "%SCRIPT_DIR%MasterKnight.uproject" -game -Multihome="%SecondIP%" -log popd endlocal exit /b 0