ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.24k stars 175 forks source link

Can't move 'Total War: Warhammer' to another Steam folder. #4851

Closed YevPo closed 5 years ago

YevPo commented 7 years ago

Your system information

Please describe your issue in as much detail as possible:

Next error appears when I try to move 'Total War : Warhammer' to another Steam folder:

'Failed to move all files to new library folder (I/O Operation Failed).'

Steps for reproducing this issue:

  1. Install Total War: Warhammer on first disk drive.
  2. Create Steam content folder on second disk drive.
  3. Try to move the game to that folder via 'Properties -> Local Files -> Move Install Folder...'.

Here is an excerpt from content_log.txt:

[2017-02-07 21:04:36] AppID 364360 moving from "/media/Files/eugene/Steam/steamapps/common/Total War WARHAMMER" to "/home/eugene/SteamGames/steamapps/common/Total War WARHAMMER" [2017-02-07 21:04:36] Finished uninstall script before moving folders [2017-02-07 21:04:36] AppID 364360 state changed : Fully Installed,Moving Folder, [2017-02-07 21:04:50] HTTP (CS,510) - valve510.steampipe.steamcontent.com (valve510.steamcontent.com): Closing connection [2017-02-07 21:04:50] HTTP (CS,507) - valve507.steampipe.steamcontent.com (valve507.steamcontent.com): Closing connection [2017-02-07 21:04:52] HTTP (CS,511) - valve511.steampipe.steamcontent.com (valve511.steamcontent.com): Closing connection [2017-02-07 21:04:56] Failed copying file "/home/eugene/SteamGames/steamapps/common/Total War WARHAMMER/share/data/data/data.pack" (3913104960 bytes) [2017-02-07 21:04:56] Canceled Moving App 364360 : I/O Operation Failed at 672027385/35036905426 bytes, 85 files (Unknown) [2017-02-07 21:04:56] AppID 364360 state changed : Fully Installed,

Additional info:

sysms commented 7 years ago

I can confirm this problem for some more titles, not only "TW: WH".

Affected games are e. g.:

I've fscked my drives, they have no errors.

sysms commented 7 years ago

Any progress here? This problem still exists in the latest beta client (1490314264)...

Poil commented 7 years ago

I have the same problem when installing this mod 552761829

saward commented 7 years ago

Having the same issue.

Edit: this is attempting to move the game to an SSD from a 'normal' drive.

saward commented 7 years ago

I was able to successfully move the folder by going into the Total War installed folder, and moving the 'share' folder temporarily somewhere else on the hard drive. With that out of the way, steam happily moved the remaining files/folders. I then moved the missing 'share' folder into the new location where it should be.

I've also previously had issues with patches not installing when using a symlink to put these files on this drive, so will need to wait to see if it patches while on this hard drive.

saward commented 7 years ago

I have tried a new SSD, and the same problem persists. I tried the previous SSD that didn't work with Linux instead with Windows, and had no problems with Windows.

thackel commented 6 years ago

I can confirm the same problem with "HITMAN" on Kubuntu 17.10, Steam Beta Client 2017-12-20. After 33% i get the IO Error, no other output in the console.

I could move other games of different sizes from/to SSD/HDD.

kakra commented 6 years ago

I think the problem is as soon as the games contain files with 2GB+ size. Could you check

find /path/to/game -type f -size +2G

and compare games you could move vs. games you couldn't? The latter case should produce output, but the first case shouldn't. If our combined findings result in confirmation of exactly that being the issue, I think the issue title should be renamed because it isn't game specific. Only that way we can get it further up on the radar of Valve, I believe.

BTW: It's still an issue.

timcarr89 commented 6 years ago

Just checked a game that I was having trouble moving and it had a file bigger than 2GB. Moved several other games that did not have files larger than 2GB and they were fine. Ran your command on my steamapps/common folder and attempted to move the games with 2GB+ files and every one I tried failed.

kakra commented 6 years ago

Could you amend the title then to take note of this being the issue? Thanks.

8avian commented 6 years ago

Hi, I can also confirm that moving away files bigger than 2GB allows steam to move the game to the new library folder with success. So the issue seems to be files bigger than 2GB.

paimoe commented 6 years ago

Can't move RUINER (464060) which includes a 4.9GB file

Might just have to reinstall on the SSD instead of moving

