There is also the JS property
oolite.resourcePaths
, which gives output similar to this:
Code: Select all
["Resources", "C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns", "../AddOns",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/cim.gsagostinho.systemfeatures.rings.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.AndreyBelov.BountyInformer.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Astrobe.luckycharm.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.cim.camera-drones.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Commander_McLane.Auto_Eject.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Lone_Wolf.ETTHomingBeacon.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.maik.beercooler.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Okti.CargoScanner.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.phkb.AutoDock.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.phkb.BulkCargoProcessor.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.smivs.cup_of_tea.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Svengali.Library.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Switeck.Auto-ECM.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.APRIL.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.Bigships.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.CargoShepherd.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.CargoSpotter.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.Thargoid.CommandersLog.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.z.phkb.XenonUI.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.z.phkb.XenonUIResourcesG.oxz",
"C:\\DriveD/Oolite/SourceCode/oolite.app/GNUstep/Library/ApplicationSupport/Oolite/ManagedAddOns/oolite.oxp.ZygoUgo.Explosions.oxz", "../AddOns/188NSGMaps.1_1.oxp", "../AddOns/Adder
MkIII.oxp", "../AddOns/Basic-debug.oxp", "../AddOns/Cobra_MkB.oxp", "../AddOns/FPJ_Krait.oxp", "../AddOns/FPJ_Moray.oxp", "../AddOns/Goods_Container1.oxz",
"../AddOns/Griff_HighPoly_CobraIII.oxp", "../AddOns/griff_HP_Mamba_Materials_WIP.oxp", "../AddOns/gsagostinho.TexturePack.AspMkII-1.2.oxp", "../AddOns/LaveIsEarth.oxp",
"../AddOns/NoMassLock.oxp", "../AddOns/oolite.oxp.another_commander.DisoIsJupiter8k-1.0.oxp", "../AddOns/oolite.oxp.cheyd.DHI_nav_buoy-1.0.1.oxp",
"../AddOns/oolite.oxp.CommonSenseOTB.CustomShields-0.83.oxp", "../AddOns/oolite.oxp.Griff.Prototype_Boa-1.2.1.oxp", "../AddOns/oolite.oxp.stranger.FPO_Zaonce-0.1.0.oxp",
"../AddOns/oolite.oxp.Svengali.BGSwOldHyper.oxp", "../AddOns/oolite.oxp.ZygoUgo.ZygoCinematicSkyNebulas-1.3_Fixed.oxp", "../AddOns/QutiriIsNarShaddaa.oxp", "../AddOns/SampleStation.oxp",
"../AddOns/Sidewinder_HP_withShaders_WIP.oxp", "../AddOns/TionislaIsCoruscant.oxp", "../AddOns/Vampire MkVI(2).oxp", "../AddOns/venus.oxp", "../AddOns/vertex-shader-animation-test.oxp",
"../AddOns/voltesst.oxp"]
Getting the oxp names from the list is just a matter of basic string manipulation.