UE2 - UT2kX uc. Compiling Help

  • 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.

SZORUINED

New Member
Nov 5, 2013
20
0
0
i have the upl done and the uc and when i thry to compile to a u. file i get this error History: UObject: :SavePackage <- UMakeCommandlet: : Main
Does anyone know what this is ???
here is what my upl file and uc file looks like:
Code:
[Public]
Player=(DefaultName="CanadianSkin",Mesh=MetalGuardAnim.MetalGuard,species=xGame.SPECIES_Merc,BodySkin=CanadianSkin.CanadianBody,FaceSkin=CanadianSkin.CanadianMask,Portrait=CanadianSkin.CanadianPortrait,Text=CanadianSkin,Sex=Male,Menu="SP",Accuracy=+0.2,Aggressiveness=+1.0,Jumpiness=+1.0,StrafingAbility=+1.0,FavoriteWeapon="xWeapons.FlakCannon",BotUse=1)


Code:
class CanadianSkin extends PlayerRecordClass;
defaultproperties
{
    Species=Class'XGame.SPECIES_Merc'
    MeshName="MetalGuardAnim.MetalGuard"
    BodySkinName="CanadianSkin.CanadianBody"
    FaceSkinName="CanadianSkin.CanadianMask"
    Portrait=Texture'CanadianSkin.CanadianPortrait'
    TextName="CanadianSkin"
    Sex="Male"
    Menu="SP"
can anyone see a error in the codes.
thanks from RUINED
 
Last edited by a moderator:

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
A little more information would be helpful. The name of the project directory, the configuration you use to compile it, some additional compiler output before it crashes, etc.

Also, your defaultproperties block is missing the closing '}' at the end.
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
Sorry it is there :}

class CanadianSkin extends PlayerRecordClass;
defaultproperties
{
Species=Class'XGame.SPECIES_Merc'
MeshName="MetalGuardAnim.MetalGuard"
BodySkinName="CanadianSkin.CanadianBody"
FaceSkinName="CanadianSkin.CanadianMask"
Portrait=Texture'CanadianSkin.CanadianPortrait'
TextName="CanadianSkin"
Sex="Male"
Menu="SP"
}
 
Last edited:

SZORUINED

New Member
Nov 5, 2013
20
0
0
i am using Command Prompt, ucc make.

Log: Log file open, 11/06/13 13:18:39
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 6.1 (Build: 7601)
Init: Version: 3369 (128.29)
Init: Compiled: Nov 23 2005 16:23:34
Init: Command line:
Init: Character set: Unicode
Init: Base directory: C:\UT2004\System\
Init: Ini:UT2004.ini UserIni:User.ini
Init: Build label: Build UT2004_Build_[2005-11-23_16.22]
Init: Object subsystem initialized
Log: Executing Class Editor.MakeCommandlet
Heading: ----------------------------Core - Release----------------------------
Heading: ---------------------------Engine - Release---------------------------
Heading: ----------------------------Fire - Release----------------------------
Heading: ---------------------------Editor - Release---------------------------
Heading: --------------------------UnrealEd - Release--------------------------
Heading: ---------------------------IpDrv - Release----------------------------
Heading: ----------------------------UWeb - Release----------------------------
Heading: --------------------------GamePlay - Release--------------------------
Heading: -------------------------UnrealGame - Release-------------------------
Heading: --------------------------XGame_rc - Release--------------------------
Heading: --------------------------XEffects - Release--------------------------
Heading: ------------------------XWeapons_rc - Release-------------------------
Heading: ------------------------XPickups_rc - Release-------------------------
Heading: --------------------------XPickups - Release--------------------------
Heading: ---------------------------XGame - Release----------------------------
Heading: --------------------------XWeapons - Release--------------------------
Heading: -------------------------XInterface - Release-------------------------
Heading: ---------------------------XAdmin - Release---------------------------
Heading: -------------------------XWebAdmin - Release--------------------------
Heading: --------------------------Vehicles - Release--------------------------
Heading: -------------------------BonusPack - Release--------------------------
Heading: -----------------------SkaarjPack_rc - Release------------------------
Heading: -------------------------SkaarjPack - Release-------------------------
Heading: -------------------------UTClassic - Release--------------------------
Heading: ------------------------UT2k4Assault - Release------------------------
Heading: -------------------------Onslaught - Release--------------------------
Heading: ---------------------------GUI2K4 - Release---------------------------
Heading: ----------------------UT2k4AssaultFull - Release----------------------
Heading: -----------------------OnslaughtFull - Release------------------------
Heading: --------------------------xVoting - Release---------------------------
Heading: ------------------------StreamlineFX - Release------------------------
Heading: --------------------------UTV2004c - Release--------------------------
Heading: --------------------------UTV2004s - Release--------------------------
Heading: ------------------------OnslaughtBP - Release-------------------------
Heading: ----------------------CanadianSkinMOD - Release-----------------------
Warning: Failed to load 'CanadianSkinMOD.u': Can't find file 'CanadianSkinMOD.u'
Warning: Failed loading package: Can't find file 'CanadianSkinMOD.u'
Log: Analyzing...
Log: FactoryCreateText: Class with ClassFactoryUC (0 1 CanadianSkinMOD\Classes\CanadianSkin.uc)
Log: Class: CanadianSkin extends PlayerRecordClass
Log: Imported: Class CanadianSkinMOD.CanadianSkin
Log: Parsing CanadianSkin
Log: Compiling CanadianSkin
Log: Importing Defaults for CanadianSkin
Log: Success: Compiled 2 line(s), 1 statement(s).

