Gamemode not loading

Hi, today I decided I’d venture out into the world of gamemode creation. However, whenever I try to load my gamemode it comes up with


Error loading gamemode: !IsValidGamemode [btk]
L 07/01/2014 - 07:32:52: Engine error: Error loading gamemode: !IsValidGamemode [btk]

I have garrysmod/gamemodes/btk and inside I have the files btk.txt, init.lua, cl_init.lua and shared.lua

My btk.txt:


"Gamemode"
{
	"base"		"sandbox"
	"title"		"BuildToKill"
	"maps"		"^gm_"
	"menusystem"	"1"
	"workshopid"	""
	
	"settings"

}
 

Thanks so much in advance. I’ll supply additional info/details if needed.

Here’s a skeleton game-mode. It shows how to set up the folders, the txt, etc…

Make sure the “Gamemode” part of the txt is “btk”, etc… Review this RAR: https://dl.dropboxusercontent.com/u/26074909/tutoring/_redistributable/basedev_gamemode.rar

It also acts as a simple base as it supports recursive loading of files throughout several directories…

client, shared, server ( realms for those folders ), maps/ folder loads maps/<map_name>/ folder and nested items in shared-realm, content/ loads in shared realm and I think I have addons too… Not sure…

The new one I’m releasing supports this: https://dl.dropboxusercontent.com/u/26074909/tutoring/_redistributable/basedev_gamemode/documentation/file_recursive_inclusions.txt

https://dl.dropboxusercontent.com/u/26074909/tutoring/_redistributable/basedev_gamemode/documentation/folder_structure_and_how_to_use_it.txt