.u files

You need help? It's here!
User avatar
Calypto
Posts: 1879
Joined: Tue 27 Dec , 2011 6:24 am
Location: New York State
Contact:

Re: .u files

Post by Calypto » Sat 07 Apr , 2012 6:42 pm

Ucc decompress filename.u .uc ut2004/system

User avatar
Phoenix
Member
Posts: 54
Joined: Wed 04 Jan , 2012 11:53 am
Location: texas
Contact:

Re: .u files

Post by Phoenix » Sat 14 Apr , 2012 2:05 pm

A friend told me, Notepad++ has this cool feature that helps you understand unreal-script better. And you download this .Xml format file. and you select the Unreal Script language when u get everything set, but the "Unreal-Script" launguage does not show. Can anyone help me?
»>}¡!pHøÊÑíx<°>RîSË!¡{<«

- PxR

User avatar
Takeo
Disappeared Administrator
Posts: 497
Joined: Sun 14 Mar , 2010 7:31 pm
Location: Germany
Contact:

Re: .u files

Post by Takeo » Sat 14 Apr , 2012 2:51 pm

Notepad++ allows highlighting and colored text. That's why your friend told you that it is easier with Notepad++.

Howto install the plugin:
1. Download the package. You will have 2 .xml files in there.
2. Open "C:\Users\<Your Windows Accountname>\AppData\Roaming\Notepad++" (or simply go to Start->Execute->%appdata% and open the directory from the there)
3. Copy both xml files into the folder.
4. Delete the existing "userDefineLang.xml"
5. Rename your "userDefineLang_UnrealScript.xml" to "userDefineLang.xml"
6. Start Notepad++
7. On Top, go to "Language->Unrealscript"
8. Happy scripting.
Image

User avatar
Phoenix
Member
Posts: 54
Joined: Wed 04 Jan , 2012 11:53 am
Location: texas
Contact:

Re: .u files

Post by Phoenix » Sat 14 Apr , 2012 4:35 pm

is it suppose to look kinda like this? https://sites.google.com/site/1thephoen ... 092829.jpg
»>}¡!pHøÊÑíx<°>RîSË!¡{<«

- PxR

User avatar
Takeo
Disappeared Administrator
Posts: 497
Joined: Sun 14 Mar , 2010 7:31 pm
Location: Germany
Contact:

Re: .u files

Post by Takeo » Sat 14 Apr , 2012 5:07 pm

Congratulations! You have installed the unrealscript plugin.
But you know that you can't simply open .u files with an editor, right? First you have to extract the .uc files out of it.
Image

User avatar
Phoenix
Member
Posts: 54
Joined: Wed 04 Jan , 2012 11:53 am
Location: texas
Contact:

Re: .u files

Post by Phoenix » Sat 14 Apr , 2012 5:10 pm

and how do you do that i did not understand the first way of it being explained to me
Last edited by Phoenix on Sat 14 Apr , 2012 11:05 pm, edited 1 time in total.
»>}¡!pHøÊÑíx<°>RîSË!¡{<«

- PxR

User avatar
Takeo
Disappeared Administrator
Posts: 497
Joined: Sun 14 Mar , 2010 7:31 pm
Location: Germany
Contact:

Re: .u files

Post by Takeo » Sat 14 Apr , 2012 7:50 pm

Did you even read our responses to this topic before? We explained how to extract the source code there.
But I'm honestly not quite sure if you even know a bit of unrealscripting... With zero knowledge you won't be able to create/edit any classes anways so.. may I ask what you are actually up to?
Image

User avatar
BlaZzing
Member
Posts: 5
Joined: Thu 09 Feb , 2012 8:53 am
Contact:

Re: .u files

Post by BlaZzing » Sun 15 Apr , 2012 9:39 am

easy step by step guide, so easy a baby could do it!:

Dont use the quotes in the actual command

1. Open windows command prompt, type "cmd" in the search under your start menu if you're using windows 7

2. Navigate to your system folder, type "CD C:\Unreal Anthology\UT2004\System" Or whatever the path to your system folder is.

(2.1). If your unreal is on a different drive like D:/ then type D: before step 2.

3. once your navigated to your system folder you can work with ucc, try the command "ucc help" for great times.

4. the command to decompile a .u package is, "UCC batchexport filename.u class uc ../filename/"
Notes:

This command decompiles the .u file "filename.u" replace "filename.u" with the name of your .u file, for example:

"ucc batchexport portalgun.u class uc ../portalguncode/"

the end of the command "../portalguncode/" tells it where to extract the uc files, in this case it will extract to the base directory of your unreal game, in the folder "portalguncode".

5. Edit your uc files as desired


Optional: Recompiling
1. Create a folder in your base unreal directory, in that folder create another folder called Classes

2. Place all uc files into the folder classes

3. edit your ut2004.ini, navigate to the section with all the "editpackage="

4. Place the name of your folder in here, for example: EditPackages=PortalGun

This lets unreal recognize you want something to be compiled, it looks in the folder classes, under portalgun, for any uc files.

5. Navigate to your ut2004 system directory with a command prompt (earlier step 2.)

6. Type "UCC make"

7. profit


Most important final step:
Don't edit or use others stuff without their permission, or call it your own. Only use it to learn to create your own work. And give credit to those who deserve it.
What do you do when you're angry? You flip a table, of course.
(╯°□°)╯︵ ┻━┻

User avatar
Phoenix
Member
Posts: 54
Joined: Wed 04 Jan , 2012 11:53 am
Location: texas
Contact:

Re: .u files

Post by Phoenix » Thu 19 Apr , 2012 1:20 am

Thanks, And takeo i'm not up to anything, except just wanting to learn about the ut system. ;)
»>}¡!pHøÊÑíx<°>RîSË!¡{<«

- PxR

User avatar
Phoenix
Member
Posts: 54
Joined: Wed 04 Jan , 2012 11:53 am
Location: texas
Contact:

Re: .u files

Post by Phoenix » Sun 10 Jun , 2012 8:25 pm

wow! thx =D
»>}¡!pHøÊÑíx<°>RîSË!¡{<«

- PxR

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests