Location of Infologs

Location of Infologs

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Location of Infologs

Post by Argh »

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?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Location of Infologs

Post by Beherith »

always next to spring.exe afaik
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Location of Infologs

Post by Argh »

Somebody's just sent me an infolog that's supposedly from their root, of an install of my game, and it has the following:
# 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\
IOW, it's the last Infolog from before P.U.R.E. was released.

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?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Location of Infologs

Post by Tobi »

They're put in the writable Spring directory.

I think that's somewhere in the user's folder on Windows too?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Location of Infologs

Post by Argh »

OK, so it's being sent to Userland? Makes sense.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Location of Infologs

Post by Pxtl »

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 help mehim." questions?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Location of Infologs

Post by Argh »

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...
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Location of Infologs

Post by Pxtl »

... 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.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Location of Infologs

Post by Argh »

... 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?
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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Location of Infologs

Post by hoijui »

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.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Location of Infologs

Post by KDR_11k »

Smoth pointed out that PURE ships with an old Spring version (0.79), dunno if that changes anything.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: Location of Infologs

Post by Argh »

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.
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Location of Infologs

Post by very_bad_soldier »

hoijui wrote:and for current releases, what Beherith said is true (always next to spring.exe).
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.
Post Reply

Return to “Engine”