<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pjlasl</id>
	<title>UFOpaedia - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://temp.ufopaedia.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Pjlasl"/>
	<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/Special:Contributions/Pjlasl"/>
	<updated>2026-05-04T01:01:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:Game_Files&amp;diff=34040</id>
		<title>Talk:Game Files</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:Game_Files&amp;diff=34040"/>
		<updated>2011-08-24T14:13:32Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;BB, thanks for your continuing work on this. A question to make sure I&#039;m understanding correctly: MISSDAT has copies of UNITREF from the beginning (UNIREF) and end (UNIREF2) of your latest combat, and they could be compared to see all changes from the combat, yes? Thanks! ---[[User:MikeTheRed|MikeTheRed]] 14:57, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
This is true, so long as the game was started from scratch. If the game was loaded from a save slot, then you&#039;ll need to use UNITREF.DAT from the slot in concern.&lt;br /&gt;
&lt;br /&gt;
For example, if you started a combat, saved it, started another combat, saved it, loaded the first combat and completed it, the UNIREF file in the missdat folder would refer to the second combat, and the UNIREF2 file would refer to the first combat - two entirely different battles!&lt;br /&gt;
&lt;br /&gt;
If you wiped the contents of your missdat folder and then loaded a save file, the UNIREF.DAT file won&#039;t turn up at all.&lt;br /&gt;
&lt;br /&gt;
Hence, if you didn&#039;t save the first combat at the very beginning, the initial data would be lost. Does that make sense?&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb_Bloke|Bomb Bloke]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I&#039;m watching my experience counters in UNITREF closely; I have a little util that shows their current values. It&#039;s resulted in additional nuances I&#039;ve pointed out. Also of course I&#039;m using the util for firing-squad training (getting specific soldiers to 3 exp. pts. when aliens are few or weak). Sometimes e.g. my last reaction shot kills the last alien, but I couldn&#039;t catch who made that last shot as combat ended. Now that I know a final copy of UNITREF is made, I can always consult it if I want. So, thanks for pointing that out! As for my original question, in truth I don&#039;t currently see a reason to compare beginning and ending UNITREF - but I figured the answer would make clear how to work with these files. And you pointed out important potential problems.&lt;br /&gt;
&lt;br /&gt;
In any event. Here&#039;s something I do a fair amount, where this can help: I start a combat, save the game, quit X-COM. Later, reload that same savegame and finish the combat. You&#039;re saying that those two UNITREFs will be the beginning and end of that combat, no matter how much &amp;quot;real time&amp;quot; has passed. Cool. (As long as I don&#039;t start or end any other combats in between!) I gather that if I end a particular combat multiple times (for testing), it will have the initial pristine combat (UNIREF) and only the last ended combat (UNIREF2).&lt;br /&gt;
&lt;br /&gt;
I have a &amp;quot;comparer&amp;quot; that compares one file to another to see changes, such as soldier stats before and after combat. Previously I&#039;ve worked with individual save slots (one versus the other), but now I see I can cut to the chase and just compare these two UNITREFs, if I want. No more mucking about.&lt;br /&gt;
&lt;br /&gt;
Along those lines though... there is no particular &amp;quot;before and after&amp;quot; for SOLDIER.DAT, right? I don&#039;t see two versions in the wiki&#039;s MISSDAT listing.&lt;br /&gt;
&lt;br /&gt;
Thanks, as always! ---[[User:MikeTheRed|MikeTheRed]] 18:57, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I hope no one minds, but I&#039;ve never liked how the save-game files were artificially on a separate page from the main-game files. Us few hackers are interested in them all, as I see it. Conversely, folks not into hacking might be into the many tips on &amp;quot;Under the hood&amp;quot;, but are not so likely to be &#039;&#039;only&#039;&#039; interested in main-game files (not save-game files). So, I&#039;ve moved the main-game section here. However, &amp;quot;Saved Game Files&amp;quot; is no longer an appropriate name for this page. We could rename it (requires admin rights, yes?) or just refer to it as &amp;quot;Game Files&amp;quot; by &amp;lt;nowiki&amp;gt;[[Saved Game Files|Game Files]]&amp;lt;/nowiki&amp;gt;. BB, I hope I didn&#039;t just collide with your edits.&lt;br /&gt;
&lt;br /&gt;
---[[User:MikeTheRed|MikeTheRed]] 19:35, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
You can complete as many battles as you wish without the uniref file being touched. You can also load battles without it being modified. Back it up if you need to.&lt;br /&gt;
&lt;br /&gt;
I doubt that unit stats are updated by the tactical engine, so I&#039;d assume that uniref and uniref2 won&#039;t show you any changes. I could be wrong, though. The experience counters should certainly change.&lt;br /&gt;
&lt;br /&gt;
The missdat folder contains the files listed, as well as a geoscape savegame for the point when combat began. That includes a copy of soldier.dat, however, I doubt the tactical engine modifies this file in any way. It certainly doesn&#039;t create another copy.&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb_Bloke|Bomb Bloke]]&lt;br /&gt;
&lt;br /&gt;
== Reformat ==&lt;br /&gt;
&lt;br /&gt;
What about moving most of this content to the [[:Category:Game Files]]? I&#039;m thinking of making the Tactical and Geoscape save files a sub category in it. Also maybe we could use a template on these files to standardize them a bit, they all have a &#039;structure&#039; that is generally in a table or a bulleted list, and of course a See Also section.&lt;br /&gt;
&lt;br /&gt;
Hmm, I guess I could copy-paste stuff from here onto the Category page and leave this one alone. We can tweak it to how we like and then set this to redirect.&lt;br /&gt;
&lt;br /&gt;
[[User:Pi Masta|Pi Masta]] 10:14, 4 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I know what categorization does on the back end (it lets one make an automatic &amp;quot;see also&amp;quot; page), but not sure what you mean on the front end. I would want all these files here on one page because they relate to each other so directly, for anyone taking a wrench under the hood. Also known as, I say, don&#039;t put things on separate pages just because they easily fit mental categories; put things on separate pages if they truly are not likely to be jumped around within, by someone into that level of topic. I for one like seeing everything related to being under the hood, on one page. If you&#039;re modifying what a soldier is holding, you need both the EXE level OBJECT.DAT and the Battle level other file, whatever its name was. I can look it up on this one page, hehe. My two cents.  - [[User:MikeTheRed|MikeTheRed]] 21:48, 9 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Using category pages as article pages has various problems, the biggest of which is you can&#039;t format how the list appears.  The tables on this page right now look good.  However, to save yourself some trouble, rather than put a &amp;quot;See Also: Saved Game Files&amp;quot; section at the bottom of each individual file article, you could just rely on the category link at the bottom (and put &amp;quot;Main Article: Saved Game Files&amp;quot; right at the top of the category page).--[[User:Ethereal Cereal|Ethereal Cereal]] 00:38, 10 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
I&#039;d vote against the Saved Games Files section being divvied up. But if a categorization scheme is added purely as an extra that can be used in &amp;quot;See Also&amp;quot; sections, that&#039;d be great. Maybe I&#039;m misunderstanding. &lt;br /&gt;
&lt;br /&gt;
BTW this page is, of course, inaccurately named - it&#039;s about saved games &#039;&#039;and&#039;&#039; static program-level files - and I&#039;m to blame for that. Back when Eth re-designed the Main Page, he did a great service given the dozens of pages and hundreds of concepts, but somehow the two pages on &amp;quot;under the hood&amp;quot; got a little disconnected. Back then I was tired of flipping back and forth between the separate pages for Saved Game files and the EXE-level files, so I copied the EXE info (the smaller set) to this page, and unified them. I guess that&#039;s sort of my vote for having them on a combined page. What are your thoughts, Pi? - [[User:MikeTheRed|MikeTheRed]] 18:59, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
It&#039;s trivial to rename (move) pages.  What&#039;s a better name for this page?  Just &amp;quot;Game Files&amp;quot;?--[[User:Ethereal Cereal|Ethereal Cereal]] 22:33, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Yeah, I think he mentioned in the comments above about naming it to game files. That&#039;s fine with me. &lt;br /&gt;
&lt;br /&gt;
Poof, it&#039;s done.--[[User:Pi Masta|Pi Masta]] 22:47, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
== Data Files Summary ==&lt;br /&gt;
&lt;br /&gt;
Hi folks. There are times when I need to edit a data file but forget the length of each record. I then have to look up the file page in the wiki and try to decode the wording to get the right length. Tis a real pain sometimes. Because of this I created a quick lookup table a while back and had it sitting on my hard drive. Today I added a bunch more entries to include all the saved game files. Eventually, I&#039;d like to include everything to make it even easier. The best way to explain this is to show an example, so here it is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table {{StdCenterTable}} class=&amp;quot;sortable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr {{StdDescTable_Heading}}&amp;gt;&amp;lt;th&amp;gt;File Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Records&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Bytes/Record&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;File Size&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ACTS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;84&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[AKNOW.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;495&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ALIEN.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1488&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ASTORE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;600&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;292&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2336&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BPROD.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;350&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2800&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[CRAFT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;104&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5200&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[DIPLOM.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;36&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;576&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[FACIL.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;17&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;272&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[GEODATA.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;92&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[IGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;64&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[INTER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;568&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LEASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;180&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LIGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;148&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LOC.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MAP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MISDATA.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;170&amp;lt;br&amp;gt;172 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MISSIONS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;84&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;672&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[OBPOS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;170&amp;lt;br&amp;gt;200 for TFTD&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2720&amp;lt;br&amp;gt;3200 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PRODUCT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;35&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;630&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PROJECT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;288&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2304&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PURCHASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;91&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1820&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[RESEARCH.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;96&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;22&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2112&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ROUTES.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;24&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SAVEINFO.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;40&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SEEMAP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SMOKBIT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SMOKREF.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;400&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;9&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3600&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SOLDIER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;250&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;68&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;17000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SOURCEMP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[TERMP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[TRANSFER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;100&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;800&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UIGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;48&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UNITPOS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;80&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;14&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1120&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UNITREF.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;80&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;br&amp;gt;132 for TFTD&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;9920&amp;lt;br&amp;gt;10560 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;116&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1392&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[WGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;22&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;44&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[XBASES.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;48&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[XCOM.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1488&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ZONAL.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, it makes a handy reference for the most edited mission files. (The file size cells with &amp;quot;Varies&amp;quot; in it depend on map/ufo size or modules spawned which I have but didn&#039;t include here for the moment). There are still a few files which I can&#039;t figure out if there is a correct record size or length. If everyone could please look at the table and fill in the blanks it would be much appreciated. Obviously, those fields don&#039;t apply to some files so those can be filled in with DNA or something. Before doing this though if we can fill in what we know for a fact, it will save others (like myself) from reinventing the wheel every time something needs to be edited for testing. &lt;br /&gt;
&lt;br /&gt;
Some of the data file pages are worded so cryptically that it makes it impossible to understand for a layperson. Why is that? Obviously, some files are harder to understand due to the subject, but the structure shouldn&#039;t one of them in my opinion. &lt;br /&gt;
&lt;br /&gt;
- [[User:Zombie|Zombie]] 21:27, 18 December 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
Never spotted this before...&lt;br /&gt;
&lt;br /&gt;
I&#039;ve made some tweaks to the table, I believe it should now be completely accurate as far as battlescape save files are concerned. Those files where the record tallies/sizes have been left blank use either single byte values or multiple types listed randomly (ei. They can&#039;t be summarised).&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb Bloke|Bomb Bloke]] 20:46, 12 February 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
:Thanks BB. [[BGLOB.DAT]] is one of those files where it can&#039;t be broken down into records so I switched that as well. --[[User:Zombie|Zombie]] 23:03, 13 February 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Did anyone else notice there is no way to delete existing saves, only by overwriting them? Deleting the folder&#039;s content from Windows will make the game complain about not finding the save.--[[User:Amitakartok|amitakartok]] 16:55, 10 October 2009 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I have never seen the game complain after wiping any of the saves. It may crash if the save directory doesn&#039;t exist - so you only want to be deleting the contents. - [[User:NKF|NKF]] 02:09, 11 October 2009 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
What file contains the zone your base is located in? &lt;br /&gt;
- [[User:Pjlasl|pjlasl]] August 24, 2011&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:BPROD.DAT&amp;diff=33971</id>
		<title>Talk:BPROD.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:BPROD.DAT&amp;diff=33971"/>
		<updated>2011-08-08T18:07:04Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The formula the game uses is:&lt;br /&gt;
