Question about Python sys path

General Tso

Panzer General
Joined
Oct 12, 2007
Messages
1,547
Location
U. S. of A.
I have both Warlords and BTS installed on my computer. I want to test my mod and see if it will work without Warlords. I tried renaming the Warlords folder and/or various files within that folder and the mod wouldn't start without giving some kind of error. I believe I tracked down the problem. Here are the first couple of lines from PythonDbg.log:

Initializing Python
1. Using Python sys path: ..\WARLORDS\ASSETS\PYTHON\SYSTEM
sys.path =

['..\\WARLORDS\\ASSETS\\PYTHON\\SYSTEM']


I'm guessing that I need to make a change so that the above lines display the standard vanilla system folder path(I couldn't find one in the BTS folder). Does anyone know what I have to do to achieve this?
 
When you install BtS without having Warlords, the components which BtS requires FROM warlords are installed for you. So nobody who has BtS does not also have a Warlords folder with some data in it.

So the only real way to test it is to uninstall Warlords and BtS, then install BtS
 
Thanks, I will do that.
 
Top Bottom