Invalid Digest File? Unexpected end of file from server? READ ME.

53 Réponses [Dernière contribution]
Providence
Legacy Username

***This issue may be fixed. If you used to have this issue, and can now patch your game without any problems, please let us know!***
To test if this issue is fixed for you, try to play the game in a different client than what you usually use. If you use Steam, try the desktop client or browser client. If you use the browser, try the desktop client, etc.
Please let us know if the problem still occurs!

What is going on here?
The invalid digest file problem seems to be related to the way your internet service provider compresses the game files in-transit, sometimes resulting in botched downloads. Whole .jar files don't seem to be affected, but lone .txt files are. Some people have this problem, but most people do not. At this point, it isn't clear what is really to blame for the issue.

How do I fix this?

  1. Turn off your antivirus software, launch the game and let it patch, then turn the antivirus back on.
  2. ***Double check for these programs! There may be antivirus programs you don't know about because they were already installed when you bought your computer, or someone else installed them for you.***

  3. Make sure that you do not have any active downloads and are not currently verifying a game cache in Steam.
  4. If 1 and 2 do not work, you will need to locate the folder that Spiral Knights is saved to and replace some files.

Where do I look for the offending files? (Windows users only)
Steam client:
C:\Program Files (x86)\Steam\steamapps\common\spiral knights

Downloadable desktop client:
C:\Users\[YOUR USERNAME]\AppData\Roaming\Three Rings Design\Spiral Knights

Web browser client:
C:\Users\[YOUR USERNAME]\AppData\LocalLow\spiral

Don't mess around in the Spiral Knights folder! If you move things out of that folder, or delete files that shouldn't be deleted, it will be even harder to fix your problem.

What do I need to do in there?

  1. In that folder, look for the following files, but do not delete them:
    • digest.txt
    • getdown.txt
    • version.txt
  2. Right click the following links and use the "save as" to save them to your Spiral Knights folder. Make sure they overwrite the old files:

    October 5 Release
    http://download.threerings.net/spiral/client/getdown.txt
    http://download.threerings.net/spiral/20120418000219/digest.txt

  3. If you have a version.txt file, open it and replace that number with this one:
    20120418000219

It is very important that these new files replace the old ones!
The game will ONLY recognize the files if they are named getdown.txt and digest.txt, so you can copy and paste the text of the new files into the old file and save it if you want. If the new file is named getdown (2).txt, you have done something wrong, and the game will not recognize it!

At this point, try to launch the game.

I did what you said and it still doesn't work!
You need to use the current digest and getdown files! Old versions will not work, and the versions of both files must match.
If you cannot open the links above, paste them into Proxify, which should trick your ISP into letting you grab the files.

Excuse me, Miss Prov, but I have the current and matching getdown and digest files, and it still doesn’t work!
Try dropping a complete copy of the game into your folder, in case something else went wrong that wasn't just the getdown or digest files.

September 14 Game files
***These files now have outdated getdown and digest files, after installing them, you will have to do the manual getdown and digest update as described above.***

  1. Download the .rar file for the game client you like to use.
  2. Extract the files to the folder your client uses, as listed above. You will need a program like 7-zip or WinRar. These products are both free and perfectly safe to use.
    • Extracting a .rar file means you are opening it and dumping a copy of its contents into whatever folder you tell it--you will be extracting your .rar file to the Spiral Knights game folder for your game client.
    • WinRar: right-click the .rar, select "Extract files..." and paste the folder location into the box there.
    • 7-zip: right-click and select 7-zip and then "Extract files..." You can then specify the folder location.
    • Make sure you replace [YOUR USERNAME] with your computer's login user name.

When you are done with this, you can safely delete the original .rar file.

You haven't updated the links or version number!
Open the getdown.txt link and look for the version number listed there.
Use that to replace the version number in the digest.txt link and use THAT link to get your digest.txt file.

Will I have to do this after every patch?
Probably, but I honestly cannot answer that, you will need to email Support----I do know that the devs are aware of the issue and are looking for fixes.

----------

Be advised that I am just another player, like you. At some point, you will need to email the SK Support staff if you want official advice.
If you have this problem, and this solution has not helped you, feel free to respond to this thread and we'll try to sort it out.
To those certain knowledgeble Tech Support junkies (you know who you are), if I have misrepresented the facts please please please correct me.

"Bibliography"
(Previous threads and posts about this issue that provide more information about how we got to this fix, for those who are interested.)
[SOLVED] - "unknown digest file" for every version
Unexpected end of file from server.
The Digest file is invalid