&lt;br /&gt;
((hours / engineers) / 24) * Qty = days/hours to produce&lt;br /&gt;
&lt;br /&gt;
My example:&lt;br /&gt;
&lt;br /&gt;
I have wanted to produce 2 laser pistols with 5 engineers. According to the [[Laser_Pistol|Laser Pistol]] page, one pistol takes 300 hours to produce. Plugging the numbers into the formula we get:&lt;br /&gt;
&lt;br /&gt;
((300 / 5) / 24) * 2) = 5 days &lt;br /&gt;
&lt;br /&gt;
The game displays &#039;&#039;&#039;4&#039;&#039;&#039; days &#039;&#039;&#039;/ 24&#039;&#039;&#039; hours&lt;br /&gt;
&lt;br /&gt;
[[user:PJLASL|pjlasl]]&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:BPROD.DAT&amp;diff=33970</id>
		<title>Talk:BPROD.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:BPROD.DAT&amp;diff=33970"/>
		<updated>2011-08-08T18:05:16Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: Created page with &amp;quot;The formula the game uses is:  ((hours / engineers) / 24) * Qty = days/hours to produce  My example:  I have wanted to produce 2 laser pistols with 5 engineers. According to the ...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The formula the game uses is:&lt;br /&gt;
&lt;br /&gt;
((hours / engineers) / 24) * Qty = days/hours to produce&lt;br /&gt;
&lt;br /&gt;
My example:&lt;br /&gt;
&lt;br /&gt;
I have wanted to produce 2 laser pistols with 5 engineers. According to the [[Laser_Pistol|Laser Pistol]] page, one pistol takes 300 hours to produce. Plugging the numbers into the formula we get:&lt;br /&gt;
&lt;br /&gt;
((300 / 5) / 24) * 2) = 5 days &lt;br /&gt;
&lt;br /&gt;
The game displays &#039;&#039;&#039;4&#039;&#039;&#039; days &#039;&#039;&#039;/ 24&#039;&#039;&#039; hours&lt;br /&gt;
&lt;br /&gt;
[[PJLASL/pjlasl]]&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=User:Pjlasl&amp;diff=33964</id>
		<title>User:Pjlasl</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=User:Pjlasl&amp;diff=33964"/>
		<updated>2011-08-03T22:07:57Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: Created page with &amp;quot;I am an avid fan of X-COM Enemy Unknown and Terror from the Deep.  I am here to help in any way that I can.&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I am an avid fan of X-COM Enemy Unknown and Terror from the Deep.&lt;br /&gt;
