Cerberus on Parrot OS

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
I'm trying to get Cerberus running on Parrot OS Security?
Should I wait till Visual Studio / VS-Codium have replaced Ted so I don't need QT or is there a trick to avoid installing it already available?

I would so love to have Cerberus on my Parrot even if it were only HTML5 for a while.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,167
Its up to you. I predict that it will be a while. Btw. the HTML5 target works just fine in the current VSCode plugin.
Regarding Parrot OS, I certainly won't have time to look into this.
 

Phil7

Administrator
CX Code Contributor
3rd Party Tool Dev
Joined
Jun 26, 2017
Messages
643
Should I wait till Visual Studio / VS-Codium have replaced Ted so I don't need QT or is there a trick to avoid installing it already available?
Why don't you just take the Cerberus X prebuilt package from itch.io? From there you can simply take ted and run it in the latest version if you need to.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
Well that is only part of the complexity of installing Cerberus on Linux, I might try
Manjaro XFCE first.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
I wish that Cerberus would come as an AppImage, is that a possibility in the future?
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,167
So that means, every executable in the CX distribution would need to become an AppImage?
Wouldn't be a script that installs all the dependencies for you much better?
Because the executables of the projects you build would need some dependencies too.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
AppImage would be a general binary package as I understood for all Linuxes, It will be 100Mb+ bc dependencies but I found for most apps it's very convinient. Some cloud-apps have hard time to auto login into in some environments but the big ones works great even for that. I'm not sure how hard it is to create yet, so this is just an idea..

Later It could also include ARM versions ontop of the X64 versions.. I tried to look into other ways distributing apps but personally find portable apps being really nice.
 

dawlane

Well-known member
CX Code Contributor
Joined
Jun 21, 2017
Messages
854
@Jimmy: AppImages are a sand box environment, thus read only. You would not be able to write to any directory contained in that environment. As far as I know, the later version will allow read, write to the user home.
 

MikeHart

Administrator
Joined
Jun 19, 2017
Messages
3,167
It will be 100Mb+ bc dependencies
Sooo..... 100MB+ each for TED, TRANS, MAKEDOCS, CSERVER, CERBERUS. And CX it self should bundle each Build you create yourself too. Never mind the regulations @dawlane mentioned.
And if we add other tools like a FontMaker, MapEditor, SpriteEditor, etc. each add another 100 MB. You see where I am going with this? CX becomes bloatware.
 

dawlane

Well-known member
CX Code Contributor
Joined
Jun 21, 2017
Messages
854
@Jimmy : The rules for AppImage, FlatPak and Snap are one one package for one application. And there are very few sources on how to integrate more that one binary into any of them and possibly requires changes to all the code to make it work. If it was possible without jumping through hoops, then I would have written and posted a script for creating one a long time ago.

How MonkeyX, thus Cerberus X is meant to work without installing it to any of supported operating systems. MonkeyX for Linux was an after thought, which was always an issue with Blitz Research products that claimed to be cross platform and always received very few updates. Linux support was only added to MonkeyX when a few of us did a bit of hacking to at least get the desktop game building.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
Not bloatware, if it's impossible to package just the very thing that Cerberus is, then it's a no from me too.
It would have been an amazing package if anyone could download a simple package to do what they want. But I see now, .. it's something that I might tinker with alone though becuase it's a lot of fun to have tools in nice neat small files. Very small files.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
Parrot OS Security is one of the Linuxes that lack the compile headers for graphics libraries installed (the apps will run without them but to compile in Cerberus you therefore need to
do this before using Cerberus to compile to desktop Linux platform :

sudo apt-get install golang gcc libgl1-mesa-dev xorg-dev

sudo apt-get install libxmu-dev libxi-dev libxinerama-dev libxrandr-dev libxcursor-dev libudev-dev libopenal-dev libmotif-dev unixodbc-dev lib32stdc++6 libgl1-mesa-dev libz-dev libxxf86vm-dev clang
 

Attachments

  • Cerberus.png
    Cerberus.png
    744.3 KB · Views: 13

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
Maybe not exactly as smooth as macOS or Windows (or HTML5 on MacOS) but still 60fps while pumping up the sprites on this amazing Linux distro.

Parrot is incredibly stable and reliable but it's not always gives you that snappyness you'd want, but it's decent on my low-end machine here with 4GB and a bad processor. But in Cerberus little window.. it flies.
This was a very nice suprise. I don't need any lighter Linux anymore.
 

Phil7

Administrator
CX Code Contributor
3rd Party Tool Dev
Joined
Jun 26, 2017
Messages
643
Did you build it yourself or did you use the prebuilt version and then install the dependencies?
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
For now I just downloaded the existing binary package. Very happy to get this going so easily though.

Right now I'm exploring and am discovering that it really loves native resolution the best.
It actually gives me perfect graphics on a Intel GMA 500, okay sometimes I get middlescreen-tearing but I think this has something to do with the OS-settings.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
It works without a problem now. I didn't have to do anything except go fullscreen. My shittiest computer feels like new. Love it! Windowed mode probably need some setting in the window manager.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
I still need to solve Android Studio. Do you use guys use Snap, it seems simple enough but I'm not sure I wanna try that if they use telemetrics. Do you use the direct download link or something else?
 

Phil7

Administrator
CX Code Contributor
3rd Party Tool Dev
Joined
Jun 26, 2017
Messages
643
I only tried it with manjaro. There I used the direct download link and instructions of the readme if I remember correctly. There were no issues installing it.
For Java (in config.linux.txt) I set it to the one from android studio in the "jre" folder. It would be interesting if the config.cxs file from the macOS java fix also works on linux.
This week I am on vacation, so I cannot try it myself until next week.
 

Jimmy

Active member
3rd Party Module Dev
Tutorial Author
Joined
Jan 2, 2020
Messages
919
Okay good to know I use Manjaro whenever I want to squeesh performance out of devices but I don't like switching Linuxes but the good news is that Parrot Security loves Cerberus so far, not a single problem.

Well I wish for lower resolutions to work fullscreen without tearing. I think most Linux drivers use a simple timer to come up with an idea when the vblank should be happening, and changing from native fullscreen to some other fullscreen resolution mess this up. I could probably program the resolution manually but on the other hand it's not important as Parrot Security gave me x8 - x10 more power than Win10.

Enjoy your vaccation! I'm gonna be buzy the coming week working on the the appstore project and maybe the game competition..

But this is good news!
 
Top Bottom