Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

Pretty nasty bug.

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

  • Pretty nasty bug.

    I don't know if it was just a one-shot bug, but, I was compiling, and cancelled mid-ways.

    After that I had to reinstall the entire UDK, because I couldn't re-run UDK.exe, it popped up with the message:
    Originally posted by UDK.exe make
    ---------------------------
    Message
    ---------------------------
    Invalid install detected:
    Missing script files
    Please try re-installing.
    ---------------------------
    OK
    ---------------------------
    Doesn't seem good to have to reinstall everytime you cancel a build.

    Edit: Also seem to happen sometimes when the build fails.

  • #2
    D'oh! This is caused by code that verifies a proper install by making sure Core.u, Engine.u, and GameFramework.u are present.

    We'll fix that up, but in the mean time you can simply keep those files around and whenever you get a compile failure that deletes them copy them back in from your backup, fix the failure and recompile.

    Out of curiosity, are you modifying GameFramework? We clearly didn't anticipate this :-)

    Comment


    • #3
      Originally posted by vogel View Post
      D'oh! This is caused by code that verifies a proper install by making sure Core.u, Engine.u, and GameFramework.u are present.

      We'll fix that up, but in the mean time you can simply keep those files around and whenever you get a compile failure that deletes them copy them back in from your backup, fix the failure and recompile.

      Out of curiosity, are you modifying GameFramework? We clearly didn't anticipate this :-)
      Haha, nope. I added a class in Engine to test if we are finally able to modify things like Actor, rather than putting reused variables in all extending classes, and we can. That's so great.


      Edit:
      I wrote a small batch file as a temporary fix.

      Create a folder in your UDK directory called something like BUILDER. (eg. C:\UDK\UDK-2009-11\BUILDER

      Copy Core.u, Engine.u and GameFramework.u from UTGame\Script to the BUILDER folder.

      Create a new text file and call it BuildScripts.bat and copy/paste this code chunk:
      Originally posted by BuildScripts.bat
      @echo off
      echo Building scripts, please wait...
      copy Core.u ..\UTGame\Script\Core.u
      copy Engine.u ..\UTGame\Script\Engine.u
      copy GameFramework.u ..\UTGame\Script\GameFramework.u
      cd ..\Binaries
      udk.exe make
      Just execute the BuildScripts.bat whenever you want to rebuild your scripts.

      If you place it somewhere else, make sure to update the relative paths in the batch file!

      Comment


      • #4
        I added a class in Engine to test if we are finally able to modify things like Actor, rather than putting reused variables in all extending classes, and we can. That's so great.
        Please note that you can't add/ remove properties to a native class as that is going to change its memory layout and would require C++ changes. You might get subtle bugs and crashes if you do that.

        Comment


        • #5
          Originally posted by vogel View Post
          Please note that you can't add/ remove properties to a native class as that is going to change its memory layout and would require C++ changes. You might get subtle bugs and crashes if you do that.
          Okay, thanks for telling me. I'll probably notice if it happens.

          Comment


          • #6
            Yup, ran across this exact problem. Looks like I lost Engine.u, and GameFramework.u

            I was not modifying any of the 3 listed files, but did somehow compile with UnrealFrontend.exe, and then running my modified superfungame, the game crashed. One of those window's "program is not responding" errors came up.

            Edit: just had it again. Hit Cook - then canceled it after a few seconds, and then tried to make. After UnrealFrontend tells me I need to reinstall, it crashes. I guess I should have let it cook. It can't cook or make btw, but you probably knew that. Also for anyone else who wonders - yes copying the 3 files back into UTGame/Script fixes it. Have to make every thing over.

            Comment


            • #7
              Hello, i'm having this message:
              ---------------------------
              Message
              ---------------------------
              Invalid install detected:
              Missing script files
              Please try re-installing.
              ---------------------------
              OK
              ---------------------------
              every time i'm trying to launch UDK.exe (including first launch)

              Multiple reinstalls didn't fix it.

              PS: Actually i don't have "Script" folder.

              Can you help me?

              Comment


              • #8
                I have same problem after I stopped compiling.
                I resolved it by copy
                C:\UDK\UDK-2009-11\UTGame\back\Script
                to C:\UDK\UDK-2009-11\UTGame\Script.

                Comment


                • #9
                  Got this problem right now, any chance someone can post there default script folder for me so I dont have to reinstall ?

                  Regards McT

                  Nevermind, Im reinstalling

                  Comment


                  • #10
                    Protip: You can just open the UDKInstall exe in 7zip or other decent compressed archive application, and extract the .u files out of it.

                    Comment

                    Working...
                    X