Homeworld 2 : DocumentationLogfiles
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Most recent edit on 2006-05-27 14:21:13 by MiKail

Additions:
Logfile file-names consist of the word "univstats", followed by the campaign name and a time-stamp marking the time when the game ended (i.e., when the file was written). The meanings of the different parts of a filename are as follows:
The logfile contents are sorted first by player, then by whether the entry refers to a squadron or an upgrade (subsystems aren't listed, unfortunately). These sections are then further sorted alphabetically, in the case of ships, or alphabetically and by tech level, in the case of upgrades.
The very first line is unique, in that it consists only of a single keyword, combatDuration, followed by a number. The number after the keyword tells you the amount of time it took for the game to come to completion, in seconds.

Deletions:
Logfile file-names consist of the word "univstats", followed by the campaign name and a time-stamp marking the time when the game ended (i.e., when the file was written). The meaning of the different parts of a filename are as follows:
The logfile contents are sorted first by player, then by whether the entry refers to a squadron or an upgrade (subsystems aren't listed, unfortunately). These sections are then further sorted alphabetically, in the case of ships, or alphabetically and by tech level in the case of upgrades.
The very first line is unique, in that it consists only of a single keyword, combatDuration, followed by a number. This number tells you the amount of time it took for the game to come to completion, in seconds.




Edited on 2006-05-27 14:18:46 by MiKail

Additions:
Unfortunately, the information contained in the logfiles is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. Fortunately, in addition to the aforementioned logfiles, there are a set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).

Deletions:
Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, in addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).



Edited on 2006-05-27 14:16:47 by MiKail

Additions:
If an upgrade appears in the list, it means that the payer completed research of that item. If the upgrade does not appear in the list, then the upgrade was never completed by the player.

Deletions:
If an upgrade appears in the list, it means that the payer completed research of that item. Any missing upgrades were never completed by the player.



Edited on 2006-05-27 14:14:34 by MiKail

Additions:
Logfile file-names consist of the word "univstats", followed by the campaign name and a time-stamp marking the time when the game ended (i.e., when the file was written). The meaning of the different parts of a filename are as follows:

Deletions:
Logfile file-names consist of the word "univstats", followed by a time stamp marking the time when the game ended (i.e., when the file was written). The meaning of the different parts of a filename are as follows:



Edited on 2006-05-27 14:13:32 by MiKail

Additions:
The very first line is unique, in that it consists only of a single keyword, combatDuration, followed by a number. This number tells you the amount of time it took for the game to come to completion, in seconds.
Following the combatDuration keyword are the squadron stats. The lines in the squadron section all follow the same general pattern:


Deletions:
The very first line is unique, in that it consists only of a single keyword, "combatDuration", followed by a number. This number tells you the amount of time it took for the game to come to completion, in seconds.
Following this are the squadron stats. The lines in the squadron-stat section all follow the same general pattern:




Edited on 2006-05-27 14:11:44 by MiKail

Additions:
Explanation of the .CSV logfiles in "Homeworld2\Bin\Logfiles\" by Mikail.
Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, in addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).


Deletions:
Explanation of the .CSV logfiles in "Homeworld2\Bin\Logfiles\" by Mikail.
Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, in addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).




Edited on 2006-05-27 14:11:07 by MiKail

No differences.


Edited on 2006-05-27 14:10:55 by MiKail

Additions:
Logfiles contain information regarding the number and type of squadron each player builds during the course of a game, as well as information regarding any research/upgrades completed. You're also told the RU value of each squadron, the number of individual ships that make up a squadron of that type, and the status of the squadron at the end of the game.
Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, in addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).


Deletions:
Logfiles contain information regarding the number and type of squadron each player builds during the course of a game, as well as information regarding any research/upgrades completed. You're also told the RU value of each squadron, the number of individual ships that make up a squadron of that type, and the status of the squadron at the end of the game. Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, much of this missing information can be found in the stat files located in the "bin\profiles\profile<n>\stats\" directory.
In addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).




Edited on 2006-05-27 14:09:40 by MiKail

Additions:
Logfiles contain information regarding the number and type of squadron each player builds during the course of a game, as well as information regarding any research/upgrades completed. You're also told the RU value of each squadron, the number of individual ships that make up a squadron of that type, and the status of the squadron at the end of the game. Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research. However, much of this missing information can be found in the stat files located in the "bin\profiles\profile<n>\stats\" directory.

Deletions:
Logfiles contain information regarding the number and type of squadron each player builds during the course of a game, as well as information regarding any research/upgrades completed. You're also told the RU value of each squadron, the number of individual ships that make up a squadron of that type, and the status of the squadron at the end of the game. Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research.



Edited on 2006-05-27 07:29:55 by MiKail

Additions:
If an upgrade appears in the list, it means that the payer completed research of that item. Any missing upgrades were never completed by the player.

Deletions:
If an upgrade appears in the list, it means that the payer completed research of that item.



