Nested OXP folders.

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

Moderators: winston, another_commander

Post Reply
User avatar
Gimi
---- E L I T E ----
---- E L I T E ----
Posts: 2073
Joined: Tue Aug 29, 2006 5:02 pm
Location: Norway

Nested OXP folders.

Post by Gimi »

Quick question.
If I make a sub-folder in the OXP folder called "griff.oxp" and then put all my griff OXP's in there, will Oolite read all the OXP's correctly.

With my current number of OXP's, sorting them in sub-OXP-folders is becoming quite attractive.

If this is possible, do the sub-folders need the .oxp extension.
"A brilliant game of blasting and trading... Truly a mega-game... The game of a lifetime."
(Gold Medal Award, Zzap!64 May 1985).
User avatar
Cody
Sharp Shooter Spam Assassin
Sharp Shooter Spam Assassin
Posts: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

It works fine for me… all my Griff ship set oxps are in a folder called Griff.oxp, but I’m not sure if it’s meant to work like that.
There was some discussion in a thread that I can’t find. I think only one layer of ‘nesting’ works.

Code: Select all

../AddOns
    ../AddOns/BGS-A1.0.oxp
    ../AddOns/captKev_dodo.oxp
    ../AddOns/FighterHud_Mk1.oxp
    ../AddOns/Furball-1.0a1.oxp
    ../AddOns/Griff Krait.oxp
    ../AddOns/Griff.oxp
    ../AddOns/Griff.oxp/griff_adder_normalmapped.oxp
    ../AddOns/Griff.oxp/griff_alloy_and_wreckage.oxp
    ../AddOns/Griff.oxp/griff_anaconda_normalmapped.oxp
    ../AddOns/Griff.oxp/griff_asp_mk2_normalmapped.oxp
    ../AddOns/Griff.oxp/griff_barrel_normalmapped.oxp
    ../AddOns/Griff.oxp/griff_boa-mk2_normalmapped.oxp
    ../AddOns/Griff.oxp/griff_boa_normalmapped.oxp
etc.

Found the thread.
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: 16081
Joined: Sat Jul 04, 2009 9:31 pm
Location: The Lizard's Claw
Contact:

Post by Cody »

Question for the devs: will this ‘nested oxp’ thingy be squashed, as is implied in the linked thread above?
One simple level of nesting is quite useful, for grouping types of oxp.
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
Kaks
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 3009
Joined: Mon Jan 21, 2008 11:41 pm
Location: The Big Smoke

Post by Kaks »

It's a decision best left to Ahruman, I think...
Hey, free OXPs: farsun v1.05 & tty v0.5! :0)
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

I've a suspicion that a similar setup on my system (I had a WIP.oxp folder for OXPs under construction) made it unstable and probe to desktop crashes.

Nothing I can prove as the crashes were intermittent (and could have been from the OXP rather than the set-up), but it may be something to keep an eye out for.

Currently the folders do need the .oxp extension, anything else is ignored. And for my 0.2cr should continue to be, as it's a useful way of temporarily disabling OXPs.
Post Reply