Pages: 1
  Print  
Author Topic: Compile enigma on ClockworkPI GameShell  (Read 2855 times)
Offline (Unknown gender) Rebusmind
Posted on: August 11, 2019, 03:42:56 AM

Member
Joined: Aug 2019
Posts: 6

View Profile
Hi there,

I'm a game developer using Game Maker (been using it for 10 years) and I recently bought a GameShell, which is best described as a Linux handheld with an ARM architecture. I'm not too familiar with the specifics, but I'd love to port some of my smaller Game Maker projects to the GameShell and from what I've heard ENIGMA is the only viable option to achieve this.

So far I've tried putting ENIGMA on my GameShell to build directly on the device (I've tried this tutorial and read through this), but during the process I got a lot of fatal errors because of a missing "project.pb.h".

If somebody here knows a way to make ENIGMA run on the GameShell and would like to share his knowledge with a total beginner, that would be very much appreciated.
Logged
Offline (Male) hpg678
Reply #1 Posted on: August 11, 2019, 07:18:11 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email

Greetings!

i've looked at your post with interest and is looking into your issue. In writing this,  i have downloaded a Raspberry PI emulator on my Windows 8.1 PC and is looking setup ENIGMA.  Bearing that Raspberry OS is debian based, the Linux installer method indicated in the WIKI should work.

I've also taken a look at the GameShell console. I'm impressed as far as first impressions go. Based on the specs I've seen advertised, it has Linux 4.1 Kernal. Don't know if it is possible to do, but you may have to install a desktop environment like LXDE, MATE, DEBIAN etc, if there is not one already installed.  Then it should be viable to install ENIGMA.

I'll continue to look into this, so be on the look out for updates.

 (Y) (Y)

Logged
Hugar
Offline (Male) time-killer-games
Reply #2 Posted on: August 11, 2019, 05:44:57 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
Don't know if it is possible to do, but you may have to install a desktop environment like LXDE, MATE, DEBIAN etc, if there is not one already installed.

Debian is not a desktop environment. I seriously doubt an entire desktop environment can be installed on this thing.
Logged
Offline (Male) hpg678
Reply #3 Posted on: August 16, 2019, 09:32:48 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Greetings!


I've been able to install a Raspberry PI emulator on my Windows machine, but I've not been able to go any further yet.


I was thinking that if it is possible to have WINE or something similar to run Windows games, then it would be matter of compiling them as Windows .exe. As of the moment ENIGMA doesn't compile to ARM. I've been assured that 'it isn't that difficult to do' but time has me constrained for now. However, I do intend to look into it next week.



Logged
Hugar
Offline (Unknown gender) Rebusmind
Reply #4 Posted on: August 17, 2019, 02:42:33 PM

Member
Joined: Aug 2019
Posts: 6

View Profile
As of the moment ENIGMA doesn't compile to ARM. I've been assured that 'it isn't that difficult to do' but time has me constrained for now. However, I do intend to look into it next week.
That's weird, the only reason I looked into ENIGMA was because someone in the GameShell forums told me it was able to combile to ARM. :D
Thanks for looking into the issue, I still feels very much lost. ^^'
Logged
Offline (Male) hpg678
Reply #5 Posted on: August 20, 2019, 06:31:22 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Greetings!


Progress has been a bit disappointing when compiling ENIGMA. The errors i've encountered has to do with google protobuffers and libpugxml which are essential to building the compiler. The IDE LGM, loads up fine. I will continue to look into it.


I installed Raspbian Desktop onto a laptop and that is what i am using to test. The Laptop is a HP Pavillion dv6-321 with an AMD CPU, 6GB of DDR3 Ram and a 120GB SATA Hard drive. The OS is Debian 9. I've gotten Windows 32bit software to run, including Gamemaker 8 Pro and other games/projects compiled with ENIGMA.


So there you have it. Sorry its not good news but rest assured, I will continue to work on it.
Logged
Hugar
Offline (Male) hpg678
Reply #6 Posted on: August 22, 2019, 08:08:23 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Greetings! I am so happy to announce that finally, I have been able to build ENIGMA and compile an empty game.  :dance: :dance:

