[ 已解决 ]World Of Goo Crashed

gamux 上的1.4.11
直接启动就是跳啊跳就没有然后了
终端下:
It looks like World of Goo crashed! If you need support, please include the
contents of the log file in your problem report.
The log file is stored at: /home/yang/.WorldOfGoo/WorldOfGoo.log
WorldOfGoo.log (17.5 KB)

问题一: couldn’t execute “gnome-screensaver-command”!
解决:安装上 "gnome-screensaver-command"就好了
问题二:行 30: 4478 段错误 $BIN $@
解决:见8楼

couldn’t execute “gnome-screensaver-command”!

能自己先看一遍 log 再发么…

sudo zypper in gnome-screensaver

Sent from my Galaxy Note 2 using Tapatalk 2

1赞

额…我居然一直在想为什么kde需要gnome的screensaver…
但是还是没有解决WorldOfGoo.log (17.4 KB)

日志没问题,命令行执行看输出。

yang@linux-o5la:/opt/WorldOfGoo> WorldOfGoo
/usr/bin/WorldOfGoo: 行 30: 1738 段错误 $BIN $@

It looks like World of Goo crashed! If you need support, please include the
contents of the log file in your problem report.
The log file is stored at: /home/yang/.WorldOfGoo/WorldOfGoo.log
yang@linux-o5la:/opt/WorldOfGoo> WorldOfGoo
/usr/bin/WorldOfGoo: 行 30: 1754 段错误 $BIN $@

It looks like World of Goo crashed! If you need support, please include the
contents of the log file in your problem report.
The log file is stored at: /home/yang/.WorldOfGoo/WorldOfGoo.log

WoG 的版本。

另外看 /usr/bin/WorldofGoo 是脚本还是二进制文件,脚本的话把出错的代码块发上来

Sent from my Galaxy Note 2 using Tapatalk 2

gamux 上的 1.4.11
行 30: 4478 段错误 $BIN $@
#!/bin/sh

Change to game directory

CANONPATH=readlink -f "$0"
cd “dirname "$CANONPATH"

if ! -e properties ] || ! -e res ]
then
echo "Missing properties/ and res/ directories in pwd"
echo "Your installation is incomplete!"
exit 1
fi

Uncomment the line below to dump core when the game crashes; useful for

debugging, but only works if the game directory is user-writable!

#ulimit -c unlimited

MACHINE=uname -m
if “$MACHINE” = x86_64 ]
then
LIBS=./libs64
BIN=./WorldOfGoo.bin64
else
LIBS=./libs32
BIN=./WorldOfGoo.bin32
fi

Run the game:

export LD_LIBRARY_PATH=$LIBS:"$LD_LIBRARY_PATH"
$BIN $@

Check for errors

e=$?
if $e -ne 0 ]
then
echo ""
echo "It looks like World of Goo crashed! If you need support, please include the"
echo “contents of the log file in your problem report.”

LOGPATH="$HOME/.WorldOfGoo/WorldOfGoo.log"
if  -f "$LOGPATH" ]
then
	echo "The log file is stored at: $LOGPATH"

	echo "" >> $LOGPATH
	echo "Libraries used:" >> $LOGPATH
	ldd $BIN >> $LOGPATH 2>&1

	echo "" >> $LOGPATH
	GLXINFO=`which glxinfo`
	if  -z "$GLXINFO" ]
	then
		echo "glxinfo not found!" >> $LOGPATH
	else
		echo "Output of glxinfo:" >>$LOGPATH
		glxinfo >>$LOGPATH 2>&1
	fi
	
else
	echo "Unfortunately, no log file has been created!"
fi

fi

exit $e

来自 ubuntuforums.org/showthread.php?t=1937125&p=11802779#post11802779

下载对应网址中的 3 个文件:
2dboy.com/TopSecretTransfer/linux-libs64/
或者
2dboy.com/TopSecretTransfer/linux-libs32/

替换

/opt/WorldOfGoo/libs64/
或者
/opt/WorldOfGoo/libs32/

亲测可行。

1赞

已成功,非常感谢!