Warning: Error deleting file '\System\Save.tmp' (0x3)
Critical: Error opening file
Exit: Executing UObject::StaticShutdownAfterError
Critical: UObject::SavePackage
Critical: UMakeCommandlet::Main
Exit: Exiting.
Log: FileManager: Reading 0 GByte 112 MByte 612 KByte 487 Bytes from HD took 0.443999 seconds (0.351999 reading, 0.092000 seeking).
Log: FileManager: 0.052000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
What i have done so far is: i edited a the default skin barktooth, the race metal guard, i retextured it made it into a utx, wrote the UPL and UC files tried to run UCC make for server file and keep getting the error ? have i missed a step or something
Thanks from Ruined
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Compilation itself looks fine, so I suspect a permission problem. It seems the compiler is not allowed to create temporary files while trying to save the compiled package to a file.

At the same command prompt you use to run ucc make, try running the following command:
Code:
echo Test > C:\UT2004\System\Test.txt
This should try to create a file, similarly to what UCC Make does at the end of the compiler run. If that fails, check the System folder's file permission settings. Creating files or writing might be disallowed for the current user.
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
sorry didn't help, i still get the same error

Test.exe doesn't work either, it says it is not a recognized as a internal or external command, operable program or batch file.
ucc text.txt also dosen't work also
 
Last edited:

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
"echo Test" is entirely unrelated to "Test.exe". "echo" is a built-in command that prints the specified text to the console. The ">" symbol redirects that output to the specified file. That entire line is supposed to be entered as is and doesn't fix anything. It only tests creating files under the same user you use to compile your scripts - because that's what doesn't work.
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
i get a problem with UMake also- UnrealScript project directories must be located directly below the game base directory ?
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Yes. Directly under UT2004 there must be a directory with the name you want the target .u file to have, and below that there's the Classes directory with the .uc files. If that was wrong in your project, UCC Make wouldn't have compiled either. But it did, it only had a problem with saving the file.
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
i have done everything i can think of even running ucc in admin mod, i tried UMAKE and it make a server file but it doesn't work on the server itself. i'm just so puzzled. cant figure out why. i have run a old skin that was done before and it still gives me a error. im at a lose. :} any other idea's ?
 

Wormbo

Administrator
Staff member
Jun 4, 2001
5,913
36
48
Germany
www.koehler-homepage.de
Well, our crystal ball is a bit blurry, so we can't read your mind as precisely as needed to help you. You will have to help us first by actually telling what exactly doesn't work and especially how it "doesn't work". Log output, error messages, erratic behavior, etc.
 

