Corrupt .x file |
Wed, 18 June 2008 22:10 |
|
|
For the 3rd or 4th time this year my .x file has become corrupt.
I'm not aware of any repair utility or whatever. Does anyone else know anything or is my 4 hours down the drain?
Report message to a moderator
|
|
|
|
|
|
Re: Corrupt .x file |
Sat, 21 June 2008 10:03 |
|
|
I had a corrupt x file message recently on my current game. I downloaded my m file, and saved it on top of my x file by mistake. of course, this lead stars to say I had a corrupt x file, and refuse to start.
I'm not sure if my solution will work for you but it might.
My understanding, is that all the "moves" in stars are stored in the m file. The x file is just a special "final moves submission file" that gets generated or updated when you hit "save and submit."
So I just deleted my corrupt x file. Stars started fine. And when I hit save and submit, stars generated a new x file that was not corrupt.
naz
[Updated on: Sat, 21 June 2008 10:04] Report message to a moderator
|
|
|
|
Re: Corrupt .x file |
Sun, 22 June 2008 09:06 |
|
|
Micha wrote on Thu, 19 June 2008 23:52 | And John, if Wumpus can't help you than it's indeed deleting the .x file and starting all over again ...
|
Would it help to open Stars with m- and x-file, then to delete the x-file on the HD and to save the orders again?
This way there would be no need to redo all the orders.
Report message to a moderator
|
|
|
|
Re: Corrupt .x file |
Sun, 22 June 2008 11:52 |
|
|
Altruist wrote on Sun, 22 June 2008 09:06 | Would it help to open Stars with m- and x-file, then to delete the x-file on the HD and to save the orders again?
This way there would be no need to redo all the orders.
|
Adacore is right, you can't open a corrupt .x file.
The methodology you suggest is the one must use to avoid copy protection problems when completing an ally's turn but is not possible in the case of a corrupt .x file.
I was hoping against hope that there was a repair utility around or a method I was unaware of that would help but ....
Report message to a moderator
|
|
|
Re: Corrupt .x file |
Sun, 22 June 2008 20:38 |
|
|
FWIW, if your x file is becoming corrupt every time on the same turn, I would guess its one (or a combination) of two things:
1) The .m file is 'slightly' corrupt - not enough to produce an error loading it, but enough to cause problems working with it.
2) an specific order or combination of orders is causing some sort of hidden conflict.
None of which really helps unless you want to independantly record every order and save and reload after every order you do to figure out which one causes the problem.
Report message to a moderator
|
|
|
Re: Corrupt .x file |
Sun, 29 June 2008 15:14 |
|
wumpus | | | Messages: 114
Registered: September 2004 | |
|
[email | m.a@stars[/email] wrote on Thu, 19 June 2008 23:44]AlexTheGreat wrote on Thu, 19 June 2008 04:10 | For the 3rd or 4th time this year my .x file has become corrupt.
I'm not aware of any repair utility or whatever. Does anyone else know anything or is my 4 hours down the drain?
|
Ask Wumpus. He *may* have something that could have some effect.
|
Sorry, not yet. The Race file corruption problem (which I can fix) appears to be completely unrelated to the X file problem :/
I made a run up at analysing the issue previously, and what I remember was: the X files I had really were broken (orders which couldn't possibly be correct &c... IIRC there were things like cargo amounts being moved around which were in excess of what was in a freighter and such).
Some points are clear though:
* There is nothing the player or host can do using stars! itself which will "fix" a broken X file.
* It seems highly unlikely that it will be possible to write an external tool to fix such files. The only way it MIGHT be possible is if someone can establish exactly what causes the problem, AND the "appearance" of this CAUSE (rather than the effect: broken X file) can somehow be detected in the X file. Thats HIGHLY iffy.
* It SHOULD be possible to take a given X file and remove the problematic commands. Note that this is NOT the same as "fixing" the file, since presumably there will be some loss of data - IE, whatever it was that the player MEANT the corrupted order to be. Any orders entered later in the turn, which dependned on an action in a corrupted order, will also be problematic.
So for now, and for a while yet, the answer is as others have suggested in this thread: Redo your turn
Sorry there's no better news.
-- Michael `Wumpus' Z
[Updated on: Sun, 29 June 2008 15:14]
Michael "Wumpus" Zinn
» Apply magic glue here «Report message to a moderator
|
|
|
Re: Corrupt .x file |
Sun, 29 June 2008 15:23 |
|
wumpus | | | Messages: 114
Registered: September 2004 | |
|
[email | m.a@stars[/email] wrote on Sun, 22 June 2008 07:35]The m file stores the *results* of your moves (after interacting with everybody else's) as decreed by the server. The x file stores your orders for new moves.
|
This is probably clear already from m.a@stars' post, but just to be absolutely explicit: The player never modifies the M file at all; the host writes it once (per turn), and that's it.
"Game creation": Reads: R files, game parameters. Writes: XY file, HST file, M files
"Host mode": Reads: XY and HST file, as well as any available X files. Writes: M files and (new) HST file
"Play mode": Reads: XY and M file, as well as the H and X fitting to the M, if present. Writes: X and H files.
[Updated on: Sun, 29 June 2008 15:30]
Michael "Wumpus" Zinn
» Apply magic glue here «Report message to a moderator
|
|
|