Oolite cache

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Oolite cache

Post by Wiggy »

There's been talk in a couple of posts about a cache that Oolite has, and the usefulness of clearing it, possibly by holding down shift when starting Oolite.

I can't find any such cache. Should I be worried?
v. 1.65
OS 10.3.9

Nothing in User/Library/Application Support
not even an Oolite directory. Nothing else anywhere, except for .plist in Preferences.
You came in that? You're braver than I thought!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Unless you’re seeing screwed-up models, or old versions of models that you’ve altered, you probably don’t need to worry about it.
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

Well I am.

So I'd like some clarity. ;)


I have added some turrets plus an additional subentity to a like_ship
and now:

1-the new subentity does not show up.
2-the original 4 subentities roll/pitch in opposite direction to the main-entity.
3-its escort ships ar not of the usual defined type.

I am at a loss what the issue is here, I already copied most of the like-ship data, to no avail. shift-starting does not resolve anything, stderr keeps telling me the cashe is as yet empty.
Help. :?:
Riding the Rocket!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Okay, this might be because I haven't explained where the cache is clearly enough. So a direct approach follows:

In the Finder Go menu, choose Go to Folder... and enter ~/Library/Application Support/Oolite/

This should open the folder containing the cache, which you can then delete.


Failing that, the problem may be with the model or expansion pack rather than the cache, especially if it's a copy of a model from Oolite.app or another active OXP, where a problem in your model may mean that it is being silently replaced with the other model.

Try moving all your expansions out of AddOns and just trying the models/expansion pack alone to see if that clears anything up.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

I cannot find that folder on my windows version. :/

removing the original model and moving all the lines into the like_ship, does not help.
(now the thargoids are attacking eachother no less!)

I may just reinstall oolite to get rid of the gunk.

edit:
it is definately the turrets that are messing things up.
somehow they prevent the other subunits from rotation to their final locations. I just shot an immobile battleship removing all its turrets and the subentities just snapped into place.
the not-appearing-subentity may be a corrupt model problem though.

with the new octree-collision sceme, is it still possible to have subentity models partially inside the main-entity model?
Last edited by Arexack_Heretic on Thu Aug 17, 2006 6:25 pm, edited 1 time in total.
Riding the Rocket!
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

Ah, now this is embarrassing... ..I, too was at a loss when this cache was mentioned... :oops:
I thought I was sort of knowledgeable about the bits in my Mac and where they lived, but I could find no sign of that folder in either my User account Library, or in the general Library folder...
Very funny, Scotty, now beam down my clothes...
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Apparently the Windows Oolite cache is in whatever GNUStep considers the Home directory, within GNUstep:Library:
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

thanks, the cache seems to have refreshed itself now, partially.

In future I'll use incremental filenames when testing.

Should have thought of the GNUstep library.
:oops:


edit:
-No such thing as a cache in the gnustep-library.
-also using incremental filenames is detrimental and leads to cannot find model-error. non-fatal in itself, but when in hyperspace, the script adding behemoths will repeat itself multiple times, causing a crash when 140+ behemoths have been added. (plus the 280 thargoids, my scripting then calls for!)
-I have replaced the file and solved this minor problem, unfortunately now it looks like either D100 numbers no longer work or something, as I have not seen any Behs in WS for 20 attempts.
-also quite often get 'loop-de-loop' crash. (eg, ship keeps pitching backwards whilst trying to enter WS.)
Last edited by Arexack_Heretic on Mon Aug 21, 2006 10:33 am, edited 1 time in total.
Riding the Rocket!
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Post by Wiggy »

No, still can't find the cache.

It's not in ~/Library/Application Support/

No Oolite folder to be had, not even for ready money, as Oscar Wilde would say.
You came in that? You're braver than I thought!
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Wiggy wrote:
No, still can't find the cache.

It's not in ~/Library/Application Support/

No Oolite folder to be had, not even for ready money, as Oscar Wilde would say.
That's very odd. The cache should be created (or refreshed) every time you save your game. The only think that I think might interfere with this process would be if your user area had some strange path or permissions that stopped Oolite from being able to write to that location.

I'll add some code to report failure to write to the cache and hopefully we'll see an answer to this conundrum.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

I don't seem to have the cache there either...

10.3.9
User avatar
Wiggy
Deadly
Deadly
Posts: 222
Joined: Fri Jan 21, 2005 1:12 pm
Location: London, Engerland

Post by Wiggy »

I'm on 10.3.9 too.

Perhaps some Panther thing?
You came in that? You're braver than I thought!
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

Weelll.... no... ...I can't can't find mine in Tiger(10.4.7) either...
Very funny, Scotty, now beam down my clothes...
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

It might be useful to see the full path to ~/Library for Mac folk who cannot find the cache. I suspect some path jiggery-pokery might be required.
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

edit:
-No such thing as a cache in my GNUstep-library, only a colour-thingy.

-also using incremental filenames is detrimental and leads to 'cannot-find-model-with-*name-error'. non-fatal in itself, but when in hyperspace, the script adding behemoths will repeat itself multiple times, causing a crash when 140+ behemoths have been added. (plus the 280 thargoids, my scripting then calls for!)
-I have replaced the file and solved this minor problem, unfortunately now it looks like either D100 numbers no longer work or something, as I have not seen any Behs in WS for 20 attempts. But the same ships generated everytime by my own D100-scripting.
-also sometimes get 'loop-de-loop' crash, (eg, ship keeps pitching backwards) whilst trying to enter WS.
Riding the Rocket!
Post Reply