MakeGameData

From Valve Developer Community
Jump to navigation Jump to search

MakeGameData is a command line tool that allows for conversion of Source Source game files from PC to Xbox 360 Xbox 360 and PlayStation 3 PlayStation 3 equivalents. A version of this tool is available in the Dino D-Day Dino D-Day SDK.

MakeGameData requires a very specific setup to work correctly. To setup MakeGameData, create a folder anywhere on your computer called "game". Then, copy the "bin" folder from Dino D-Day into "game". Then you can copy your desired game's subfolder into this game folder (for instance, Counter-Strike: Global Offensive Counter-Strike: Global Offensive's folder is called "csgo") and run the MakeGameData from that folder from the command line with your options selected, for example:

..\bin\makegamedata.exe *.* -r -z zip0.360.zip

The above command will compile any loose files (no VPKs) into their Xbox 360 equivalents, and put them into a specialized .zip format (except maps, which stay in the maps folder). It will search any subfolders for convertable assets and it will preserve this layout inside the ZIP. Note that games can have up to 100 ZIP folders (zip0.360.zip all the way to zip99.360.zip).

Command-Line Options

Taken directly from the Dino D-Day Dino D-Day version's help output:

usage: MakeGameData [filemask] [options]

options: [-v] Version [-q] Quiet (critical spew only) [-h] [-help] [-?] Help [-t targetPath] Alternate output path, will generate output at target [-r] [-recurse] Recurse into source directory [-f] [-force] Force update, otherwise checks timestamps [-test] Skip writing to disk [-z <zipname>] Generate zip file AND create or update stale conversions [-preloadinfo] Spew contents of preload section in zip [-kvinfo] Spew contents of kvpool in zip [-xmaquality <quality>] XMA Encoding quality override, [0-100] [-scenes] Make Xbox 360 scene image cache. [-pcscenes] Make PC scene image cache. [-usemaplist] For BSP related conversions, restricts to maplist.txt. [-files <script>] Restricts processing to files specified in script. [-zipformat] Compatible zip format (Allows WinZip viewing) [-audiocache] Make PC audio _master.cache file. [-updateaudiocache] Update PC audio _master.cache file w/ new or changed .wav files. [-language <name>] Build _master_name.cache language specific cache file. [-ps3] Build for Sony PS3 [-sonyps3] Build for Sony PS3

[-cert] CERT build, uses environment VPC_AUTO_ARGS or VPC_CONSOLE_ARGS
Note.pngNote:For filemask, you can use "*.*" to process all files.