UnrealEd MRU issues

Tutorials and discussions about Mapping - Introduce your own ones!
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

UnrealEd MRU issues

Post by Hellkeeper »

Since I jumped from Vista to Windows 10, UnrealEd 2.0 has been unable to write MRUs. When I open the editor, the File menu doesn't have the list of the last opened maps. Same for the browsers: it doesn't write the most recently used packages. These lists work as long as the editor is open (If I open a series of packages or maps, they populate the lists), but when I close UnrealEd and open it again, it's all blank.
I've manually written the link to some maps in UnrealEd.ini and it works : the map I'm working is in the list and it remains in the list when I close UnrealEd, so the editor reads the file correctly, but if I close the editor after working on several maps and then open it again, the list only has the map I've manually added. In other words, the editor can read the .ini but not write in it.
Any idea what causes the issue?
You must construct additional pylons.
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: UnrealEd MRU issues

Post by papercoffee »

writing rights?
The UEd has not the rights to overwrite the ini... that's all I can think off.
Where is your UT folder placed?
User avatar
Dr.Flay
Godlike
Posts: 3347
Joined: Thu Aug 04, 2011 9:26 pm
Personal rank: Chaos Evangelist
Location: Kernow, UK
Contact:

Re: UnrealEd MRU issues

Post by Dr.Flay »

Have you tried running UEd as Admin ?
Possibly it also needs DEP to be disabled for UEd.
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: UnrealEd MRU issues

Post by Hellkeeper »

Dr.Flay wrote:Have you tried running UEd as Admin ?
Possibly it also needs DEP to be disabled for UEd.
Yes for admin, no success so far. What's DEP?

Paper: Nothing special as far as permissions are concerned it seems, nothing is read-only, the UT folder is at the root of my D:\ drive.
You must construct additional pylons.
User avatar
papercoffee
Godlike
Posts: 10443
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: UnrealEd MRU issues

Post by papercoffee »

Hellkeeper wrote:nothing is read-only, the UT folder is at the root of my D:\ drive.
You have all the rights but UEd don't.
DEP means Data Execution Prevention ...standard enabled. Especially older programs get blocked or screwed up.
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: UnrealEd MRU issues

Post by Hellkeeper »

I tried to disable DEP, it prevents UnrealEd from launching properly. :s
You must construct additional pylons.
Red_Fist
Godlike
Posts: 2163
Joined: Sun Oct 05, 2008 3:31 am

Re: UnrealEd MRU issues

Post by Red_Fist »

It might be ownership, What I do is strip "system" and all ownership away for all the UT directories and files and tell it to not inherit anything.
Then add back your administrator user and "everyone" and maybe regular "user". If you don't take the system out it won't let it change it just reverts back.

Is how I take control of things that win os blocks by default. you won't be able to do things if it's inherited, I am not exactly sure I just go for broke. Like changing the whole drive will screw things up.
Binary Space Partitioning
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: UnrealEd MRU issues

Post by Barbie »

Red_Fist wrote:What I do is strip "system"
Maybe a backup or antivirus program runs in the background under the account "System". This will not work then anymore.
Red_Fist wrote:tell it to not inherit anything
If you put the same permissions on all sub directories and files, this will be useless. Inheriting makes the overview over permissions easier.
Instead I'd set "Allow everything" for "Everyone" for the UT folder and inherit that to sub items.

Another idea to check where your MRU entries come from: Download Process Monitor, have it run (requirements are at least Windows Vista and executing as Administrator), start UnrealEd, switch back to procmon and stop capturing events. Then you can limit the display to UnrealED only: search a line with the process name "UnrealEd.exe", right click on it and select "Include -> Process name" into the filter. After that, only events of the process "UnrealEd.exe" should be shown.
UnrealEd saves the MRU items in the file "UnrealEd.ini". Press Strg+F and enter this text. There should be some lines where UnrealEd tries to open this file. Check the path and the open result.

For your reference a snippet of my file D:\Programme\UT\System\UnrealEd.ini:

Code: Select all

[MRU]
MRUItem0=D:\Programme\UT\Maps.test\TestDynamicMover.unr
MRUItem1=T:\Maps.New\MH-hebereke2.unr
MRUItem2=T:\Maps.New\MH-(SP)TheLastFortressFinal.unr
Attachments
UnrealEd.exe is opening INI file "D:\Programme\UT\System\UnrealEd.ini"
UnrealEd.exe is opening INI file "D:\Programme\UT\System\UnrealEd.ini"
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: UnrealEd MRU issues

Post by Hellkeeper »

I'm sorry for digging this thread up from a deep grave, but I had not seen this answer and I still am confronted with this issue.
I used Procmon and nothing bad is reported during the writing in UnrealEd.ini, I have the same lines as you and it tells me it's a success.

