bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 1:19 pm

Image

Because it runs reasonably on the Pi4, Linux Air Combat ("LAC") ought to run splendidly on a Pi5. I really, Really, REALLY want a Pi5 but haven't been able to get one yet. So I am waiting and wondering....

.....How does LAC perform on the Pi5?

( Learn more about LAC here: https://askmisterwizard.com/2019/LinuxA ... neDocs.htm )

Specifically, I am wondering if LAC can have the graphic detail turned up all the way and still deliver silky-smooth flight at 60FPS?

Can somebody please try it and let me know?

Here's a direct link to the "LAC on Raspberry Pi" forum:

https://sourceforge.net/p/linuxaircomba ... spberrypi/

THANKS!

User avatar
B.Goode
Posts: 16313
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 3:40 pm

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: Select all

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

Code: Select all

david@rp54bw64full0512:~/Downloads $ cd Lac09p55/
david@rp54bw64full0512:~/Downloads/Lac09p55 $ ls -al
total 4980
drwxr-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.h
drwxr-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.desktop
drwxr-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.h
drwxr-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.txt
david@rp54bw64full0512:~/Downloads/Lac09p55 $

Run installer with root privs -

Code: Select all

david@rp54bw64full0512:~/Downloads/Lac09p55 $ sudo ./install.sh
Using EXISTING executable subdirectory /usr/bin
Copying main executable file...
/usr/share/lac will be used for resources. Copying icon there...
Copying DefaultHeightMap.LAC into /usr/share/lac
Using EXISTING music subdirectory /usr/share/lac/music
Copying music files into music subdirectory....
Using EXISTING sounds subdirectory /usr/share/lac/sounds
Copying sound files into sounds subdirectory....
Using EXISTING models subdirectory /usr/share/lac/models
Copying model files into models subdirectory....
Using EXISTING textures subdirectory /usr/share/lac/textures
Copying texture files into textures subdirectory....

A fresh copy of LINUX AIR COMBAT has been installed.

david@rp54bw64full0512:~/Downloads/Lac09p55 $ 

Check system-wide executable -

Code: Select all

david@rp54bw64full0512:~/Downloads/Lac09p55 $ cd
david@rp54bw64full0512:~ $ which lac
/usr/bin/lac
david@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 stripped
david@rp54bw64full0512:~ $ ls -al /usr/bin/lac
-rwxr-xr-x 1 root root 1396988 Jan 26 15:33 /usr/bin/lac
david@rp54bw64full0512:~ $ 

Run installed executable -

Code: Select all

david@rp54bw64full0512:~ $ lac
bash: /usr/bin/lac: cannot execute: required file not found
david@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?
Beware of the Leopard

User avatar
rpdom
Posts: 23530
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 4:04 pm

B.Goode wrote:
Fri Jan 26, 2024 3:40 pm
No hint as to what the required file might be.... !
It's a 32-bit executable. I suspect the required file is the /lib/ld-linux-armhf.so.3 mentioned by "file" which is from the libc6:armhf package
Unreadable squiggle

User avatar
B.Goode
Posts: 16313
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

Re: Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 4:18 pm

rpdom wrote:
Fri Jan 26, 2024 4:04 pm
B.Goode wrote:
Fri Jan 26, 2024 3:40 pm
No hint as to what the required file might be.... !
It's a 32-bit executable. I suspect the required file is the /lib/ld-linux-armhf.so.3 mentioned by "file" which is from the libc6:armhf package


I thought I remembered something of the sort from other forum threads.

I am not a Gamer, I don't have any interest in pursuing this(*).

Just seems a simple courtesy to spell out prerequisites when asking for proxy test assistance.


[ * ] Apart from the nostalgic fact that LAC looks superficially like the Flight Sim that Silicon Graphics used to bundle as demo software with their MIPS-based Indigo workstations back in the early 90's. As I recall those boxes were priced in the 10's of £1,000 ukp. And now I can put an RPi[5] in my pocket for under £100 ukp. Crazy....
Beware of the Leopard

ame
Posts: 8960
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 5:12 pm

You could also look into Flight Gear:
https://wiki.flightgear.org/Howto:Build ... berry_Pi_4
Oh no, not again.

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Fri Jan 26, 2024 8:05 pm

From a previous post in this thread:

"Just seems a simple courtesy to spell out prerequisites when asking for proxy test assistance."

Yes. I apologize. I just don't have access to a Raspberry Pi 5 so I couldn't be sure whether the old, precompiled binary (made for Pi4) might work. Thanks for that important detail.

As for prerequisites, anybody that is interested will find that EXTENSIVE documentation can be found through the links I posted. I worry that the documentation is so extensive and so detailed that it may be difficult to find the exact name of known prerequisite libraries for Raspberry Pi. As a consequence of your gentle chastisement, I've made it easier with the following new posting from our "LAC on Raspberry Pi" forum:

https://sourceforge.net/p/linuxaircomba ... 4aabc5073/

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Tue Feb 27, 2024 5:18 pm

YES!!!

I just got my new Raspberry Pi5. I got the 4GB version from the Houston MicroCenter store and put the current version of Raspberry Pi OS on a 32GB flash memory card. Microcenter didn't have any cases or fans or special power supply adapters for the Pi5 so I used my old Pi4 power supply, left the board bare, and just stuck a pair of good heat sinks on the processor and ethernet chips.

I downloaded the source code for LAC version 9.55 from here:

https://sourceforge.net/projects/linuxa ... erry%20Pi/

I had to install two prerequisite libraries using the standard "Add/Remove Software" facility. The two libraries are:

1 of 2: "Image loading library for Simple DirectMedia Layer 1.2 development files"
2 of 2: "Mixer library for Simple DirectMedia Layer 1.2 development files"

I also had to download the free, well-known "Codeblocks" integrated development environment.

Then I used codeblocks to open the "Lac09p55.cpb" codeblocks project file, which configured the compiler for LAC. Using codeblocks drop-down menus for "Build" -> "Rebuild", I watched as all of the source code was compiled and linked without errors. I estimate that this required about 90 seconds.

Then I ran LAC's "install.sh" script with sudo.

After that I was able to fire up a bash shell and run it with this command:

lac

Performance is splendid. With 1280x720 HD resolution, I saw rock-solid, silky-smooth 60 FPS performance with the graphics quality set at "3" (out of 5) and with the render distance set at 170. For comparison, on a Pi4, I run at graphics quality "2" and render distance set at 110. Although those Pi4 settings are perfectly adequate, the additional visual detail is readily apparent on the Pi5 and the fun-factor goes up noticeably. At 1280x720 resolution, it's as smooth and as detailed as my 2 year-old laptop with basic nVidia graphics running at 1920x1080.

I pointed a desk fan at the Pi5 heatsinks while I exercised LAC through several missions. Touching the heatsinks afterward, I felt only a bit of warmth. I am not sure I even need the fan. I'll experiment a little more and report back here about that. I was also pleased to see that the Pi4 power supply delivers adequate power without any problems, even powering my Logitech Extreme 3dPro joystick through one of its USB2 ports.

Stay tuned.... I'll be updating this thread with other details.

: )

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Thu Feb 29, 2024 12:08 am

