Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Bug reports ➜ Corrupted World file please help!

Corrupted World file please help!

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by forral   USA  (79 posts)  Bio
Date Tue 07 Sep 2010 03:08 PM (UTC)
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
Top

Posted by Larkin   (278 posts)  Bio
Date Reply #1 on Tue 07 Sep 2010 07:21 PM (UTC)

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. ;)
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 07 Sep 2010 08:53 PM (UTC)
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
Top

Posted by forral   USA  (79 posts)  Bio
Date Reply #3 on Tue 07 Sep 2010 11:01 PM (UTC)
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #4 on Tue 07 Sep 2010 11:23 PM (UTC)
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
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #5 on Tue 07 Sep 2010 11:56 PM (UTC)
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
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.


20,350 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.