Skip to content

Adding File Info Tables

Bernt Andreas Eide edited this page Mar 28, 2019 · 3 revisions

This is a vital part, the version control system is very useful, thankfully this process is very simple.

Example Script:

"FileData"
{
    "cl_dlls/client.dll"
	{
	    "Hash" "d499a09c117fd7ffffc58320b298b91d" // MD5 hash
		"Size" "516" // bytes
	}
}

Now some in depth explanations

Every file under 10MB will be hashed. You don't need to create this file yourself, it is auto generated using the FileTableGenerator program, open it up and specify the path to the game/mod you wish to create a file table for then you specify the name of the file and that's it.

Finally

Upload your script to your webserver then load it by setting the FileData part for your game to match the path to this file. (url)