Location of Infologs
Moderator: Moderators
Location of Infologs
So, in a typical, you've-just-installed-Spring install, these days... where do Infologs get put?
I thought they were still being posted to the root of the installation, wherever it is, but I've seen some evidence that says otherwise, and now I'm confused. Does it go to Userland?
I thought they were still being posted to the root of the installation, wherever it is, but I've seen some evidence that says otherwise, and now I'm confused. Does it go to Userland?
Re: Location of Infologs
always next to spring.exe afaik
Re: Location of Infologs
Somebody's just sent me an infolog that's supposedly from their root, of an install of my game, and it has the following:
They've shown me a screenshot of them (trying) to play the game, and have said that there's a major bug, but the infolog they've sent me is worthless. If people have more than one Spring install, what happens then?
IOW, it's the last Infolog from before P.U.R.E. was released.# using configuration source "J:\Program Files\TASpringSVN\/springsettings.cfg"
# OS: Microsoft Windows XP Professional Service Pack 3 (build 2600)
# Hardware: AMD Athlon(TM) XP; 1023MB RAM, 2976MB pagefile
# Using read-write data directory: J:\Program Files\TASpringSVN\
# Using read-only data directory: C:\Documents and Settings\Greg Wolfe.GREG-H94M7F6A5M\My Documents\Spring\
# Using read-only data directory: C:\Documents and Settings\All Users.NEWOS\Application Data\Spring\
They've shown me a screenshot of them (trying) to play the game, and have said that there's a major bug, but the infolog they've sent me is worthless. If people have more than one Spring install, what happens then?
Re: Location of Infologs
They're put in the writable Spring directory.
I think that's somewhere in the user's folder on Windows too?
I think that's somewhere in the user's folder on Windows too?
Re: Location of Infologs
OK, so it's being sent to Userland? Makes sense.
Re: Location of Infologs
Argh, does PURE create this directory:
"C:\Documents and Settings\Greg Wolfe.GREG-H94M7F6A5M\My Documents\Spring\"
Or is this one of those "well, my friend has this... problem and I was wondering if there was something you could do to helpmehim." questions?
"C:\Documents and Settings\Greg Wolfe.GREG-H94M7F6A5M\My Documents\Spring\"
Or is this one of those "well, my friend has this... problem and I was wondering if there was something you could do to help
Re: Location of Infologs
No, PURE doesn't create that directory. Stardock's install goes to C:/Program Files/ by default. And no, this isn't a problem I'm having- my infologs show up in root.
So I was naturally confused when somebody sent me an Infolog that's dated 2009, and where the paths all pointed at my old directories...
So I was naturally confused when somebody sent me an Infolog that's dated 2009, and where the paths all pointed at my old directories...
Re: Location of Infologs
... so how come the user has a directory with your name in it? I'm kinda confused - is this an old Infolog file that accidentally got deployed to the user from your desktop copy?
... either way, I suppose it's neither here nor there. Iirc, the infolog has jumped around a few times. Maybe it's springlobby, but I remember it taking a few versions before I could figure out which would appear in My Documents\Springishnameddir or what would appear in AppSettings.
... either way, I suppose it's neither here nor there. Iirc, the infolog has jumped around a few times. Maybe it's springlobby, but I remember it taking a few versions before I could figure out which would appear in My Documents\Springishnameddir or what would appear in AppSettings.
Re: Location of Infologs
It has to be- I must've forgotten to delete it before shipping to Stardock, and it's creating it somewhere else. Nothing else makes sense.... so how come the user has a directory with your name in it? I'm kinda confused - is this an old Infolog file that accidentally got deployed to the user from your desktop copy?
Re: Location of Infologs
i made some patches to ensure infologs end up in the writable data-dir always, but they are only on master, not in any of the 0.81 releases. so for master, what Tobi said is true (always in writable data-dir), and for current releases, what Beherith said is true (always next to spring.exe). on windows though, this is the same anyway, so it just makes a difference under linux.
Re: Location of Infologs
Smoth pointed out that PURE ships with an old Spring version (0.79), dunno if that changes anything.
Re: Location of Infologs
My guess is that this behavior changed between 0.79 and 0.8. It's the only explanation that makes any sense, and we were in that period of fixes for dealing with Vista's quirks at the time IIRC.
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: Location of Infologs
Since my spring directory is read-only (probably for other users too), spring cannot write next to spring.exe. All stuff (including infolog.txt) gets written to the MyGames/Spring folder for me.hoijui wrote:and for current releases, what Beherith said is true (always next to spring.exe).