oolite-saves and GNUStep directories
Moderators: winston, another_commander, Getafix
oolite-saves and GNUStep directories
Hello, I'm new on this board.
I just discovered oolite, and I really like it so far. There's just one simple thing that annoys me with the Linux version.
I'm using Debian 5.0, and when I play Oolite, it creates two directories "oolite-saves" and "GNUStep" in my home directory.
As I want to keep my home directory clean, I'd like to know if this behaviour can be changed, so that hidden directories can be used. Usually, Linux games use hidden config files and directories like ".oolite-saves".
I just discovered oolite, and I really like it so far. There's just one simple thing that annoys me with the Linux version.
I'm using Debian 5.0, and when I play Oolite, it creates two directories "oolite-saves" and "GNUStep" in my home directory.
As I want to keep my home directory clean, I'd like to know if this behaviour can be changed, so that hidden directories can be used. Usually, Linux games use hidden config files and directories like ".oolite-saves".
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
Hi Problem - welcome to the boards - I don't appear to share your issue when I run Oolite under Ubuntu (7.10) - I just get the .oolite-saves dir.
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
-
- ---- E L I T E ----
- Posts: 332
- Joined: Mon Jul 06, 2009 11:12 pm
- Location: Uncharted backwaters of the unfashionable end of the western spiral arm
Having compiled trunk now, I have a suspicion a few things were moved around in the Ubuntu package. What would happen if I pulled the 1.65 Ubuntu package source, put the nightly code into it, and built the package, I wonder?DaddyHoggy wrote:Hi Problem - welcome to the boards - I don't appear to share your issue when I run Oolite under Ubuntu (7.10) - I just get the .oolite-saves dir.
-
- Quite Grand Sub-Admiral
- Posts: 6682
- Joined: Wed Feb 28, 2007 7:54 am
- DaddyHoggy
- Intergalactic Spam Assassin
- Posts: 8515
- Joined: Tue Dec 05, 2006 9:43 pm
- Location: Newbury, UK
- Contact:
I get the impression that Zevans is planning to use the packager to trick Ubuntu into building the trunk version - or have I misunderstood?
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
Maybe the Ubuntu packagers have changed this.DaddyHoggy wrote:Hi Problem - welcome to the boards - I don't appear to share your issue when I run Oolite under Ubuntu (7.10) - I just get the .oolite-saves dir.
I just installed Oolite 1.72.2 (autopackage from BerliOS) and still get the "oolite-saves" and "GNUStep" directories.
-
- ---- E L I T E ----
- Posts: 332
- Joined: Mon Jul 06, 2009 11:12 pm
- Location: Uncharted backwaters of the unfashionable end of the western spiral arm
Yep, I was talking about building an Ubuntu package (for internal consumption at this stage) but with trunk codebase because I quite agree, it's hugely better, and I am using it.Problem wrote:Maybe the Ubuntu packagers have changed this.DaddyHoggy wrote:Hi Problem - welcome to the boards - I don't appear to share your issue when I run Oolite under Ubuntu (7.10) - I just get the .oolite-saves dir.
I just installed Oolite 1.72.2 (autopackage from BerliOS) and still get the "oolite-saves" and "GNUStep" directories.
So:
@another: I quite agree.
@DH: Correct!
@Problem: The autopackage version seems slightly different to trunk and Ubuntu, and that is what got me into such an almighty tangle when I had autopackage and trunk both lying around.[/i]
Here's a workaround for the moment. I have written a small bash script:
The script unhides the directories, starts oolite and hides them again when the game quits.
Just put this script (e.g. named ".oolite-starter") into your home directory, make it executable and change the Oolite menu entry to use the script.
It's really just a dirty workaround, but it works for me
Code: Select all
#!/bin/bash
mv .oolite-saves oolite-saves
mv .GNUstep GNUstep
oolite
mv oolite-saves .oolite-saves
mv GNUstep .GNUstep
Just put this script (e.g. named ".oolite-starter") into your home directory, make it executable and change the Oolite menu entry to use the script.
It's really just a dirty workaround, but it works for me
Hi Problem, and welcome to the boards
The ~/GNUStep folder can't be renamed/moved - this is a shared directory for all GNUStep applications which you use, not just Oolite.
As for the rest, I use a personal build which does use hidden directories (with appropriate symlinks for when I play with vanilla trunk etc on my dev machine).
When I proposed submitting these changes there was some reluctance from the longer-serving developers; backwards compatibility, confusing people who can no longer find the Addons directory, etc.
Personally I don't really care (since I've got my own build which I play with anyway) but if we get enough Linux people wanting to have a more Linux-standard directory layout perhaps we can re-raise this.
Cheers,
- Micha.
The ~/GNUStep folder can't be renamed/moved - this is a shared directory for all GNUStep applications which you use, not just Oolite.
As for the rest, I use a personal build which does use hidden directories (with appropriate symlinks for when I play with vanilla trunk etc on my dev machine).
When I proposed submitting these changes there was some reluctance from the longer-serving developers; backwards compatibility, confusing people who can no longer find the Addons directory, etc.
Personally I don't really care (since I've got my own build which I play with anyway) but if we get enough Linux people wanting to have a more Linux-standard directory layout perhaps we can re-raise this.
Cheers,
- Micha.
The glass is twice as big as it needs to be.
This is true indeed, I should have mentioned that. I didn't think of it, because for me this not a problem. I don't use any GNUstep applications except for Oolite. As I said, it is just a dirty workaround to hide these two directories. I just don't like it when applications create files that are not hidden. If every application did that, my home directory would be a complete mess. So apart from Oolite, I really wonder why GNUstep does it.Micha wrote:The ~/GNUStep folder can't be renamed/moved - this is a shared directory for all GNUStep applications which you use, not just Oolite.
I'd support it.Personally I don't really care (since I've got my own build which I play with anyway) but if we get enough Linux people wanting to have a more Linux-standard directory layout perhaps we can re-raise this.
Anyway, as this is somehow "solved" for me, I'll stop complaining and play the game instead. It's time to practise docking a little more.
- Diziet Sma
- ---- E L I T E ----
- Posts: 6312
- Joined: Mon Apr 06, 2009 12:20 pm
- Location: Aboard the Pitviper S.E. "Blackwidow"
I'd support this too. Under Linux, things ought to be done in a standard Linux way. After all, from what I've seen/read, under Mac and Win, things are organised to suit the way those OS's work.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Not under Windows either - in fact, Trunk has gotten worse from 1.72 by installing Oolite in the root of C: drive by default instead of in C:\Program Files (or the regionalised equivalent).
IMHO a big issue in Windows is that Oolite doesn't use the users' home directory for saving files or accessing AddOns. This used to be possible by tweaking the batch file which starts up the Windows version of Oolite (in fact, this approach was quite neat as it allowed people to tweak Oolite to either use standard Windows paths OR relative paths to where Oolite happened to be installed which was useful for USB stick installs), however current trunk hard-codes the paths to be relative which is very bad from a Windows philosophy as no user-generated files should be stored in the installation directory of a program.
This new approach is a hack to work around Windows Vista's virtual store approach, which is a nasty hack by Microsoft to work around poorly coded apps (of which Oolite is now an example in this particular respect).
I don't use Windows for (Oolite) gaming, so it doesn't worry me, but if I did, I'd customize my build
As for Mac OS X, that -is- the primary platform, so of course that's got the best support It also helps that OS X is a descendant of Next so of course it's got great support for that style of directory layouts.
Anyways, my hiatus of the past few months is hopefully coming to an end soon (I've even set up my Dev Machine again, woo!) so I can take a look at cleaning up my path sanitizing code for Linux and make the case to the senior devs again
IMHO a big issue in Windows is that Oolite doesn't use the users' home directory for saving files or accessing AddOns. This used to be possible by tweaking the batch file which starts up the Windows version of Oolite (in fact, this approach was quite neat as it allowed people to tweak Oolite to either use standard Windows paths OR relative paths to where Oolite happened to be installed which was useful for USB stick installs), however current trunk hard-codes the paths to be relative which is very bad from a Windows philosophy as no user-generated files should be stored in the installation directory of a program.
This new approach is a hack to work around Windows Vista's virtual store approach, which is a nasty hack by Microsoft to work around poorly coded apps (of which Oolite is now an example in this particular respect).
I don't use Windows for (Oolite) gaming, so it doesn't worry me, but if I did, I'd customize my build
As for Mac OS X, that -is- the primary platform, so of course that's got the best support It also helps that OS X is a descendant of Next so of course it's got great support for that style of directory layouts.
Anyways, my hiatus of the past few months is hopefully coming to an end soon (I've even set up my Dev Machine again, woo!) so I can take a look at cleaning up my path sanitizing code for Linux and make the case to the senior devs again
The glass is twice as big as it needs to be.