For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Renaming .u file

The section related to UnrealScript and modding. This board is for coders to discuss and exchange experiences or ask questions.
User avatar
Krull0r
Global Moderator
Posts: 543
Joined: Sun Jul 01, 2007 4:07 pm

Renaming .u file

Post by Krull0r »

Hi there. I'm thinking about renaming the .u file of my project.

Is there any way to do this without breaking my whole classes and all maps which includes actors from that .u file?
Image
User avatar
han
Global Moderator
Posts: 686
Joined: Wed Dec 10, 2014 12:38 am

Re: Renaming .u file

Post by han »

Afaik *.t3d files just store the name without any package prefix of classes. Otherwise one can always just easily replace that if map exporting and reimporting would be an option for you.
HX on Mod DB. Revision on Steam. Löffels on Patreon.
User avatar
Krull0r
Global Moderator
Posts: 543
Joined: Sun Jul 01, 2007 4:07 pm

Re: Renaming .u file

Post by Krull0r »

I had trouble with loading my package after renaming the .u file. The log told me that the old package is missing.



But I figured out how to fix it :)


First of all I exported my  maps as a .t3d file.


Then I used a hexeditor, opened my .u file. I searched for the old package name and renamed everything with this name to the new name.


I started the editor and I was able to load the renamed .u file.

after this I reimported the map, rebuild and everything worked fine :)


This hint with the .t3d was helpful, thanks han :)
Last edited by Krull0r on Tue Jan 17, 2017 6:26 pm, edited 1 time in total.
Image

Return to “UScript Board”