I just published a 10-minute YouTube clip showing EXACTLY how I downloaded, compiled, and installed Linux Air Combat on my brand-new, never before used Raspberry Pi 5. Because this was a brand new "virginal" Pi 5 with absolutely no applications or tools beyond those that come standard, the video clip covers every single detail. Here's the link:

https://www.youtube.com/watch?v=SSdDu8hN9l8

I hope this helps!

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Thu Feb 29, 2024 2:18 pm

Update: I just completed another brief YouTube video clip showing what LAC looks like on the Raspberry Pi 5 when optimized for best performance in terms of video resolution, visual detail, and render distance. I've added that into the following web page, which also includes video clips showing LAC on the Raspberry Pi model 4b and model 400:

https://askmisterwizard.com/2019/LinuxA ... erryPi.htm

With the information on that page, anybody with a Raspberry Pi 4b, 400, or Pi-5 will be able to download, compile, install, configure, and run LAC without mystery.

We have long published 32-bit LAC precompiled for the Pi4b and Pi400 on Raspbian. Before running the precompiled executable on that platform, it's necessary to install the following free software libraries from the "Add / Remove Software" facility according to the usual pattern:

1 of 3: freeglut3-2.8.1-3 or later
2 of 3: libsdl1.2debian-1.2.15+dfsg2-6~deb10u1 or later
3 of 3: libsdl-mixer1.2-1.2.12-15 or later.

