Some clever kids have also found the below indicator from line 1385 of vproj.py:
- Code: Select all
def getEngine( self ):
Return an str with the current engine version.
If key doesn't doesn't exist, assume 'Source', otherwise invalid -- assume next-gen 'Source 2'.
eng = unicode( self.getChunk().Engine.value )
if eng not in ENGINE.ALL_ENGINES:
except ( AttributeError, ValueError ):
# HACK: check vproject for 'source2' or 'hybrid' and guess the engine.
projDir = str.lower( self.getProjectDir() )
if 'source2' in projDir:
elif ( 'hybrid' in projDir ) or ( 'l4d2port' in projDir ):
And to top it off, a little teaser straight from Valve to tie it all together:
Valve wrote: We don’t like to brag, but Source is considered the most flexible, comprehensive, and powerful game development environment out there. And it’s about to get even better.
We all knew it was coming but when people find little breadcrumbs like these hidden around the place it DOES make me all giddy.
Thanks to TechSpot and ValveTime (oh, and Valve of course)…