&lt;br /&gt;
I am here to help in any way that I can.&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33963</id>
		<title>Talk:TRANSFER.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33963"/>
		<updated>2011-08-03T22:03:47Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Item list displayed here is not correct. Transfer.dat uses the exact same rec# found in base.dat. The list on this page only goes to 82, but in reality it should go up to 95.&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]] 03/08/2011&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A correction to offsets 4-5 for crafts. The reference to GEODATA.dat is incorrect. It is a little more complicated to identify the craft. Here is how it works: in my game I transferred my SkyRanger from base1 to base2. the TRANSFER.dat file shows the value 01 at offset 0x04. If we go by the instructions on the page, 01 = lightning. You have to do some work before you can get the GEODATA.dat translation. Here is how you identify it as a skyranger correctly.&lt;br /&gt;
&lt;br /&gt;
The transfer.dat shows 01. This value is a pointer to the 2nd record in the loc.dat file. Remember the loc.dat record is 20 bytes long so just use the formula (20 * xx) to find the correct offset. After we find the correct place in the loc.dat file the value 02 tells us this is a x-com ship record. according to loc.dat the next offset value (00) tells us the position in the craft.dat file. In the craft.dat file the first offset 0x00 tells us the craft type = SKYRANGER.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
transfer.dat 0x04 = 01&lt;br /&gt;
:loc.dat (0x20 * 01) validates this is a x-com ship (02)&lt;br /&gt;
:loc.dat (0x20 * 01) + 1 = 00&lt;br /&gt;
::craft.dat (0x00 * 00) = 00&lt;br /&gt;
:::GEODATA.dat 00 = SKYRANGER&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]] 03/08/2011&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33962</id>
		<title>Talk:TRANSFER.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33962"/>
		<updated>2011-08-03T21:54:04Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Item list displayed here is not correct. Transfer.dat uses the exact same rec# found in base.dat. The list on this page only goes to 82, but in reality it should go up to 95.&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
