termux / game-packages

Games for Termux
Other
334 stars 69 forks source link

Frotz is no longer working #21

Closed IntyLab closed 5 years ago

IntyLab commented 5 years ago

I had last used it a couple weeks ago. Now, when I try to launch it, I get the error message:

CANNOT LINK EXECUTABLE: cannot locate symbol "__register_atfork" referenced by "frotz"...

I tried uninstalling and reinstalling the package, but that didn't change anything.

Grimler91 commented 5 years ago

What's your termux-info?

IntyLab commented 5 years ago

!/data/data/com.termux/files/usr/bin/sh

if [ "$#" != "0" ]; then echo 'usage: termux-info' echo 'Provides information about Termux, and the current system. Helpful for debugging.' exit fi

updates() { apt update >/dev/null 2>&1 updatable=$(apt list --upgradable 2>/dev/null | tail -n +2) if [ -z "$updatable" ];then echo "All packages up to date" else echo "$updatable" fi }

output="Updatable packages: $(updates) Subscribed repositories: $(apt-cache policy | grep http | awk '{print $2 " " $3}') System information: $(uname -a) Termux-packages arch: $(dpkg --print-architecture) Android version: $(getprop ro.build.version.release) Device manufacturer: $(getprop ro.product.manufacturer) Device model: $(getprop ro.product.model)" echo "$output"

Copy to clipboard (requires termux-api)

use timeout in case termux-api is installed but the termux:api app is missing

echo "$output" | busybox timeout -t 3 termux-clipboard-set 2>/dev/null busybox timeout -t 3 termux-toast "Information has been copied to the clipboard" 2>/dev/null exit 0

ghost commented 5 years ago

"What's your termux-info?" means to execute termux-info and post output, not print content of that script.

ghost commented 5 years ago

@Grimler91 Frotz doesn't work on ARM Android 6. Seems like it is compiled for Android 7 but pushed to wrong repository.

IntyLab commented 5 years ago

Okay. I still consider myself a noob after all these years.

Frotz was running on my old tablet before. I installed it on my phone and it seems to be working fine. Thanks for your help.

Grimler91 commented 5 years ago

Hm, weird

ghost commented 5 years ago

@IntyLab @Grimler91 I have fixed it on android-5 branch, now seems working.

IntyLab commented 5 years ago

I tried it on my tablet and it is working now. Meanwhile, I found glulxe and installed it, and the same thing is happening there. It works on my phone, so now I can play the Andromeda games! Too bad it doesn't use SDL.