Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! 2.6/7 » The Academy » Corrupt .x file
Corrupt .x file Wed, 18 June 2008 22:10 Go to next message
AlexTheGreat is currently offline AlexTheGreat

 
Lieutenant

Messages: 661
Registered: May 2006
Location: Sydney, Australia
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 Thu, 19 June 2008 01:40 Go to previous messageGo to next message
iztok is currently offline iztok

 
Commander

Messages: 1206
Registered: April 2003
Location: Slovenia, Europe
Hi!
AlexTheGreat wrote on Thu, 19 June 2008 04:10

For the 3rd or 4th time this year my .x file has become corrupt.

The only advice I can give you is don't "save and submit" while working on your turn. Just save. Even at the end you can just save. AH will process your turn normaly.

BR, Iztok

Report message to a moderator

Re: Corrupt .x file Thu, 19 June 2008 17:44 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
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. Sherlock

As a sufferer of the same problem, all I can recommend is to save & exit from time to time, then copy your x file to another drive, then resume work. Whip



So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Corrupt .x file Thu, 19 June 2008 17:52 Go to previous messageGo to next message
Micha

 

Messages: 2342
Registered: November 2002
Location: Belgium GMT +1
m.a@stars wrote on Thu, 19 June 2008 23:44

As a sufferer of the same problem, all I can recommend is to save & exit from time to time, then copy your x file to another drive, then resume work. Whip

There are programs that can help you with that kind of backups. IIRC Filehamster can do that for you ... you can set it to watch over file changes and make copies to the backup directory with a time stamp ... has been a while since I used it.

And John, if Wumpus can't help you than it's indeed deleting the .x file and starting all over again ...

mch

Report message to a moderator

Re: Corrupt .x file Sat, 21 June 2008 10:03 Go to previous messageGo to next message
bigcanuknaz is currently offline bigcanuknaz

 
Officer Cadet 1st Year

Messages: 205
Registered: July 2004

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 01:35 Go to previous messageGo to next message
m.a@stars is currently offline m.a@stars

 
Commander

Messages: 2765
Registered: October 2004
Location: Third star to the left
bigcanuknaz wrote on Sat, 21 June 2008 16:03

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."

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. Sherlock Whip

So, yeah, deleting the "bad" x file allows you to start clean, but that's something that still hurts if you just spent 5 hours crafting that x file. Hit Computer Wall Bash


[Updated on: Sun, 22 June 2008 01:35]




So many Stars, so few Missiles!

In space no one can hear you scheme! Deal

Report message to a moderator

Re: Corrupt .x file Sun, 22 June 2008 09:06 Go to previous messageGo to next message
Altruist is currently offline Altruist

 
Commander

Messages: 1068
Registered: August 2005
Location: Berlin
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 09:54 Go to previous messageGo to next message
Adacore is currently offline Adacore

 
Chief Warrant Officer 2

Messages: 156
Registered: February 2005
Location: Shanghai
I'd assume if the .x file is corrupt it won't be possible to open it in Stars!

Report message to a moderator

Re: Corrupt .x file Sun, 22 June 2008 11:52 Go to previous messageGo to next message
AlexTheGreat is currently offline AlexTheGreat

 
Lieutenant

Messages: 661
Registered: May 2006
Location: Sydney, Australia
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 Go to previous messageGo to next message
gible

 
Commander

Messages: 1343
Registered: November 2002
Location: Wellington, New Zealand

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 Go to previous messageGo to next message
wumpus

 
Master Chief Petty Officer
Stars! V.I.P
Created tools and utilities to help the Stars! community
Past Weekly Puzzle Master

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. Sherlock



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 Sad

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 Go to previous message
wumpus

 
Master Chief Petty Officer
Stars! V.I.P
Created tools and utilities to help the Stars! community
Past Weekly Puzzle Master

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. Sherlock Whip


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

Previous Topic: Shortcuts
Next Topic: xborder
Goto Forum:
  


Current Time: Mon May 06 05:36:11 EDT 2024