Announcement

Collapse
No announcement yet.

Building UT4 natively on Linux box

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Building UT4 natively on Linux box

    Hi, is there a wiki page describing the building process for UT4 on Linux. The GitHub page refers to https://wiki.unrealengine.com/Building_On_Linux which is highly misleading because it contains the instructions for compiling UE4.

    #2
    i succesfully build the UE4Editor with the indications (https://wiki.unrealengine.com/Building_On_Linux) in run it ok, but how to run the Unreal Tournament 4 Game?, i try to do: make UE4Game, but there is no-cooked files and the compilation of UE4Game fails.

    how can i play Unreal Tournament 4 on Linux, time ago run it using this post: https://www.epicgames.com/unrealtour...l-ut4-on-linux but now the original files on the forum are gone.

    thankyou!

    Comment


      #3
      If the only thing you want is to play, best would be to look for "0.1.11 Update posted 4/18/2017" post in announcement to download linux build by clicking to "Yes". Later versions (0.1.12 & 0.1.12.1) are faster, specially on slow PCs, and have few bugs corrected but unfortunaty also have a problem connecting to MCP which makes you unable to save your progress.

      Comment


        #4
        Ok, since epic seems to have abandoned our beloved game and Linux, as usual, getting neglected even more, I have decided to generate a repository devoted especially for UT building on Linux box.

        The schematic plan is as follows:
        1. Port the UT4 (prealpha) code to UE4.
        2. Make UnrealBuildTool (UBT) more Linux friendly.
        3. Anything else I missed...

        I have already begun on this journey. Right now I am stuck at generating Makefile in Linux. The UnrealHeaderTool error I am getting is
        Code:
        Error: Couldn't find parent type for 'UTParty' named 'UParty' in current module or any other module parsed so far.
        And the source of this error is clear. In UTParty.h there is the inheritance code
        Code:
        class UNREALTOURNAMENT_API UUTParty : public UParty
        {
            GENERATED_UCLASS_BODY()
        
        public:
            // Begin UParty interface
            virtual void UpdatePersistentPartyLeader(const FUniqueNetIdRepl& NewPartyLeader) override;
            virtual void GetDefaultPersistentPartySettings(EPartyType& PartyType, bool& bLeaderFriendsOnly, bool& bLeaderInvitesOnly, bool& bAllowInvites) override;
            virtual void HandlePendingJoin() override;
            // End UParty interface
        
          ...
        }

        I have searched the entire UT4 and UE4 source directories and can't find the class 'UParty'. Does someone from Windows platform have clue on how to resolve this issue?

        Comment


          #5
          Well, it will be a lot of efforts but it's your call. Have a look at this thread, Sereau and Malavon already started to port UT4 to newer versions of UE for Windows and FreeBSD respectively. Maybe worthy to contact them ...

          Comment


            #6
            I think I got the reason for this error. UE 4.22 has mostly different directory structure and nomenclature relative to UE 4.2 (or whatever that version was), which is not surprising. I will have to be careful what to include this time

            Comment


              #7
              Hey The-Cowboy - I'd be happy to chip in some of my time to help testing and discussing some solutions. I authored the first unofficial UT4 server browser back in the alpha times. Are you still working on the build? Do you have a dedicated IRC/Slack/Discord channel to this project perhaps?
              UTLauncher - standalone Unreal Tournament server browser / Download / Github
              ut.rushbase.net - free community hosting for Unreal Tournament assets

              Comment


                #8
                Nice to hear from you RushPL. I am still working on the build (right now updating the code by keeping deprecated functions in check and all that!). I'd like to have discussions and Slack seems awesome for that. I'll post the channel name here asap (wasn't aware that the UT spirit is alive).

                Comment


                  #9
                  Ok the url of new Slack channel for this project is unrealr.slack.com (or let me know your email). Hoping to see and welcome the interested parties there.
                  Last edited by The-Cowboy; 05-17-2019, 03:36 AM.

                  Comment


                    #10
                    If someone is still ghosting these forums, there is an update for them. I have been able to port the code to latest Engine (4.22) and successfully compile it. Right now I am stuck at the OS specific error https://forums.unrealengine.com/deve...-library-fault.

                    @Rush, now might be a good time to jump in!

                    Comment


                      #11
                      Yeehaw! UT now loads up in the Editor of UE 4.22! And once again the community beat Epic to it.
                      Last edited by The-Cowboy; 06-25-2019, 11:33 PM.

                      Comment


                        #12
                        All going as per the plan. UT code compiles with TargetType as Editor and Game. Right now I am trying to package UT from Editor and stuck at https://forums.unrealengine.com/deve...-in-the-editor.

                        Comment


                          #13
                          Ok we finally have the GitHub repository https://github.com/ravimohan1991/LinuxUnrealTournament.

                          Comment


                            #14
                            More progress!!! I can now make editor cook the contents without any issues except it hangs my computer (nothing wrong codewise). If you wanna support the project give me some money to buy core i9 processor (or send it to my address).
                            We are too close to give up now!

                            Comment


                              #15
                              Now the cooking error is
                              Code:
                              UATHelper: Cooking (Linux):   1001LogLinker: Warning: Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              UATHelper: Cooking (Linux):   LogLinker: Warning: Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              UATHelper: Cooking (Linux):   LogUObjectGlobals: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              UATHelper: Cooking (Linux):   LogUObjectGlobals: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              UATHelper: Cooking (Linux):   1001LogLinker: Warning: Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              UATHelper: Cooking (Linux):   LogLinker: Warning: Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              UATHelper: Cooking (Linux):   LogUObjectGlobals: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              UATHelper: Cooking (Linux):   LogUObjectGlobals: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              UATHelper: Cooking (Linux):   LogOutputDevice: Warning:
                              UATHelper: Cooking (Linux):   
                              UATHelper: Cooking (Linux):   Script Stack (0 frames):
                              UATHelper: Cooking (Linux):   
                              UATHelper: Cooking (Linux):   LogOutputDevice: Warning:
                              UATHelper: Cooking (Linux):   
                              UATHelper: Cooking (Linux):   Script Stack (0 frames):
                              UATHelper: Cooking (Linux):   
                              PackagingResults: Warning: Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              PackagingResults: Warning: Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              PackagingResults: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              PackagingResults: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec'
                              PackagingResults: Warning: Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              PackagingResults: Warning: Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              PackagingResults: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              PackagingResults: Warning: Failed to load '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec': Can't find file for asset '/Game/EpicInternal/Lea/DM-Lea/Textures/GeneralMetal/Lea_general_metal_spec' while loading NULL.
                              UATHelper: Cooking (Linux):   Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/home/the_cowboy/unrealworks/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 611]
                              UATHelper: Cooking (Linux):   LogCore: Error: appError called: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/home/the_cowboy/unrealworks/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 611]
                              UATHelper: Cooking (Linux):   Array index out of bounds: 3 from an array of size 930340760
                              UATHelper: Cooking (Linux):   
                              UATHelper: Cooking (Linux):   LogCore: Error: appError called: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/home/the_cowboy/unrealworks/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 611]
                              UATHelper: Cooking (Linux):   Array index out of bounds: 3 from an array of size 930340760
                              UATHelper: Cooking (Linux):   
                              UATHelper: Cooking (Linux):   Array index out of bounds: 1101004799 from an array of size 1653
                              UATHelper: Cooking (Linux):   Signal 11 caught.
                              UATHelper: Cooking (Linux):   Malloc Size=65538 LargeMemoryPoolOffset=65554
                              UATHelper: Cooking (Linux):   CommonUnixCrashHandler: Signal=11
                              UATHelper: Cooking (Linux):   Malloc Size=65535 LargeMemoryPoolOffset=131119
                              UATHelper: Cooking (Linux):   Malloc Size=635024 LargeMemoryPoolOffset=766160
                              PackagingResults: Error: appError called: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/home/the_cowboy/unrealworks/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 611]
                              PackagingResults: Error: appError called: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:/home/the_cowboy/unrealworks/UnrealEngine/Engine/Source/Runtime/Core/Public/Containers/Array.h] [Line: 611]
                              UATHelper: Cooking (Linux):   LogCore: Warning: Unable to statfs('/home/the_cowboy/unrealworks/UnrealProjects/UnrealTournament/Saved/Crashes/crashinfo-UnrealTournament-pid-3923-B8F375AC08D7113B964005024D8F4C15/Cook-2019.07.25-19.51.28.txt'): errno=2 (No such file or directory)
                              PackagingResults: Warning: Unable to statfs('/home/the_cowboy/unrealworks/UnrealProjects/UnrealTournament/Saved/Crashes/crashinfo-UnrealTournament-pid-3923-B8F375AC08D7113B964005024D8F4C15/Cook-2019.07.25-19.51.28.txt'): errno=2 (No such file or directory)
                              I have no clue what it means. Tried GDB debugger, but apparently it is not catching this particular exception

                              Comment

                              Working...
                              X