fallout1-ce
fallout1-ce copied to clipboard
How to execute fallout-ce with no fallout.cfg passing the fallout folder as an argument
Hello
I would like to execute fallout-ce on linux passing a folder that contains data folder, music folder, critterdat, fallout.cfg etc as an argument.
for example
fallout-ce /my/custom/falloutcepath/
is it possible?
thx
Have a wrapper script do the cd
and then exec. You can see below the subprocess starts in the new directory.
#!/usr/bin/env bash
d=$(mktemp -d)
cd $d
exec sh -c 'echo $PWD'
~ master*
❯ ./test.sh
/tmp/tmp.RkyW0E3GgL