Once you've installed those libraries and downloaded LAC's free archive distribution for Raspberry Pi 4b, you can just sudo/run the "install.sh" shell script (included with the download archive) to install it.

Soon we will also publish LAC precompiled for the Raspberry Pi 5 on 64-bit Raspberry Pi OS. Before running the 64-bit precompiled executable for the Pi5 on that platform, it's necessary to install the following two software libraries from the "Add / Remove Software" facility according to the usual pattern:

1 of 2: libsdl-image1.2-1.2.12-13+b2 (64 bit) or later
2 of 2: libsdl-mixer1.2-1.2.12-17+b3 (64 bit) or later

I will update this thread as soon as the precompiled package is available for the Pi5. Should be within a couple of days.

I hope this helps!

: )
Last edited by bbosen on Sat Mar 30, 2024 8:15 pm, edited 4 times in total.

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Sat Mar 02, 2024 4:32 pm

I just published a precompiled, 64-bit binary executable for the latest, greatest version of Linux Air Combat on the Raspberry Pi5 running Raspbery Pi OS, so users on that platform won't need to compile it from source code any more. I also published a brief YouTube video clip showing EXACTLY how I downloaded it, loaded the single, small, free, prerequisite software library, installed LAC, configured it for beautiful performance on the Pi5, and demonstrated success. I needed only about 12 minutes for the entire process.

Here are the links you need if you want to duplicate my success on your Raspberry Pi5 running 64-bit Raspberry Pi OS:

Download "Lac09p61BetaTestPrecompiledForRaspberryPi5.tar" from HERE:

https://sourceforge.net/projects/linuxa ... tVersions/

View the YouTube "HowTo" video here:
https://www.youtube.com/watch?v=91k9ve_mzz4

NOTE: This is a beta-test version of LAC. Eventually we'll publish production versions and this beta-test version will be removed. At that point you'll need to look for the download within our main set of download pages commencing here:

https://sourceforge.net/projects/linuxaircombat/files/

Within a few days I'll publish detailed instructions and an accompanying YouTube "HowTo" clip showing the easy way to integrate this into your Raspberry Pi main menus so you can access LAC with just one or two mouse clicks, just as you would access your web browser, etc.....


I hope this helps!


: )
Last edited by bbosen on Sat Mar 30, 2024 8:17 pm, edited 1 time in total.

User avatar
Botspot
Posts: 1911
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas

Re: Linux Air Combat on Raspberry Pi 5

Wed Mar 06, 2024 9:58 pm

If someone here is willing to write and maintain installation scripts, we would be happy to add this to Pi-Apps.
Once done, this would be a one-click way for anyone to get the software running, while keeping it regularly updated.
Easily install anything on your Pi using Pi-Apps. Over 2 million users.
Over 200 apps including image editors, IDEs, games, web browsers, appearance themes, and more to upgrade your Raspberry Pi desktop.
More info: https://github.com/Botspot/pi-apps

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Fri Mar 08, 2024 8:51 pm

Botspot wrote:
Wed Mar 06, 2024 9:58 pm
If someone here is willing to write and maintain installation scripts, we would be happy to add this to Pi-Apps.
Once done, this would be a one-click way for anyone to get the software running, while keeping it regularly updated.
Botspot:

