Page 1 of 1

Nested OXP folders.

Posted: Wed Aug 25, 2010 10:54 am
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.

Posted: Wed Aug 25, 2010 11:00 am
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.

Posted: Thu Aug 26, 2010 11:23 pm
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.

Posted: Fri Aug 27, 2010 5:25 am
by Kaks
It's a decision best left to Ahruman, I think...

Posted: Fri Aug 27, 2010 6:43 am
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.