Dota2-Gameplay icon indicating copy to clipboard operation
Dota2-Gameplay copied to clipboard

Game Crash [dota\pak01.vpk is corrupted], File verification impossible

Open Laserbear opened this issue 1 year ago • 14 comments

Description

Game crashes with this error message and requests that the user verify game files. Steam does not let you verify the game files. It sits stuck at 0%. Steam does not let you restart dota 2.

A quick search on reddit will let you know this is a widespread and frequent issue. I'm not sure what is being stored in this .vpk or why it needs to be written to during gameplay, but there seems to serious longstanding issues in game file verification.

This sucks because players will get abandons during matches because of this. If you fix this bug, even just to the extent that verifying the game files, then players will be able to reconnect within time to avoid getting an abandon and ruining the experience for their player and the team.

Example Match ID (and possibly Timestamp)

7693965237

Screenshots

IMG_0152 IMG_0153 IMG_0154

Laserbear avatar Apr 19 '24 22:04 Laserbear

I have the same issue and I found a way to not fix but still be able to launch the game again by unsubscribing from all my workshop addons and forcing steam to validate somehow. At first It didn't do anything but after restarting steam i managed the game to validate it's files.

UmarthAgarwaen avatar Apr 20 '24 16:04 UmarthAgarwaen

The 2 pissible fixes are in here #16284

Changing RAM frequency may help. Or if You have 8GB RAM or less, it may sense to add 8GB more RAM to have 16gb.

IgorHoruzha avatar Apr 20 '24 20:04 IgorHoruzha

I have 128GB of RAM. I understand the RAM frequency may contribute to a crash, however it shouldn't mean the game fails to validate the files and fix the error. This is a bug that Valve should fix.

Laserbear avatar Apr 20 '24 21:04 Laserbear

I have 128GB of RAM. I understand the RAM frequency may contribute to a crash, however it shouldn't mean the game fails to validate the files and fix the error. This is a bug that Valve should fix.

Run a memtest on your ram's I found out that my rams are failing and probably that was the issue all together.

UmarthAgarwaen avatar Apr 21 '24 10:04 UmarthAgarwaen

No issue with my memory on running memtest

Laserbear avatar May 22 '24 19:05 Laserbear

Same issue here, already tried changing ram frecuency and no changes

LeanTolo avatar May 30 '24 23:05 LeanTolo

same issue started today, game crushes after launching and starting game...

FrostyDoter avatar Jun 21 '24 17:06 FrostyDoter

I get this issue all the time in both dota 2 and cs2, I find that switching to another account and verifying game files fixes the stuck "Downloading Content 0%" issue

joshuajohnson1044 avatar Jun 29 '24 11:06 joshuajohnson1044

Same issue here, I think it's not the problem about memory or disk or os, I have been using this computer for quite a long time, and it works well in OCCT tests with no errors.

microhardsmith avatar Jun 30 '24 14:06 microhardsmith

can you try this one guys. did this and am still observing my issue.

https://www.youtube.com/watch?v=zx6WE7_C_o4&t=134s

apuadofrancisco avatar Aug 22 '24 17:08 apuadofrancisco

Issue happens to me aswell. Symptoms:

  • game closes randomly without error (during playy or in watch mode)
  • after a random number of game closes, i get the pak01 file is corrupt
  • clicking o verifying files remains stuck at 0%
  • only reinstalling the game seems to works, but sometimes not even the reinstall works, it remains stuck at 0%, when this is the case, i need to reinstall the steam.

Specs:

  • AMD Ryzen7 (7700x) 8-core (16CPUs ~4.5Ghz)
  • 32GB DDR5
  • NVidia GeForce RTX 3060TI
  • B650 motherboard

robert-gogolan avatar Aug 30 '24 16:08 robert-gogolan

Same issue here.

AMD Ryzen 7 7800X3D 32 GB DDR5 Nvidia GeForce 4070 Super MSI X670E Motherboard

This ONLY happens on Valve games—CS2 and Deadlock specifically. I have never had an issue with any other game. I ran a full memory test on my RAM and had no problems.

I am purchasing 2 new sticks of RAM and testing them out, my other option is trying a new SSD.

image

I also underclocked my RAM from 6000 to 5800, but this cmd prompt shows a mismatch between my "clocked speed" and "speed".

Kazken avatar Oct 04 '24 23:10 Kazken

Here's the pasteable command:

wmic MemoryChip get MemoryType, Capacity, Speed, Configuredclockspeed, DeviceLocator, FormFactor, Manufacturer, Serialnumber, Partnumber

Kazken avatar Oct 04 '24 23:10 Kazken

