RuneStorm
http://www.runestorm.com/forums/

uncompile U files
http://www.runestorm.com/forums/viewtopic.php?f=4&t=65653
Page 1 of 2

Author:  headhunter [ Mon Sep 01, 2008 5:45 pm ]
Post subject:  uncompile U files

I opened start menu, clicked Run..., typed in ucc batchexport BCoreV21.u class .uc c:\ut2004\BCoreV21\Classes and clicked ok but a error mesages comes up and says Windows cannot find UCC. Make sure you typed the name correctly and try again. What am I doing wrong B)

Author:  Kaboodles [ Mon Sep 01, 2008 8:17 pm ]
Post subject:  uncompile U files

You need to type in the full path for the UCC program

c:\ut2004\system\ucc batchexport BCoreV21.u class .uc c:\ut2004\BCoreV21\Classes

Author:  headhunter [ Tue Sep 02, 2008 9:20 am ]
Post subject:  uncompile U files

Ok I typed that in this time and no error boxes came up. Instead a black box that looks like a command prompt comes up for about half a second and disappears. I can only catch a glimpse of the words "Failed to find object..." It didnt do what it was supposed to do

Author:  Bjossi [ Tue Sep 02, 2008 10:30 am ]
Post subject:  uncompile U files

I tried this as well and got the same error, it tries to look for Any.BCoreV21.u. :?

Author:  Captain Xavious [ Tue Sep 02, 2008 10:47 am ]
Post subject:  uncompile U files

I simply use UEd. Just make sure the packages you want decompiled are in the edit package list and then under the actor browser of UEd, hit Decompile All.

Takes a while, but it works and it doesn't mess up the code.

Author:  headhunter [ Tue Sep 02, 2008 10:59 am ]
Post subject:  uncompile U files

Ok I uncompiled them and changed the things I wanted to change. How do I recompile them now?

Author:  Captain Xavious [ Tue Sep 02, 2008 11:28 am ]
Post subject:  uncompile U files

Um, check my thread in BW Mods, I think I got a tutorial on how to do basic coding, and I believe Kelly put up a download or two for people so that they can compile the code.

Author:  headhunter [ Tue Sep 02, 2008 2:00 pm ]
Post subject:  uncompile U files

Yeah, I read that thread and downloaded the application but I cant get it to work

Author:  Captain Xavious [ Tue Sep 02, 2008 5:53 pm ]
Post subject:  uncompile U files

Is your package in the edit packages? Make sure any packages it uses, such as BCorev21 and BallisticV21, in that order, are in the edit package list before your package.

Then check the ucc.log to see if an error pops up.

Author:  headhunter [ Tue Sep 02, 2008 7:40 pm ]
Post subject:  uncompile U files

An error came up in the UCC log and the UC files arent compiled yet

Am I suppose to move the old BCoreV21 U file into another location and where do I put the decompiled uc files when i run the FixUCCMake?

Author:  headhunter [ Tue Sep 02, 2008 10:32 pm ]
Post subject:  uncompile U files

[br][img width=800 height=600]../../files/public/1220416324_595_FT65653_untitled_.jpg[/img][br]

Author:  headhunter [ Tue Sep 02, 2008 10:35 pm ]
Post subject:  uncompile U files

The error is this. Bad or Missing Espression in '=' ? %-6 [br] !dodge [img width=800 height=600]../../files/public/1220416503_595_FT65653_untitled_.jpg[/img][br]

Author:  Captain Xavious [ Wed Sep 03, 2008 8:27 am ]
Post subject:  uncompile U files

Show me the code, its very likely a very simple problem. This right here is called programming. ;)

You're gonna encounter errors, and you need to learn how to spot them and fix them. Takes a while to learn and get used to this, but it comes in handy. :)

Author:  headhunter [ Wed Sep 03, 2008 7:33 pm ]
Post subject:  uncompile U files

Wait, show you the codes that I edited in BCoreV21?

Author:  Bjossi [ Wed Sep 03, 2008 8:00 pm ]
Post subject:  uncompile U files

Yes, that is what he meant. Use the code tags for that.

Author:  headhunter [ Thu Sep 04, 2008 9:33 pm ]
Post subject:  uncompile U files

Sorry it takes so long for me to reply, school and tennis is taking up a lotta time
Anyways...[br][img width=800 height=600]../../files/public/1220585589_595_FT65653_sdrhrsg_.jpg[/img][br][br][img width=800 height=600]../../files/public/1220585589_595_FT65653_untitled_.jpg[/img][br]


The arrows point to what i have adjusted

Author:  Captain Xavious [ Fri Sep 05, 2008 12:24 pm ]
Post subject:  uncompile U files

Try entering a 0 in front of the .3's you got there. I don't know if its the source of the problem, but I never compiled code without a zero in front of a decimal. Its worth a try. I'll see if I can find any other problems later.

