Can I transfer Steam Games from Win7 to Linux?

Yes, you can for many of the files.

I've migrated most of my Couter-Strike:Source files to Linux.

You should pick the biggest files, such as textures, sounds, models and maps to copy. Then, under your Steam directory in Linux (~/.local/share/Steam/SteamApps) create the directory structures that will hold these files, following the structure on your Windows partition.

Then when you go to install the game on Linux, after saying "Preparing to install game..." it will say "Discovering existing files...".


The default steam game install directory on Linux (Not *nix, because there's no non-Linux *nix Steam binary) is /home/user/.local/share/Steam/SteamApps/common.

The default location for the .gcf files is /home/user/.local/share/steam/SteamApps/.

There's no way to just move games from Windows to Linux and expect them to run. Even if the game is Linux compatible, the Windows-binary version won't run in Linux. You must download the Linux version of that game from Steam on Linux.

However, the .gcf files themselves may migrate over without problems. The Valve Developer Wiki article for GCF has an interesting line:

GCF files cannot be altered, and if they could Steam would correct them when it next ran, but their contents can be viewed.

This seems to imply that Steam will fix anything that looks wrong with a .gcf file. However, I don't know if that means it will replace the binaries.

As far as games that don't have an associated .gcf file: You can copy much of the data and assets over. Depending on the game and its install method, Your Results May Vary.

Tags:

Linux

Steam