Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5324

Gaming • Re: Linux Air Combat on Raspberry Pi 5

$
0
0
Given that it's your forum and possibly your pet project, perhaps you could encourage helpers by giving some brief installation guidelines.

My attempt has fallen at the first hurdle -

RPi5-4G
RasPiOS Bookworm 64-bit

Downloaded -

Code:

david@rp54bw64full0512:~/Downloads $ ls -al Lac09p55.apk -rw-r--r-- 1 david david 51225937 Jan 26 13:34 Lac09p55.apkdavid@rp54bw64full0512:~/Downloads $ file Lac09p55.apk Lac09p55.apk: Zip archive data, at least v1.0 to extract, compression method=storedavid@rp54bw64full0512:~/Downloads $ 
Unpacked using default tool in graphical file manager -

Code:

david@rp54bw64full0512:~/Downloads $ cd Lac09p55/david@rp54bw64full0512:~/Downloads/Lac09p55 $ ls -altotal 4980drwxr-xr-x 5 david david   4096 Nov 22 20:56 .drwxr-xr-x 5 david david   4096 Jan 26 13:34 ..-rw-r--r-- 1 david david  26623 Nov 18 20:25 3ds.cpp-rw-r--r-- 1 david david   4132 Nov 18 20:25 3ds.h-rw-r--r-- 1 david david 260634 Nov 18 20:25 aiobject.cpp-rw-r--r-- 1 david david  16293 Nov 18 20:25 aiobject.h-rw-r--r-- 1 david david  68225 Nov 18 20:25 audio..cpp-rw-r--r-- 1 david david  69446 Jul 28 16:56 audio.cpp-rw-r--r-- 1 david david   9632 Nov 18 20:25 audio.hdrwxr-xr-x 8 david david   4096 Sep  2 03:08 bin-rw-r--r-- 1 david david  54294 Feb  6  2022 cb.bmp-rw-r--r-- 1 david david  93846 Nov 18 20:25 cockpit.cpp-rw-r--r-- 1 david david   1683 Nov 18 20:25 cockpit.h-rw-r--r-- 1 david david   8019 Nov 18 20:25 common.cpp-rw-r--r-- 1 david david   7976 Nov 22 19:06 common.h-rw-r--r-- 1 david david 150621 Nov 18 20:25 conf.cpp-rw-r--r-- 1 david david   2754 Nov 18 20:25 conf.h-rw-r--r-- 1 david david   2729 Nov 18 20:25 config.h-rw-r--r-- 1 david david 525312 Nov 18 15:54 DefaultHeightMap.LAC-rw-r--r-- 1 david david   7865 Nov 18 20:25 dirs.cpp-rw-r--r-- 1 david david   1720 Nov 18 20:25 dirs.h-rw-r--r-- 1 david david  27105 Nov 18 20:25 effects.cpp-rw-r--r-- 1 david david   5757 Nov 18 20:25 effects.h-rw-r--r-- 1 david david  19394 Nov 18 20:25 fileloader.cpp-rw-r--r-- 1 david david   6432 Nov 18 20:25 fileloader.h-rw-r--r-- 1 david david  40717 Nov 18 20:25 FlightModel.cpp-rw-r--r-- 1 david david  10801 Nov 18 20:25 gl.cpp-rw-r--r-- 1 david david   2609 Nov 18 20:25 gl.h-rw-r--r-- 1 david david 115213 Nov 18 20:25 glland.cpp-rw-r--r-- 1 david david   6999 Nov 18 20:25 glland.h-rw-r--r-- 1 david david      0 Feb  6  2022 GunCamHistory.LAC-rwxr-xr-x 1 david david   2723 Nov 18 20:33 install-rwxr-xr-x 1 david david   2723 Nov 15 12:35 install.sh-rw-r--r-- 1 david david   3085 Nov 15 12:32 Lac09p55.cbp-rw-r--r-- 1 david david  13681 Nov 18 20:32 Lac09p55.depend-rw-r--r-- 1 david david   2624 Nov 18 20:32 Lac09p55.layout-rw-r--r-- 1 david david  23199 Feb  6  2022 LacConfig.txt-rw-r--r-- 1 david david   6876 Jul 28 16:57 LacControls.Generic.txt-rw-r--r-- 1 david david   6592 Jul 28 16:57 LacControls.Sidewinder2.txt-rw-r--r-- 1 david david   6906 Jul 28 16:57 LacControls.SteamDeck.txt-rw-r--r-- 1 david david   6876 Jul 28 16:57 LacControls.txt-rw-r--r-- 1 david david    223 Jul 28 16:57 lac.desktop-rw-r--r-- 1 david david    266 Jul 28 16:57 LacGlobal.desktopdrwxr-xr-x 4 david david   4096 Nov 18 20:44 LacMenuLauncher11-rw-r--r-- 1 david david   2070 Jul 28 16:57 lac.png-rw-r--r-- 1 david david  60007 Nov 18 20:25 land.cpp-rw-r--r-- 1 david david   4458 Nov 18 20:25 land.h-rw-r--r-- 1 david david  13934 Nov 18 20:25 loader_tga.cpp-rw-r--r-- 1 david david   1066 Nov 18 20:25 loader_tga.h-rw-r--r-- 1 david david 759255 Nov 18 20:31 main.cpp-rw-r--r-- 1 david david   4569 Nov 18 20:25 main.h-rw-r--r-- 1 david david    533 Nov 15 12:36 Makefile-rw-r--r-- 1 david david   2972 Nov 18 20:25 mathtab.cpp-rw-r--r-- 1 david david   1745 Nov 18 20:25 mathtab.h-rw-r--r-- 1 david david  19245 Nov 18 20:25 menu.cpp-rw-r--r-- 1 david david   4440 Nov 18 20:25 menu.h-rw-r--r-- 1 david david 178639 Nov 18 20:25 mission.cpp-rw-r--r-- 1 david david  12219 Nov 18 20:25 mission.h-rw-r--r-- 1 david david  53166 Nov 13 20:51 MissionNetworkBattle01.cpp-rw-r--r-- 1 david david  51106 Nov 13 20:52 MissionNetworkBattle02.cpp-rw-r--r-- 1 david david  51902 Nov 13 20:52 MissionNetworkBattle03.cpp-rw-r--r-- 1 david david 297196 Nov 13 20:52 MissionNetworkBattle04.cpp-rw-r--r-- 1 david david  74408 Nov 13 20:53 MissionNetworkBattle05.cpp-rw-r--r-- 1 david david 120694 Nov 13 20:53 MissionNetworkBattle06.cpp-rw-r--r-- 1 david david 297196 Nov 13 20:53 MissionNetworkBattle07.cpp-rw-r--r-- 1 david david 297196 Nov 13 20:54 MissionNetworkBattle08.cpp-rw-r--r-- 1 david david 297196 Nov 13 20:54 MissionNetworkBattle09.cpp-rw-r--r-- 1 david david 297196 Nov 13 20:54 MissionNetworkBattle10.cpp-rw-r--r-- 1 david david  51550 Nov 18 20:25 model.cpp-rw-r--r-- 1 david david  11329 Nov 18 20:25 model.h-rw-r--r-- 1 david david  68668 Nov 18 20:25 NetworkApi.cpp-rw-r--r-- 1 david david   6402 Nov 18 20:25 NetworkApi.hdrwxr-xr-x 4 david david   4096 Sep  2 03:08 obj-rw-r--r-- 1 david david   8465 Nov 18 20:25 object.cpp-rw-r--r-- 1 david david   2809 Nov 18 20:25 object.h-rw-r--r-- 1 david david  11386 Nov 18 20:25 objload.cpp-rw-r--r-- 1 david david   1791 Nov 18 20:25 objload.h-rw-r--r-- 1 david david     89 Jul 28 16:57 OnlineScoreLog.LAC-rw-r--r-- 1 david david   2021 Nov 18 20:25 pilots.cpp-rw-r--r-- 1 david david   2301 Nov 18 20:25 pilots.h-rw-r--r-- 1 david david  14169 Oct 27 13:48 README.txt-rw-r--r-- 1 david david   5284 Nov 18 20:25 vertexarray.cpp-rw-r--r-- 1 david david   3097 Nov 18 20:25 vertexarray.h-rw-r--r-- 1 david david 219345 Nov 18 20:30 WhatsNew.txtdavid@rp54bw64full0512:~/Downloads/Lac09p55 $

