Steam for Linux

Steam for Linux

Steam for Linux > Algemene discussies > Details van topic
Announce: Tool to check acf filename capitalisation consistency + more
Hey all,

I've written a python tool to compare the files that should exist for any game using the .acf format with what is actually on disk listing any discrepancies it finds and optionally fixing them.

It can:
- Note games that do not currently have any active manifest files
- List files that are supposed to exist but don't
- Show discrepancies in the capitalisation of files compared to what they are listed as in the manifest files, and optionally rename the files to match (with --rename).
- List any files in the game directories that are not managed by Steam (with --extraneous), and optionally remove them (with --delete - use with caution!)

This is NOT a substitute for using Steam's verify integrity of game cache. For one, it doesn't know how to verify the file checksums (anyone know what algorithm they use?), and secondly it can't go and fetch any missing manifest files (It tells you what to do in that case).

I wrote this script because I copied a bunch of games from my Windows install of Steam over to Linux and was concerned that the capitalisation on some of the files would not match what the game was expecting since Windows is not case sensitive but Linux is. Running verify integrity of game cache from Steam may not be sufficient as it ignores filename case (EDIT: Bug reported, but that is no guarantee that the games all do the same.

This also allows me to easily delete all the extra Windows files that the Linux version does not use (*.exe, *.dll, etc), and purge any extra files that games may have created in their directories (e.g. log files).

You can find it amongst my junk code (It's steam/
git checkout git://

Alternatively you can download the individual files from here if you don't want to use git (note: ui is a symlink, be sure to grab the contents from the second URL):

If you run it with no arguments it will process ~/.steam/root/SteamApps/appmanifest_*.acf. Otherwise you can pass it specific acf files to analyse.
Laatst bewerkt door DarkStarSword; 6 jan 2013 om 20:44
< >
1-2 van 2 reacties weergegeven
Another thing that this script is useful for is noticing when a game that has been throwing a "missing executable" or "invalid app config" error actually makes a release. If you have the game "installed" (with all it's 0 files ;-) Steam doesn't seem to automatically update it when it is released proper.

But, run this script and it is immediately clear that there is an installed game that is missing all it's files and then it's just a simple matter of running verify integrity of game cache from Steam to prompt it to start downloading.

I ran it today and discovered that The Polynomial now has files.

EDIT: Bug reported here:
Laatst bewerkt door DarkStarSword; 6 jan 2013 om 20:41
Great idea, rly... especially that part with coping game files from Windows install and creating more bugs/errors. Just don't do that, problem fixed.
< >
1-2 van 2 reacties weergegeven
Per pagina: 15 30 50

Steam for Linux > Algemene discussies > Details van topic
Geplaatst op: 3 jan 2013 om 23:52
Aantal berichten: 2