Announcement

Collapse
No announcement yet.

[TOOL] Create your own binary build for your team

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

    #16
    Originally posted by dragon3582 View Post
    1. When the binary builder runs, it doesn't frame the command prompt window inside of the binary builder like the picture at the top. It just closes it and the command prompt comes up and begins running through it.
    Did you run AutomationTool from inside Binary Builder? You have to select the AutomationTool.exe inside the Binary Builder application and after selecting you have to click the Build button. This program will then run AutomationTool.exe with given parameters and displays the output inside the log window to the right.

    Originally posted by dragon3582 View Post
    2. At the end the command prompt closed suddenly, but i managed to make out it saying warning with some red text by it.
    To overcome this issue what I used to do before creating this app was I created a bat file that executed AutomationTool.exe manually and then put a pause command at the end. This prevented the CMD window from closing automatically.

    For example, here is an example content. You save the below stuff as a bat file and then run this:
    Code:
    "\Engine\Binaries\DotNET\AutomationTool.exe" BuildGraph -target="Make Installed Build Win64" -script=Engine/Build/InstalledEngineBuild.xml -set:WithDDC=false -set:HostPlatformOnly=true -set:SignExecutables=false -NoSign
    pause
    Originally posted by dragon3582 View Post
    3. Still no LocalBuilds folder.
    Because your build is failing for some reason.
    Last edited by ryanjon2040; 08-17-2017, 01:30 AM.
    Unreal Issue Tracker - Desktop App for Unreal Engine Issues
    Unreal Nexus - Create Share and Experience!

    Unreal Engine 4 World-Wide User Map

    [PLUGIN] Aws Gamelift Client Plugin
    [TOOL] Create your own binary release of UE4 from GitHub source
    [Marketplace] Vehicle Soccer Template
    [Marketplace] Objective Waypoint System
    My UE4 Tutorials and Misc Tools

    Lead Programmer at YetiTech Studios
    Your Friendly Neighborhood
    Satheesh PV (a.k.a RyanJon2040) | Twitter, Instagram, Facebook, LinkedIn, YouTube, Google+

    Comment


      #17
      Yea I did run the automation tool from the binary builder. It just closed and opened the command prompt. I'll save that as a batch file and try to run it tomorrow. It takes around 40 minutes to get through everything before failing for some reason. I'll see if this script can help me shed some light on this build fail and ill get back to you on what it did.

      Comment


        #18
        Originally posted by dragon3582 View Post
        Yea I did run the automation tool from the binary builder. It just closed and opened the command prompt. I'll save that as a batch file and try to run it tomorrow. It takes around 40 minutes to get through everything before failing for some reason. I'll see if this script can help me shed some light on this build fail and ill get back to you on what it did.
        I just checked the download link and I think you are using the old version. i just updated the download link so please download the app from this link and you should now see the log window like in the first post. https://github.com/ryanjon2040/UE4-B...ilder/releases

        I only updated the git source and forgot to update the actual download to the new one. Sorry for the confusion.

        Follow the same steps as mentioned above and you should now see the error that's causing the build to fail.
        Last edited by ryanjon2040; 11-24-2018, 10:18 AM.
        Unreal Issue Tracker - Desktop App for Unreal Engine Issues
        Unreal Nexus - Create Share and Experience!

        Unreal Engine 4 World-Wide User Map

        [PLUGIN] Aws Gamelift Client Plugin
        [TOOL] Create your own binary release of UE4 from GitHub source
        [Marketplace] Vehicle Soccer Template
        [Marketplace] Objective Waypoint System
        My UE4 Tutorials and Misc Tools

        Lead Programmer at YetiTech Studios
        Your Friendly Neighborhood
        Satheesh PV (a.k.a RyanJon2040) | Twitter, Instagram, Facebook, LinkedIn, YouTube, Google+

        Comment


          #19
          Ah i see. Do you still want me to try the batch file or will this version of the binary builder pause at the end to show me the error?

          Comment


            #20
            Originally posted by dragon3582 View Post
            Ah i see. Do you still want me to try the batch file or will this version of the binary builder pause at the end to show me the error?
            Try the new binary builder. That will work .
            Unreal Issue Tracker - Desktop App for Unreal Engine Issues
            Unreal Nexus - Create Share and Experience!

            Unreal Engine 4 World-Wide User Map

            [PLUGIN] Aws Gamelift Client Plugin
            [TOOL] Create your own binary release of UE4 from GitHub source
            [Marketplace] Vehicle Soccer Template
            [Marketplace] Objective Waypoint System
            My UE4 Tutorials and Misc Tools

            Lead Programmer at YetiTech Studios
            Your Friendly Neighborhood
            Satheesh PV (a.k.a RyanJon2040) | Twitter, Instagram, Facebook, LinkedIn, YouTube, Google+

            Comment


              #21
              Alright it finally rebuilt itself and stopped at the end.

              ERROR: Failed to start local process for action ("The system cannot find the file specified"): C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\AppxPackage\PDBCopy.exe "D:\UE4_Custom\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb" "D:\UE4_Custom\Saved\Engine\Binaries\Win64\Android\UE4Editor-Android_ASTCTargetPlatform.pdb" -p
              Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

              I'm guessing it's a problem with visual studio here as I installed it on my D drive. My directory has the PDBcopy, but it's in the v15.0 folder instead of the v12.0 because there is no v12.0 folder.

              Edit: I reinstalled Visual Studio in the C drive in hopes it would generate the files in the specified location, but it seems that it's still in a way different directory than what the compiler thinks it's supposed to be at. If I could change where it thinks the PDBCopy file is, that would solve my issue. But I have no idea where to start looking for where it tries to get that directory from.
              Last edited by dragon3582; 08-17-2017, 08:32 PM.

              Comment


                #23
                Yea I looked through that post already. It didn't really help me much. I did however find out exactly where the path is being set in the source code. The thing I'm wondering now is, can i change it to be the pathway I need it too without messing much stuff up?

                It's in the WinPlatform.Automation.cs script on line 370. I can change that line specifically to be the pathway it should try to look for, but it does contain spaces in the folder names. I'm not sure if putting "Microsoft Visual Studio" and other folder with spaces like that into the file pathway name if it might cause it to throw me an error. I also don't know if i can just change this line, save, and then retry the binary tool and hope for the best. Would you happen to know these couple things?
                Last edited by dragon3582; 08-18-2017, 01:51 AM.

                Comment


                  #24
                  Originally posted by dragon3582 View Post
                  Yea I looked through that post already. It didn't really help me much. I did however find out exactly where the path is being set in the source code. The thing I'm wondering now is, can i change it to be the pathway I need it too without messing much stuff up?

                  It's in the WinPlatform.Automation.cs script on line 370. I can change that line specifically to be the pathway it should try to look for, but it does contain spaces in the folder names. I'm not sure if putting "Microsoft Visual Studio" and other folder with spaces like that into the file pathway name if it might cause it to throw me an error. I also don't know if i can just change this line, save, and then retry the binary tool and hope for the best. Would you happen to know these couple things?
                  You can try changing that one line and see if it helps. I haven't faced an issue like this before so not sure what's wrong. I have linked your post on discord so you can check there if someone got an idea on how to fix this issue. https://discordapp.com/channels/1872...99439008923648 (Discord does not feature direct link to message so open that link and search for PDBCopy.exe)
                  Unreal Issue Tracker - Desktop App for Unreal Engine Issues
                  Unreal Nexus - Create Share and Experience!

                  Unreal Engine 4 World-Wide User Map

                  [PLUGIN] Aws Gamelift Client Plugin
                  [TOOL] Create your own binary release of UE4 from GitHub source
                  [Marketplace] Vehicle Soccer Template
                  [Marketplace] Objective Waypoint System
                  My UE4 Tutorials and Misc Tools

                  Lead Programmer at YetiTech Studios
                  Your Friendly Neighborhood
                  Satheesh PV (a.k.a RyanJon2040) | Twitter, Instagram, Facebook, LinkedIn, YouTube, Google+

                  Comment


                    #25
                    I managed to change that line and it looked like it worked basically once i rebuilt that specific thing. And then it got past the stripping part where the previous error was. For some reason visual studio seems to have a pretty different file pathway than what that line believed it to be, but that's not the end of my problems unfortunately. I got a whole slew of new errors that I have absolutely no idea what the heck mean. There's quite a bit of error messages that popped up. This is the first line it says, but then goes into a lot of line numbers in different files.

                    Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: BUILD FAILED: failed, retries not enabled:
                    AutomationToolProcess exited with code 1


                    Just out of curiosity though, how long does it generally take to make an installed build? Cause it seemed to be pushing about 50 minutes before it stopped with errors relating to whatever else it has some problem with.

                    I'm going to attempt tomorrow to build a different engine version release as a test with the file modification to test to see if it will give me the same errors. I did find it odd that when I was watching it, I saw it try to parallel execute a certain file about 50 times. I was a little confused. PCLaunch.rc is what I think it might've been called.



                    Also I can't see the discord channel. It just sends me to the add friend page for some reason instead of the channel. Maybe it's private? I would love to check in on a discord channel that might help.

                    Edit: Tried anther different release build. Same thing. It's probably because of that one line change I did so ill just keep looking for a way around the PDBCopy thing without changing that pathway it has in there. Hopefully someone in the discord channel has had some kind of thing with this happen and knows what to do.
                    Last edited by dragon3582; 08-19-2017, 01:58 PM.

                    Comment


                      #26
                      Has there been any news in that discord channel about any possible ways to fix the PDBCopy pathway issue? Everytime I click that link it just takes me to the add friends page of discord for some reason.

                      Comment


                        #27
                        While this might have been fancy in it's time, I simply couldn't get this tool to work. From what I can gather, it's a GUI front end for RunUAT.bat, running a BuildGraph script. The PDBCopy issue will still need to be solved, but take a gander at this very helpful article: http://jackknobel.com/BuildGraph/Bui...installed-ue4/
                        Customize your builds with the BuildGraph scripting system.

                        Comment


                          #28
                          Originally posted by Derjyn View Post
                          While this might have been fancy in it's time, I simply couldn't get this tool to work. From what I can gather, it's a GUI front end for RunUAT.bat, running a BuildGraph script. The PDBCopy issue will still need to be solved, but take a gander at this very helpful article: http://jackknobel.com/BuildGraph/Bui...installed-ue4/
                          Recently I formatted my PC and faced the same PDBCopy issue. I think UE4 still checks for PDBCopy for VS2015. Here are the PDBCopy.exe locations on my PC. If its there in these locations you shouldn't face PDBCopy.exe issue.

                          Unreal Issue Tracker - Desktop App for Unreal Engine Issues
                          Unreal Nexus - Create Share and Experience!

                          Unreal Engine 4 World-Wide User Map

                          [PLUGIN] Aws Gamelift Client Plugin
                          [TOOL] Create your own binary release of UE4 from GitHub source
                          [Marketplace] Vehicle Soccer Template
                          [Marketplace] Objective Waypoint System
                          My UE4 Tutorials and Misc Tools

                          Lead Programmer at YetiTech Studios
                          Your Friendly Neighborhood
                          Satheesh PV (a.k.a RyanJon2040) | Twitter, Instagram, Facebook, LinkedIn, YouTube, Google+

                          Comment


                            #29
                            I'm facing this PDBCopy.exe issue aswell, visual studio paths for me dont look anything like the above paths you posted RyanJon

                            Comment


                              #30
                              So i fixed PDBCopy with a fresh install of VS 2015 on a different computer, but i got this error on the binary build, any ideas?


                              ParallelExecutor.Execute: UE4Game-Win64-Shipping.exe
                              ParallelExecutor.Execute: Creating library C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Binaries\Win64\UE4Game-Win64-Shipping.lib and object C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Binaries\Win64\UE4Game-Win64-Shipping.exp
                              ExceptionUtils.PrintExceptionInfo: ==============================================================================
                              ExceptionUtils.PrintExceptionInfo: ERROR: BUILD FAILED: failed, retries not enabled:
                              ExceptionUtils.PrintExceptionInfo: while executing <Compile Target="UE4Game" Configuration="Development" Platform="Win64" Arguments="-precompile -nodebuginfo" AllowXGE="True" AllowParallelExecutor="True" Tag="#UE4Game Win64" />
                              ExceptionUtils.PrintExceptionInfo: while executing <Compile Target="UE4Game" Configuration="Shipping" Platform="Win64" Arguments="-precompile -nodebuginfo" AllowXGE="True" AllowParallelExecutor="True" Tag="#UE4Game Win64" />
                              ExceptionUtils.PrintExceptionInfo: at Engine\Build\InstalledEngineBuild.xml(163)
                              ExceptionUtils.PrintExceptionInfo: (see C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
                              ExceptionUtils.PrintExceptionInfo:
                              ExceptionUtils.PrintExceptionInfo: AutomationException: BUILD FAILED: failed, retries not enabled:
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumberOverride, Dictionary`2 InTargetToManifest) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\AutomationUtils\UE4Build.cs:line 1497
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.CompileTaskExecutor.Execute(JobContext Job, HashSet`1 BuildProducts, Dictionary`2 TagNameToFileSet) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\BuildGraph\Tasks\CompileTask.cs:line 154
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.Node.Build(JobContext Job, Dictionary`2 TagNameToFileSet) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\BuildGraph\Node.cs:line 197
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.BuildGraph.BuildNode(JobContext Job, Graph Graph, Node Node, TempStorage Storage, Boolean bWithBanner) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 685
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.BuildGraph.BuildAllNodes(JobContext Job, Graph Graph, TempStorage Storage) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 614
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.BuildGraph.Execute() in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\BuildGraph\BuildGraph.cs:line 421
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Execute(List`1 CommandsToExecute, Dictionary`2 Commands) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 558
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.Automation.Process(String[] Arguments) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\AutomationUtils\Automation.cs:line 528
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.MainProc(Object Param) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\Program.cs:line 132
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param) in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\AutomationUtils\Utils.cs:line 708
                              ExceptionUtils.PrintExceptionInfo: at AutomationTool.Program.Main() in C:\Users\Administrator\Downloads\UnrealEngine-Blast-4.18\Engine\Source\Programs\AutomationTool\Program.cs:line 62
                              ExceptionUtils.PrintExceptionInfo: data: EpicGames.Context = System.Collections.Generic.List`1[System.String]
                              ExceptionUtils.PrintExceptionInfo: ==============================================================================
                              Program.Main: AutomationTool exiting with ExitCode=1 (Error_Unknown)

                              Comment

                              Working...
                              X