Whew......that was indeed quite a challenge! At times it was frustrating, but in the end......totally worth it.  (Y) (Y)

I will be doing a video on it on my YouTube channel as well as an article on the procedure I did. In a nutshell, I had to


  • Update my Debian 9(Stretch) to Debian 10(Buster)
  • Download and Update Google Protobuf libraries
  • Install additional dependencies to cross-compile (although you don't have to if u want to)
  • modifying the Installation script for Linux Users in the WIKI


Logged
Hugar
Offline (Unknown gender) Rebusmind
Reply #7 Posted on: August 22, 2019, 09:53:39 AM

Member
Joined: Aug 2019
Posts: 6

View Profile
Wow, that's fantastic news! :D

Could you maybe write down the steps to compile an ENIGMA project directly on the GameShell? I'm planning to mostly test on Windows first and only as a last step compile and test on the GS, so I was hoping that I wouldn't need to set up a cross-compiling solution as well.

Once again thanks so much for taking the time to figure this out! :)
Logged
Offline (Male) hpg678
Reply #8 Posted on: August 23, 2019, 01:27:48 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Ok. So I've completed a short guide for you to follow. This guide covers installing the Raspberry PI Desktop onto a PC which in theory, should work as if running an actual Raspberry PI or Gameshell.


there are 3 formats available.


  • Word document
  • Pdf
  • Chm or Windows Help file
Download link is here. Hope you enjoy building games with Enigma. (Y) (Y)
Logged
Hugar
Offline (Unknown gender) Rebusmind
Reply #9 Posted on: August 24, 2019, 02:48:16 AM

Member
Joined: Aug 2019
Posts: 6

View Profile
That's amazing, thanks so much!

I will go through the mentioned steps and see if I can get it working directly on the GameShell and then report back. :)
Logged
Offline (Unknown gender) Rebusmind
Reply #10 Posted on: August 24, 2019, 08:21:07 AM

Member
Joined: Aug 2019
Posts: 6

View Profile
Okay, I think it worked, at least I didn't get any fatal errors anymore. ^^

One thing: in the pdf it says "libpngxml-dev" at the end of the dependencies, but (hopefully) it should be "libpugixml-dev".

Now the only question is how do I compile on the GameShell. I think I have to use the emake command, but when I use the example from this link it says "No such file or directory". Do I have to install emake separately?

EDIT:
I think I'm slowly getting there. I figured out that "make emake" is the line I was looking for. Now I'm installing other dependencies for that like rapidjson and yaml-cpp. Hopefully there is an end in sight soon, cause while making progress I still have no idea what I'm actually doing. ^^
« Last Edit: August 24, 2019, 02:18:45 PM by Rebusmind » Logged
Offline (Male) hpg678
Reply #11 Posted on: August 24, 2019, 07:09:19 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Taking into account that the Gameshell has 1Gb of Ram, i think using emake would be your best option. However I dont use it, so I can't be of much help to you in this area. You'd be better off asking one of the others on the Discord channel.


In either case, I am happy to be of some help to you. Here's hoping you do succeed either way.

Logged
Hugar
Offline (Male) time-killer-games
Reply #12 Posted on: August 25, 2019, 02:50:16 AM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1157

View Profile Email
Join our discord and I'll help you with emake. It's not that hard once you know what you can use for each command line option, and where you get that info. My username on there is Samuel Venable.
« Last Edit: August 25, 2019, 02:54:10 AM by time-killer-games » Logged
Offline (Unknown gender) Rebusmind
Reply #13 Posted on: August 25, 2019, 08:37:29 AM

Member
Joined: Aug 2019
Posts: 6

View Profile
Yay, I got it working after installing rapidjson, yaml-cpp and boost! Already compiled a tiny test game. :)

Can't wait to get a real game working on it. :D


« Last Edit: August 25, 2019, 09:00:58 AM by Rebusmind » Logged
Offline (Male) hpg678
Reply #14 Posted on: August 25, 2019, 05:11:49 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 261

View Profile Email
Congratulations! That's really wonderful to hear.
Logged
Hugar
Pages: 1
  Print