The subject title looks not very professional as I’m a beginner…so is there any tutorial to show how to update an .u package which miss the original source
Thanks!
How I can update a .u file
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
You can use tools like UTPT or UE Explorer for decompile code. But it still need a lot manual work after that.
Extract decompiled code, polish, put it back and modify.
Extract decompiled code, polish, put it back and modify.
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
I have these toolings….decompiled , polish , modify….and then I don’t know how I can do ….I can’t use ucc make to rebuild the package because I don’t have all the materials..
So is there any detailed example that show me how I can modify some part of the package.u
Thank you!
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
Open file in UnrealEd, open all classes on it, paste code in each. Compile. Save. You get package with sources.
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
First thank you for your reply. Let me clarify..I have a package for a weapon effect.I have the texture file .utx and I have the package file .u and I want to add some new effects in this package.how I can do?
Thanks again.
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
For what? Possible better make additional file, instead of modify exists. Or you need rename it, for avoid network mismatch.
Anyway for work with package, without code, you need do as above said:
1. Decompile code.
2. Fix mistakes.
3. Open package in UnrealEd.
4. Paste fixed decompiled code into classes.
5. Compile package and save.
Such package used as base for create renamed one, or as base for link against original package, if you make extension with additional package.
Anyway for work with package, without code, you need do as above said:
1. Decompile code.
2. Fix mistakes.
3. Open package in UnrealEd.
4. Paste fixed decompiled code into classes.
5. Compile package and save.
Such package used as base for create renamed one, or as base for link against original package, if you make extension with additional package.
-
- Godlike
- Posts: 3750
- Joined: Sat Sep 12, 2015 8:46 pm
Re: How I can update a .u file
It really depends on what your purpose is. If your .u file is a unique file you have created, then you don't need to add the effects textures into the .u file if they replace existing effects, you can merely reference the new effects from the .utx file in the relevant effects properties in your u file.
Alternatively you can import the effects textures as pcx into the u file. Open the .u file - then open the Texture Browser - click on import - highlight the pcxs you want to import - in the dialogue that comes up give the package name as the name of your .u file, leave the group blank and click on OK. The pcxs should then be shown in the Texture Browser and you should be able to assign them to the appropriate existing effects property/ies - save the .u file. This method works for me with skins (and sounds) so should work OK.
Of course, if the u file you want to modify is a default UT file and you want to distribute it then doing what I've suggested will give rise to file conflicts and mismatches - hence the point about what you want to do with the altered .u file. If it is for your use only then the method suggested is fine.
Again, of course, if the weapon effects are entirely new (that is, not in the existing code) you will, of course, need to modify the code as Buggie has indicated.
Alternatively you can import the effects textures as pcx into the u file. Open the .u file - then open the Texture Browser - click on import - highlight the pcxs you want to import - in the dialogue that comes up give the package name as the name of your .u file, leave the group blank and click on OK. The pcxs should then be shown in the Texture Browser and you should be able to assign them to the appropriate existing effects property/ies - save the .u file. This method works for me with skins (and sounds) so should work OK.
Of course, if the u file you want to modify is a default UT file and you want to distribute it then doing what I've suggested will give rise to file conflicts and mismatches - hence the point about what you want to do with the altered .u file. If it is for your use only then the method suggested is fine.
Again, of course, if the weapon effects are entirely new (that is, not in the existing code) you will, of course, need to modify the code as Buggie has indicated.
-
- Godlike
- Posts: 10231
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
Re: How I can update a .u file
Didn't see anyone else mention this, so I'd like to ask if the .u in question is an original file you made or is it one of the UT default files?
If it's the latter, updating it might be bad... if you play online. If it's the same file lots of others have any you change it, likely would cause file conflicts when joining other people's games.
If it's the latter, updating it might be bad... if you play online. If it's the same file lots of others have any you change it, likely would cause file conflicts when joining other people's games.
· http://unreal-games.livejournal.com/
· https://unrealarchive.org/authors/evilgrins.html
· https://www.facebook.com/groups/UTcorps
· https://unrealarchive.org/authors/evilgrins.html
· https://www.facebook.com/groups/UTcorps
Smilies · https://ut99.org/viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
First thanks all of you guys. Let me make a little clearer.
I’m not very good at English hope you can understand.
This game is just for my use it’s my hobby .
Background:
1:This is a MMORPG game and I have set up the server on my PC it can work well.
2:I find the effect function on weapon is in the .u file.
3:The .u file is a big package included many functions of this game like the UI , the hit effect,NPC,skill,etc….
4: A MMORPG game’s weapon effect is separated from the 3D mesh. That means there is a separate texture or static mesh in game and use other package to link to the weapon.
I can import new 3D mesh to this game and modify the texture
My trouble:
1:Is it possible to repackage the .u …? There are 102 .uc files in the package.
2:Is it possible to update some parts of the package .u like replacing the effect of weapon function.
Remark for toolings: UE explorer;UTPT;Umodel;UnrealEd
I would be grateful for your responses and any progress I will share to you.
Thanks again.
I’m not very good at English hope you can understand.
This game is just for my use it’s my hobby .
Background:
1:This is a MMORPG game and I have set up the server on my PC it can work well.
2:I find the effect function on weapon is in the .u file.
3:The .u file is a big package included many functions of this game like the UI , the hit effect,NPC,skill,etc….
4: A MMORPG game’s weapon effect is separated from the 3D mesh. That means there is a separate texture or static mesh in game and use other package to link to the weapon.
I can import new 3D mesh to this game and modify the texture
My trouble:
1:Is it possible to repackage the .u …? There are 102 .uc files in the package.
2:Is it possible to update some parts of the package .u like replacing the effect of weapon function.
Remark for toolings: UE explorer;UTPT;Umodel;UnrealEd
I would be grateful for your responses and any progress I will share to you.
Thanks again.
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
If you make change on system file of MMORPG game, then nobody will able connect to this server anymore.
It must be some sort of extension. But all highly depends from what this game offer (download custom packages or no).
You need say name of game at least, because approach can be different for different games.
It must be some sort of extension. But all highly depends from what this game offer (download custom packages or no).
You need say name of game at least, because approach can be different for different games.
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
I have a topic at “who are you”Buggie wrote: ↑Wed Nov 02, 2022 3:52 am If you make change on system file of MMORPG game, then nobody will able connect to this server anymore.
It must be some sort of extension. But all highly depends from what this game offer (download custom packages or no).
You need say name of game at least, because approach can be different for different games.
And i mentioned “1:This is a MMORPG game and I have set up the server on my PC it can work well.” Now it is just like a single-play game on your computer not an online game.
viewtopic.php?f=32&t=15495&p=139090#p138998
Below is the picture,I just want to change this line and put it back to .u file
You do not have the required permissions to view the files attached to this post.
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
This lines called "defaultproperties" and it is easy editable via UnrealEd.
Actor browser - Class default properties.
Actor browser - Class default properties.
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
It’s too hard for a new beginner….and for this case I cannot open the .u……could you please help write down the process step by step….many thanks…I will upload the .u file.
You do not have the required permissions to view the files attached to this post.
-
- Godlike
- Posts: 3226
- Joined: Sat Mar 21, 2020 5:32 am
Re: How I can update a .u file
You can not open .u file outside your game. it is linked to Engine, Core and other game files. So you need open in UnrealEd of your game. Open Actor Browser. Search desired class in actor tree. Righ click on it. Choose "Default properties". Change desired property. Check package. Choose in menu "Save selected packages".
-
- Novice
- Posts: 22
- Joined: Fri Oct 28, 2022 12:46 am
- Personal rank: 10
Re: How I can update a .u file
Thank you,Buggie.
Today I’ll try to make the unrealEd environment in this game.
Oops…that would be a long way and hard way to modify this game.I don’t how to do next..I don’t know how to set up the working environment of unrealEd in this game to open a .u file.
Here is the new bow weapon I imported into this game.
Anyone know set up the working environment of unrealEd in a game?
Today I’ll try to make the unrealEd environment in this game.
Buggie wrote: ↑Wed Nov 02, 2022 3:13 pm You can not open .u file outside your game. it is linked to Engine, Core and other game files. So you need open in UnrealEd of your game. Open Actor Browser. Search desired class in actor tree. Righ click on it. Choose "Default properties". Change desired property. Check package. Choose in menu "Save selected packages".
Automatically merged
Here is the new bow weapon I imported into this game.
Automatically merged
You do not have the required permissions to view the files attached to this post.