XXbluenavyXX
Legacy Username
Thanks!

Thanks for the post!, yes i have this problem every patch *sight* i hope the devs fix this its kinda annoying but just a question, how can i check the logs so i can get the digest.txt and getdown.txt on every patch? maybe i can help you with the post i play almost everyday (like everyone i think :P) but yeah haha

Providence
Legacy Username
If your game is not patching

If your game is not patching correctly, you might not be able to check the current version number in your version.txt file.
I'll poke around and see if there's a way for you to see that elsewhere, but odds are you'll just have to wait until somebody posts it.

XXbluenavyXX
Legacy Username
I see, that's sad, but i

I see, that's sad, but i think you are right, if you find a way, tell me :) otherwise i'll stick with your post to check, thanks!

Portrait de Echo
Echo
I have this problem, but I

I have this problem, but I need the admin pass to put the files in the folder :(

Providence
Legacy Username
Ah, I see. In that case,

Ah, I see.
In that case, Echo, you're going to need to contact the Administrator for your computer. That's a security thing, so there's not much we can do to get around that.

Providence
Legacy Username
Just FYI, everybody, I will

Just FYI, everybody, I will be updating the links as often as I can.

If you've got cleaner links for people to try (thanks, AlienWeaver for the getdown link) please lemme know.

Portrait de Lufte
Lufte
This should be Sticky, good

This should be Sticky, good work!

Portrait de Joshmara
Joshmara
um i don't get what you have

um i don't get what you have to do. i only saw getdown.txt not the others so i replaced whatever that said with all of the stuff in the link. whan i clicked play spiral knights, now it said invalid getdown.txt path..... what do i do..... my name in the game is joshmara btw

Portrait de Joshmara
Joshmara
scratch that, i have the file

scratch that, i have the file in the trash ( i deleted them cuz i thought that was what u were suppost to do) so i'll restore them and do what you said.

Providence
Legacy Username
Joshmara, were you able to

Joshmara, were you able to get things working?

Heyuareoh
New Computer Problem

The spiral knight was completely work on my old laptop.

On my new laptop, it won't work.

I plug in java with latest version to play the spiral knight game without downloading.
It said - the application has fail due to the following: Missing CR

After that I download the game when I open the spiral knight program.
It said the file is invalid digest file. 0% Complete.

So I try to do the list of things you said:

* Turn off my Anti-Virus to let it patch it, doesn't work still.
* Yes I right click those links I don't see "save as" option. Only have save link as I used that button instead of save as
* Open my file location of Spiral Knight I couldn't find the version.txt file. So I made new folder which is 20110909161726.
Put those getdown.txt & digest.txt in it.
* Try emailing to SK Support Contact. Still no replies yet.

Do I have to install some Adobe Programs?

Providence
Legacy Username
Okay, what is your computer's

Okay, what is your computer's operating system? What game client are you using? (Web client, Steam client, downloadable desktop client)

Putting the files just anywhere will NOT work. Where were you looking for the files?

For Steam on windows, it should be:
C:\Program Files (x86)\Steam\steamapps\common\spiral knights

For the desktop client on Windows it should be:
C:\Users\[USER NAME]\AppData\Roaming\Three Rings Design\Spiral Knights

For the browser (web client) on Windows, it should be:
C:\Users\[USER NAME]\AppData\LocalLow\spiral

Yes, you should go to the Java website and make sure you have the latest version of Java installed, and make sure that your web browser is up to date (if you're playing the browser version).

Heyuareoh
My Computer is O.O

Operating System: 64-bit Operating System.
Game Client: Web client & downloadable desktop client.
Yes, I do have java latest version.
Was looking for my files from right-clicking the spiral knight desktop icon and open the file location.

Additional info: Please help me thanks

My Processor: AMD A4-3300 M APU with Radeon (tm) HD Graphics 1.90 GHz
Memory (RAM): 4.00 GB (3.48 GB usable)
Router Model: Net-Gear Wireless
Name of video card: AMD Radeon(TM) HD 6480G
Amount of video card: 2022 MB

Providence
Legacy Username
Hi SKAcidz, Right-clicking

Hi SKAcidz,

Right-clicking the desktop icon and opening that file location takes you to the Java folder, which is not what you want.

I have updated the top post with information on where each game client installs to. You can choose to update files in both clients you use, or only the one you like best. I prefer using the desktop client, but that's just me.

Jacobey
Legacy Username
Tinkering

Okay... I'm getting really tired of this not working right.

I downloaded and installed the basic game client to see what if any difference I could find.

I had 8 files that Steam wouldn't validate.
By comparison - I was able to delete extraneous files to get that total down to 1.
(sorry - bit late - didn't write down what I was cleaning up but it should be duplicatable).
Most of the files were related to pre-patch (old) file versions that were not removed from what I can tell.

The 1 remaining file that the Steam client won't validate is: Full-rest bundle (an executable jar file) that is 74.4MB in size.
I determined this by comparing the Steam Client file download info and time stamp of the file.
This file does not exist in the non-steam version client.

Hopefully this gives the devs something ELSE to work with.

Too late to log in and see if this has made any improvement.

meh.

Jacobey

Providence
Legacy Username
Jacobey, when you do check to

Jacobey, when you do check to see if that has helped, let us know.

The premature EOF/invalid digest file/unexpected end of file bug seems to only affect lone txt files, not jar files.
However, your information is not correct----full-rest.jar is present in all versions of the game client, and is referenced in the digest.txt

All I can suggest at this point is a full uninstall/reinstall, or deleting the rsrc and code folders, updating the digest and getdown text files, then launching the game and letting it patch.

Heyuareoh
It worked THANK YOU.

I did it Providence thanks.
I went to my start menu and type in C:\Users\[My Username]\AppData\Roaming\Three Rings Design\Spiral Knights.
It pop up a spiral knight folder different than the open file location from desktop icon.

And I save these links in desktop then I pasted into the folder move and replace the older one.
http://download.threerings.net/spiral/client/getdown.txt
http://download.threerings.net/spiral/20110909161726/digest.txt

I can't find the version.txt one in that folder but thanks alot :D.
Anyway I got a little problem running in a game, it freezes every 5 seconds.

Can you please help me with that too?

Portrait de Echo
Echo
version.txt

It didn't work but I think I know the problem the version.txt file is missing what should I do?

Providence
Legacy Username
SKAcidz, could you start a

SKAcidz, could you start a new thread describing your problem? Please include the following information: your operating system, your router model, any firewalls or antivirus programs, your graphics card.

Echo, the web client doesn't always have a version.txt as far as I know. Are you sure you put the files in the right place? What game client are you using?

coldreactive
Legacy Username
Where is the version.txt for

Where is the version.txt for steam by the way? I can't find it in my steamapps/common/Spiral Knights folder.

coldreactive
Legacy Username
Nevermind, had to create it.

Nevermind, had to create it. Anyway, there was a new patch a day or so ago, however, the version number is the same, but when I try to put that into version.txt, I get an endless loop of "Your spiral knights has to be updated." Same with your getdown and diget.txt if I try to put them into my current spiral knights install for the most recent patch yesterday.

Sadly, this means I can't fix my issue. I'll just have to wait until they fix the disconnect issue then.

Gist
Legacy Username
Results

Win 7 SP1 32-bit
Steam version: http://i.imgur.com/wQwpL.png
Disabled firewall, even though it has an exception rule, and antivirus.

1. Verification log output from the Steam GameValidation.log file:
Starting validation of Spiral Knights
Validation failure: c:\program files\steam\steamapps\common\spiral knights\code\config.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\code\projectx-config.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\code\projectx-pcode.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\rsrc\full-music-bundle.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\rsrc\full-rest-bundle.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\rsrc\intro-bundle.jar
Validation failure: c:\program files\steam\steamapps\common\spiral knights\digest.txt
Validation failure: c:\program files\steam\steamapps\common\spiral knights\getdown.txt
Validation complete: 699 Total Files, 8 Failed Validation

2. So I did a text compare against the downloadable versions of digest.txt and getdown.txt linked here & my local copies. Results are as follows:

  • Compare 1:
  • Location: C:\Program Files\Steam\steamapps\common\spiral knights
    Everything matches, which baffled me a second. Plus I did not see the version.txt file.

  • Compare 2:
  • Location: C:\Users\[User Name]\AppData\LocalLow\spiral
    The 8 files that failed verification in Steam are different between the two versions.

    getdown.txt had the following mismatch line items:

    • version #

    digest.txt had the following mismatched line items:

    • getdown.txt
    • code/config.jar
    • code/projectx-config.jar
    • code/projectx-pcode.jar
    • rsrc/intro-bundle.jar
    • rsrc/full-music-bundle.jar
    • rsrc/full-rest-bundle.jar
    • digest.txt

3. Backed up my current versions of the files in Compare #2's file location, then pasted the downloaded files.

4. Launched the game without issue.

4. Ran cache verification again. Came up with the same 8 files that failed.

5. Launched the game for update and logged in fine.

6. Ran cache verification again. Came up with the same 8 files that failed.

I've already cleanly uninstalled and reinstalled and still have the same issue. Clean uninstall for me means uninstall, run CCleaner to clean registry, delete any miscellaneous program files and appdata files that get left over, then finally a defrag and reboot for good measure.

I give up OOO. You all need to contact the Steam tech team and find root of the problem.

Providence
Legacy Username
Yeah, you're going to have to

Yeah, you're going to have to email Support with all that information.

It looks like there are two levels of severity for this bug:
Invalid digest: Simple digest and getdown update failure, which prevents the game from patching. *Fixing the digest and getdown allow the game to patch.
Intermittent disconnects: More complex update failure, where digest and getdown do not update and manual update does not prompt proper patching.

As another Tech Support contributor noted elsewhere, it might be that the Steam cache validation tries to revert the game to an older version, which is no longer accessible. Even deleting the rsrc and code folders, and letting the game client (NOT Steam) patch does not fix the issue for everyone.

At this point, all I can do is maintain this thread for people who have the less severe issue. Sorry I couldn't help you, guys.

Gist
Legacy Username
Email sent

Yea, I just sent an email to tech support over this. I just linked to my post here since it contains the bulk of the details on the issue(s).

coldreactive
Legacy Username
I did that too Gist, they

I did that too Gist, they just told me to keep sending bug reports every time I disconnect via F2.

Heyuareoh
Nevermind

I didn't turn on the full screen mode that's why :)
Thanks anyway :) Thanks To Providence & topic.

Providence
Legacy Username
I was just informed that I

I was just informed that I can upload a full copy of the game files to an external site for people to download and drop in the appropriate folders.

Previous players had reported that acquiring a working copy of the game from a friend worked for them. Is anyone interested in this?
If so, what services are you capable of accessing? (Mediafire, etc.)
I can get you Steam, desktop or web clients for Windows.

Portrait de Echo
Echo
I'm using the online version,

I'm using the online version, windows 7 if it matters, I can access mediafire.

ChaCol
Legacy Username
I can access anything, I got

I can access anything, I got it working before but now I got the same Premature EOF error after patching. Please help dude. :D

Providence
Legacy Username
First of all, I am a lady!

First of all, I am a lady!

Second, would you prefer to have .zip files or .rar files?
When I have the files uploaded, I will update the top post with links.

EDIT: After conferring with co-counsel, I've decided that you're getting .rar files and you're going to like it. When I update the post, I will include lengthy instructions on how to open the rars, and what to do with the files inside.

Portrait de Joshmara
Joshmara
srry to interupt but

srry to interupt but everytime i get 'unexpected end of file from server. today i followed your steps but it didn`t work so then in my SK file i deleted something called 'old projectex' since you said it won't wrk with old files then i restarted my computr and it works. Maybe it would work on you? and also i think you are actually helping players more than the SK gamemasters(no offence tho)

Portrait de Starlinvf
Starlinvf
OOO support communicates

OOO support communicates through secure means, like email, and works issues like they are all case specific.... pretty standard for support most support operations.

With community forums, if there are a few highly knowledgeable folks that visit regularly, responses can cover a wider range of subjects, actually take it a bit deeper, and suggest more unorthodox methods (like getting files externally, or modifying the system). The trade off is it comes with no guaranty, and relies heavily on someone being able to follow instructions and describing issues in detail.

There is also a matter of scope. For some reason, getdown (the patcher utility) seem to run into problems with odd ISP setups. Identifying the exact cause has been tricky since it essentially requires an ISP to help troubleshot (which most won't since its not directly service related, or will claim its not), and OOO can't simply go to an ISP and tell them to correct it..... I think only Blizzard or Microsoft (for XBL) are big enough to even try that.

Providence
Legacy Username
OKAY. Mediafire files have

OKAY.

Mediafire files have been uploaded and posted! I think I have figured out a way to do it simply, so I should be able to do it fairly regularly. I don't think I will do it for every bugfix, however, but we'll see what people need.

Let me know if you're having any problems.

Heyuareoh
Server Update

It doesn't work again. The server updated it let me open the login page once then cant login into server then I closed it install updating all the stuff and after patching it said the digest file is invalid.

Portrait de Joshmara
Joshmara
solution i think, mine was

solution i think, mine was not working yesterday so i deleted old projectex then restarted (btw this isbrowser client) comp then i works again. after todays patch i did the same and its working :) try it

Providence
Legacy Username
Joshmara, can you start a new

Joshmara, can you start a new thread and post the contents of the projectx.log file?
I want to see what's in yours, but I don't want to clog this thread up with it.

@SKAcidz, the .rar files are outdated thanks to today's bugfix. You're going to have to do he getdown and digest updates described above that after you install the appropriate files from the Mediafire link.

ChaCol
Legacy Username
Sorry, ma'am. :D Anyways

Sorry, ma'am. :D

Anyways every time a new patch comes out I keep getting this Premature EOF error. I downloaded the .rar you posted for the steam version and put it in my directory and it loaded up fine. It started patching again to update it and it went to 97% and then BOOM Premature EOF error. :(

ChaCol
Legacy Username
Got it working again. I tried

Got it working again. I tried turning off my Firewall again and I decided to delete this AVG thing I had and somehow that managed to work and it didn't require me to fix the digest or getdown files.

Providence
Legacy Username
Ahhhh, so AVG was what was

Ahhhh, so AVG was what was stopping you?

The post already instructs people to disable their antivirus, but I'll emphasize it again for others. It's super weird that AVG was there and you didn't even notice it. Out of curiosity, was it installed when you bought the computer, or could it have been installed by another user without you knowing?

Portrait de Joshmara
Joshmara
oh crap lol i deleted it from

um sorry if u didn't want it in here, cuz i'm to lazy to start another thread but if u really don't want it i'll be happy to remove it, anyways here's the contents on Prjectx.log

2011/09/18 18:34:01:751 INFO I$a.a: Logging to 'C:\Users\[My username]\AppData\Roaming\Three Rings Design\Spiral Knights\.\projectx.log'.
WARNING: Found unknown Windows version: Windows 7
Attempting to use default windows plug-in.
Loading: net.java.games.input.DirectAndRawInputEnvironmentPlugin

`edit, to remove my username`

Providence
Legacy Username
Okay, Joshmara you said

Okay, Joshmara you said deleting the oldprojectx.txt file helped fix your problem?
Can you start a new thread with the contents of the old-projectx.txt file?

Portrait de Joshmara
Joshmara
umm

uhh On second thought deleteing the old projectx might not work (it worked for me) becuz i just checked in my file and there was an old projectx and a regular and it still launched fine, i'll start a thread containeing the newst one i have.

http://forums.spiralknights.com/en/node/25744

i'll delete the old prjectx and see what will happen

'please exuse my spelling'

Portrait de Joshmara
Joshmara
works the same

works the same

Portrait de Joshmara
Joshmara
ok the sept 20 patch mines

ok the sept 20 patch mines not wroking anymore, trid restarting but no dice ;(

Portrait de Joshmara
Joshmara
ummmmi think my comp got

ummmmi think my comp got problems now. uhh i did it one time after that ^ and i got somthing that said configuration not in appbase then i did it one more time and i got invalid path getdown.txt and i didn't even do anything! I need help lol plz

Heyuareoh
Cilent Upgrade!

Cilent has been upgrade It patch downloading data file and say Missing CR AGAIN THEN DIGEST FILE IS INVALID ._.

Portrait de Joshmara
Joshmara
i have a found a temp fix for

i have a found a temp fix for me, i deleted the stuff in getdown.txt and replaced them with the sept 15 gweetdown and it works again

Providence
Legacy Username
Yeah guys, whenever Nick

Yeah guys, whenever Nick announces a bugfix, you need to update your getdown and digest files. Sometimes I takes me a bit to put the updated files up, but if you read the whole first post, it tells you what to do to get the updated digest file yourself.
That's kinda the point of the whole thread.

khmerkid95
Legacy Username
Thanks for that. it got me to

Thanks for that. it got me to the login screen then said the exact same thing when the program said "loading/saving rest of the game" then says ive been disconnected from the server. by any chance do you think it has to do with me using the same account on 2 different laptops but the same IP address?

so i was introduced to this game a month ago, during this time my laptop had broken and i was using my mom's but now that i got a brand new asus laptop every time i tried to open spiral knights it just says "we were unable to download necessary files after five attempts. You can try running the application again, but if it fails you may need to uninstall and reinstall." I've uninstall and re installed, updated all my plugins, restarted the computer, and ran as a administrator but it still wont work. a big part of me buying a new laptop was just to play spiral knights and now it doesnt work. does anyone know how to fix it?

Providence
Legacy Username
Please read!

***This issue may be fixed. If you used to have this issue, and can now patch your game without any problems, please let us know!***
To test if this issue is fixed for you, try to play the game in a different client than what you usually use. If you use Steam, try the desktop client or browser client. If you use the browser, try the desktop client, etc.
Please let us know if the problem still occurs!