Melanie Posted June 8, 2014 Share Posted June 8, 2014 Hello, I want to use Python to run a game on tcadmin v2 / win2012. The command is "python.exe server.py" from my game directory. I do not know how, can you help me please. Thank you in advance, Melanie Link to comment Share on other sites More sharing options...
PCGamersportal Posted June 11, 2014 Share Posted June 11, 2014 (edited) Hello Melanie, for simplicity, just create a batch file in the game folder for the game per the below. The Batch File content will look like this: %ProgramFiles%\Python\python.exe %* Name it server.bat or whatever you like, make your game executable server.bat in the Tcadmin config, and the commandline for the game will be simply: server.py and whatever other commandline parameters the game has that you like and your good to go. If your python is installed to another directory, replace my assumed directory with your installations folders. Edited June 11, 2014 by PCGamersportal Link to comment Share on other sites More sharing options...
PCGamersportal Posted June 11, 2014 Share Posted June 11, 2014 Just wanted to add, make sure that the batch file is in the same folder as the server.spy file. Update your config so it knows where the server.bat is located and that should be all. Link to comment Share on other sites More sharing options...
Melanie Posted June 28, 2014 Author Share Posted June 28, 2014 Sorry for the delay and thank you so much, it's work now with your help Link to comment Share on other sites More sharing options...
PCGamersportal Posted June 29, 2014 Share Posted June 29, 2014 You are very welcome Melanie, my pleasure. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now