protonscr

And Yet It Moves fails to start due to missing files

steamclosed reviewed3rd party game
ValveSoftware/steam-for-linux#1970 · opened 2013-02-23 by Photon89 · updated 2017-02-15 · 12 comments · github
PPhoton89 2013-02-23 github

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

Jjohndrinkwater 2013-02-27 github

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 
PPhoton89 2013-02-27 github

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.

Jjohndrinkwater 2013-02-27 github

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.

PPhoton89 2013-02-27 github

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

OOblomov 2013-08-05 github

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).

Kkparal 2013-12-20 github

Thanks Oblomov. Your patch fixed the game startup for me.

PPhoton89 2013-12-22 github

Oblomov's fix works for me as well. Can this fix be integrated into the game?

OOxalin 2014-02-18 github

This is a trivial fix that should be pushed in as soon as possible to fix the launching script.

Jjepler 2014-03-09 github

Since this issue has been closed, I opened issue #3197 for the issue Oblomov mentions in his comment above.

PPhoton89 2014-03-09 github

Thanks for digging this out, maybe this way the bug gets some attention.

Vv01pe 2014-03-11 github

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

PPhoton89 2017-02-15 github

At some point this has been fixed, closing.

Nothing extracted yet.