Page 1 of 2

Cant get OXP to work

Posted: Sat Oct 17, 2009 12:55 am
by blazer666_uk
Hi

I have windows 7 64bit and have been running Oolite for the last week. I decided to add some extras and have downloaded all of the expansion packs and add ons. I have created a folder C:\Oolite\addons and placed all the oxp files in there (in their own folders) I have started Oolite with the shift key held down. The game plays but i see no new addons or ships. Can someone help?

Thanks

Posted: Sat Oct 17, 2009 5:04 am
by Diziet Sma
Hi blazer666_uk, and welcome to "the friendliest board this side of Riedquat!"

Just a minor thought at this point.. it shouldn't matter to Windows, but maybe it matters to Oolite.. the folder should not be named "addons", but "AddOns". See if that makes a difference.

Also, folder names not ending in ".oxp" will be ignored by Oolite. Some OXPs will extract into a folder with the same name as the downloaded zip file, and Windows has this same behaviour by default. Look inside the folder and you will see a folder with a name ending in ".oxp". That is the folder which Oolite expects to see in the AddOns folder.

Hope this fixes your problems.

Re: Cant get OXP to work

Posted: Sat Oct 17, 2009 9:52 am
by Tivva
blazer666_uk wrote:
Hi

I have windows 7 64bit and have been running Oolite for the last week. I decided to add some extras and have downloaded all of the expansion packs and add ons. I have created a folder C:\Oolite\addons and placed all the oxp files in there (in their own folders) I have started Oolite with the shift key held down. The game plays but i see no new addons or ships. Can someone help?

Thanks
Hi Blazer666, I'm not a windoze user but a quick look on the wiki page says...
Windows
If the installable package was used (post Jan 06) then the AddOns folder needs to be created in C:\Programs Files\Oolite. Note that this applies if the default installation location is used. If the install location is changed then use the path to the Oolite folder that corresponds to your installation. If the GNUStep dedicated versions (pre-Jan 2006) is used, then the AddOns folder must be created in the oolite.app folder.


Looks like you forgot the "Program files" bit in the path
Hope you get sorted
T

Re: Cant get OXP to work

Posted: Sat Oct 17, 2009 9:55 am
by Screet
Tivva wrote:
Looks like you forgot the "Program files" bit in the path
Probably not: Newer oolite releases do use C:\oolite as default as Vista has some stupid security mechanism which is constantly causing trouble to anything within program files folder. I've even seen device drivers suffer from this (and their support being unable to fix it).

Screet

Posted: Sat Oct 17, 2009 10:02 am
by Kaks
Tivva, thanks to a 'feature' of Vista, we had to change the default installation from C:\Program Files\Oolite to just C:\Oolite. The whole sorry story is here:

http://wiki.alioth.net/index.php/Running_Oolite-Windows

Oops, what Screet said! I'll change the wiki page to minimise confusion in the future.

Posted: Sat Oct 17, 2009 10:30 am
by Tivva
oops, thanks guys- only quoted from the wiki. :wink:
Hope you get sorted Blazer

Posted: Sat Oct 17, 2009 2:44 pm
by blazer666_uk
Tivva wrote:
oops, thanks guys- only quoted from the wiki. :wink:
Hope you get sorted Blazer
Nope no luck my folder in C:\Oolite\ is called AddOns (with the capitals but that will not matter in windows anyway) I have all the oxp's in their own folders inside the folder AddOns

Ive looked in the log file and it says:

[searchPaths.dumpAll]: ---> OXP search paths:
(Resources, ../AddOns)
[dataCache.upToDate]: Data cache is up to date.

So its saying that the AddOns Folder is back one directory (which it is)
I have flushed the cache numerous times but still no OXP addons work. I have even made the programme run as Windows XP SP3 mode with admin rights.

Help

Posted: Sat Oct 17, 2009 2:49 pm
by Commander McLane
blazer666_uk wrote:
I have all the oxp's in their own folders inside the folder AddOns
And here's your problem. All OXPs have to go directly into AddOns. You have to take them out of their individual folders. Everything in AddOns has to end with ".oxp" and contain subfolders named "Config", "Textures", "Scripts", etc. If there is anything else in-between, Oolite doesn't recognize them.