A correction to offsets 4-5 for crafts. The reference to GEODATA.dat is incorrect. It is a little more complicated to identify the craft. Here is how it works: in my game I transferred my SkyRanger from base1 to base2. the TRANSFER.dat file shows the value 01 at offset 0x04. If we go by the instructions on the page, 01 = lightning. You have to do some work before you can get the GEODATA.dat translation. Here is how you identify it as a skyranger correctly.&lt;br /&gt;
&lt;br /&gt;
The transfer.dat shows 01. This value is a pointer to the 2nd record in the loc.dat file. Remember the loc.dat record is 20 bytes long so just use the formula (20 * xx) to find the correct offset. After we find the correct place in the loc.dat file the value 02 tells us this is a x-com ship record. according to loc.dat the next offset value (00) tells us the position in the craft.dat file. In the craft.dat file the first offset 0x00 tells us the craft type = SKYRANGER.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
transfer.dat 0x04 = 01&lt;br /&gt;
:loc.dat (0x20 * 01) validates this is a x-com ship (02)&lt;br /&gt;
:loc.dat (0x20 * 01) + 1 = 00&lt;br /&gt;
::craft.dat (0x00 * 00) = 00&lt;br /&gt;
:::GEODATA.dat 00 = SKYRANGER&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]]&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33961</id>
		<title>Talk:TRANSFER.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33961"/>
		<updated>2011-08-03T16:22:40Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Item list displayed here is not correct. Transfer.dat uses the exact same rec# found in base.dat. The list on this page only goes to 82, but in reality it should go up to 95.&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]]&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33960</id>
		<title>Talk:TRANSFER.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:TRANSFER.DAT&amp;diff=33960"/>
		<updated>2011-08-03T16:22:00Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: Created page with &amp;quot;The Item list displayed here is not correct. Transfer.dat uses the exact same rec# found in base.dat. This list only goes to 82, but in reality it goes up to 95.  - [[User:PJLASL...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Item list displayed here is not correct. Transfer.dat uses the exact same rec# found in base.dat. This list only goes to 82, but in reality it goes up to 95.&lt;br /&gt;
