I can't get this to run in linux, I download the 0.16 version and then run from terminal. The program will not run and I get this:
[censored]:~$ ~/Programs/companion/dfcompanion_prototype.py
/home/colin/Programs/companion/dfcompanion_prototype.py: line 1: import: command not found
/home/colin/Programs/companion/dfcompanion_prototype.py: line 2: syntax error near unexpected token `'./pygtk''
/home/colin/Programs/companion/dfcompanion_prototype.py: line 2: `sys.path.append('./pygtk')'
Import is a fairly important part of python, so I'm surprised to see it's not working. I have python 2.6.x installed, as well as the other requirements.
I'm going to poke around and see if I can find the problem, if someone could tell me, that'd be better., I want to get on with my fortress
OS: Ubuntu 9.04
Dwarf Fortress version: 40d16
Edit: Ran the script in IDLE, it printed:
init
Dwarf Fortress is not running, or could not be found
The print init command is in dflinux.py, I'll look for the other line now, see where it was printed from, that should tell me how far through the program gets before it fails.
Ok, I worked this out before I went to bed last night: the program will run fine from IDLE, but cannot detect Dwarf Fortress (perhaps because of the version I'm using?).
If I run the windows versions of DF and DC in wine, it still doesn't connect, though I get the UI for DC.
I was going to test with the native linux 40d, but there doesn't seem to be one