[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Bug reports
. . -> [Subject]  Corrupted World file please help!

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Corrupted World file please help!

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by forral   USA  (79 posts)  [Biography] bio
Date Tue 07 Sep 2010 03:08 PM (UTC)  quote  ]
Message
Hi all

I run mush off a seperate external hard drive, and last night I was having some issues with the internet on my desktop so I wanted to switch to my laptop. I safely removed the drive, turned it off via its switch, and plugged it into my laptop. But lo and behold when I go to open my world file it said

"File does not have a valid XML signature"

and then

"Invalid file format"


I just got done finishing a script last night and I had a bunch of aliases and triggers which I didn't back up so it'd be awesome if I could somehow recover my information. I do have a file from April that I'm using but it still sucks to know that all that work is gone -_-

Anyways, any help or insight would be much appreciated

Forral
[Go to top] top

Posted by Larkin   (278 posts)  [Biography] bio
Date Reply #1 on Tue 07 Sep 2010 07:21 PM (UTC)  quote  ]

Amended on Tue 07 Sep 2010 07:23 PM (UTC) by Larkin

Message
Firstly, and you know this now, I think: back up your settings often!

Secondly, you may be able to examine and repair the XML in any half decent text editor that supports XML syntax highlighting, preferably with some sort of "tidy" or "check validity" type of utility.

Thirdly, this isn't a bug report, just a problem a user is having with his files. ;)
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #2 on Tue 07 Sep 2010 08:53 PM (UTC)  quote  ]
Message
As Larkin said, try opening the file in a text editor, like Notepad.

Look in the directory, see how big it is. I suspect it is zero bytes long, which is why it says "no signature" because that just tests the first few bytes.

I'm sorry, but if the file is zero bytes long there isn't much anyone can do, unless it happens to be in the Trash or something. Also a disk recovery program might recover it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by forral   USA  (79 posts)  [Biography] bio
Date Reply #3 on Tue 07 Sep 2010 11:01 PM (UTC)  quote  ]
Message
Thanks for the responses.

Thankfully, the file is not 0 bytes, its actually 100kb (102,400 bytes to be exact) and when I open it with Notepad++ it just has a bunch of boxes that say "NUL"

I am working on rebuilding my profile, which I guess is a blessing since it was very crowded and unorganized, and I will no longer rely on maintaining a single copy of the file.
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Tue 07 Sep 2010 11:23 PM (UTC)  quote  ]
Message
Sounds like the directory is pointing to the wrong part of disk (as that part is just nulls or zeros). A file repair utility may find it.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Reply #5 on Tue 07 Sep 2010 11:56 PM (UTC)  quote  ]
Message
See this post for a plugin I just wrote that will help you automatically back up your world file on a daily basis:

http://www.gammon.com.au/forum/?id=10565

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,578 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]