This is what worked for me, no longer get that corrupted pak01 error. You guys could try it and I hope it helps https://github.com/ValveSoftware/Dota2-Gameplay/issues/8584#issuecomment-2428159678

leobrch avatar Oct 22 '24 03:10 leobrch

I am also having the exact same issue. RAM was already tested. RAM XMP was disabled. CPU overclock was disabled. Game was reinstalled, tried the launch options mentioned by other users (e.g. #8584 ) . Nothing works. None of the other games in my steam library (including other online multiplayer games with anticheat) have any issues running. If anyone could please take a look at the issue that would be great. Please let us know which kind of logs you need or how we can be further of help. This is extremely frustrating :(

see: #8584 #22472 #20645 #20478 #19695 #15737

might be worth merging these/marking them as duplicate and closing them ;)

ThatsDrew avatar Oct 30 '24 01:10 ThatsDrew

Update: I've had the same crash again in Deadlock and Dota2 after they've released the patches for both games. Something with the update corrupted the game file and somehow steam just couldn't verify the game files resulting with being stuck at %0. It made everything related to steam work a bit slow aswell. I had to restart my pc and steam to make steam work again. I believe it has to do something with the verifying because maybe steam thinks files are not corrupt or something? and like EVERY update corrupts a game file in ALL SOURCE2 games. VALVE FIX IT

UmarthAgarwaen avatar Oct 30 '24 16:10 UmarthAgarwaen

Update: this is the fix for me. No crashes since my last comment here.

https://www.youtube.com/watch?v=zx6WE7_C_o4&t=134s

Just follow the instructions

apuadofrancisco avatar Oct 30 '24 17:10 apuadofrancisco

I have the exact same issue for the past 7 months. I get abandoned every 20 games once.

Arunpaarthi avatar Nov 03 '24 01:11 Arunpaarthi

Same issue, 3 times in the past week alone

Ran memtest, no RAM issues. Underclocked RAM also, but intermittently happens. Only DOTA :/

on a 7800x3d, running Fedora with 32gb ddr5

tc1316 avatar Nov 09 '24 16:11 tc1316

You guys dont believe me, this fixed my issue

https://www.youtube.com/watch?v=zx6WE7_C_o4&t=134s

apuadofrancisco avatar Nov 09 '24 21:11 apuadofrancisco

Several month old issue, happening in Flatpak steam too on linux. I've downclocked my ram and I'll let you know if it helps, but DOTA is the oldest game of my library and the only one that doesn't work. My bet is that we should wait for deadlock to fail, then Valve will have free cycle to solve this.

qherreros avatar Dec 03 '24 16:12 qherreros

Tried memtest86 with 13 test 0 error. Disabled EXPO in bios. Still pak1.vpk crashing. 0 issue on other games. 3 crashes with 3 abandons in same month.

miracleaisle avatar Dec 27 '24 15:12 miracleaisle

So it seems that using LD_PRELOAD trick did solve all my pak corruption issue. I had one every week before. I had 0 in 3 weeks after. I think Valve broke something recently with an update. It did result in stutter in games after few minutes, which were correlated to my pak corruption errors.

Add in game launch options LD_PRELOAD="" %COMMAND%

It's nice to correct the mathematical calculation of 3D lights, but it's nicer to avoid introducing huge bugs like that, asking for users to change their RAM when it has nothing to do with RAM quality.

qherreros avatar Dec 27 '24 16:12 qherreros

Add in game launch options LD_PRELOAD="" %COMMAND%

Is this a Linux only thing or does this work in windows too?

DevasiaThomas avatar Dec 28 '24 22:12 DevasiaThomas

I only tested this on linux.

qherreros avatar Dec 30 '24 07:12 qherreros

+1

EvilCheetah avatar Jan 05 '25 07:01 EvilCheetah

I only tested this on linux.

I'm getting this crash on win 10.. Does the game run natively on linux? Would love to hear about your setup :)

DevasiaThomas avatar Jan 15 '25 20:01 DevasiaThomas

It does. I'm using bluefin-dx, with flatpak Steam and natively installed DOTA. With the fix I gave above, I didn't have any issue for a full month now.

qherreros avatar Jan 16 '25 08:01 qherreros

At least, the file integrity should be gone

Right click on Dota 2 icon in steam ---> Properties ---> Workshop ---> Delete all Workshop contents

EgoPros avatar Apr 25 '25 16:04 EgoPros

After struggling with this issue for a while, I came across a video from LowLevelTV - i hate computers., which suggested checking RAM slots for broken bits. Following that advice, I used memtest86plus and was able to identify two faulty RAM sticks. Since replacing them, which was 6 months ago, I haven't encountered any problems.

EvilCheetah avatar Apr 26 '25 01:04 EvilCheetah