However, UnrealEd seems unable to writed anything in /system/. If I delete UnrealEd.ini then open the editor, I have the infamous white viewports and the browser window is reinitialized. If I reconfigure UnrealEd to my liking and exit, it goes back to white when I open it back and no new UnrealEd.ini is generated in /system/.

Administrator mode does not fix this. The files and folders are not in read-only mode.
Other UnrealEd from other Unreal games on the same hard drive do not suffer this and work properly.

I'm at a loss here.
You must construct additional pylons.
User avatar
Chamberly
Godlike
Posts: 1963
Joined: Sat Sep 17, 2011 4:32 pm
Personal rank: Dame. Vandora
Location: TN, USA
Contact:

Re: UnrealEd MRU issues

Post by Chamberly »

While my 436 still give me MRU issues as I'm running Win Server 2012 R2, weird thing I came across is when I had to redo the whole permission folder somehow and Hig did some fiddle around with it, it finally work with v469. Except when there are crashes because it reset that... I still haven't been able to figure that out yet.
Image
Image
Image Edit: Why does my sig not work anymore?
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: UnrealEd MRU issues

Post by Barbie »

Hellkeeper wrote: Mon Jan 06, 2020 2:29 amUnrealEd seems unable to writed anything in /system/
Do you mean the path D:\UT\SYSTEM? Please give more detailed information.

I'd try the following next: Copy UnrealEd.exe to another place outside %ProgramFiles% (do you know environment variables?) or %windir%, for example C:\TMP. Does the problem occur also then?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: UnrealEd MRU issues

Post by Hellkeeper »

Barbie wrote: Mon Jan 06, 2020 9:31 pmDo you mean the path D:\UT\SYSTEM? Please give more detailed information.
Precisely, D:\UnrealTournament\system\
UnrealEd cannot change anything in UnrealEd.ini (docked browsers, rendering device for viewports, MRU). If UnrealEd.ini is deleted, a new one is not generated when UnrealEd is relaunched, so all viewports are gone (as their position and parameters are nowhere to be found). If I reset everything in Unrealed and then close, since UnrealEd.ini has not been created, relaunching UnrealEd gives me all white once again.
Barbie wrote: Mon Jan 06, 2020 9:31 pmI'd try the following next: Copy UnrealEd.exe to another place outside %ProgramFiles% (do you know environment variables?) or %windir%, for example C:\TMP. Does the problem occur also then?
It's currently neither in ProgramFiles not in Windir, not even on the same drive. UnrealEd.exe does not work on its own as it needs its .dll from /system/, so simply moving it is not possible, it would require reinstalling the entier game elsewhere.
You must construct additional pylons.
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: UnrealEd MRU issues

Post by Barbie »

Hellkeeper wrote: Tue Jan 07, 2020 2:14 pmUnrealEd.exe does not work on its own as it needs its .dll from /system/, so simply moving it is not possible, it would require reinstalling the entier game elsewhere.
Sorry, I didn't test that. What I wanted to achieve is to execute a "fresh" UnrealEd.exe where no potentially compatibility settings are defined. So you could copy UnrealEd.exe in D:\UnrealTournament\system\ and give it another name - is that version able to write in D:\UnrealTournament\system\UnrealEd.ini?

Can you open D:\UnrealTournament\system\UnrealEd.ini with a normal text editor and save it without problems?
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
User avatar
Hellkeeper
Inhuman
Posts: 903
Joined: Tue Feb 25, 2014 12:32 pm
Personal rank: Soulless Automaton
Location: France
Contact:

Re: UnrealEd MRU issues

Post by Hellkeeper »

Barbie wrote: Tue Jan 07, 2020 9:52 pmWhat I wanted to achieve is to execute a "fresh" UnrealEd.exe where no potentially compatibility settings are defined. So you could copy UnrealEd.exe in D:\UnrealTournament\system\ and give it another name - is that version able to write in D:\UnrealTournament\system\UnrealEd.ini?
Of course not. I would have been surprised if it had worked.
Barbie wrote: Tue Jan 07, 2020 9:52 pmCan you open D:\UnrealTournament\system\UnrealEd.ini with a normal text editor and save it without problems?
Yes, I can even add MRUs by hand and they will be there in UnrealEd afterwards, so I can somewhat alleviate the problem by going through the tedious process of adding my own packages and maps manually when I'm working on a map and I want to have a few packages handy. UnrealEd.ini works flawlessely, UnrealEd just seems unable to write inside it or create a new one. I can however save maps, brushes, 2d shapes and edit packages just fine inside the editor, so I have no idea why it is able to read but not write inside this damn configuration file.
You must construct additional pylons.
User avatar
Barbie
Godlike
Posts: 2792
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: UnrealEd MRU issues

Post by Barbie »

Next thing I'd try is a strace program, something like API Monitor.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett
Post Reply