Added setup function for yquake2 work