• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Linux game distribution

muruba

New member
CX Code Contributor
3rd Party Module Dev
Tutorial Author
Patreon Silver
Joined
Jul 5, 2017
Messages
230
Hi game devs!

I am wondering what would be the preferred format of linux CX game distribution? RPM? ZIP file? Anything else?

Thank you

Cheers
 
When it comes to distribution of software in Linux you have to think of:
  1. The target distribution: Are you targeting Debian, Ubuntu, Fedora, etc. If you are targeting multiple distributions you have to make sure that it will work across all platform.
  2. Can the end user install the additional packages required? If not, then you have to choose between using the default package manager systems on each of the target distributions, or write a custom script to install the required dependencies. Note that package management systems can be a pain in the backside. They are mostly geared up to to building everything from source code. It is possible to package pre-built binaries, but requires knowledge of each type of package manager and you will be installing directly into the system file systems, so you have to understand what goes where and file permissions and group management. If they can install the required dependencies then a simple README/INSTALL file with a few instruction would do.
The easiest way to distribute on Linux is of course to use the tar.gz archive format. This preserves file permissions and save the user having to set execute permissions manually.

Edit: There is another way where you can create self-extracting archives, and I did knock up a tool that helped to build such things. Note that I haven't checked it in a while so caveat emptor.
 
Last edited:
Speaking of Linux Application distribution. There is a new portable format that seems to becoming more popular.
Check out AppImage.

AppImage works in a similar fashion to an apple application bundle. The idea is you set up a file system just like a *nix file system with any share libraries that you require in the correct places with a start up script. You the use the tool to create the AppImage archive that you can run just like any other application.

This would be useful for something like Ted to break away from the standard packages that you download from the distributions online repositories.
 
Last edited:
Back
Top Bottom