Announcement

Collapse
No announcement yet.

Dumpint *.u files and ucc.exe

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

    Dumpint *.u files and ucc.exe

    I have a noob question or two.

    I am trying to extract an *.u file to get the ucl for the mutator. But every time I do dumpint or exportcache I get a file size error. I just want to make some small changes to the mutator and recompile it. The mutator currently works. This type of error is what I get.

    "TextBuffer Interaction.ScriptText: Serial size mismatch: Got 268736, Expected 14784"

    Now is there an older version of ucc.exe or something that I have to use or someting I may be doing wrong? I have tried it many times over. I and stumped and a newb. So take it easy on me ... lol

    #2
    "Serial size mismatch" means the package is corrupt.
    Also, UCC.exe is only the basic commandline execution environment of the UnrealEngine, which in your case is used to execute "Editor.DumpIntCommandlet". Replacing UCC with an older or newer version will do only one of two things: 1. it gives the very same results or 2. it won't work at all.
    And another thing: DumpInt dumps an INT file, not a UCL file. Use ExportCache if you want to create the UCL file for the mutator.

    Comment


      #3
      Thanks Wormbo,

      It was my understanding that you needed both int and ucl files. But neither works dumpint or exportcache ... I even tried batchexport to no avail I would agree that the file seems corrupt but the mutator seems to work fine? Can you point me in a direction as to what else I may try doing at this point. I took it apart with a program but with noi changes on my part it will not compile in ued or anything else I have tried.

      Thanks again!

      Comment


        #4
        When you say export .ucl, are you in fact meaning .uc? As in, the script files that are compiled to create a .u file? .ucl is a cache file that contains information required for mutators and other things to run (and incidentally replaces .ints which were only used extensively in UT2003, though they are still used for certain things like Voicepacks and localization).

        Dumpint is used to create an .int file, which isn't needed for most things now (as I mentioned). Exportcache is used to dump the .ucl cache file, needed for mutators to work (and the command isn't needed mostly either, since a .ucl is autocreated when you compile a package).

        What you want is the BatchExport command:

        http://wiki.beyondunreal.com/wiki/BatchExportCommandlet

        Comment


          #5
          Like I said: "Serial size mismatch" means package corruption.

          Comment


            #6
            Thanks for replies.

            I have already tried batchexport but thanks, I still get mismatch. I am just tring to add some weapons mutators to an invasion server. I guess I don't understand how a U file can work if it is corrupted? I don't really have to extract th U file I just need the ucl to get the mutators to work but I can't get the ucl without the U file being extracted Is it possible to get the ucl any other way? Wormbo you have time to look at the U file? I have tried to open the U file in notepad and jEdit and I get all kinds of nulls and such. Odd charters. IS there a program for viewing the U files? jEdit views uc files fine. One other thing is there a way to code the U files so they can't be opened without some sort of code?

            Sorry very new to the coding.

            Comment


              #7
              The way you view a .u is by using BatchExport to export the .uc files from it. Then those .uc files can be compiled back into a working .u file.

              Comment


                #8
                Originally posted by Radiosity
                The way you view a .u is by using BatchExport to export the .uc files from it. Then those .uc files can be compiled back into a working .u file.

                Hmmmm,

                Well the U file won't exportcache or batchexport to uc files. That is where I am stuck

                Comment


                  #9
                  Find either wotgreal exporter or unreal tournament package tool, see if one of those will let you view the scripts. Since you can view the scripts without exporting them, it should work.

                  Comment


                    #10
                    I have tried WOTgreal and WOTGreal Exporter. Both allow me to see the classes etc. I can export the U file for classes. I have then tried to recompile it using UMAKE. It fails every time. So there is still no ucl file to use for the mutator.

                    I have looked through some of the code but I can not fiind a mutator listing.

                    I can send the U file to someone if you want to take a look at it. The mutator works on my end so I do not think it is corrupt. I just want to be able to use it and with no ucl file there is no way to do this

                    Thanks for help

                    Comment


                      #11
                      Ok, I'm confused here... how can you tell that the mutator works if you don't have a .ucl file for it?

                      Well whatever, you can send it to me if you want, I'll take a look.

                      radiosity AT narcess DOT NET

                      Comment


                        #12
                        I guess I should explain, When I go to the server that has the mutator running ... the U files are saved in mu cache. I then extracted the cache into my system directory and the file then no longer is downloaded when I join the server. I will zip the file and send it to you now...

                        Thanks

                        Comment


                          #13
                          Ah, so it's taken from the cache?

                          And that was a massive file to download through 56k, was kinda expecting a few kb .u file, but never mind. If it's just the .ucl's you need that's fine, assuming I can get it working.


                          edit: Ok, so first problem I can see is a missing package called WOPMonsterPack_v114. Without this, UCC can't export the cachefile. So check your cache for it. In fact you can do this yourself easily enough. Just run UCC exportcache and if it errors, open UCC.txt to see what reason it gives. You should be able to fix it if you know what causes it (missing package in this case).

                          Comment


                            #14
                            Originally posted by Radiosity
                            Ah, so it's taken from the cache?

                            And that was a massive file to download through 56k, was kinda expecting a few kb .u file, but never mind. If it's just the .ucl's you need that's fine, assuming I can get it working.


                            edit: Ok, so first problem I can see is a missing package called WOPMonsterPack_v114. Without this, UCC can't export the cachefile. So check your cache for it. In fact you can do this yourself easily enough. Just run UCC exportcache and if it errors, open UCC.txt to see what reason it gives. You should be able to fix it if you know what causes it (missing package in this case).
                            I had done all the exportcache stuff and looked at the ucc.log file already. I have all the files but i still get errors like this taken from my ucc.log.

                            Log: Executing Class Editor.BatchExportCommandlet
                            Log: Loading package weaponsofpower_v152...
                            Critical: TextBuffer weaponsofpower_v152.WeaponInteraction.ScriptText: Serial size mismatch: Got 263693, Expected 17933
                            Exit: Executing UObject::StaticShutdownAfterError
                            Critical: LoadObject
                            Critical: (TextBuffer weaponsofpower_v152.WeaponInteraction.ScriptText 4116532==4116532/4904326 3852839 17933)
                            Critical: ULinkerLoad::Preload
                            Critical: PreLoadObjects
                            Critical: UObject::EndLoad
                            Critical: UObject::LoadPackage
                            Critical: UBatchExportCommandlet::Main
                            Exit: Exiting.

                            Comment

                            Working...
                            X