UFO:Alien Invasion

Technical support => Feature Requests => Topic started by: HaJo on July 30, 2006, 09:51:45 pm

Title: RC4: include build-number in logfile
Post by: HaJo on July 30, 2006, 09:51:45 pm
the version-string "Version: 2.0-RC4 x86 Jul 28 2006 Win32 DEBUG"
should also include the revision-number, as many postings on sf.net
announce "fixed in SVN trunk revision xxxx".

Also, the version should be written to ufoconsole.log earlier
(i.e. before the "sound initialization" part, at the latest),
because some crashes happen after "...precaching 48 menus",
and currently, the version-info is still missing from the log.
Title: RC4: include build-number in logfile
Post by: HaJo on August 01, 2006, 06:02:40 pm
You can get the version-number included into the logfile a bit earlier
with an autoexec.cfg that just contains the command "version".
Title: RC4: include build-number in logfile
Post by: Bandobras on August 01, 2006, 07:57:13 pm
Oh. Who would have though?
Title: RC4: include build-number in logfile
Post by: HaJo on August 01, 2006, 09:19:32 pm
Creating such a file with just that simple command would fix
the message "couldn't exec autoexec.cfg" in ufoconsole.log,
that we still see now.
Title: RC4: include build-number in logfile
Post by: Bandobras on August 01, 2006, 10:09:19 pm
I'll try to add this to SVN today. Thanks! BTW, where should that file be located? The same in Win and Lin, or not?
Title: RC4: include build-number in logfile
Post by: HaJo on August 02, 2006, 02:02:09 am
Quote from: "Bandobras"
where should that file be located?

Same directory as config.cfg
Title: RC4: include build-number in logfile
Post by: Bandobras on August 02, 2006, 04:11:25 am
OK, now it's added into the game. Thanks!

<CIA-18> bandobraz * r2288 /ufoai/trunk/base/autoexec.cfg: Added autoexec.cfg,
    as proposed by HaJo. It displays version earlier (in case of a crash)
    and surpresses the warning.