Thread: [Read Me] Release announcements
View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 11-19-2010 , 09:53   Re: SteamTools - SteamWorks for SourceMod
#5

Updated with 0.5, this adds a Steam_GetClientSubscription native.
With this native you can get the subscription id of the pack the client bought the game as part of.

As with most of SteamTools, this'll be pretty useless for most people .

Here are a few sub ids, I'll try and write a program similar to the stats lister to generate a list of them all. Copying them out by hand is annoying .

EDIT:
Thanks to the SteamKit team for providing the BlobLib project and to psychonic for a Java port of it, linked below is the full subscription listing from the CDR.
http://citrus.limetech.org/proofens/CDRApps.txt < Warning, this thing is 2MB.

The file is formated like:
Code:
469 = "The Orange Box"
	340 ("Half-Life 2: Lost Coast")
	341 ("LostCoast Content")
	211 ("Source SDK")
	215 ("Source SDK Base 2006")
	218 ("Source SDK Base - Orange Box")
	220 ("Half-Life 2")
	213 ("Episode 1 Shared")
	380 ("Half-Life 2: Episode One")
	381 ("Half-Life 2: Episode One")
	216 ("Source 2007 Binaries")
	315 ("Source 2007 Mac Binaries")
	317 ("Source 2007 Binaries 2")
	305 ("Source 2007 Shared Materials")
	306 ("Source 2007 Shared Models")
	307 ("Source 2007 Shared Sounds")
	400 ("Portal")
	401 ("Portal Content")
	402 ("Portal French")
	403 ("Portal German")
	404 ("Portal Russian")
	405 ("Portal English")
	406 ("Portal Spanish")
	308 ("Episodic 2007 Shared")
	309 ("Episode One 2007 Content")
	420 ("Half-Life 2: Episode Two")
	421 ("Episode Two Content")
	422 ("Episode Two Materials")
	423 ("Episode Two Maps")
	424 ("Half-Life 2: Episode Two French")
	425 ("Half-Life 2: Episode Two German")
	426 ("Half-Life 2: Episode Two Russian")
	428 ("Half-Life 2: Episode Two English")
	429 ("Half-Life 2: Episode Two Spanish")
	440 ("Team Fortress 2")
	441 ("Team Fortress 2 Content")
	442 ("Team Fortress 2 Materials")
	443 ("Team Fortress 2 Client Content")
= Subscription ID (Which is what the native returns)
= Subscription Name
= Application ID
= Application Name
__________________
asherkin is offline