&lt;br /&gt;
- [[User:PJLASL|pjlasl]]&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:PROJECT.DAT&amp;diff=33958</id>
		<title>Talk:PROJECT.DAT</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:PROJECT.DAT&amp;diff=33958"/>
		<updated>2011-08-02T20:51:42Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: Created page with &amp;quot;&amp;lt;blockquote&amp;gt;&amp;#039;&amp;#039;Each research project&amp;#039;s scientist-days remaining is stored in a little-endian word (low-order byte first). For realistic cases, the difference between signed word a...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;blockquote&amp;gt;&#039;&#039;Each research project&#039;s scientist-days remaining is stored in a little-endian word (low-order byte first). For realistic cases, the difference between signed word and unsigned word is irrelevant. 96 words i.e. 192 bytes.&#039;&#039;&amp;lt;/blockquote&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Every reference to research is in hours (research.dat), therefore i took the value as literal. In my case: BB = 187 hours. So I started digging and found that the correct calculation to determine research time (in days) is: roundup((hours / scientist)). Every test case produced the expected result. Below are the test and results.&lt;br /&gt;
&lt;br /&gt;
Motion Scanner: 187 hours | Scientists: 50&lt;br /&gt;
* roundup(187/50) = 4 (raw value is 3.7) Result: Research ended at the 23:59:55 hour of the 4th day.&lt;br /&gt;
&lt;br /&gt;
Motion Scanner: 187 hours | Scientists: 100&lt;br /&gt;
* roundup(187/100) = 2 days (raw value is 1.8) Result: Research ended at the 23:59:55 of the second day. &lt;br /&gt;
&lt;br /&gt;
Motion Scanner: 187 hours | Scientists: 200&lt;br /&gt;
* roundup(187/200) = 1 day (raw value is .9). The research ended at the 23:59:55 of the current day.&lt;br /&gt;
&lt;br /&gt;
Laser Pistol: 19 hours | Scientists: 10&lt;br /&gt;
* roundup(19/10) = 3 day (raw value is 2.5). The research ended at the 23:59:55 of the current day.&lt;br /&gt;
&lt;br /&gt;
I think that the above statement needs to be revised.&lt;br /&gt;
&lt;br /&gt;
--[[User:Pjlasl|pjlasl]] 3:27PM 08/01/2011&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
	<entry>
		<id>https://temp.ufopaedia.org/index.php?title=Talk:Game_Files&amp;diff=33951</id>
		<title>Talk:Game Files</title>
		<link rel="alternate" type="text/html" href="https://temp.ufopaedia.org/index.php?title=Talk:Game_Files&amp;diff=33951"/>
		<updated>2011-07-26T22:05:16Z</updated>

		<summary type="html">&lt;p&gt;Pjlasl: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;BB, thanks for your continuing work on this. A question to make sure I&#039;m understanding correctly: MISSDAT has copies of UNITREF from the beginning (UNIREF) and end (UNIREF2) of your latest combat, and they could be compared to see all changes from the combat, yes? Thanks! ---[[User:MikeTheRed|MikeTheRed]] 14:57, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
