Gandalf Parker
August 6th, 2008, 02:45 PM
Has anyone messed with setting the paths from a script?
I have this in the script...
mappath="$DIR"
localmappath="$DIR"
temppath="$DIR"
export mappath="$DIR"
export localmappath="$DIR"
export temppath="$DIR"
env > env.txt
and the env.txt does show this...
mappath=/home/domgames/dominions3/savedgames/bl_gutted
localmappath=/home/domgames/dominions3/savedgames/bl_gutted
temppath=/home/domgames/dominions3/savedgames/bl_gutted
But the log file shows this....
Version version 3.17 (317)dbglevel 1 pc_endian
datapath='/usr/local/games/dominions3'
confpath='/home/domgames/dominions3'
savepath='/home/domgames/dominions3/savedgames'
modpath='/home/domgames/dominions3/mods'
mappath='/usr/local/games/dominions3/maps'
localmappath='/home/domgames/dominions3/maps'
temppath='/tmp/dominions3_38122'
And the game blows up saying it cant find the map.
I have this in the script...
mappath="$DIR"
localmappath="$DIR"
temppath="$DIR"
export mappath="$DIR"
export localmappath="$DIR"
export temppath="$DIR"
env > env.txt
and the env.txt does show this...
mappath=/home/domgames/dominions3/savedgames/bl_gutted
localmappath=/home/domgames/dominions3/savedgames/bl_gutted
temppath=/home/domgames/dominions3/savedgames/bl_gutted
But the log file shows this....
Version version 3.17 (317)dbglevel 1 pc_endian
datapath='/usr/local/games/dominions3'
confpath='/home/domgames/dominions3'
savepath='/home/domgames/dominions3/savedgames'
modpath='/home/domgames/dominions3/mods'
mappath='/usr/local/games/dominions3/maps'
localmappath='/home/domgames/dominions3/maps'
temppath='/tmp/dominions3_38122'
And the game blows up saying it cant find the map.