Talk:Game Files

From UFOpaedia
Revision as of 01:57, 17 June 2006 by MikeTheRed (talk | contribs)
Jump to navigation Jump to search

BB, thanks for your continuing work on this. A question to make sure I'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! ---MikeTheRed 14:57, 16 June 2006 (PDT)


This is true, so long as the game was started from scratch. If the game was loaded from a save slot, then you'll need to use UNITREF.DAT from the slot in concern.

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!

If you wiped the contents of your missdat folder and then loaded a save file, the UNIREF.DAT file won't turn up at all.

Hence, if you didn't save the first combat at the very beginning, the initial data would be lost. Does that make sense?

- Bomb Bloke


I'm watching my experience counters in UNITREF closely; I have a little util that shows their current values. It's resulted in additional nuances I've pointed out. Also of course I'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'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'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.

In any event. Here'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're saying that those two UNITREFs will be the beginning and end of that combat, no matter how much "real time" has passed. Cool. (As long as I don'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).

I have a "comparer" that compares one file to another to see changes, such as soldier stats before and after combat. Previously I'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.

Along those lines though... there is no particular "before and after" for SOLDIER.DAT, right? I don't see two versions in the wiki's MISSDAT listing.

Thanks, as always! ---MikeTheRed 18:57, 16 June 2006 (PDT)