3.20RC2 - messed up UI again

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
wysiwyg
Posts: 585
Joined: Thu, 26. Feb 04, 00:08
x4

3.20RC2 - messed up UI again

Post by wysiwyg »

It seems that 3.20RC2 has changed the name of the .xml file that describes the files to be added to the menu bar and detailmonitor etc. As a result most mods featuring UI code will break. It's a simple fix - just make a copy of the .xml file in the ego_xxxx folder and rename it to ui.xml.
e.g.

Code: Select all

old file -  addons\ego_mainmenu\ego_mainmenu.xml

add file - addons\ego_mainmenu\ui.xml
Cheers
Wysi :)
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

I'm starting to get the impression Ego are simply taking the **** now.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Phipsz
Posts: 335
Joined: Mon, 23. Apr 12, 23:56
x4

Post by Phipsz »

thanks wysiwyg!

@yorrick: I guess/hope they are now taking the neccessary steps to officially support ui-modding. yeah, it's quite stupid for us to change our mods by a tiny bit that they work again, but hey: maybe one day we get the decompiled versions of the menu by egosoft themselves instead of decompiling ourselves and hoping it doesn't crash everything
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

It seems that s not the only change. Custom UIs working in 3.10 no longer work at all (ui crash after menu selection). Tested on mission computer + YAT.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Phipsz
Posts: 335
Joined: Mon, 23. Apr 12, 23:56
x4

Post by Phipsz »

hm, my space exploration mod is working again in 3.20 . Maybe that is because I have tested a new approach for adding custom ui. my ui is placed in

Code: Select all

ui/addons/ego_pses_detailmonitor
I have tried without ego_prefix first, but was not working. but this structure is definitely working for me on space exploration (and some other mods I'm currently working on)
User avatar
wysiwyg
Posts: 585
Joined: Thu, 26. Feb 04, 00:08
x4

Post by wysiwyg »

I perhaps should have made the first post a bit clearer. This seems to apply to all the .xml in the addons section not just the menu. Having extracted the entire game earlier there is a ui.xml file in every single ego_* folder now.

so for example, I had to change the

Code: Select all

addons/ego_detailmonitor/ego_detailmonitor.xml file to

addons/ego_detailmonitor/ui.xml
for my Money Transfer mod.

I notice they've also messed about with MD calls to the map as well so if your mods call up the vanilla map it's quite possibly broken as well!
User avatar
YorrickVander
Posts: 2774
Joined: Tue, 29. Oct 13, 21:59
x4

Post by YorrickVander »

Ah fair enough, i hadn't looked too far into it for now. Wish they would stop doing this though unless there's a reason apart from irritating the modding community. Oddly there was no error spam at all in the debug log or in game log.
X Rebirth - A Sirius Cybernetics Corporation Product

Split irritate visiting pilot with strange vocal patterns.
Xenon_Slayer
EGOSOFT
EGOSOFT
Posts: 13126
Joined: Sat, 9. Nov 02, 11:45
x4

Post by Xenon_Slayer »

We know that more accessable UI modding is a wanted feature and AFAIK these changes are steps towards it. Hopefully the process should stabalise and we'll end up with less issues like these.

Return to “X Rebirth - Scripts and Modding”