Unreal engine 4 линукс

Unreal Engine 4 and Linux

While the Unreal Engine has enjoyed Linux support in the past, with Unreal Engine 4 we want to make Linux a first class member of our platform family. Our plans regarding the Linux platform balance the needs of both our internal projects and some partner projects, alongside the larger needs of the Linux community. This roughly translates to four large areas of Unreal Engine4 Linux development (each with its own unique challenges):

  • robust, secure and CPU-effective Linux game servers
  • full-featured Linux client support
  • feature-rich, native Linux development tools
  • enhancing our tools on Windows and Mac OS to make targeting Linux easy

When hearing about Unreal Engine 4 supporting Linux, it is easy to only think about the first three. However, if we want Linux to take off in the game development industry at large, we need a seamless integration with existing workflows of game companies, so that costs of shipping a Linux version of the game are minimized. That is why, somewhat counter intuitively, we need robust Windows and Mac OS tools that would allow anyone to target Linux by just recompiling and repackaging the project. This is also why we started out with cross-compilation and are planning to continue to support it, while also working to make native development easier.

We believe that this ability to target Linux (and, particularly, SteamOS) with cross-tools using the existing development environment is needed in order for it to get broader traction.

Community engagement

When we released 4.0 two months ago, we only supported Linux dedicated servers; by now official support includes running packaged games (both standalone game and client). Having SteamOS in mind, we consciously limited ourselves to the x86-64 architecture with the officially supported way of developing being cross-compilation from Windows (Mac OS toolchain will be added in the future). Documentation (admittedly scarce) of the process is maintained through the community wiki.

Читайте также:  Kali linux reaver wifi

Needless to say, the vibrant Linux community wanted more from the very beginning ☺ Once the Unreal Engine was out in the wild, enthusiastic developers (some of them working for much bigger companies than ours!) quickly picked up the slack and started with their own initiatives, which concentrate on getting development tools running on the platform. While we had (and have) that in our plans (take a look at the engine roadmap that we recently made public), quite frankly we did not expect that to happen so soon. Yet the community managed to beat us to getting Unreal Editor to start under Linux. ☺

I feel obliged to mention by name the most active folks who were driving the community effort:

Of course there are many more folks who frequent the #ue4linux IRC channel on Freenode and our forums. Thank you so much for all the pull requests (which of course will be reflected in the credits), feedback and invaluable advice! We feel honored to have people from Google, Red Hat and MIT donating their free time to improve Unreal Engine 4 on Linux! Also special thanks to the folks at DarkSide, particularly Michael Liebenow, who have been working shoulder-to-shoulder with us on UE4’s Linux support.

Roads to be explored

Having an AAA-grade game engine available for tinkering and experimentation benefits both us and the open source community. We are stressing a lot of components of the Linux software stack (and of course drivers), which sometimes can get improved as a result (e.g. Valve’s very handy OpenGL debugger). We are looking forward to engaging with a wide variety of projects!

We believe the engine is a fertile field for all kinds of research related to compilers, and we hope that both the gcc and clang communities will take advantage of our vast code base, especially considering that we are keen to embrace the latest and newest C++11 features.

There are so many things we would like to do with Unreal Engine 4 on the Linux platform, but currently don’t have time for:

  • Improve Unreal Engine 4 scalability by running a game server on a large, NUMA machine with tens (hundreds?) of CPUs and analyzing how we could utilize them
  • Port it to some exotic architecture like Loongson and see what you will run into
  • Port it to Linux-based devices like GCW Zero handheld or Raspberry Pi (I have partially done that in the past, and can help with building third-party libs)
  • Create a freely available (yes, the license allows that, provided that you don’t distribute the sources or tools) benchmark that could be included in Phoronix Test Suite and/or used to improve Linux graphics drivers
  • Port it to other *nix (FreeBSD, Solaris)
Читайте также:  What is init script in linux

And of course, we encourage the UE4 community to use the opportunity to beat us again and be the first to ship an Unreal Engine 4 Linux game! ☺

We’d love to hear your thoughts so please head over to our forums and join in on the discussion!

Источник

Unreal Engine 4 (Русский)

Состояние перевода: На этой странице представлен перевод статьи Unreal Engine 4. Дата последней синхронизации: 24 июля 2017. Вы можете помочь синхронизировать перевод, если в английской версии произошли изменения.

Unreal Engine 4 — последняя версия движка для видеоигр, созданная Epic Games