Edited on 2006-05-27 07:29:25 by MiKail

Additions:
<iCostPerShip> is the cost of a ship, regardless of whether it survived.
The upgrades section only contains three values per line: the word "upgrade" (signifying that it is an upgrade and not a squadron), the player's ID, and the name of the upgrade. For example:


Deletions:
<iCostPerShip> is the cost of a ship regardless of whether it survived.
The upgrades section only contains three values per line: the word "upgrade" (signifying that it is an upgrade and not a ship), the player ID, and the name of the upgrade. For example:




Edited on 2006-05-27 07:28:10 by MiKail

Additions:
<bSquadronStatus>,<iPlayerID>,<sSquadronName>,<iCostPerAliveShip>,<iCostPerShip>,<iNumberShipsInSquadron>
<bSquadronStatus> refers to whether the ship was alive at the end of the game or not.
<sSquadronName> is the name of the ship as it appears in the data files.


Deletions:
<bStatus>,<iPlayerID>,<sShipName>,<iCostPerAliveShip>,<iCostPerShip>,<iNumberShipsInSquadron>
<bStatus> refers to whether the ship was alive at the end of the game or not.
<sShipName> is the name of the ship as it appears in the data files.




Edited on 2006-05-27 07:25:20 by MiKail

Additions:
In addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).

Deletions:
In addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).



Edited on 2006-05-27 07:04:30 by MiKail