SZORUINED

New Member
Nov 5, 2013
20
0
0
This is the error = History: UObject: :SavePackage <- UMakeCommandlet: : Main and this is the last log from UCC =
Log: Log file open, 11/12/13 20:13:59
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 6.1 (Build: 7601)
Init: Version: 3369 (128.29)
Init: Compiled: Nov 23 2005 16:23:34
Init: Command line:
Init: Character set: Unicode
Init: Base directory: C:\UT2004\System\
Init: Ini:UT2004.ini UserIni:User.ini
Init: Build label: Build UT2004_Build_[2005-11-23_16.22]
Init: Object subsystem initialized
Log: Executing Class Editor.MakeCommandlet
Heading: ----------------------------Core - Release----------------------------
Heading: ---------------------------Engine - Release---------------------------
Heading: ----------------------------Fire - Release----------------------------
Heading: ---------------------------Editor - Release---------------------------
Heading: --------------------------UnrealEd - Release--------------------------
Heading: ---------------------------IpDrv - Release----------------------------
Heading: ----------------------------UWeb - Release----------------------------
Heading: --------------------------GamePlay - Release--------------------------
Heading: -------------------------UnrealGame - Release-------------------------
Heading: --------------------------XGame_rc - Release--------------------------
Heading: --------------------------XEffects - Release--------------------------
Heading: ------------------------XWeapons_rc - Release-------------------------
Heading: ------------------------XPickups_rc - Release-------------------------
Heading: --------------------------XPickups - Release--------------------------
Heading: ---------------------------XGame - Release----------------------------
Heading: --------------------------XWeapons - Release--------------------------
Heading: -------------------------XInterface - Release-------------------------
Heading: ---------------------------XAdmin - Release---------------------------
Heading: -------------------------XWebAdmin - Release--------------------------
Heading: --------------------------Vehicles - Release--------------------------
Heading: -------------------------BonusPack - Release--------------------------
Heading: -----------------------SkaarjPack_rc - Release------------------------
Heading: -------------------------SkaarjPack - Release-------------------------
Heading: -------------------------UTClassic - Release--------------------------
Heading: ------------------------UT2k4Assault - Release------------------------
Heading: -------------------------Onslaught - Release--------------------------
Heading: ---------------------------GUI2K4 - Release---------------------------
Heading: ----------------------UT2k4AssaultFull - Release----------------------
Heading: -----------------------OnslaughtFull - Release------------------------
Heading: --------------------------xVoting - Release---------------------------
Heading: ------------------------StreamlineFX - Release------------------------
Heading: --------------------------UTV2004c - Release--------------------------
Heading: --------------------------UTV2004s - Release--------------------------
Heading: ------------------------OnslaughtBP - Release-------------------------
Heading: ------------------------CanadainMOD - Release-------------------------
Warning: Failed to load 'CanadainMOD.u': Can't find file 'CanadainMOD.u'
Warning: Failed loading package: Can't find file 'CanadainMOD.u'
Log: Analyzing...
Log: FactoryCreateText: Class with ClassFactoryUC (0 1 CanadainMOD\Classes\CanadainMOD.uc)
Log: Class: CanadainMOD extends PlayerRecordClass
Log: Imported: Class CanadainMOD.CanadainMOD
Log: Parsing CanadainMOD
Log: Compiling CanadainMOD
Log: Importing Defaults for CanadainMOD
Log: Success: Compiled 3 line(s), 1 statement(s).

Warning: Error deleting file '\System\Save.tmp' (0x3)
Critical: Error opening file
Exit: Executing UObject::StaticShutdownAfterError
Critical: UObject::SavePackage
Critical: UMakeCommandlet::Main
Exit: Exiting.
Log: FileManager: Reading 0 GByte 112 MByte 545 KByte 881 Bytes from HD took 0.456999 seconds (0.358999 reading, 0.098000 seeking).
Log: FileManager: 0.077000 seconds spent with misc. duties
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, 11/12/13 20:14:02