1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

modifying .uc files

Discussion in 'Programming' started by gjq, Jun 15, 2017.

  1. gjq

    gjq New Member

    Joined:
    Jun 15, 2017
    Messages:
    7
    Likes Received:
    0
    Hi,

    I am a newbie trying to modify .uc files (and creating a new one) from a previously compiled game. Here is a walk-through of what I have tried.

    When I recompile ("ucc make" in a console in the "System" folder), I see that sometimes the changes I make are taken into account, but not always. So I manually deleted all .u files and recompile.

    I get the following slew of warnings/errors:
    1. A whole bunch of .h files needed to be updated (they didn't exist):
    I didn't have the folder "Inc" in any of these classes (Editor, Engine, UnrealEd etc.), and saying "Y" to overwrite/force overwrite does nothing. I get past this error when I simply create an "Inc" subfolder in every class folder it complains about.

    2. For a new .uc I created, I get this after my class is released:
    even though my .uc file has the same name as the class. Why is the class name recognized as only a "."?? I see that if I do NOT delete the .u files now, but rerun
    Code:
    ucc make
    without doing anything else, I get the following message instead (so I have to recompile twice??):
    This leads me to the next error.

    3. I get a "Critical Error" window saying:
    Although Exp2GameInfo.uc does exist in a folder called "Neuro2" (or "neuro2" -- but I checked that it doesn't seem to be case-sensitive). And I tried removing the EyeLinkTCP.uc file but still get this error.

    I also, btw, am running on a machine with Intel Core i7 and an NVIDIA GeForce GTX 1050 Ti and running Windows 10 Pro (why is it showing up as Windows NT?).

    4. At one stage, when I remove every bit of code that gives me a warning, I get the following Critical Error window:
    I've tried moving/deleting the following files from the System folder: UE2Runtime.ini, User.ini and Default.ini -- which gets rid of the error message but then the game doesn't start either...so I guess I need to modify something here? I see that UE2Runtime.ini gets generated each time, so it's one of the other two that should lead me to the error (what?)?

    I am at a loss and have trawled through the forums -- I would really appreciate any advice!! Thanks in advance for any help
     
    Last edited: Jun 15, 2017
  2. gjq

    gjq New Member

    Joined:
    Jun 15, 2017
    Messages:
    7
    Likes Received:
    0
    For anyone having similar errors, which I find a bit opaque, I was getting these errors because I had created .uc files that were not named according to the convention in the map files, I am told (though not sure what that means). Once I renamed the new .uc files I created with the correct prefix, deleted the .u file for the custom package I was dealing with, "ucc make" didn't come up with any of the above errors.
     

Share This Page