Possible to port GridWars 2
-
@spud11 Can you run
file gridwars-armhf-rel
and see if it's an executable ? -
@mitu Thanks, mitu.
What I got was:
gridwars-armhf-rel: ELF 32-bit LSB executable, ARM, EAB15 version 1 (SYSV), dynamically linked, interpreter /lib/id-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=b7e8dd092b0a3e8b03642021eb0cee8bca9e80a24, stripped
I've copied that from a photo I took on my home. Hopefully, I've transcribed it correctly.
-
@spud11 Wrong version of
ld-linux-armhf.so.3
? - I'm still on Jessie-build! -
@spud11 Looks fine - i.e. it seems an executable.
-
@mitu Do you know why it fails in this case?
-
Have no idea - @spud11 are you downloading the file and then transferring to the PI ? Can you try downloading it directly on the PI with
wget
:wget https://github.com/mmatyas/GridWars/releases/download/first-build/gridwars-armhf-rel
-
@mitu @cyperghost I'm still on Jessie. Yes, I did transfer from my PC to the pi so I'll use the wget method. Thanks.
-
@mitu @cyperghost. Alright, so I used wget and sudo moved the file to the relevant roms folder and tried running it with ./gridwars-armhf-rel. I got the permission denied error again. I then used
ldd
and got the same response as last time. Using thefile
command, I got the same information as last time. Very odd. Maybe it is something I've done to my system and that is why it just won't work. Or maybe it is the wrong version ofid-linux-armhf.so.3
. -
@spud11 The error
permission denied
is a user right error. I think it's the filesystem - if you are using FAT32 then it's very likely you receive such a message. Try to upload/unpack the archive in directory/home/pi
. Do not use anysudo
command this will overwrite user permission from pi to root.Then use command
chmod +x binaryfilename
to make the binary executable then run the binary with./binaryfilename
no sudo no bash just like I wrote.As ultimate ratio you can use command
sudo chown -R gridwarsdirectory pi:pi
-
@cyperghost Thanks. I wound up putting the files in a sub-folder of my
/home/pi/
folder because, as you said, myroms
folder is on a USB drive. Unfortunately, I still couldn't get it to work. Effectively, I had the same error messages. It's a bit of a pity, but I wonder whether any progress has been made on the porting of it in the meantime by @toto2000.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.