Лаунчер умеет подхватывать кастомные движки:
- из папки с файлами движка;
- из
.zipархива; - из
.zipс отдельным sidecar-файлом*.engine.json.
Папка с движками:
Marsey/Engines/
Marsey/
Engines/
MyEngine/
engine.json
icon.png (необязательно)
Robust.Client.zip (необязательно, если рядом уже готовая структура)
Robust.Client/
Robust.Shared/
Resources/
Marsey/
Engines/
MyEngine.zip
Метаданные можно положить:
- либо внутрь архива как
engine.json; - либо рядом как
MyEngine.zip.engine.json.
Пример:
{
"name": "Custom Engine",
"description": "My custom engine",
"icon": "icon.png",
"clientZip": "Robust.Client_win-x64.zip",
"signature": ""
}Поля:
name- отображаемое имя.description- описание.icon- путь до иконки.clientZip- какой архив или подпапку использовать как клиент движка.signature- сигнатура движка, если используется.
- Если указан
clientZip, он используется в первую очередь. - Если в папке есть готовый набор файлов движка, лаунчер может собрать временный zip сам.
- Если найдено несколько
Robust.Client_<rid>.zip, лаунчер попытается выбрать лучший вариант под текущую платформу.
- Положите движок в
Marsey/Engines/. - Откройте вкладку
Engines. - Нажмите обновление списка.
- Выберите нужный движок и активируйте его.
- Некоторые кастомные движки требуют отключения проверки подписи движка.
- Если движок не появляется, сначала проверьте
engine.json, структуру папки и наличие client zip.
dotnet publish Robust.Client/Robust.Client.csproj -c Release -r win-x64 -p:FullRelease=True -p:TargetOS=WindowsThe launcher can load custom engines:
- from a folder with engine files;
- from a
.ziparchive; - from a
.zipwith a separate sidecar file*.engine.json.
Engine folder:
Marsey/Engines/
Marsey/
Engines/
MyEngine/
engine.json
icon.png (optional)
Robust.Client.zip (optional, if a ready structure is already present next to it)
Robust.Client/
Robust.Shared/
Resources/
Marsey/
Engines/
MyEngine.zip
Metadata can be placed:
- either inside the archive as
engine.json; - or next to it as
MyEngine.zip.engine.json.
Example:
{
"name": "Custom Engine",
"description": "My custom engine",
"icon": "icon.png",
"clientZip": "Robust.Client_win-x64.zip",
"signature": ""
}Fields:
name- display name.description- description.icon- path to the icon.clientZip- which archive or subfolder to use as the engine client.signature- engine signature, if used.
- If
clientZipis specified, it is used first. - If the folder already contains a ready set of engine files, the launcher can build a temporary zip by itself.
- If multiple
Robust.Client_<rid>.zipfiles are found, the launcher will try to choose the best one for the current platform.
- Put the engine into
Marsey/Engines/. - Open the
Enginestab. - Refresh the list.
- Select the engine you need and activate it.
- Some custom engines require disabling engine signature verification.
- If the engine does not appear, first check
engine.json, the folder structure, and whether a client zip is present.
dotnet publish Robust.Client/Robust.Client.csproj -c Release -r win-x64 -p:FullRelease=True -p:TargetOS=Windows