Author:  Kaboodles [ Fri Sep 05, 2008 1:40 pm ]
Post subject:  uncompile U files

Whoa, are you directly modifying the Ballistic .u files?

I wouldn't recommend that unless you don't play online.

Author:  headhunter [ Fri Sep 05, 2008 3:56 pm ]
Post subject:  uncompile U files

Yeah, I was assuming that the .3 was the culprit


And I know the mismatch issues but I dont play online

Edit: the 5 zeros that I put didnt cause the compiling to be succesful

Author:  Bjossi [ Fri Sep 05, 2008 5:49 pm ]
Post subject:  uncompile U files

Java, which uscript is based on, accepts both .x and 0.x methods.

Author:  Sgt. Kelly [ Fri Sep 05, 2008 5:58 pm ]
Post subject:  uncompile U files

Uscript was designed so that both C++ and Java users would feel comfortable using it.

I recommend learning those before you venture into any major UT coding.

Author:  headhunter [ Fri Sep 05, 2008 8:08 pm ]
Post subject:  uncompile U files

I'm going to in my spare time, but I'm not doing much major coding.

Author:  Bjossi [ Fri Sep 05, 2008 8:38 pm ]
Post subject:  uncompile U files

It would be more logical to learn C# if one wants to get into programming.

Anyway, simple coding doesn't need any special knowledge, I learned conditional states and value editing by my own experiments.

Author:  headhunter [ Sun Sep 07, 2008 6:16 pm ]
Post subject:  uncompile U files

DO you guys know any other way to compile uc files?

Author:  headhunter [ Mon Sep 22, 2008 3:53 pm ]
Post subject:  uncompile U files

It's been a while now but I've got BCoreV21 recompiled and I'm now editing BallisticV21.u. However that u files is more complicated and buggy. Whenever I attempt to recompile it does this:[br][img width=800 height=600]../../files/public/1222120390_595_FT65653_untitled_.jpg[/img][br]

Author:  ZarahNeander [ Tue Sep 23, 2008 7:46 pm ]
Post subject:  uncompile U files

headhunter wrote:
It's been a while now but I've got BCoreV21 recompiled and I'm now editing BallisticV21.u. However that u files is more complicated and buggy. Whenever I attempt to recompile it does this:

This is a string buffer overflow in 'ucc batchexport', causing the problem in the first place. Start UnrealEd, click 'actor classes', uncheck 'Placeable classes only', load BallisticV21.u, navigate to the class in question (Actor->Inventory->Weapon->BallisticWeapon->...), right click 'default propertys', open 'Weapon->Description', copy the whole text and paste it in the .uc file (embedding in "").

This is unfortunaly the most trivial problem, you'll stumble upon. There are missing sprite- and mesh-emitters in various files, and despite the fact, that they exist in UnrealEd, neither ucc nor UnrealEd nor anything else will export them. If anyone found a way to export i.e SpriteEmitter27 in ie_bulletconcrete.uc, please, please -I'm down here on my knees-, tell me how.

So you have thee following options:

- if you only want to toy around with weapons, subclass them in a seperate package. This is by far the easiest, safest and fastet way.

- if you want to tinker with the core functionality, there's virtually no problem in UnrealScript, a mutator can't solve.

- if you still want to tinker with the core functionality, use UnrealED as your development environment. This is..not nice. It's better than managing a 1-million lines project with notepad, but not by much.

- As a last resort, you could try to manually reconstruct the missing emitters from UnrealED. Sounds like alot of work, is alot of work, errorprone, tedious, okay, forget it.

Hope this helps

Author:  OCAdam [ Tue Sep 23, 2008 8:19 pm ]
Post subject:  uncompile U files

Ah, simple problem there. Read the description fully on that. Here's what it is:

"...developed a tactical flash addition f00.OffsetY=10,Scale=0.000000,Tints[0]..."

Quite sure all the rest is not the description. What you need to do is take off all that extra crap at the end, and replace it with soemthing to finish that sentence, and then put a " at the end.

So...

"...developed a tactical flash addition that temporarily blinds foes." (note the quotation mark at the end)

Author:  headhunter [ Tue Sep 23, 2008 8:31 pm ]
Post subject:  uncompile U files

I did that before and it worked. No pistol error messages came up but it still didnt compile the files and left it with 9 errors

Author:  headhunter [ Tue Sep 23, 2008 8:42 pm ]
Post subject:  uncompile U files

double post[br][img width=800 height=600]../../files/public/1222224157_595_FT65653_untitled_.jpg[/img][br]

Error: ObjectProperty Engine.Emitter.Emitters.Emitters: unresolved reference to 'SpriteEmitter'BallisticV21.IE_BulletConcrete.SpriteEmitter27''

What does this mean?

Author:  headhunter [ Sat Sep 27, 2008 11:10 am ]
Post subject:  uncompile U files

Somebody?

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/