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.

2.9 mutator compiling.

Discussion in 'Infiltration Development' started by Keganator, Dec 23, 2003.

  1. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    I am confused and upset, for I have no idea why my mutator compiling has two very important and annoying problems.

    The first is UCC, using ini=infiltration.ini, 'makes' all of the following classes.

    Code:
    Compiling INFc_SMaleBase
    Compiling INFc_CHSoldier
    Compiling INFc_SMale1Bot
    Compiling INFc_Ammo
    Compiling INFc_GrenadeAmmo
    Compiling INFc_Pickup
    Compiling INFc_ActiveEquipment
    Compiling INFe_Claymore
    Compiling INFc_Armor
    Compiling INFc_Weapon
    Compiling INFc_KaBar
    Compiling INFe_Hands
    Compiling INFc_Grenade
    Compiling INFc_GrenadeList
    Compiling RollingGrenadeList
    Compiling INFc_M67_GLItem
    Compiling RollingM67_GLItem
    Compiling INFc_RC50
    Compiling INFc_PSG
    Compiling INFc_M3
    Compiling INFc_M92F
    Compiling INFc_DE50
    Compiling INFc_FSVEN
    Compiling INFc_Mk23
    Compiling INFc_MP540
    Compiling INFc_M16
    Compiling INFc_M16M203
    Compiling INFc_HK69
    Compiling INFc_FAMAS
    Compiling UT8Ball
    Compiling INFc_P90
    Compiling INFc_SIG551
    Compiling INFc_M1S90
    Compiling InfProjSpawnNotify
    Compiling EASObstruct
    Compiling EASSniper
    Compiling InfilCTFGameReplicationInfo
    Compiling INFg_EASReplicationInfo
    Compiling InfilGameReplicationInfo
    Compiling INF_BrowserUdpServerQuery
    Compiling InfilCTFGame
    Compiling INFg_EAS
    Compiling INFg_Specialist
    Compiling INFg_EASGame
    Compiling InfilAssault
    Compiling InfilDomination
    Compiling InfilTeamGamePlus
    Compiling INFg_CoopGame
    Compiling InfilLastManStanding
    Compiling InfilDeathMatchPlus
    Compiling InfilShootingRangeRules
    Compiling InfilWeapons
    Compiling NoM203ACOG
    Compiling InfMessageRegulator
    This compiling also tries to include a bunch of sounds for the INFc_SMaleBase. The whole process takes many minutes.

    In addition, it seems that if the class isn't in that list, ucc cannot use it to make a derivitive mutator. IE, if I want to use INFc_PlayerReplicationInfo, it won't let me, giving me a CompileError.

    I'm tired, irked, and completely thwarted. Does anyone have any ideas on what am I forgetting, and why is it doing this?
     
    Last edited: Dec 23, 2003
  2. Freon

    Freon Braaaaiinss...

    Joined:
    Jan 27, 2002
    Messages:
    4,546
    Likes Received:
    0
    I have the same problem. Each time I tried to compile something from the editor (quick hack) it always stops on INFc_SMaleBase. That's why I only use the ucc command, but I never used Inf classes so I can't help you much :hmm:
     
  3. Crowze

    Crowze Bird Brain

    Joined:
    Feb 6, 2002
    Messages:
    3,556
    Likes Received:
    1
    Same problem Keg. No idea as to the cause.
     
  4. TOAD

    TOAD One team...one life...one chance

    Joined:
    Feb 15, 2002
    Messages:
    91
    Likes Received:
    0
    yup, it's doing that on me too, maybe INF_Core needs a scripted texture file of some sort
     
  5. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    If you compile the stuff using ucc then it rebuilds some of the packages in memory but should only spit out some warnings. This happens due to the hacks needed for the embedded cheat protection.

    If your compiles are spitting out errors then plz check exactly what you are doing. I just tested it again by subclassing the INFg_EASgame class and using the INFc_PlayerReplicationInfo class within. No problems...

    Sorry for the extra amount of time needed by these internal recompiles ucc performs.

    Beppo
     
  6. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    Arrugh. So we're doomed to seven minute recompiles per error? That...sucks. :eek: As far as the PlayerReplicationInfo, I'll check again and see what I can do :(
     
    Last edited: Dec 23, 2003
  7. steve3

    steve3 New Member

    Joined:
    Aug 16, 2003
    Messages:
    6
    Likes Received:
    0
    Yes Keg same problem here.I started on my 2.9 mutator yesterday.All I wanted to do was make a slight modification to the M16 which involves changing only a few lines of code.I used a little code from a mutator tutorial.When I tried compiling ucc needed INFc_Weapon so I placed INF_Core in the EditPackages section of Unrealtournament.ini then it needed INF_Assetbase so I included INF_Assets and INF_Assets2 in the ini file.When I compiled for the third time ucc gave countless errors for missing sound files in INFC_SMaleBase (only the inf dev team has these).

    I searched the net and found a tutorial on packages and it says the class has to be in the EditPackages list for ucc to check dependencies.So just add any missing classes to the EditPackages= section of the ini file.ucc will only compile files for which there is no .u file in the UT/system folder.

    I didn't know about using infiltration.ini instead of unrealtournament.ini until I read your post.When I tried ucc make ini=infiltration.ini the other errors disappeared (or ucc didn't reach them) and an error [Superclass INFc_Armor of class INFe_ArmorVestL2 not found] appeared.INFc_Armor is in INF_Core which is in the list so can anyone tell what this error is about?
     
  8. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    Well, I figured out the INFc_PlayerReplicationInfo problem, and it compiled. It still took forever. The cheating issue I can understand, but seriously, this is a major developmental hazard. What would normally take minutes now takes hours. Of course there's nothing we can do, I'm just disappointed that this was the only way. :hmm:
     
  9. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    Keg there is a way...

    Ok, the package that most stuff is in would be INF_Core.u ... extract all uc files, remove the handful of sound and texture import lines and use ucc to compile this package again for you.
    Everything then can be used for compiling without a problem cause all you need are the dependencies and not a sound or two not importet. Just backup your original u files for playing of course. Do this with INF_Core and maybe one or two of the other packages too if the compile times are still high. The INF_Assets packages should not be touched cause they need all the meshs aso ... so it would be a hard time to recompile it and it really isn't needed after you made a INF_Core.u compile version.

    If needed... use UED or WOTGreal to extract the pcx texture files and sound files or replace them with any stuff you want ... it is only a compile package ... nothing you have to use later on. ;)

    If you need help... just call.

    Beppo
     
    Last edited: Dec 25, 2003
  10. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    I'll try that. Thanks, beppo :)
     
  11. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    Hey beppo, I've been trying for the last hour or so to get those packages (INF_Core and InfiltrationUT) compiled the way you said, that would let me work quickly but not online, and I keep running into problems doing so, missing files, errant lines, and other problems. Could you compile a "dev" version of those two packages for us? It would make my mutating life so much less stressful. I'm sure you know how frustrating it is to want to change a single variable, and have to spend 10 minutes each time, trying to get it just the way you want :(
     
    Last edited: Feb 3, 2004
  12. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    Ok it is very easy and doesn't end up with compile errors aso (just did this myself with the original packages):

    a) backup your whole infiltration\system folder (not really needed but better to have a backup anyway)
    b) start UED (INF-version)
    c) open up a script, no matter which one
    d) select 'compile changed' in the editor window
    e) wait the couple of minutes it takes to complete
    f) click on the actor browser and if the packages aren't shown yet, then choose 'show packages' from th options available
    g) select ALL Infiltration packages
    h) select 'save selected packages'
    i) move the newly build packages out of your UT\system folder into ie a Infiltration\SystemCompile folder

    for ucc compiles... either
    a) rename/switch the Infiltration\System folder and the Infiltration\SystemCompile folder each time you want to play or you want to compile... or
    b) make a copy of the infiltration.ini file, edit the paths section to use the SystemCompile folder instead of the System folder and call ucc using ini=mynewini.ini

    cheers,

    Beppo
     
  13. Keganator

    Keganator White as Snow Moderator

    Joined:
    Jun 19, 2001
    Messages:
    5,262
    Likes Received:
    0
    Aaah, finally...no more long waits. Thanks beppo :)
     
  14. Beppo

    Beppo Infiltration Lead-Programmer

    Joined:
    Jul 29, 1999
    Messages:
    2,284
    Likes Received:
    1
    *stickied*
     
  15. Silver_Ibex

    Silver_Ibex Member

    Joined:
    Feb 27, 2001
    Messages:
    654
    Likes Received:
    0
    Some more comments that you may find useful, especially you are just getting started.

    As Beppo said above, do the following

    Then make a copy of the infiltration.ini file, and in it find the “Paths=” area and change it from this
    Code:
    
    [Core.System]
    Paths=../Infiltration/System/*.u
    
    
    To this, so it uses the new bogus SystemCompile folder

    Code:
    
    [Core.System]
    Paths=../Infiltration/SystemCompile/*.u
    
    
    Save it as "ZZZmynewINFini.ini" I use the Z's so it shows up at the bottom of the file list, which is handy when editing and you need to find it quickly, it will be by any newly compiled packages.

    Then download and place the attached .Bat file in your UT system folder, you can then make a shortcut to this .bat file for the Windows toolbar and desktop, so compiling is only a click away.

    Or save yourself the download and Zip hassle by just making a new .txt file with the following.

    Save it and then rename the file type from a .txt to a .bat
    :D
     

    Attached Files:

Share This Page