Additions:
Logfiles contain information regarding the number and type of squadron each player builds during the course of a game, as well as information regarding any research/upgrades completed. You're also told the RU value of each squadron, the number of individual ships that make up a squadron of that type, and the status of the squadron at the end of the game. Unfortunately, the information is not as detailed as it might have been--e.g., you're not told the time of construction, death, or completion of research.
The file extension, ".csv", denotes that the file is a Comma-Separated list of Values. What this means is that each value is separated by a comma and nothing else. CSV files should be openable in most spreadsheet programs. Otherwise, use a text editor to edit/view the files.
To enable the generation of these logfiles, you must add the "-dumpPlayBalanceStats" command-line switch at the end of your Homeworld 2 shortcut.
In addition to the aforementioned logfiles, there are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder. These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game, and are generated automatically at the end of a game (e.g., you don't need a special command-line switch to generate these files).
Logfile File-names
Logfile file-names consist of the word "univstats", followed by a time stamp marking the time when the game ended (i.e., when the file was written). The meaning of the different parts of a filename are as follows:
univstats-(<CampaignName>).<Year>.<Month>.<Day>.<Hour>-<Minute>-<Second>.csv
The logfile contents are sorted first by player, then by whether the entry refers to a squadron or an upgrade (subsystems aren't listed, unfortunately). These sections are then further sorted alphabetically, in the case of ships, or alphabetically and by tech level in the case of upgrades.
Game Length
Squadrons
Following this are the squadron stats. The lines in the squadron-stat section all follow the same general pattern:
<bStatus>,<iPlayerID>,<sShipName>,<iCostPerAliveShip>,<iCostPerShip>,<iNumberShipsInSquadron>
Upgrades
upgrade,5,FrigateInfiltrationTech

Deletions:
Logfiles contain information regarding the number and type of ships each player builds throughout the course of a game, as well as any research items completed. The information is not very detailed (you aren't told the time of construction, death, or completion of research), but you are told who built a ship and whether the ship was alive or dead at the end of the game.
Note: you're also told the RU cost of each ship, as well as the number of individual ships that make up a squadron of that type.
The extension, ".csv", denotes that the file is a Comma-Separated list of Values. What this means is that each value is separated by a comma and nothing else. You should be able to open up a CSV file in any spreadsheet program. Otherwise, use a text editor to edit/view the files.
Note: you must use the "-dumpPlayBalanceStats" command-line switch at the end of your Homeworld 2 shortcut in order to generate these logfiles.
Logfile File-Naming
Logfile filenames consist of the word "univstats", followed by a time stamp marking the time when the game ended (e.g., when the file was written). The meaning of the different parts of a filename are as follows:
univstats-()....--.csv
The logfile contents are divided into different sections that are sorted first by player, then by whether the entry is a ship or or whether it is an upgrade (subsystems aren't listed, unfortunately). These sections are then sorted further, either alphabetically in the case of ships, or alphabetically and by tech level in the case of upgrades.
Following the "combatDuration" keyword are the ship stats. The lines in the ship section all follow the same general pattern:
,,,,,
upgrade,5,FrigateInfiltrationTech
In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder.
These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game.
Note: these files are generated automatically. You don't need a special command-line switch to generate these files.



Edited on 2006-01-15 21:15:51 by MiKail

Additions:
univstats-()....--.csv
,,,,,
<bStatus> refers to whether the ship was alive at the end of the game or not.
<iPlayerID> is the unique identifier of the player used in game scripting.
<sShipName> is the name of the ship as it appears in the data files.
<iCostPerAliveShip> is the cost or value of each ship if it was still alive at the end of the game (this way, all you have to do is add all the values in the column in order to determine the value of the surviving fleet).
<iCostPerShip> is the cost of a ship regardless of whether it survived.
<iNumberShipsInSquadron> is the number of ships that are in a squadron (for example, three Hiigaran Scouts make up one squadron).
The upgrades section only contains three values per line: the word "upgrade" (signifying that it is an upgrade and not a ship), the player ID, and the name of the upgrade. For example:


Deletions:
univstats-(CampaignName).Year.Month.Day.Hour-Minute-Second.csv
A ship's Status refers to whether the ship was alive at the end of the game or not.
PlayerID is the unique identifier of the player used in game scripting.
ShipName is the name of the ship as it appears in the data files.
CostPerAliveShip is the cost or value of each ship if it was still alive at the end of the game (this way, all you have to do is add all the values in the column in order to determine the value of the surviving fleet).
CostPerShip is the cost of a ship regardless of whether it survived.
NumberShipsInSquadron is the number of ships that are in a squadron (for example, three Hiigaran Scouts make up one squadron).
The upgrades section only contains three values per line: the word "upgrade" (signifying that it is an upgrade and not a ship), the player ID, and the name of the upgrade, e.g.:




Edited on 2006-01-15 21:13:11 by MiKail

Additions:
Note: you're also told the RU cost of each ship, as well as the number of individual ships that make up a squadron of that type.

Deletions:
Note: you're also told the RU cost of each ship, as well as the number of ships that appear in each squadron.



Edited on 2006-01-15 21:12:03 by MiKail

No differences.


Edited on 2006-01-15 21:11:50 by MiKail

Additions:
In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder.

Deletions:
In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder, where <n> is the number of your profile.



Edited on 2006-01-15 21:11:26 by MiKail

Additions:
In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\Profile<n>\Stats" folder, where <n> is the number of your profile.

Deletions:
In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\ProfileN\Stats" folder.



Oldest known version of this page was edited on 2006-01-15 21:10:38 by MiKail []
Page view:
Explanation of the .CSV logfiles in "Homeworld2\Bin\Logfiles\" by Mikail.

Introduction
Logfiles contain information regarding the number and type of ships each player builds throughout the course of a game, as well as any research items completed. The information is not very detailed (you aren't told the time of construction, death, or completion of research), but you are told who built a ship and whether the ship was alive or dead at the end of the game.
Note: you're also told the RU cost of each ship, as well as the number of ships that appear in each squadron.
The extension, ".csv", denotes that the file is a Comma-Separated list of Values. What this means is that each value is separated by a comma and nothing else. You should be able to open up a CSV file in any spreadsheet program. Otherwise, use a text editor to edit/view the files.
Note: you must use the "-dumpPlayBalanceStats" command-line switch at the end of your Homeworld 2 shortcut in order to generate these logfiles.

Logfile File-Naming
Logfile filenames consist of the word "univstats", followed by a time stamp marking the time when the game ended (e.g., when the file was written). The meaning of the different parts of a filename are as follows:

univstats-(CampaignName).Year.Month.Day.Hour-Minute-Second.csv

Logfile Contents & Syntax
The logfile contents are divided into different sections that are sorted first by player, then by whether the entry is a ship or or whether it is an upgrade (subsystems aren't listed, unfortunately). These sections are then sorted further, either alphabetically in the case of ships, or alphabetically and by tech level in the case of upgrades.

The very first line is unique, in that it consists only of a single keyword, "combatDuration", followed by a number. This number tells you the amount of time it took for the game to come to completion, in seconds.

Following the "combatDuration" keyword are the ship stats. The lines in the ship section all follow the same general pattern:


A ship's Status refers to whether the ship was alive at the end of the game or not.
PlayerID is the unique identifier of the player used in game scripting.
ShipName is the name of the ship as it appears in the data files.
CostPerAliveShip is the cost or value of each ship if it was still alive at the end of the game (this way, all you have to do is add all the values in the column in order to determine the value of the surviving fleet).
CostPerShip is the cost of a ship regardless of whether it survived.
NumberShipsInSquadron is the number of ships that are in a squadron (for example, three Hiigaran Scouts make up one squadron).

The upgrades section only contains three values per line: the word "upgrade" (signifying that it is an upgrade and not a ship), the player ID, and the name of the upgrade, e.g.:


If an upgrade appears in the list, it means that the payer completed research of that item.


In addition to these logfiles are another set of stat files that you can find in your "Homeworld2\Bin\Profiles\ProfileN\Stats" folder.
These stat files tell you the same information that appears in the "Game Statistics" screen at the end of each multiplayer/skirmish game.
Note: these files are generated automatically. You don't need a special command-line switch to generate these files.
:: ::