- Запуск CRYENGINE на Linux с помощью Wine.
- Вступление.
- Создание и настройка префикса.
- Установка программы запуска — CRYENGINE Launcher.
- Cry Engine on Linux? #334
- Comments
- TheMasteredPanda commented Nov 15, 2017
- mage-game commented Nov 16, 2017
- LiquidWater commented Nov 16, 2017
- virtualme1 commented Nov 19, 2017
- virtualme1 commented Nov 19, 2017 •
- uniflare commented Nov 19, 2017
- virtualme1 commented Nov 19, 2017
- ghost commented Nov 20, 2017
- virtualme1 commented Nov 24, 2017
- oscarbg commented Nov 24, 2017
- SalahAdDin commented Nov 26, 2017
- oscarbg commented Mar 21, 2018
- Gaidukevich commented Apr 4, 2018 •
- virtualme1 commented Apr 4, 2018
- ghost commented Apr 4, 2018
- aaronfranke commented Jul 11, 2019
- sam0x17 commented Jul 20, 2019
- Personwithhat commented Jul 30, 2019
- Hossein-Noroozpour commented Oct 20, 2019
- madscientist159 commented Dec 8, 2019
- jatin-cbs commented Sep 19, 2020
- Linux
- Overview
- Compilation prerequisites
- Compiling
- Running prerequisites
- Stack Traces & Core Dumps
- Known issues
- Installing CRYENGINE
- Overview
- Creating a CRYENGINE Account
- Downloading and Installing the CRYENGINE Launcher
- Installing CRYENGINE
Запуск CRYENGINE на Linux с помощью Wine.
Официальный сайт движка: https://www.cryengine.com/
Вступление.
Краткое описание основных действий:
- Создать x64 префикс с совместимостью Windows 10.
- С помощью winetricks установить пакет vcrun2015 (Microsoft Visual C++ 2015 Redistributable).
- Загрузить программу запуска CRYENGINE launcher с официального сайта: https://www.cryengine.com/download и установить. Потребуется аккаунт.
- Загрузить движок.
- Вручную зарегистрировать движок.
- Запуск движка и проекта.
Создание и настройка префикса.
Ниже рассмотрен вариант с созданием отдельного префикса в домашнем каталоге пользователя. Название не имеет значения, но стоит соблюдать наглядность.
Создание x64 префикса с именем .wine_cryengine и запуск меню конфигурации (Настройка Wine):
В появившемся окне настроек Wine в пункте «Версия Windows» выбрать Windows 10 и подтвердить:
С помощью winetricks установить в префикс пакет vcrun2015 (Microsoft Visual C++ 2015 Redistributable):
Будет загружено два пакета (x86 и x64) с официального сайта Microsoft, ность нюанс. Microsoft регулярно ломает ссылки и процесс установки, что вынуждает winetricks и wine периодически создавать обходные пути. По этой причине могут показываться предупреждения, после подтверждения которых должно появиться окно мастера установки:
Подтвердить принятие условий лицензионного соглашения и установить пакет. Сначала будет установлен x86 пакет, а потом появится окно мастера установки для x64 пакета.
Установка программы запуска — CRYENGINE Launcher.
Загрузить установочный пакет CRYENGINE Launcher с официального сайта: https://www.cryengine.com/download
Оптимально разместить пакет в корне префикса. В представленном примере это выглядит так:
/home/$USER/.wine_cryengine/drive_c/ce-launcher.exe
Да, можно использовать обычные абсолютные пути, но в этом примере показан вариант использования путей в стиле DOS с иерархией каталогов Windows, которая начинается с раздела C:. Так же стоит обратить внимание на использование в пути обратной косой черты «\» вместо обычной «/».
Источник
Cry Engine on Linux? #334
Comments
TheMasteredPanda commented Nov 15, 2017
I know this is a question that has been asked many times, but the options I see to get Cry Engine on Linux have failed. So I ask again, can you use Cry Engine on Linux?
The text was updated successfully, but these errors were encountered:
mage-game commented Nov 16, 2017
LiquidWater commented Nov 16, 2017
according to http://docs.cryengine.com/display/CEPROG/Linux you can build for linux. its not actively supported however
virtualme1 commented Nov 19, 2017
Ubuntu 16.04.3
git clone https://github.com/CRYTEK/CRYENGINE.git
sudo python3 download_sdks.py
sudo apt-get install build-essentialsudo
sudo apt-get install clang-3.8
Get Cmake 3.9.3
- Uninstall the default version provided by Ubuntu’s package manager:
sudo apt-get purge cmake - Go to the official CMake webpage, then download and extract the latest version:
mkdir
/temp
wget https://cmake.org/files/v3.9/cmake-3.9.3.tar.gz
tar -xzvf cmake-3.9.3.tar.gz
cd cmake-3.9.3/
./bootstrap
make -j4
sudo make install
cmake —version
cmake version 3.9.X
CMake suite maintained and supported by Kitware (kitware.com/cmake).
ln -sfn curses.h Code/SDKs/ncurses/include/ncursesw/ncurses.h
ln -sfn libformw.so.6 Code/SDKs/ncurses/lib/libformw.so
ln -sfn libformw.so.6.0 Code/SDKs/ncurses/lib/libformw.so.6
ln -sfn libmenuw.so.6 Code/SDKs/ncurses/lib/libmenuw.so
ln -sfn libmenuw.so.6.0 Code/SDKs/ncurses/lib/libmenuw.so.6
ln -sfn libncursesw.so.6 Code/SDKs/ncurses/lib/libncursesw.so
ln -sfn libncursesw.so.6.0 Code/SDKs/ncurses/lib/libncursesw.so.6
ln -sfn libpanelw.so.6 Code/SDKs/ncurses/lib/libpanelw.so
ln -sfn libpanelw.so.6.0 Code/SDKs/ncurses/lib/libpanelw.so.6
Code/SDKs/SDL2/lib/linux_x64 symbolic links are also required to be fixed. Cry-patsy has made this error before.
Solution replace sdl2 files with 5.3.zip. Need to find better solution..
https://github.com/CRYTEK/CRYENGINE/iss . -279462467
mkdir build
cd build
cmake .. -DCMAKE_C_COMPILER=»/usr/bin/clang-3.8″ -DCMAKE_CXX_COMPILER=»/usr/bin/clang++-3.8″ -DCMAKE_BUILD_TYPE=Profile -DCMAKE_TOOLCHAIN_FILE=»../Tools/CMake/toolchain/linux/Linux_Clang.cmake»
make
virtualme1 commented Nov 19, 2017 •
Making the same mistakes and not fixing them. It’s like Crytek doesn’t even care. 3 commits later and
it’s broken for me with sdk. How are we going to make dedicated servers with linux with this mess?
uniflare commented Nov 19, 2017
As LiquidWater mentioned Linux is something CRYENGINE cannot actively support atm. It is not that Crytek does’nt care, rather — there is no priority given to that right now.
virtualme1 commented Nov 19, 2017
I guess i’ll have to wait for that cake to bake. I appreciate the efforts so far.
https://www.phoronix.com/forums/forum/software/linux-gaming/958948-cryengine-5-4-bringing-vulkan-renderer
«CRYENGINE does support Linux, but we need to do another pass on it now that we have the Vulkan renderer.» -Cry-patsy
ghost commented Nov 20, 2017
Sorry about the symlinks in 5.4.0, I’ve now updated the .tar.gz file, so all should be well. I actually thought I’d already done it.
virtualme1 commented Nov 24, 2017
oscarbg commented Nov 24, 2017
But OpenGL is deprecated and Vulkan new backend is ready for Linux?
SalahAdDin commented Nov 26, 2017
oscarbg commented Mar 21, 2018
@Cry-Support Sorry for question.. but seeing 5.5 released in preview it means it’s now supported or like MacOS issue is closed because is not an issue per see? Thanks..
Gaidukevich commented Apr 4, 2018 •
Hello, friends! Is this already possible to RUN Cryengine EDITOR in Ubuntu? I would like to do this as I want to save money from BUYING WINDOWS and USE UBUNTU INSTEAD! IS IT POSSIBLE TO USE FMOD THEN? Please help in these two questions!
virtualme1 commented Apr 4, 2018
Cryengine roadmap https://www.cryengine.com/roadmap
I have win 10 pro but microsoft’s new terms and conditions I cannot agree to.
Cryengine does not work yet on Linux.
ghost commented Apr 4, 2018
Hiya, it’s not possible to run Sandbox on Linux. I’d like to do it too, but there’s a lot of groundwork to be laid before it’s possible. We need to be able to use the Vulkan renderer in Sandbox, as well as using the Vulkan renderer on Linux before we can even think about getting Sandbox running there.
FMOD has been available in CRYENGINE for a while now, so it’s ready to go.
aaronfranke commented Jul 11, 2019
Is the status of CryEngine on Linux still poor? It’s a shame, CryEngine looks interesting, but I can’t use a game engine which doesn’t have the editor working on Linux (I use Unity and Godot).
sam0x17 commented Jul 20, 2019
Would really like to see a working editor on linux. This is getting sad guys.
Personwithhat commented Jul 30, 2019
Lets get a bug-free windows editor first 🙂
Hossein-Noroozpour commented Oct 20, 2019
I was trying to playing with it yesterday, to see how feasible is it to compile Editor on Linux.
After a little tweak on the Engine’s CMake files it was possible to compile the Engine alone.
But for Editor, things are very different. From very start of the build configurations everything were hardcoded for Windows, even on using cross platform libraries like Qt and PySide they considered only Windows, fortunately these are the part that were easily changed to become workable on Linux (Ubuntu 19.10). after that I reached to several dependencies that neither were compiled for Linux nor there were any packages for them in apt. I have to admit, I’ve stopped there and didn’t try to compile those dependencies for Ubuntu. I continue to do more investigation on the CMake files and see the build process, I reach to several thirdparty plugins that were only for Windows (e.g. Substance plugin) and the developer companies don’t provided a good equivalent for them on Linux but the good news is there were optional in build process.
It was the only build process and God know how much of the Editor’s source code is Windows and MSVC dependent.
And finally my conclusions are:
- It is a time consuming task to change build process to have a Linux supporting Editor.
- There are several big and fascinating thirdparty functionalities that someone has to relinquish for Linux.
- Every day they are getting away farther from having a cross-platform editor like Unreal (because I checked the editor a few month ago and it had a better situation from now)
madscientist159 commented Dec 8, 2019
I have win 10 pro but microsoft’s new terms and conditions I cannot agree to.
This. No Linux support plus Microsoft T&C means Cryengine is a no-go from the start. Unreal works on Linux natively, including the editor, meaning valuable assets etc. can be better protected than on Windows.
jatin-cbs commented Sep 19, 2020
Yes we also were about to use cryengine but no linux support means we cannot run it on deployment machines as most deployment machines have linux most development machines run windows but yes many are linux as well.. as if we use unity or unreal both native and cross compilation is supported. Also our assets are more safe and remain stable on linux platform.. Cryengine is now a no go.. @madscientist159
Источник
Linux
Overview
CRYENGINE is supported on the Ubuntu 16 64bit Linux distribution. Other Linux distributions will likely work as well, however they are not actively tested and supported by development team.
Compilation prerequisites
CRYENGINE compilation on Linux requires that you have some externally provided packages installed on your system. The following table explains how to make sure you have every package required for compilation installed.
Package | How to install (Ubuntu) | Notes |
---|---|---|
Build Essential | sudo apt-get install build-essential | This package provides the C libraries and gcc compiler |
Clang (optional) | sudo apt-get install clang-3.8 | Install if you wish to use the clang compiler instead of gcc |
Python + TK | sudo apt-get install python python-tk | Python and Tk are used by the WAF build system to configure and setup the build |
SDL2 | sudo apt-get install libsdl2-dev | Install only for CRYENGINE 3.8.5 and older, for 3.8.6 it is automatically included |
NCurses | sudo apt-get install libncurses5-dev libncursesw5-dev | Install only for CRYENGINE 3.8.5 and older, for 3.8.6 it is automatically included |
Compiling
The CRYENGINE runtime and game code can be compiled for 64-bit Linux using the WAF build system.
In order to compile you can enter the following command in a Linux terminal in the root directory:
./cry_waf.sh build_ linux_x64_ _ —project-spec=
with the following replacements
Compiler of choice. Can be either gcc or clang. |
Build configuration. Possible values are release, performance, profile and debug. |
Name of the chosen project spec (for example gamesdk, gamesdk_and_tools, gamezero. ). |
For example, to build the CRYENGINE with the GameSDK project in Profile configuration with GCC, type:
./cry_waf.sh build_linux_x64_gcc_profile —project-spec=gamesdk
This command will produce the binaries for the project in the BinLinux64 sub-folder (in this case BinLinux64gcc).
Visit WAF Build System for more informations about WAF and more advanced options.
Running prerequisites
CRYENGINE does not support the open source graphics drivers usually enabled by default in Linux distributions as they are often not fully OpenGL compliant.
Please make sure you install the latest proprietary drivers for your graphics card.
For Ubuntu you can follow these guides to get the correct vendor drivers installed:
CRYENGINE on Linux also uses the SDL2 library runtime.
The command to install it on Ubuntu is:
Stack Traces & Core Dumps
Stack traces will be written to a file name backtrace.log in the current working directory of the executable.
To enable core dumps, please run the Launcher with the generated shell script Launch_GameSDK.sh in the bin/linux_x64_ / folder.
Known issues
These are the current known limitations specific to the Linux version of CRYENGINE:
- Hardware tessellation is not supported.
- CRYENGINE requires at least an OpenGL 4.3 compliant system.
- Some older graphics drivers are not supported. For this reason it is recommended to update your graphics driver before running CRYENGINE.
Источник
Installing CRYENGINE
Overview
To install CRYENGINE, a CRYENGINE account and the CRYENGINE Launcher are both required. Once installed, the CRYENGINE Launcher allows users to download different versions of CRYENGINE and to create/edit projects.
Existing CRYENGINE account holders only need to log in through the CRYENGINE Launcher to download the latest Engine and or Launcher release.
Creating a CRYENGINE Account
Besides providing access to the latest CRYENGINE release, a CRYENGINE account also grants users access to a community of game developers and curated assets, many of which are free of charge.
To sign-up for a CRYENGINE account, click the GET CRYENGINE button and complete the Sign up process, (please make sure to read and agree to the Terms of Service and Privacy Policy). You will then receive a verification email which you need to acknowledge.
Sign Up
Downloading and Installing the CRYENGINE Launcher
Clicking the DOWNLOAD button on the CRYENGINE homepage automatically downloads a copy of the Launcher Setup Wizard.
Simply follow the on-screen instructions to complete the installation process — the CRYENGINE Launcher icon will be added to your desktop as part of the installation process..
Installing CRYENGINE
For earlier versions of the CRYENGINE Launcher (prior to release 1.10.0 (14 May 2019)), there was a requirement that at least one project (that utilized the to be installed CRYENGINE version) had to be created and saved to disk in order for that version of CRYENGINE to be downloaded and installed. Since release 1.10.0 this requirement has been removed.
Источник