I'll implement this when I have a moment tomorrow; thanks for letting me know
I'll set this up for UE4 package as well, while I'm at it
Git Clone URL: | https://aur.archlinux.org/unreal-engine.git (read-only, click to copy) |
---|---|
Package Base: | unreal-engine |
Description: | A 3D game engine by Epic Games which can be used non-commercially for free. |
Upstream URL: | https://www.unrealengine.com/ |
Keywords: | 3D engine game ue5 Unreal |
Licenses: | GPL3, custom:UnrealEngine |
Submitter: | acerix |
Maintainer: | Shatur |
Last Packager: | Neko-san |
Votes: | 76 |
Popularity: | 0.029809 |
First Submitted: | 2016-05-01 18:37 (UTC) |
Last Updated: | 2024-11-16 03:10 (UTC) |
« First ‹ Previous 1 .. 18 19 20 21 22 23 24 25 26 27 28 .. 82 Next › Last »
I'll implement this when I have a moment tomorrow; thanks for letting me know
I'll set this up for UE4 package as well, while I'm at it
This package needs to add the dependency openssl-1.1
and steam
,
for "Turnkey" thats like an internal program to detect Clang targets to compile to,
otherwise it only compiles to Linux x86_64 or nothing,
meaning you can not compile your game into a binary.
Steam needs to be added as dependency too,
because it searchs for Steam SDK and .so
binaries at startup in a broken symlink at $HOME/.steampath
,
error says Warning: Cannot determine whether '/home/juan/.steampath' is a directory - stat() failed with errno=2 (No such file or directory)
,
the symlink also needs to be created.
It also needs to run these:
ln -s $HOME/.steampath $HOME/.steam/bin
mkdir -p $HOME/.config/Epic/UnrealEngine/5.0/Intermediate/
mkdir -p $HOME/.cnfig/Epic/UnrealEngine/5.0/Intermediate/
chmod +x /opt/unreal-engine/Engine/Binaries/ThirdParty/Mono/Linux/bin/xbuild
chmod +x /opt/unreal-engine/Engine/Binaries/ThirdParty/Mono/Linux/bin/mcs
mkdir -p /opt/unreal-engine/Engine/Binaries/Android/
You can try yourself what I am saying by running
/opt/unreal-engine/Engine/Build/BatchFiles/RunUAT.sh Turnkey -utf8output -WaitForUATMutex -command=VerifySdk -ReportFilename="$HOME/.cnfig/Epic/UnrealEngine/5.0/Intermediate/TurnkeyReport_0.log" -log="$HOME/.config/Epic/UnrealEngine/5.0/Intermediate/TurnkeyLog_0.log" -platform=all
and /opt/unreal-engine/Engine/Build/BatchFiles/Linux/Build.sh -Mode=QueryTargets -Output="/opt/unreal-engine/Engine/Intermediate/TargetInfo.json" -progress
.
@Neko-san I have /root and /home with separate partition.
so /home need 200-300 GB free space for compilation. (which i dont have this much free space left xD) and /root need 60+ GB free space for Installation directory (/opt/UE). right?
Can it actually being installed in /home partition tho like Unity Editor does?
@wilaze131
1) Compilation, in my experience, typically requires between 200 to 300GBs but the completed installation itself (not the package archive but the actual extracted data) is about ~57GBs or so
2) If you look inside the PKGBUILD file, you can configure where you want it to install, but it's set to install to /opt/unreal-engine
by default
Hi, how many space did i need to install this? and is it being installed on /home directory or /root directory?
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
sudo groupadd unrealengine-users
sudo usermod -aG unrealengine-users (your-username)
sudo chown -R root:unrealengine-users /opt/unreal-engine
sudo chmod -R 775 /opt/unreal-engine
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the 777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).
Make /opt/unreal-engine/Engine/Plugins/
writable?, so other applications can install plugins, like Quixel Bridge, those applications will not ask for sudo
access just fail to install, I tried other locations and does not work.
Created unreal-engine-bin, any feedback is welcome.
https://aur.archlinux.org/packages/packettracer Uses a pre built binary that has to be downloaded by the user, maybe something like that could work here. It would require the user to download the package manually. But I would gladly do that over the four hour build time.
I'm considering that but it's both behind a login screen (1st blocker from working with a PKGBUILD) and their login page isn't even working for me. :)
Even if I could login, we wouldn't be getting those download links without authentication that PKGBUILDs can't provide.
Pinned Comments
Neko-san commented on 2022-11-01 02:32 (UTC) (edited on 2023-06-25 01:19 (UTC) by Neko-san)
@juancarlospaco this is easily done on your own system, not in a PKGBUILD, given that building packages runs as root:
Permission issues like this are already mentioned on the UE Arch wiki page: https://wiki.archlinux.org/title/Unreal_Engine_4#Installing_from_the_AUR
This is a user system problem; I already did what I could without needing users to do the above by giving the
777
permissions. If it still gives you trouble, you'll have to use the example to solve it or change the install location to somewhere you have user permissions by default (as I cannot do this for you).zerophase commented on 2021-05-27 08:15 (UTC) (edited on 2021-05-30 08:41 (UTC) by zerophase)
Will update to 5.0 when it is released.