Содержимое этой статьи было первоначально написано на этой странице и адаптировано специально для Arch Linux.

Минимальные требования

  • Intel или Amd CPU@2.5GHz Quad Core 64 бит
  • GPU: NVIDIA GeForce GTX 470 или AMD Radeon 6870 HD series
  • RAM: 8 GB

Установка

Установка из AUR

Unreal Engine 4 доступен в AUR как пакет unreal-engine AUR .

Пакет весит 22 ГБ после установки, поэтому для сборки требуется около 100 ГБ свободного места. Существует около 7 ГБ исходных файлов для загрузки, а компиляция может занять несколько часов.

Поскольку репозиторий является приватным, вы можете настроить SSH-ключ, чтобы ваша учетная запись GitHub использовалась для загрузки источника.

Так-же рекомендуется увеличить размер папки tmp (исходный размер 7.8), либо сменить каталог сборки.

Для уменьшения размера загрузки, вы можете скачать релиз как tar.gz [устаревшая ссылка 2020-08-06 ⓘ] после входа в github.com, а затем использовать этот файл в качестве источника в PKGBUILD.

Установка из исходного кода

Получение

Сначала зарегистрируйтесь на UnrealEngine.com и перечислите свою учетную запись GitHub в свою учетную запись Epic Games. После регистрации вы сможете просмотреть исходный код [устаревшая ссылка 2020-08-06 ⓘ] .

Компиляция

Исправление проблем

Проблемы с компиляцией

Если компиляция не удалась, попробуйте собрать редактор с помощью профиля Debug:

Читайте также:  Linux centos часовой пояс

Проблемы во время выполнения

Если редактор не запускается из меню, или что-то не работает правильно, запустите его в консоли и проверьте вывод на наличие ошибок.

$ cd /opt/unreal-engine/Engine/Binaries/Linux/ $ ./UE4Editor

Проблемы с проектом кода на C++

После создания проекта кода новый проект открывается в текстовом редакторе, а не в UE4Editor, как это должно быть. После повторного запуска редактора новый проект появляется и может быть открыт, но при первом запуске для компиляции требуется около получаса, и поскольку это происходит в фоновом режиме (без GUI), это может показаться недействительным. Использование ЦП должно показывать, что оно все еще компилируется, и вы можете запустить редактор с консоли, чтобы увидеть прогресс.

Отключение всплывающих подсказок

Наведение указателя мыши на всплывающие подсказки UE4 может оказаться очень медленной процедурой. Их можно отключить, добавив

Engine/Config/ConsoleVariables.ini

Случайное зависание под KDE

Отключите содержимое индексного файла в параметрах поиска файлов KDE.

Пустой огромный квадрат в Blueprint

Если вы используете мультимониторную конфигурацию и переместили blueprint на второй экран, и при вызове контекстного меню (ПКМ в blueprint) у вас проявляется данный баг, то откройте Edit Preferences -> User interface и поставьте галочку напротив Enable Window Animation и перезапустите UnrealEngine.

Дополнительный контент

Стартовый контент

Проект StarterContent установлен в /opt/unreal-engine/Samples/StarterContent/StarterContent.uproject, вы можете перейти к нему с панели запуска.

Приложения marketplace

Лаунчер с Unreal Marketplace недоступен для Linux еще [1], поэтому приложения, такие как проект ContentExamples, не могут быть установлены из Linux[2].

Приложения marketplace можно загрузить с помощью лаунчера в Windows (в Mac также может работать), они хранятся в:

/Program Files (x86)/Epic Games/Launcher/VaultCache/

Источник

Linux Game Development

Fueling the future of Linux game development is at your fingertips! Now, more than ever, you can harness the power of Unreal Engine 4 (UE4) to create and share games with Linux users worldwide. If you’re new to Linux game development, you’ll want to work your way through the Quick Start Guide before moving onto more advanced topics.

Getting Started

linuxQS_topic.png

Learn how to download, build, and run UE4 on Linux.

IDE_HowToTopic.png

Learn how to set up your IDE to build and run UE4 on Linux.

Advanced Topics

GettingStarted_Topic.png

Download the Linux cross-compile toolchain.

LegacyRef_Topic.png

For engine versions older than 4.14, this page shows users how to set up cross-compilation for the Linux platform.

Reference

LinuxDevelopment_topic.png

Download the native Linux toolchain.

Источник

Оцените статью
Adblock
detector