对于许多PC 游戏玩家来说(PC gamers),Steam实际上就是整个平台。几乎(Almost)所有 PC 游戏都在其店面出售,Steam客户端处理所有无聊的事情,例如游戏安装和更新。
Steam 是一款非常可靠的软件,大多数游戏玩家永远不会对它有任何问题。但是,有时它可能会以最令人沮丧的方式出错。
Steam(Steam Anyway)中的磁盘写入错误(Disk Write Error)到底是什么?
例如, Steam(Steam)中可怕的“磁盘写入错误”确实会影响您的游戏时间。因此,为了让您重新回到游戏中,让我们看一些解决此问题的常用方法。
顾名思义,当Steam无法将游戏数据写入您的硬盘时,它会抛出“磁盘写入错误”。这很简单,但真正的问题是您并没有真正了解Steam为何无法写入磁盘的线索。原因可能会有所不同,从Steam文件结构的实际问题到数据下载的问题。
运行磁盘扫描
在我们甚至查看Steam本身之前,我们需要确保问题出在Steam而不是您尝试安装游戏的实际硬盘驱动器。
只需运行 Windows磁盘错误检查器(disk error checker)即可查看驱动器是否存在问题。如果驱动器有问题,检查器应该修复它。尽管严重的问题可能需要更换驱动器。您可以在驱动器属性的“工具(Tools)”选项卡下找到磁盘检查工具。
重启你的电脑
在您疯狂尝试各种不同的解决方案之前,请深吸一口气,然后重新启动您的计算机。这显然也会重新启动Steam,您无需完全重新启动即可。但是,即使您关闭Steam,它也会让进程在后台运行。
因此,除非您想在任务管理器(task manager)中手动杀死所有 Steam 进程,否则重启 PC 会更快。
以管理员身份运行 Steam
有时Steam无法写入磁盘,因为该软件缺乏足够高的权限级别来进行这些更改。通过以管理员身份运行客户端,您将消除这些问题。
然而,这不是一个永久的解决方案,因为Steam不需要管理员权限即可工作。这只是一种完成写入操作并确认问题原因与文件权限有关的方法。默认情况下,Steam可执行文件应位于Program Files ( x86 ) > Steam下。
更改您的下载区域
似乎磁盘写入错误有时是 Steam 无法从服务器提取数据的结果。
一些用户报告在 Steam 设置中更改默认下载区域成功。Steam 在全球拥有多台服务器。默认情况下,它将选择为您提供最佳速度的服务器,但您和该位置之间可能会出现问题。因此,在某些情况下,只需更改为下一个最佳服务器或之后的服务器即可解决写入错误问题。
验证游戏文件
有时,由于文件不完整或损坏, Steam无法写入游戏文件夹。在这种情况下,您应该尝试验证游戏安装。
这是客户端的内置功能,可根据服务器上文件的错误校验和检查您计算机上的游戏文件。如果它们不匹配,Steam将假定您驱动器上的文件已损坏,并将其替换为服务器上的文件。
请注意,这将删除您对游戏文件夹所做的任何修改。您可以从给定游戏属性页面的本地文件(Local Files)部分运行完整性检查。
重新安装 Steam
如果似乎没有任何效果并且您仍然在Steam中收到磁盘写入错误,您可以随时下载最新的Steam安装程序并重新安装整个客户端。您不应丢失任何游戏数据,Steam安装程序将检查您当前的文件并正确验证它们。
确保(Make Sure)Steam 文件夹不是只读的
有时,Steam文件夹属性会在您不知情的情况下发生更改。例如,如果您手动备份了Steam文件夹,然后简单地将其复制到新安装中,就会发生这种情况。
如果Steam文件夹已被标记为“只读”,则Steam无法对其进行任何更改。由于默认情况下您的所有Steam游戏都存储在Steam文件夹中,这可能是磁盘读取错误的根源。
只需转到Steam文件夹的属性并取消选中“只读(Read)”属性。希望(Hopefully)在进行此更改后,一切都会恢复正常。
在防火墙上解锁 Steam
我们在上面提到过,有时Steam中的磁盘写入错误更像是服务器读取错误。Steam可能无法从服务器获取数据的 一个原因是它被防火墙阻止了。
首次运行 Steam 时,系统会要求您批准该软件的互联网访问权限。如果您没有这样做,则必须进入防火墙设置(firewall settings)并允许 Steam 访问互联网。
如果您的Windows防火墙不是问题,请确保您的路由器的防火墙没有阻止Steam。请参阅路由器手册了解如何解锁Steam 需要的端口(ports that Steam needs)。
禁用您的 VPN
虽然阻止数据包进入Steam(Steam)的可能不是防火墙,但可能是您的VPN导致了问题。虽然这没有得到证实,但似乎一些用户通过暂时关闭他们的VPN(VPNs)成功地摆脱了 Steam 中的磁盘写入错误。
此外,在 Steam 上使用VPN违反(Steam)了(VPN)使用条款,实际上可能导致永久禁令。因此,建议不使用VPN或使用Steam的拆分隧道。
清除下载缓存
Steam有一个特殊的保存区域,用于缓存当前正在下载的游戏的数据。有时,此缓存会损坏,从而停止数据流。这是Steam(Steam)的一个已知问题,实际上有一种方便的方法可以刷新缓存。
您可以在Steam设置的“下载”下找到(Downloads)清除下载缓存(clear download cache)按钮。按下它并重新启动Steam以获得良好的效果。然后,再次尝试下载。
尝试不同的 Steam 库
如果您的系统中有多个驱动器,您可以在另一个驱动器上创建第二个Steam 库(Steam Library)文件夹并尝试在其中安装游戏。要创建新的Steam库文件夹:
- 前往Steam 设置(Steam settings)。
- 去下载(downloads)。
- 选择Steam 库文件夹(Steam Library Folders)。
- 选择添加库文件夹( Add Library Folder)
- 选择新图书馆的位置。
如果您已经有多个库文件夹,您可以尝试将游戏下载到您已有的备用库中。如果这可行,则表明不合作的磁盘本身出现了问题。
不要太蒸
Steam错误可能比关键任务系统故障更令人沮丧。就在您想坐下来享受一些轻松的乐趣时,您突然被困在进行故障排除练习。这足以让您想要购买游戏机(console),但有了上述提示,您可能很快就会回到游戏中。
How to Fix a Disk Write Error in Steam
For many PC gamers, Steam is effectively the entire platform. Almost all PC games are sold on its storefront and the Steam client handles all of the boring stuff such as game installations and updates.
Steam is a very solid piece of software and most gamers will never have an issue with it. However, sometimes it can go wrong in the most frustrating of ways.
What Is the Disk Write Error in Steam Anyway?
As a case in point, the dreaded “disk write error” in Steam can really throw a wrench in the works of your gaming time. So to get you back into the game, let’s look at some common ways to fix this problem.
As the name suggests, Steam throws out a “disk write error” when it can’t write game data to your hard drive. That’s quite straightforward, but the real problem is that you’re not really given a clue as to why Steam can’t write to disk. Causes can vary from an actual problem with the Steam file structure to problems with the data download.
Run a Disk Scan
Before we even look at Steam itself, we need to make sure that the problem is with Steam and not the actual hard drive you’re trying to install a game to.
Simply run the Windows disk error checker to see if there’s an issue with your drive. If there is a problem with the drive, the checker should fix it. Although a serious problem might require a drive replacement. You can find the disk checking tool under the Tools tab in the drive’s properties.
Restart Your Computer
Before you go crazy trying all sorts of different solutions, take a deep breath and simply reboot your computer. This also obviously restarts Steam, which you can do without a total reboot. However, even when you close Steam it tends to leave processes running in the background.
So unless you feel like killing every Steam process manually in task manager, it’s just faster to reboot the PC.
Run Steam as Admin
Sometimes Steam can’t write to the disk because the software lacks a high-enough permission level to make those changes. By running the client as administrator, you’ll eliminate those issues.
This isn’t a permanent solution however, since Steam shouldn’t need admin privileges to work. It’s just a way to get the write operation done and confirm that the cause of the problem is related to file permissions. By default the Steam executable should be under Program Files(x86) > Steam.
Change Your Download Region
It seems that a disk write error is sometimes the result of Steam’s inability to pull data from the server.
Some users have reported success in changing the default download region from within Steam’s settings. Steam has multiple servers spread across the world. By default, it will choose the server that offers you the best speeds,but things can go wrong between you and that location. So simply changing to the next best server or the one after that can resolve the write error problem in some cases.
Verify Game Files
Sometimes Steam can’t write to a game’s folder because of incomplete or corrupted files. In this case you should try to verify the game installation.
This is a built-in function in the client that checks the game files on your computer against the error checksum for the files on the server. If they don’t match, Steam will assume the file on your drive is corrupt and replace it with the one on the server.
Just be warned that this will remove any mods you’ve made to the game folder. You can run the integrity check from the Local Files section of a given game’s properties page.
Reinstall Steam
If nothing seems to work and you’re still getting the disk write error in Steam, you can always download the latest Steam installer and reinstall the whole client. You shouldn’t lose any game data and the Steam installer will check your current files and verify them properly.
Make Sure the Steam Folder Isn’t Read-only
Sometimes, the Steam folder attributes get changed without your knowledge. This can happen, for example, if you manually backed up your Steam folder and then simply copied it over a new installation.
If the Steam folder has been marked as “read only”, then Steam can’t make any changes to it. Since all your Steam games are stored within the Steam folder by default, that can be the source of a disk read error.
Just go to the properties of the Steam folder and uncheck the “Read Only” attribute. Hopefully after making this change things will go back to normal.
Unblock Steam on the Firewall
We’ve mentioned above that sometimes a disk write error in Steam is more like a server read error. One reason Steam might not be getting data from the server is that it’s being blocked by a firewall.
The first time you run Steam, you’ll be asked to approve internet access for the software. If you didn’t do that, you’ll have to go into your firewall settings and allow Steam to access the internet.
If your Windows firewall isn’t the issue, make sure that your router’s firewall isn’t blocking Steam. Refer to the router’s manual on how to unblock the ports that Steam needs.
Disable Your VPN
While it might not be a firewall that’s blocking packets from making it to Steam, it could be your VPN that’s causing an issue. While this isn’t confirmed, it seems that some users have had success getting rid of the disk write error in Steam by temporarily switching off their VPNs.
Besides, using a VPN with Steam is against the terms of use and can actually lead to a permanent ban. So going without a VPN or using split tunneling with Steam is advisable.
Clear the Download Cache
Steam has a special holding area where it caches data for games that are currently downloading. Sometimes this cache becomes corrupted, stopping the flow of data. This is a known problem with Steam and there’s actually a convenient way you can flush the cache.
You can find the clear download cache button under Downloads in Steam settings. Press it and restart Steam for good measure. Then, try your downloads again.
Try a Different Steam Library
If you have multiple drives in your system, you can create a second Steam Library folder on another drive and attempt to install the game there instead. To create a new Steam library folder:
- Go to Steam settings.
- Go to downloads.
- Select Steam Library Folders.
- Select Add Library Folder
- Choose the location of your new library.
If you already have multiple library folders you can try downloading the game to the alternative library you already have. If this works, it points to something about the uncooperative disk itself being awry.
Don’t Get Too Steamed
A Steam error can be more frustrating than mission-critical system failures. Just when you want to sit down and have a bit of relaxing fun, you’re suddenly stuck doing troubleshooting exercises. It’s enough to make you want to buy a console, but with the above tips you’ll likely be back in the game in no time.