Run installer with root privs -

Code:

david@rp54bw64full0512:~/Downloads/Lac09p55 $ sudo ./install.shUsing EXISTING executable subdirectory /usr/binCopying main executable file.../usr/share/lac will be used for resources. Copying icon there...Copying DefaultHeightMap.LAC into /usr/share/lacUsing EXISTING music subdirectory /usr/share/lac/musicCopying music files into music subdirectory....Using EXISTING sounds subdirectory /usr/share/lac/soundsCopying sound files into sounds subdirectory....Using EXISTING models subdirectory /usr/share/lac/modelsCopying model files into models subdirectory....Using EXISTING textures subdirectory /usr/share/lac/texturesCopying texture files into textures subdirectory....A fresh copy of LINUX AIR COMBAT has been installed.david@rp54bw64full0512:~/Downloads/Lac09p55 $ 

Check system-wide executable -

Code:

david@rp54bw64full0512:~/Downloads/Lac09p55 $ cddavid@rp54bw64full0512:~ $ which lac/usr/bin/lacdavid@rp54bw64full0512:~ $ file /usr/bin/lac/usr/bin/lac: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-armhf.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=f1b690bc48ea72e3ca0fd96af881a200fa5f23b1, not strippeddavid@rp54bw64full0512:~ $ ls -al /usr/bin/lac-rwxr-xr-x 1 root root 1396988 Jan 26 15:33 /usr/bin/lacdavid@rp54bw64full0512:~ $ 

Run installed executable -

Code:

david@rp54bw64full0512:~ $ lacbash: /usr/bin/lac: cannot execute: required file not founddavid@rp54bw64full0512:~ $ 


No hint as to what the required file might be.... !




{Edit: Added later - }

The README on the Sourceforge site says -
The "*.apk" files stored here contain Linux Air Combat precompiled for use on Raspberry Pi 4b and Raspberry Pi Model 400 hardware on the "Raspbian" operating system.
Raspbian has only ever been a 32-bit OS. Does that mean that the installation is not valid on a RasPiOS 64-bit system?

Statistics: Posted by B.Goode — Fri Jan 26, 2024 3:40 pm



Viewing all articles
Browse latest Browse all 5324

Trending Articles