-------------&lt;br /&gt;
&lt;br /&gt;
This is true, so long as the game was started from scratch. If the game was loaded from a save slot, then you&#039;ll need to use UNITREF.DAT from the slot in concern.&lt;br /&gt;
&lt;br /&gt;
For example, if you started a combat, saved it, started another combat, saved it, loaded the first combat and completed it, the UNIREF file in the missdat folder would refer to the second combat, and the UNIREF2 file would refer to the first combat - two entirely different battles!&lt;br /&gt;
&lt;br /&gt;
If you wiped the contents of your missdat folder and then loaded a save file, the UNIREF.DAT file won&#039;t turn up at all.&lt;br /&gt;
&lt;br /&gt;
Hence, if you didn&#039;t save the first combat at the very beginning, the initial data would be lost. Does that make sense?&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb_Bloke|Bomb Bloke]]&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I&#039;m watching my experience counters in UNITREF closely; I have a little util that shows their current values. It&#039;s resulted in additional nuances I&#039;ve pointed out. Also of course I&#039;m using the util for firing-squad training (getting specific soldiers to 3 exp. pts. when aliens are few or weak). Sometimes e.g. my last reaction shot kills the last alien, but I couldn&#039;t catch who made that last shot as combat ended. Now that I know a final copy of UNITREF is made, I can always consult it if I want. So, thanks for pointing that out! As for my original question, in truth I don&#039;t currently see a reason to compare beginning and ending UNITREF - but I figured the answer would make clear how to work with these files. And you pointed out important potential problems.&lt;br /&gt;
&lt;br /&gt;
In any event. Here&#039;s something I do a fair amount, where this can help: I start a combat, save the game, quit X-COM. Later, reload that same savegame and finish the combat. You&#039;re saying that those two UNITREFs will be the beginning and end of that combat, no matter how much &amp;quot;real time&amp;quot; has passed. Cool. (As long as I don&#039;t start or end any other combats in between!) I gather that if I end a particular combat multiple times (for testing), it will have the initial pristine combat (UNIREF) and only the last ended combat (UNIREF2).&lt;br /&gt;
&lt;br /&gt;
I have a &amp;quot;comparer&amp;quot; that compares one file to another to see changes, such as soldier stats before and after combat. Previously I&#039;ve worked with individual save slots (one versus the other), but now I see I can cut to the chase and just compare these two UNITREFs, if I want. No more mucking about.&lt;br /&gt;
&lt;br /&gt;
Along those lines though... there is no particular &amp;quot;before and after&amp;quot; for SOLDIER.DAT, right? I don&#039;t see two versions in the wiki&#039;s MISSDAT listing.&lt;br /&gt;
&lt;br /&gt;
Thanks, as always! ---[[User:MikeTheRed|MikeTheRed]] 18:57, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I hope no one minds, but I&#039;ve never liked how the save-game files were artificially on a separate page from the main-game files. Us few hackers are interested in them all, as I see it. Conversely, folks not into hacking might be into the many tips on &amp;quot;Under the hood&amp;quot;, but are not so likely to be &#039;&#039;only&#039;&#039; interested in main-game files (not save-game files). So, I&#039;ve moved the main-game section here. However, &amp;quot;Saved Game Files&amp;quot; is no longer an appropriate name for this page. We could rename it (requires admin rights, yes?) or just refer to it as &amp;quot;Game Files&amp;quot; by &amp;lt;nowiki&amp;gt;[[Saved Game Files|Game Files]]&amp;lt;/nowiki&amp;gt;. BB, I hope I didn&#039;t just collide with your edits.&lt;br /&gt;
&lt;br /&gt;
---[[User:MikeTheRed|MikeTheRed]] 19:35, 16 June 2006 (PDT)&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
You can complete as many battles as you wish without the uniref file being touched. You can also load battles without it being modified. Back it up if you need to.&lt;br /&gt;
&lt;br /&gt;
I doubt that unit stats are updated by the tactical engine, so I&#039;d assume that uniref and uniref2 won&#039;t show you any changes. I could be wrong, though. The experience counters should certainly change.&lt;br /&gt;
&lt;br /&gt;
The missdat folder contains the files listed, as well as a geoscape savegame for the point when combat began. That includes a copy of soldier.dat, however, I doubt the tactical engine modifies this file in any way. It certainly doesn&#039;t create another copy.&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb_Bloke|Bomb Bloke]]&lt;br /&gt;
&lt;br /&gt;
== Reformat ==&lt;br /&gt;
&lt;br /&gt;
What about moving most of this content to the [[:Category:Game Files]]? I&#039;m thinking of making the Tactical and Geoscape save files a sub category in it. Also maybe we could use a template on these files to standardize them a bit, they all have a &#039;structure&#039; that is generally in a table or a bulleted list, and of course a See Also section.&lt;br /&gt;
&lt;br /&gt;
Hmm, I guess I could copy-paste stuff from here onto the Category page and leave this one alone. We can tweak it to how we like and then set this to redirect.&lt;br /&gt;
&lt;br /&gt;
[[User:Pi Masta|Pi Masta]] 10:14, 4 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
I know what categorization does on the back end (it lets one make an automatic &amp;quot;see also&amp;quot; page), but not sure what you mean on the front end. I would want all these files here on one page because they relate to each other so directly, for anyone taking a wrench under the hood. Also known as, I say, don&#039;t put things on separate pages just because they easily fit mental categories; put things on separate pages if they truly are not likely to be jumped around within, by someone into that level of topic. I for one like seeing everything related to being under the hood, on one page. If you&#039;re modifying what a soldier is holding, you need both the EXE level OBJECT.DAT and the Battle level other file, whatever its name was. I can look it up on this one page, hehe. My two cents.  - [[User:MikeTheRed|MikeTheRed]] 21:48, 9 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Using category pages as article pages has various problems, the biggest of which is you can&#039;t format how the list appears.  The tables on this page right now look good.  However, to save yourself some trouble, rather than put a &amp;quot;See Also: Saved Game Files&amp;quot; section at the bottom of each individual file article, you could just rely on the category link at the bottom (and put &amp;quot;Main Article: Saved Game Files&amp;quot; right at the top of the category page).--[[User:Ethereal Cereal|Ethereal Cereal]] 00:38, 10 March 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
&lt;br /&gt;
I&#039;d vote against the Saved Games Files section being divvied up. But if a categorization scheme is added purely as an extra that can be used in &amp;quot;See Also&amp;quot; sections, that&#039;d be great. Maybe I&#039;m misunderstanding. &lt;br /&gt;
&lt;br /&gt;
BTW this page is, of course, inaccurately named - it&#039;s about saved games &#039;&#039;and&#039;&#039; static program-level files - and I&#039;m to blame for that. Back when Eth re-designed the Main Page, he did a great service given the dozens of pages and hundreds of concepts, but somehow the two pages on &amp;quot;under the hood&amp;quot; got a little disconnected. Back then I was tired of flipping back and forth between the separate pages for Saved Game files and the EXE-level files, so I copied the EXE info (the smaller set) to this page, and unified them. I guess that&#039;s sort of my vote for having them on a combined page. What are your thoughts, Pi? - [[User:MikeTheRed|MikeTheRed]] 18:59, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
It&#039;s trivial to rename (move) pages.  What&#039;s a better name for this page?  Just &amp;quot;Game Files&amp;quot;?--[[User:Ethereal Cereal|Ethereal Cereal]] 22:33, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Yeah, I think he mentioned in the comments above about naming it to game files. That&#039;s fine with me. &lt;br /&gt;
&lt;br /&gt;
Poof, it&#039;s done.--[[User:Pi Masta|Pi Masta]] 22:47, 16 March 2007 (PDT)&lt;br /&gt;
&lt;br /&gt;
== Data Files Summary ==&lt;br /&gt;
&lt;br /&gt;
Hi folks. There are times when I need to edit a data file but forget the length of each record. I then have to look up the file page in the wiki and try to decode the wording to get the right length. Tis a real pain sometimes. Because of this I created a quick lookup table a while back and had it sitting on my hard drive. Today I added a bunch more entries to include all the saved game files. Eventually, I&#039;d like to include everything to make it even easier. The best way to explain this is to show an example, so here it is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;table {{StdCenterTable}} class=&amp;quot;sortable&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;tr {{StdDescTable_Heading}}&amp;gt;&amp;lt;th&amp;gt;File Name&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Records&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;Bytes/Record&amp;lt;/th&amp;gt;&amp;lt;th&amp;gt;File Size&amp;lt;/th&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ACTS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;7&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;84&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[AKNOW.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;495&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ALIEN.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1488&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ASTORE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;600&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;292&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2336&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[BPROD.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;350&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2800&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[CRAFT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;104&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;5200&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[DIPLOM.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;36&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;576&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[FACIL.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;17&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;272&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[GEODATA.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;92&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[IGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;64&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[INTER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;568&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LEASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;180&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LIGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;148&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[LOC.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;50&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MAP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;4&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MISDATA.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;170&amp;lt;br&amp;gt;172 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[MISSIONS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;84&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;672&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[OBPOS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;170&amp;lt;br&amp;gt;200 for TFTD&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;16&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2720&amp;lt;br&amp;gt;3200 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PRODUCT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;35&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;18&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;630&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PROJECT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;288&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2304&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[PURCHASE.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;91&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;20&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1820&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[RESEARCH.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;96&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;22&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2112&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ROUTES.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;24&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SAVEINFO.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;40&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SEEMAP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SMOKBIT.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SMOKREF.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;400&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;9&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;3600&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SOLDIER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;250&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;68&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;17000&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[SOURCEMP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[TERMP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;Varies&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[TRANSFER.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;100&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;8&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;800&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UIGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;48&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UNITPOS.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;80&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;14&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1120&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UNITREF.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;80&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;br&amp;gt;132 for TFTD&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;9920&amp;lt;br&amp;gt;10560 for TFTD&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[UP.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;116&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1392&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[WGLOB.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;22&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;2&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;44&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[XBASES.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;48&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[XCOM.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;124&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;1488&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&amp;lt;td align=&amp;quot;left&amp;quot;&amp;gt;[[ZONAL.DAT]]&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;&amp;lt;/td&amp;gt;&amp;lt;td&amp;gt;12&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
As you can see, it makes a handy reference for the most edited mission files. (The file size cells with &amp;quot;Varies&amp;quot; in it depend on map/ufo size or modules spawned which I have but didn&#039;t include here for the moment). There are still a few files which I can&#039;t figure out if there is a correct record size or length. If everyone could please look at the table and fill in the blanks it would be much appreciated. Obviously, those fields don&#039;t apply to some files so those can be filled in with DNA or something. Before doing this though if we can fill in what we know for a fact, it will save others (like myself) from reinventing the wheel every time something needs to be edited for testing. &lt;br /&gt;
&lt;br /&gt;
Some of the data file pages are worded so cryptically that it makes it impossible to understand for a layperson. Why is that? Obviously, some files are harder to understand due to the subject, but the structure shouldn&#039;t one of them in my opinion. &lt;br /&gt;
&lt;br /&gt;
- [[User:Zombie|Zombie]] 21:27, 18 December 2007 (PST)&lt;br /&gt;
&lt;br /&gt;
---------&lt;br /&gt;
&lt;br /&gt;
Never spotted this before...&lt;br /&gt;
&lt;br /&gt;
I&#039;ve made some tweaks to the table, I believe it should now be completely accurate as far as battlescape save files are concerned. Those files where the record tallies/sizes have been left blank use either single byte values or multiple types listed randomly (ei. They can&#039;t be summarised).&lt;br /&gt;
&lt;br /&gt;
- [[User:Bomb Bloke|Bomb Bloke]] 20:46, 12 February 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
:Thanks BB. [[BGLOB.DAT]] is one of those files where it can&#039;t be broken down into records so I switched that as well. --[[User:Zombie|Zombie]] 23:03, 13 February 2008 (PST)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Did anyone else notice there is no way to delete existing saves, only by overwriting them? Deleting the folder&#039;s content from Windows will make the game complain about not finding the save.--[[User:Amitakartok|amitakartok]] 16:55, 10 October 2009 (EDT)&lt;br /&gt;
&lt;br /&gt;
: I have never seen the game complain after wiping any of the saves. It may crash if the save directory doesn&#039;t exist - so you only want to be deleting the contents. - [[User:NKF|NKF]] 02:09, 11 October 2009 (EDT)&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
What file contains the zone your base is located in? &lt;br /&gt;
- [[User:Pjlasl|pjlasl]] 21:27, 18 December 2007 (PST)&lt;/div&gt;</summary>
		<author><name>Pjlasl</name></author>
	</entry>
</feed>