AYIM runs fine launching it from steam, though it would be great if steam’s libraries better handled being launched out of process, if you must manually launch it:
~/Steam/SteamApps/common/And Yet It Moves > echo "18700" > steam_appid.txt
~/Steam/SteamApps/common/And Yet It Moves > LD_LIBRARY_PATH=.:~/.steam/bin ./AndYetItMovesSteam.sh
AYIM runs fine launching it from steam
I suppose, you mean, at your machine it runs fine, since here it surely doesn't. But yeah, a better handling for manual launching would be also nice.
I didn’t need to move any of the game files, and the installscript.vdf error occurs for all the games, so yeah.
In your log the game echoes: This script must be run as a user with write priviledges to game directory, maybe you could check the permissions and provide more information.
Looks good to me:
[photon@photon-desktop And Yet It Moves]$ ls -l
insgesamt 32
-rwx------ 1 photon users 1331 23. Feb 10:13 AndYetItMovesSteam.sh
drwxr-xr-x 6 photon users 4096 23. Feb 10:13 common
drwxr-xr-x 7 photon users 4096 23. Feb 10:13 game
drwxr-xr-x 2 photon users 4096 23. Feb 10:14 lib
-rwx------ 1 photon users 1867 23. Feb 10:13 main.cs
-rwx------ 1 photon users 4883 23. Feb 10:13 mask.frag
drwxr-xr-x 28 photon users 4096 23. Feb 10:13 resources
I was having the This script must be run as a user with write privileges to game directory error as well when trying to run it, and found that the shell variables checked at the beginning need more escaping:
ayim_dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
rootdir="$ayim_dir"
.
(note the extra quoting around ${BASH_SOURCE[0]} and the extra quoting in the definition of rootdir). This should also fix other path-related issues (missing libs and whatnot).
Thanks Oblomov. Your patch fixed the game startup for me.
Oblomov's fix works for me as well. Can this fix be integrated into the game?
This is a trivial fix that should be pushed in as soon as possible to fix the launching script.
Since this issue has been closed, I opened issue #3197 for the issue Oblomov mentions in his comment above.
Thanks for digging this out, maybe this way the bug gets some attention.
Thanks for tracking down the root of the problem. I filed the issue in our bug tracker. Please be patient though, because our main focus lies on our current game Secrets of Rætikon at the moment.
Thanks,
Jan
At some point this has been fixed, closing.
Nothing extracted yet.
Starting AYIM directly via AndYetItMovesSteam.sh results in an error about missing libsteam_api.so. The file is located in the main folder, while it should probably be located in the ./lib subfolder. Moving the file to the correct place solves the problem and AYIM starts reporting that the Steam client is not running (no matter whether it is running or not).
Starting AYIM from Steam gives many warnings and some errors, following one seems to be the crucial one:
Failed to load installscript /media/Daten/Steam/SteamApps/common/And Yet It Moves/installscript.vdf
Indeed, there is no file installscript.vdf in the main folder, so I suppose that the missing file is the cause of AYIM not starting from within Steam.
You can find the complete error log here: https://dl.dropbox.com/u/1507406/AYIM.log