Open pushfoo opened 4 years ago
@kirtai
The lc2e exe must be run directly from a user config folder. This is created by the install/startup script if it's doesn't exist. The default location is $HOME/.dockingstation.
If you make a copy of this folder lc2e will run correctly from it (assuming it finds the libraries) so multiple user config folders appear to be working. lc2e seem to assume that the current folder is the user config folder to use (the start script cd's there)
As a further experiment, I copied the ~/.dockingstation folder to another folder, copied the exe and all the library (so) files into it and it ran perfectly with
LD_LIBRARY_PATH=. ./lc2e --autokill
Note that if you want to move or use a different install folder, the user config contains two symlinks to the install folder which will need to be changed.
Also, the install/start script sets up the default user config folder and sets machine.cfg to point to the Creatures 3 install location if one is specified or to a dummy folder if not.
EDIT: See below, but the machine.cfg in the user folder needs to have its paths adjusted.
The lc2e exe must be run directly from a user config folder the user config contains two symlinks to the install folder which will need to be changed. To confirm I understand correctly, the executable is symlinked into the user's
$HOME/.dockingstation
folder in a normal install?
No, the two symlinks are
~/.dockingstation/lc2e-netbabel.so -> PATH_TO_DS/lc2e-netbabel.so
~/.dockingstation/Bootstrap/000 Switcher' -> PATH_TO_DS/Bootstrap/000 Switcher
A comment in the start script mentions that the world switcher needs to be in the user config folder.
Also noticed that the machine.cfg that is affected by the start script is the one in the user config folder, not the one in the install folder.
The machine.cfg in the user config folder needs to be adjusted to point to its current location.
My own machine.cfg attached, Auxiliary 1 points to C3 or "Everything Dummy" in your user folder. Auxiliary 2 points to the user config folder The rest point to the docking station install.
"Auxiliary 1 Backgrounds Directory" /zpool/games/docking-station/C3/Backgrounds/
"Auxiliary 1 Body Data Directory" "/zpool/games/docking-station/C3/Body Data/"
"Auxiliary 1 Bootstrap Directory" /zpool/games/docking-station/C3/Bootstrap/
"Auxiliary 1 Catalogue Directory" /zpool/games/docking-station/C3/Catalogue/
"Auxiliary 1 Creature Database Directory" "/zpool/games/docking-station/C3/Creature Galleries/"
"Auxiliary 1 Exported Creatures Directory" "/zpool/games/docking-station/C3/My Creatures/"
"Auxiliary 1 Genetics Directory" /zpool/games/docking-station/C3/Genetics/
"Auxiliary 1 Images Directory" /zpool/games/docking-station/C3/Images/
"Auxiliary 1 Journal Directory" /zpool/games/docking-station/C3/Journal/
"Auxiliary 1 Main Directory" /zpool/games/docking-station/C3/
"Auxiliary 1 Overlay Data Directory" "/zpool/games/docking-station/C3/Overlay Data/"
"Auxiliary 1 Resource Files Directory" "/zpool/games/docking-station/C3/My Agents/"
"Auxiliary 1 Sounds Directory" /zpool/games/docking-station/C3/Sounds/
"Auxiliary 1 Users Directory" /zpool/games/docking-station/C3/Users/
"Auxiliary 1 Worlds Directory" "/zpool/games/docking-station/C3/My Worlds/"
"Auxiliary 2 Backgrounds Directory" /zpool/games/docking-station/user-folder/Backgrounds/
"Auxiliary 2 Body Data Directory" "/zpool/games/docking-station/user-folder/Body Data/"
"Auxiliary 2 Bootstrap Directory" /zpool/games/docking-station/user-folder/Bootstrap/
"Auxiliary 2 Catalogue Directory" /zpool/games/docking-station/user-folder/Catalogue/
"Auxiliary 2 Creature Database Directory" "/zpool/games/docking-station/user-folder/Creature Galleries/"
"Auxiliary 2 Exported Creatures Directory" "/zpool/games/docking-station/user-folder/My Creatures/"
"Auxiliary 2 Genetics Directory" /zpool/games/docking-station/user-folder/Genetics/
"Auxiliary 2 Images Directory" /zpool/games/docking-station/user-folder/Images/
"Auxiliary 2 Journal Directory" /zpool/games/docking-station/user-folder/Journal/
"Auxiliary 2 Main Directory" /zpool/games/docking-station/user-folder/
"Auxiliary 2 Overlay Data Directory" "/zpool/games/docking-station/user-folder/Overlay Data/"
"Auxiliary 2 Resource Files Directory" "/zpool/games/docking-station/user-folder/My Agents/"
"Auxiliary 2 Sounds Directory" /zpool/games/docking-station/user-folder/Sounds/
"Auxiliary 2 Users Directory" /zpool/games/docking-station/user-folder/Users/
"Auxiliary 2 Worlds Directory" "/zpool/games/docking-station/user-folder/My Worlds/"
"Backgrounds Directory" /zpool/games/docking-station/DS/Backgrounds/
"Body Data Directory" "/zpool/games/docking-station/DS/Body Data/"
"Bootstrap Directory" /zpool/games/docking-station/DS/Bootstrap/
"Catalogue Directory" /zpool/games/docking-station/DS/Catalogue/
"Creature Database Directory" "/zpool/games/docking-station/DS/Creature Galleries/"
"Exported Creatures Directory" "/zpool/games/docking-station/DS/My Creatures/"
"Game Name" "Docking Station"
"Genetics Directory" /zpool/games/docking-station/DS/Genetics/
"Images Directory" /zpool/games/docking-station/DS/Images/
"Journal Directory" /zpool/games/docking-station/DS/Journal/
"Main Auxiliary" 2
"Main Directory" /zpool/games/docking-station/DS/
"Overlay Data Directory" "/zpool/games/docking-station/DS/Overlay Data/"
"Resource Files Directory" "/zpool/games/docking-station/DS/My Agents/"
"Sounds Directory" /zpool/games/docking-station/DS/Sounds/
"Users Directory" /zpool/games/docking-station/DS/Users/
"Worlds Directory" "/zpool/games/docking-station/DS/My Worlds/"
I wrote a python program to handle the engine environment awhile ago and I recently put it up here. Maybe that could be of some use :>
Folders, libraries, etc.