rdrey commented 6 years ago

This also works for GTA5

hlarsen commented 5 years ago

Same issue with Deus Ex: Mankind Divided, which has a few > 2GB files.

noobaldrin commented 5 years ago

Was able to successfully move a game with this issue.

Just move (mv) the large files temporarily to a new directory outside of steam installation, use find command to filter the large files larger than 2G or whatever command you see fit. Then execute the move steam games on steam client, it'll ignore the missing files but once it completed it will still say the move has been successful.

Then manually place the large files to the appropriate directory in the new installation location.

ThunderMikey commented 5 years ago

In addition to the comment by @noobaldrin , it is a good idea to turn off auto-update temporarily so that Steam does not start downloading missing files (the files to be moved manually).

daxcore commented 5 years ago

Yeah same issue here. Deus Ex, Himan, HITMAN2, ... all games with files large than 2G.

Managor commented 5 years ago

Bumping the thread as I just just experienced this by trying to move Quake champions from an NVME to a HDD but not when I tried to move Crash Bandicoot from a HDD to an NVME or when moving Dota 2 from NVME to HDD.

okaestne commented 5 years ago

Having the issue as well with GTA 5. BTRFS -> ext4 partition. Maybe this is a limitation of the 32-bitness of the steam client?

TFoxxy commented 5 years ago

I attempted the fix posted by @noobaldrin with GTA V but Steam gave me a new error "Failed to move all files to new library (invalid state)". I'm moving the game within the same drive.

TFoxxy commented 5 years ago

Oops, I renamed the GTA V directory in order to find the 2GB+ files. Naming it back to the original and running the game once fixed it right up. After that, I can confirm that the above solution works with GTA V.

dshoreman commented 5 years ago

One more "me too" for the collection - this time affecting Saints Row 2.

Moving files breaks with I/O failure, but after moving the 2.7GB music4.vpp_pc file manually to a different folder it works fine.

Vash63 commented 5 years ago

I'm having this issue attempting to install the latest DLC for Assassin's Creed: Odyssey. For some reason Steam is storing the temporary download cache in a different library than the game install itself, so it has to migrate the data.

This in itself wouldn't be an issue, but one library is btrfs and the other is f2fs - triggering this bug. It's failing on a 6.3GiB '.forge' file.

oaksisfolks commented 5 years ago

Confirmed here too. Moving Wolfenstein: The Old Blood fails on a 2.1G file ('~/.local/share/Steam/steamapps/common/Wolfenstein The Old Blood/virtualtextures/dlc1_c01_04_s1.pages').

This is an old bug...

System Info:

Operating System Version: "Manjaro Linux" (64 bit) Kernel Name: Linux Kernel Version: 4.19.34-1-MANJARO Steam Runtime Version: jenkins-steam-runtime-beta-release_0.20190320.2

phoe commented 5 years ago

Related discussion on /r/linux_gaming: https://www.reddit.com/r/linux_gaming/comments/bhyo8g/

KibaGasteiz commented 5 years ago

Now i know why i can't move some games, at least now i know that i should copy the games by myself.

qarmin commented 5 years ago

This reminds me bug in Godot Engine https://github.com/godotengine/godot/issues/21677 which limitation was caused by using int 32bit (-2,1 GB to 2,1 GB) instead int 64bit

oaksisfolks commented 5 years ago

https://github.com/tinfoil-hacks/steam-mv

I wrote a quick Python script that handles moving games/apps between Steam folders.

kisak-valve commented 5 years ago

Hello, per "Fixed a bug where copying/moving files bigger than 2GB would fail with an I/O error" in the 2019-05-15 Steam client beta update, please opt into Steam's beta client and retest this issue.

oaksisfolks commented 5 years ago

Works, though the window with Library selection menu/progress bar doesn't close until you close the window underneath it (Properties menu).

kisak-valve commented 5 years ago

Thanks for testing @tinfoil-hacks. Can you open a new issue report for the followup issue so it can be tracked properly?

Vash63 commented 5 years ago

My issue relating to this was fixed also.

oaksisfolks commented 5 years ago

@kisak-valve https://github.com/ValveSoftware/steam-for-linux/issues/5466

This is my issue. I can add more detail there.

kisak-valve commented 5 years ago

Closing as fixed.