Page 15 of 16

Re: Xenon UI OXP

Posted: Tue Aug 24, 2021 1:17 am
by Cody
Yep, 690 available. In the full Install Expansion Pack list, it shows as installed to the latest version.

Re: Xenon UI OXP

Posted: Tue Aug 24, 2021 1:18 am
by phkb
Cody wrote: Tue Aug 24, 2021 1:09 am
I've updated it several times this evening, but I'll go do it again.
That's weird. Try deleting the "oolite.app\GNUstep\Library\Caches\org.aegidian.oolite\Oolite-manifests.plist" file, rerunning Oolite and downloading the manifest list again.

Re: Xenon UI OXP

Posted: Tue Aug 24, 2021 1:23 am
by Cody
Done - no change.

Re: Xenon UI OXP

Posted: Tue Aug 24, 2021 1:36 am
by Cody
Solved it (I think) - uninstalled it manually, then reinstalled it from the manager, and now it shows in the list. Weird!

Re: Xenon UI OXP

Posted: Thu Jan 20, 2022 12:25 am
by Cholmondely
Is there something I can add to the code for the Education.oxp to suppress XenonUI's suppression of the bar image?

GitHub repository is here

Image

Re: Xenon UI OXP

Posted: Thu Jan 20, 2022 12:33 am
by phkb
Cholmondely wrote: Thu Jan 20, 2022 12:25 am
Is there something I can add to the code for the Education.oxp to suppress XenonUI's suppression of the bar image?
You'll need to add the following to the "startUpComplete" function:

Code: Select all

	var wx = worldScripts.XenonUI;
	if (wx) wx.$addMissionScreenException("show_bar");
	var wr = worldScripts.XenonReduxUI;
	if (wr) wr.$addMissionScreenException("show_bar");
If you ever change the "screenID" of your mission screen, you'll need to make the same change here. And if you add new screens with different screenID's that also have backgrounds you want to keep, you'll need to add extra exceptions for each one.

Re: Xenon UI OXP

Posted: Thu Jan 20, 2022 12:36 am
by montana05
Cholmondely wrote: Thu Jan 20, 2022 12:25 am
Is there something I can add to the code for the Education.oxp to suppress XenonUI's suppression of the bar image?
You can change background: to overlay: in your GUI settings.

Re: Xenon UI OXP

Posted: Thu Jan 20, 2022 1:03 am
by phkb
montana05 wrote: Thu Jan 20, 2022 12:36 am
You can change background: to overlay: in your GUI settings.
Oh, yeah, you can do that too! Thanks! :D

Re: Xenon UI OXP

Posted: Tue Sep 05, 2023 12:02 pm
by Cholmondely
Thanks for the test-version of XenonUI-SWEconomy_Addition

Works just fine.

I wonder if the best solution for the SWEconomy mining worlds might be to relabel the Extreme Agriculturals as "Extreme Agricultural or Mining"?

You have really put in a phenomenal amount of work into this! Typing out all the screens in every font and for every size screen. I am in awe!

Re: Xenon UI OXP

Posted: Tue Sep 05, 2023 9:03 pm
by phkb
Cholmondely wrote: Tue Sep 05, 2023 12:02 pm
Typing out all the screens in every font and for every size screen.
Well, I wrote a program that does most of that for me. I can just tell it what font to use, and it spits out all the images.

Re: Xenon UI OXP

Posted: Tue Sep 05, 2023 9:33 pm
by hiran
phkb wrote: Tue Sep 05, 2023 9:03 pm
Cholmondely wrote: Tue Sep 05, 2023 12:02 pm
Typing out all the screens in every font and for every size screen.
Well, I wrote a program that does most of that for me. I can just tell it what font to use, and it spits out all the images.
A true master of the art. ;-)
If others get scared, they will call it black magic!

Re: Xenon UI OXP

Posted: Wed Sep 06, 2023 6:17 am
by phkb
OK, an update for Xenon UI has just been released. This version provides a means by which 3rd party OXP's can link in their own images for the F6 overlays (economy, government, techlevel and sun color). Which leads me to ...

An addon for Xenon UI, called "Xenon UI SW Economy Addition" (I know, I'm the master of boring names), which, when installed along with Stranger's SW Economy, change the descriptions used on the F6 screen to match the definitions in SW Economy.

Both are available from the Expansion Manager, or from the Xenon UI wiki page.
@Cholmondely, thanks for testing this. If you can delete the test versions you have, and then re-install these new ones, that will keep you current. And many thanks again for being a tester!

Re: Xenon UI OXP

Posted: Fri Sep 15, 2023 8:14 pm
by Nite Owl
Finally have had a chance to put in some flight time. Unfortunately after updating to all of the latest and greatest the following have popped up in Mr. Latest Log.

Code: Select all

[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (XenonUI 3.6): TypeError: lib.GUI_SCREEN_REPORT is undefined
[script.javaScript.warning.ooliteDefined]: ----- JavaScript warning (GalCopAdminServices 1.7.9): Unbalanced [ in string.

// The following two lines repeat many times usually paired together

[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (Lib_GUI 1.7.1): TypeError: s is undefined
[script.javaScript.exception.unexpectedType]: ***** JavaScript exception (XenonUI 3.6): TypeError: lib.$IDs.XenonUI is undefined
Have also noticed that several screens DO NOT have the usual Xenon UI sidebars, most notably those for the Illegal Goods Tweaks and the E-Mail System. There may be others that have yet to be encountered. None of these errors were present in v3.5. Thank You for all of your efforts phkb, please advise.

Re: Xenon UI OXP

Posted: Fri Sep 15, 2023 11:24 pm
by phkb
Nite Owl wrote: Fri Sep 15, 2023 8:14 pm
Finally have had a chance to put in some flight time. Unfortunately after updating to all of the latest and greatest the following have popped up in Mr. Latest Log
Any chance you can post the full log file? I've tried to work out what's going on, but I'm not seeing these errors on my system, so it's a little hard to pinpoint. Essentially, those errors look like XenonUI can't or didn't link to Lib_GUI and code that normally works is failing. The full log might have some clues.

Re: Xenon UI OXP

Posted: Sat Sep 16, 2023 2:11 am
by Nite Owl
Too big of a file. You have a link in a PM.

P.S.
Problem has been partially solved. Will await further research to be sure. PM's a plenty.