Xenon UI OXP

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: another_commander, winston

User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16057
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Xenon UI OXP

Post by Cody »

Yep, 690 available. In the full Install Expansion Pack list, it shows as installed to the latest version.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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.
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16057
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Xenon UI OXP

Post by Cody »

Done - no change.
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16057
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Re: Xenon UI OXP

Post by Cody »

Solved it (I think) - uninstalled it manually, then reinstalled it from the manager, and now it shows in the list. Weird!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
User avatar
Cholmondely
Archivist
Archivist
Posts: 4983
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Xenon UI OXP

Post 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
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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.
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Xenon UI OXP

Post 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.
Scars remind us where we've been. They don't have to dictate where we're going.
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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
User avatar
Cholmondely
Archivist
Archivist
Posts: 4983
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Xenon UI OXP

Post 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!
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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.
User avatar
hiran
Theorethicist
Posts: 2031
Joined: Fri Mar 26, 2021 1:39 pm
Location: a parallel world I created for myself. Some call it a singularity...

Re: Xenon UI OXP

Post 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!
Sunshine - Moonlight - Good Times - Oolite
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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!
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 521
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post 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.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4632
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Re: Xenon UI OXP

Post 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.
User avatar
Nite Owl
---- E L I T E ----
---- E L I T E ----
Posts: 521
Joined: Sat Jan 20, 2018 4:08 pm
Location: In The Dark

Re: Xenon UI OXP

Post 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.
Humor is the second most subjective thing on the planet

Brevity is the soul of wit and vulgarity is wit's downfall

Good Night and Good Luck - Read You Soon
Post Reply