Until now I didn't know anything about your "Pi-Apps". A quick net search indicates you now have an EXCELLENT reputation as a source for easy downloading of native Pi/Linux applications.

I would love to see Linux Air Combat among your offerings.

I am uneducated about how to "write and maintain installation scripts" for this situation. Can you point me to someplace where I can learn more?

And I have another question: How does Pi-Apps handle differences between the Pi4 and Pi5 executables?

Thanks!

User avatar
Botspot
Posts: 1911
Joined: Thu Jan 17, 2019 9:47 pm
Location: Texas

Re: Linux Air Combat on Raspberry Pi 5

Fri Mar 08, 2024 9:14 pm

bbosen:

Pi-Apps does not need any specific packaging format. Everything is a script, so in most cases the script to install an app will use wget to download a package or tarfile from some place on the internet, extract it if necessary and then apply any workarounds or customizations necessary.
In some cases we even have the install script actually compile an app from source right on the user's local machine and install it, and at other times the script sets up a 3rd-party apt package repository to keep the package up to date. Whenever the install script for this app changes in the future, Pi-Apps will ask all users who have it installed for permission to update it. For the majority of apps, we simply edit the script and copy in a new version number and all users get the update. It's a really efficient system and one I have not seen used elsewhere.

This script-based system gives us ultimate flexibility. If it can install on a pi, then you can usually take the commands necessary to install it, tweak them a little to meet some of our best practices, and that is about it.
This wiki page tries to provide a helpful walkthrough of the process. https://pi-apps.io/wiki/development/Creating-an-app/

If you need help, I can offer you one-on-one help for quick questions. Just join our Discord server and send me a message. You could also open an issue on github.

I will be honest. Pi-Apps has been a massive success IMO, but right now we are having trouble getting more people to help out. For the past year it has just been me and one other dev working on it. So please, if you encounter any sticking points or confusing bits, please let us know. We want to make this process as intuitive as possible.
Easily install anything on your Pi using Pi-Apps. Over 2 million users.
Over 200 apps including image editors, IDEs, games, web browsers, appearance themes, and more to upgrade your Raspberry Pi desktop.
More info: https://github.com/Botspot/pi-apps

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Fri Mar 08, 2024 9:45 pm

OK. .Thanks for your quick response.

I will need a few days before I can study the material you linked. Because LAC is always available precompiled for the Pi with everything set up for generic use in advance, I think the required script ought to be very simple. I'll get back to you when I can return to this subject.

; )

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Mon Mar 18, 2024 1:26 pm

Botspot:

Thanks for your patience. As an experiment, I wrote a bash script to commence this work.

It commences by checking to see if it's been run before and if so, it cleans up any stale, leftover files from prior use.

Then it installs the single prerequisite library in a manner that is harmless if that prerequisite is already present.

Then it downloads and de-archives the current, precompiled, beta-test, install package for Lac09p61 on the Raspberry Pi 5.

Then it copies the precompiled executable to /usr/bin/lac

Then it copies all other required LAC resource files into a new directory structure at /usr/share/lac.

Prior to each of these steps, the script describes what it is about to do and gives the user 15 seconds to abort by pressing CTRL-C. If the user does NOT issue CTRL-C, the script runs to completion without demanding any input from the user.

Upon completion of the script, the user is informed that Linux Air Combat has been installed, whereupon it can be executed from a bash shell with the following command:

lac

At that point LInux Air Combat starts up immediately and runs as documented on the main LAC web site here:

https://askmisterwizard.com/2019/LinuxA ... neDocs.htm

Obviously, this is my first attempt at a "script" that may become compatible with your "Pi-Apps" resource. I am still enhancing it. I think I will add logic to delete the source code, which is included in the download archive but won't be needed by anybody using Pi-Apps according to this plan.

: )
Last edited by bbosen on Tue Mar 19, 2024 6:27 am, edited 1 time in total.

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Mon Mar 18, 2024 1:59 pm

Botspot:

I just discovered THIS web page:

https://pi-apps.io/wiki/development/Creating-an-app/