Posted: Sat Oct 17, 2009 5:07 pm
by blazer666_uk
Commander McLane wrote:
blazer666_uk wrote:
I have all the oxp's in their own folders inside the folder AddOns
And here's your problem. All OXPs have to go directly into AddOns. You have to take them out of their individual folders. Everything in AddOns has to end with ".oxp" and contain subfolders named "Config", "Textures", "Scripts", etc. If there is anything else in-between, Oolite doesn't recognize them.
But then it will write over each other Ie

shipdata.plist is in every config folder so this means I can only have one OXP at a time?

Thanks

Posted: Sat Oct 17, 2009 5:18 pm
by Screet
blazer666_uk wrote:
But then it will write over each other Ie
Your folder structure should look like this (please note that my oolite is installed to D:\games\oolite):

Code: Select all

D:\games\Oolite\AddOns\A - OSE Main Data WiP V0.70.18.oxp
D:\games\Oolite\AddOns\Commies.oxp
...
Inside these oxp folders are the subfolders of each oxp, thus they won't overwrite each other.

Screet

Posted: Sat Oct 17, 2009 5:32 pm
by DaddyHoggy
Hi blazer - I can only show you this on my Linux install as my Vista laptop is off at the moment but other than the fact that my directory structure is .Oolite this should be the same for you:

Code: Select all

john@new-ubuntu:~$ cd .Oolite
john@new-ubuntu:~/.Oolite$ ls
AddOns  Debug.oxp  Logs  tmp_4_oxps
john@new-ubuntu:~/.Oolite$ cd AddOns
john@new-ubuntu:~/.Oolite/AddOns$ ls
AsteroidStorm 3.5.oxp           Lave.oxp
clearskies.oxp                  PAGroove_Stations_v1.2.1.oxp
Commies.oxp                     Shady Cobra.oxp
Dictators v1.3.oxp              tgy_dev.oxp
Diso.oxp                        transhab.oxp
Freaky Thargoids 3.oxp          YOUR_AD_HERE.oxp
globestations_DH_oobay.oxp.zip  YOUR_AD_HERE_set_A.oxp
globestations.oxp               YOUR_AD_HERE_set_B.oxp
glow_alloy.oxp                  YOUR_AD_HERE_set_C.oxp
griff_trade_outpost.oxp         YOUR_AD_HERE_set_D.oxp
GrittyCoriolis.oxp              YOUR_AD_HERE_set_E.oxp
gwxstations.oxp                 YOUR_AD_HERE_set_F.oxp
halsis.oxp
john@new-ubuntu:~/.Oolite/AddOns$ cd AsteroidStorm\ 3.5.oxp/
john@new-ubuntu:~/.Oolite/AddOns/AsteroidStorm 3.5.oxp$ ls
AIs                       Config  Info.plist  requires.plist  Sounds
asteroidstorm_readme.txt  Images  Models      Scripts         Textures
john@new-ubuntu:~/.Oolite/AddOns/AsteroidStorm 3.5.oxp$ 
So basically in AddOns you have one (or more directories) called for example:

OXP1.oxp, OXP2.oxp, etc.

and all the subdirectories pertaining to that particular oxp live inside that parent XXXXXX.oxp directory.

Does that make sense? Is that how your directory structure is laid out?

Posted: Sat Oct 17, 2009 6:27 pm
by blazer666_uk
Eh talk about confusing

Right this is what I have

C:\oolite\AddOns\ contains the following sub dirs:

Fuel Tank v2.2.oxp
dragon.oxp
MilHUD-new.oxp
etc.....



each of the above folders have more sub dirs like textures, models, ai etc

Is this correct ?

Thanks

Posted: Sat Oct 17, 2009 6:29 pm
by Thargoid
Yes, that's the correct structure.

Re: Cant get OXP to work

Posted: Sat Oct 17, 2009 6:33 pm
by Svengali
blazer666_uk wrote:
I have created a folder C:\Oolite\addons and placed all the oxp files in there (in their own folders) I have started Oolite with the shift key held down. The game plays but i see no new addons or ships. Can someone help?
No need to create anything on your own. Where is your game installed?

And welcome onboard .-)

Posted: Sat Oct 17, 2009 7:50 pm
by Micha
Another question: Which version of Oolite are you running? You should be on 1.73.4.