Page 1 of 3

UnrealEd MRU issues

Posted: Fri Sep 07, 2018 1:30 pm
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?

Re: UnrealEd MRU issues

Posted: Fri Sep 07, 2018 1:51 pm
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?

Re: UnrealEd MRU issues

Posted: Fri Sep 07, 2018 8:26 pm
by Dr.Flay
Have you tried running UEd as Admin ?
Possibly it also needs DEP to be disabled for UEd.

Re: UnrealEd MRU issues

Posted: Sat Sep 08, 2018 12:28 pm
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.

Re: UnrealEd MRU issues

Posted: Sat Sep 08, 2018 12:38 pm
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.

Re: UnrealEd MRU issues

Posted: Sat Sep 08, 2018 4:24 pm
by Hellkeeper
I tried to disable DEP, it prevents UnrealEd from launching properly. :s

Re: UnrealEd MRU issues

Posted: Sat Sep 08, 2018 5:35 pm
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.

Re: UnrealEd MRU issues

Posted: Fri Oct 12, 2018 2:41 am
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

Re: UnrealEd MRU issues

Posted: Mon Jan 06, 2020 2:29 am
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.

Re: UnrealEd MRU issues

Posted: Mon Jan 06, 2020 5:56 am
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.

Re: UnrealEd MRU issues

Posted: Mon Jan 06, 2020 9:31 pm
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?

Re: UnrealEd MRU issues

Posted: Tue Jan 07, 2020 2:14 pm
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.

Re: UnrealEd MRU issues

Posted: Tue Jan 07, 2020 9:52 pm
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?

Re: UnrealEd MRU issues

Posted: Tue Jan 07, 2020 10:36 pm
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.

Re: UnrealEd MRU issues

Posted: Tue Jan 14, 2020 10:44 pm
by Barbie
Next thing I'd try is a strace program, something like API Monitor.