From that resource I learned some very nice tweaks that will make my script more compatible with your "Pi-Apps" resource. I will soon update it according to the new guidance I just discovered and try to get it into Pi-Apps accordingly. I don't yet know if I'll be able to use the same script for both 64-bit and 32-bit installations. I'll need a few days to experiment with that, and I'll also need some time to determine if one single script can handle both Raspberry Pi 4b and Raspberry Pi 5.

In the meantime, anybody that wants to try LAC on a Raspberry Pi5 can just duplicate the steps I used in the YouTube videos referenced earlier in this thread. The most comprehensive video showing this is:

https://www.youtube.com/watch?v=91k9ve_mzz4

Regards,


: )

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Wed Mar 20, 2024 3:12 pm

I just published a pretty sophisticated script that ANYBODY can use to install the current, Beta-Test version of Linux Air Combat 9.61 on a Raspberry Pi 5 running 64-bit Raspberry Pi OS. The script automates the process for obtaining all prerequisite libraries. Then it downloads and installs LAC and cleans up after itself. Once you've copied the script text into a local file, marked it as executable, and then started it from a bash console, you'll have LAC installed and ready to run within 5 or 6 minutes while you watch.

I don't know if this will work on a Raspberry Pi 4b or 400 running 64-bit Raspberry Pi OS. (Maybe???....)

It definitely will NOT work on a Raspberry Pi 4b or 400 running 32-bit Raspbian.

You can find this new script in our "LAC on Raspberry Pi" forum. Here's the direct link:

https://sourceforge.net/p/linuxaircomba ... e38100697/

Note that this script installs the current beta-test version of LAC. The script will STOP WORKING when we promote that version to "Production Status because the download archive's URL will move to another address. It looks like that will happen sometime in April2024. At that point I'll probably publish an updated script for future use.

I hope this helps!

: )
Last edited by bbosen on Sat Mar 30, 2024 8:20 pm, edited 1 time in total.

bbosen
Posts: 37
Joined: Sun Jul 19, 2020 9:49 pm

Re: Linux Air Combat on Raspberry Pi 5

Tue Mar 26, 2024 4:11 pm

Another update:

I just published a series of install scripts that fully automate the process for downloading and installing Linux Air Combat on various Raspberry Pi platforms. They are all quite similar, and I've also published a new YouTube video clip showing EXACTLY how I used one of them to install on a brand-new "virgin" Raspberry Pi 5. Here's that video clip:

https://youtu.be/HLAJU_14o2c

There are now four scripts as follows:

1 of 4: "Script to automatically download, compile, and install LAC 9.61 on Pi5".
This is for people using 64-bit Raspberry Pi OS. Link:
https://sourceforge.net/p/linuxaircomba ... c545db8ef/

2 of 4: "Script to automatically download, compile, and install LAC on Raspberry Pi4b or 400 (64 Bit)"
This is for people using 64-bit Raspberry Pi OS. Link:
https://sourceforge.net/p/linuxaircomba ... 23ff15e6c/

3 of 4: "Script to automatically download, compile, and install LAC on Raspberry Pi4b or 400 (32 bit Raspbian)"
This is for people using 32-bit Raspbian. Link:
https://sourceforge.net/p/linuxaircomba ... 4e62807a9/

4 of 4: "Script to automatically install LAC on Raspberry Pi5 (64 bit)"
The oldest of the series, published several days ago and mentioned previously in this thread.
This one is different because it does NOT compile and does not download the compile-related
prerequisite libraries.It downloads a precompiled binary instead. It is for people with
64-bit Raspberry Pi OS. Link:
https://sourceforge.net/p/linuxaircomba ... e38100697/

I exercised all of these quite a bit and I think they are pretty robust, but of course those exercises were all done on my own Raspberry Pi platforms, so your experience may vary a bit if you've already got other software installed. I don't anticipate many conflicts, but I can't guarantee flawless performance for everybody.

I hope this helps!

: )

Return to “Gaming”