Flight sims

Share your own howto's etc. Not for support questions!

Re: Flight sims

Postby arzgi » 2020-10-02 15:31

Warmly welcome and thanks for your great work!

Have to test the 8.32 version some time.
arzgi
 
Posts: 661
Joined: 2008-02-21 17:03
Location: Finland

Re: Flight sims

Postby rjbosen » 2020-10-02 15:44

Ok arzgi! I don't think you will need to recompile it. The binary in the published download package will probably work for you (it wasn't compiled on Debian, but most Debian-derived distros can run it).

:)
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Re: Flight sims

Postby arzgi » 2020-10-02 17:36

rjbosen wrote:Ok arzgi! I don't think you will need to recompile it. The binary in the published download package will probably work for you (it wasn't compiled on Debian, but most Debian-derived distros can run it).

:)


Must be compiled, Debian 10 stable has libc6 2.28, wihtout installing required libc6 2.29. But after compiling (make, make clean, make install) 8.32 works well.
arzgi
 
Posts: 661
Joined: 2008-02-21 17:03
Location: Finland

Re: Flight sims

Postby rjbosen » 2020-10-02 18:21

Was that you in the A6M2 "Zero" flying in "Hyrum's Mission"? I think I saw you connect with the Mumble server too. ??? I was trying to join you but it took me too long to find an available joystick and get everything hooked up.... :?
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Re: Flight sims

Postby arzgi » 2020-10-02 19:15

Most likely someone other, as I just tested free flight.
arzgi
 
Posts: 661
Joined: 2008-02-21 17:03
Location: Finland

Re: Flight sims

Postby rjbosen » 2020-10-03 17:00

Update: In an attempt to make this easier for packagers, I now have a new prototype version 8.33 in my development lab. It adjusts the Makefile and the installer. I still need to test it on several Linux distros before publishing it, but as of right now it installs into /usr/sbin/LAC and autogenerates the configuration and other user-specific files into ~/home/.LAC upon first execution.

The prior version (8.32) has proven to be quite stable. A very few tiny little flaws remain, but I ask users to tolerate them please, since they are only cosmetic and don't cause real trouble for anybody.

The menus label some of the missions "TEST" because they are new. They are intended for future expansion and development by additional developers some day, but they seem stable in their current state, and since no other developers have accepted my invitation to join the team and improve them, I consider version 8.32 to be of "Production" quality. I hope this new version 8.32 can serve as a step toward repository packaging.

I should finish my testing within a couple of days. Then I will announce it in this thread and publish it in my usual distribution archives here:

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

:wink:
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Re: Flight sims

Postby arzgi » 2020-10-03 18:36

Great you stil develop LAC, 8.32 has worked very well, has not stalled even once during the few hours I had time to test.
arzgi
 
Posts: 661
Joined: 2008-02-21 17:03
Location: Finland

Re: Flight sims

Postby sunrat » 2020-10-03 21:57

rjbosen wrote:Update: In an attempt to make this easier for packagers, I now have a new prototype version 8.33 in my development lab. It adjusts the Makefile and the installer. I still need to test it on several Linux distros before publishing it, but as of right now it installs into /usr/sbin/LAC and autogenerates the configuration and other user-specific files into ~/home/.LAC upon first execution.

That's not correct. For packages installed with the system package manager, application executables normally go into /usr/bin/ with their assets in /usr/share/ . For compiled applications, /usr/local/ is normal or sometimes in /opt/. /usr/sbin/ is fairly strictly for system applications which need to be run with administrator privileges.

Thanks for your work anyway. I downloaded and ran 8.32 once but my joystick seems to be temperamental and I didn't have time to look at config.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3244
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Flight sims

Postby rjbosen » 2020-10-03 23:45

I will change it from /usr/sbin to /usr/bin then. Thanks!
:wink:
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Re: Flight sims

Postby sunrat » 2020-10-03 23:59

rjbosen wrote:I will change it from /usr/sbin to /usr/bin then. Thanks!
:wink:

It's actually not that simple. Only the executable goes in /usr/bin/. Libraries in /usr/lib/ assets in /usr/share/ . I see you posted at MX forum as well so I suggest waiting until one of their packagers such as SwampRabbit or Stevo has time to work alongside you and give you some guidance. I'm no packager but it's best to do it right first time than rush it. :wink:
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 3244
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Flight sims

Postby Head_on_a_Stick » 2020-10-04 13:19

I had a quick look at packaging it up and it would be a lot simpler if the installation was performed from the Makefile rather than a separate script. Have you considered moving the project to version control? Github or Gitlab would be nice and would make it much easier for others to contribute.
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 12650
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Flight sims

Postby rjbosen » 2020-10-06 10:15

Thanks for helping me learn about these requirements and conventions.

While I am waiting, I am continuing to apply what I learn. My unpublished version 8.33 is evolving accordingly.

Now I have all of the resource files moved to a new location at /usr/share/lac/. The executable is now at /usr/bin. All of the user-specific configuration files are at ~home/.LAC. I have made progress doing more of the installation steps within the Makefile and minimizing the installation.sh script, but more of that can still be done as I continue to learn. When installers can find time to work on LAC, I will send them this adjusted version if they want it.

As a consequence of these changes, even though LAC's "feature set" has not changed, this new version differs somewhat from my online documentation. To avoid confusion among the community already using LAC, I am just retaining this new version privately, without publishing it, for eventual use by any repository packagers/installers that may want it some day.

:wink:
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Re: Flight sims

Postby milomak » 2020-10-08 21:16

this looks an interesting flight sim project
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10
Laptop: Lenovo ideapad Y700-15ISK [nVidia Optimus] (64-bit) - Sid, Win10, Solus
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid
milomak
 
Posts: 2063
Joined: 2009-06-09 22:20

Re: Flight sims

Postby rjbosen » 2020-10-15 19:29

Update:

I have made more progress to help packagers/installers as I have continued to learn the fine points. The latest version is here:

https://askmisterwizard.com/2019/LinuxA ... p35.tar.gz

Routine users won't see any change in the feature set; menus, flight, missions, and aircraft are all unchanged. But the filesystem arrangement is more compatible with repository distribution as follows:

1- The executable is now named "lac" and is stored at /usr/bin/lac.

2- The required, static resource files are now stored in a new folder, at /usr/share/lac.

3- The "lac" script, previously used for launching the program and stored in the user's home folder, is no longer needed. Now, any player can execute lac from a bash shell located anyplace in the filesystem by simply issuing the "lac" command.

4- The "install" script is simplfied.

(As in prior versions, user-specific configuration files are automatically generated upon first execution and are stored in a hidden folder named ".LAC" at ~home/.LAC.)

This arrangement implies the name "lac" for Linux Air Combat. If installers prefer a different name, they could simply rename /usr/bin/lac to /usr/bin/linuxaircombat or /usr/bin/linux-air-combat or /usr/bin/LinuxAirCombat, etc.

This version will be of little interest to routine LAC players and, since it differs in small ways from our online documentation, I am NOT publishing it in the usual download archives.

I've tested this on several popular LINUX distros with good success. I hope it helps packages/installers.

:)
rjbosen
 
Posts: 7
Joined: 2020-10-02 04:14

Previous

Return to Docs, Howtos, Tips & Tricks

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable