Guest User

Untitled

a guest
Mar 26th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. from os import *
  2. from ctypes import *
  3.  
  4. environ['XASH3D_BASEDIR'] = "/home/a1ba/projects/builtXash"  
  5.  
  6. argv = ( c_char_p * 3 )( b"xash3d", b"-dev", b"3" )
  7.  
  8. libxashso = CDLL( "libxash.so" )
  9. libxashso.Host_Main( len( argv ), argv, b"valve", False, None )
Advertisement
Add Comment
Please, Sign In to add comment