2.1.0 version for Raspberry Pi??

Discussion about other and unofficial ports of ScummVM

Moderator: ScummVM Team

Post Reply
Bernard_Bernoulli
Posts: 3
Joined: Mon Dec 16, 2019 1:37 pm

2.1.0 version for Raspberry Pi??

Post by Bernard_Bernoulli »

Hi people,

Just wondering if the official binary of version 2.1.0 will soon be available for the Raspberry Pi from
https://www.scummvm.org/downloads/

Maybe I could do it myself, but I wonder why it's necessary to use cross-compilation instead of being able to do it directly from a Raspberry Pi?
I'd like to do it from this tiny computer...

Someone can help me on this?
Thanks!
User avatar
Praetorian
ScummVM Developer
Posts: 781
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: 2.1.0 version for Raspberry Pi??

Post by Praetorian »

Bernard_Bernoulli wrote: Tue Dec 17, 2019 12:57 pm Hi people,

Just wondering if the official binary of version 2.1.0 will soon be available for the Raspberry Pi from
https://www.scummvm.org/downloads/

Maybe I could do it myself, but I wonder why it's necessary to use cross-compilation instead of being able to do it directly from a Raspberry Pi?
I'd like to do it from this tiny computer...

Someone can help me on this?
Thanks!
I don't think that you have to cross-compile necessarily.
You can try to compile ScummVM locally if you can set up the proper building environment. I'd suggest to start with a minimal build (just one engine or no engines) to see if any issues come up and to get an idea of how long it would take to compile.
Bernard_Bernoulli
Posts: 3
Joined: Mon Dec 16, 2019 1:37 pm

Re: 2.1.0 version for Raspberry Pi??

Post by Bernard_Bernoulli »

Hey thanks for the tip!

The only tutorial I know for the Raspberry is this one:
https://wiki.scummvm.org/index.php?titl ... cummVM/RPI

But there's also a more generic one for Linux:
https://wiki.scummvm.org/index.php?titl ... cummVM/GCC

Is there a more detailed tutorial somewhere?
But I don't see any reference to the engines in these 2 links ... How is it possible to select a particular one?

Thanks!
User avatar
Praetorian
ScummVM Developer
Posts: 781
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: 2.1.0 version for Raspberry Pi??

Post by Praetorian »

Bernard_Bernoulli wrote: Tue Dec 17, 2019 1:31 pm Hey thanks for the tip!

The only tutorial I know for the Raspberry is this one:
https://wiki.scummvm.org/index.php?titl ... cummVM/RPI

But there's also a more generic one for Linux:
https://wiki.scummvm.org/index.php?titl ... cummVM/GCC

Is there a more detailed tutorial somewhere?
But I don't see any reference to the engines in these 2 links ... How is it possible to select a particular one?

Thanks!
Yes, you can use the "configure" command to set parameters for your build including the engines to compile

So for example this should compile only for the Beneath the Steel Sky engine (sky):

Code: Select all

./configure --disable-all-engines --enable-engine=sky
For the available options you could issue:

Code: Select all

./configure --help
Bernard_Bernoulli
Posts: 3
Joined: Mon Dec 16, 2019 1:37 pm

Re: 2.1.0 version for Raspberry Pi??

Post by Bernard_Bernoulli »

I finally had a little time to test all of this...
Everything works fine! I used the standard procedure for Linux.

In my opinion, I find that the "Raspberry Pi" section of the Wiki is not really clear...
How is it possible to update it? Can I do it myself?

Same question to upload the new version in the "Raspberry Pi download" section of the site.
Can I do it myself?
User avatar
Praetorian
ScummVM Developer
Posts: 781
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: 2.1.0 version for Raspberry Pi??

Post by Praetorian »

Bernard_Bernoulli wrote: Wed Jan 08, 2020 12:57 pm I finally had a little time to test all of this...
Everything works fine! I used the standard procedure for Linux.

In my opinion, I find that the "Raspberry Pi" section of the Wiki is not really clear...
How is it possible to update it? Can I do it myself?

Same question to upload the new version in the "Raspberry Pi download" section of the site.
Can I do it myself?
I don't think that you can directly edit the wiki, but you can probably find some developer that will work with you on this issue.
I'd suggest that you'll get a faster response on our official Discord server.
BlueFrog
Posts: 7
Joined: Tue May 30, 2017 2:56 am
Location: Edmonton, Canada

Re: 2.1.0 version for Raspberry Pi??

Post by BlueFrog »

Bernard_Bernoulli wrote: Wed Jan 08, 2020 12:57 pm I finally had a little time to test all of this...
Everything works fine! I used the standard procedure for Linux.

In my opinion, I find that the "Raspberry Pi" section of the Wiki is not really clear...
How is it possible to update it? Can I do it myself?

Same question to upload the new version in the "Raspberry Pi download" section of the site.
Can I do it myself?
Bernard, any chance you could post your instructions on getting 2.1 here in the thread? Thanks!
User avatar
Praetorian
ScummVM Developer
Posts: 781
Joined: Tue May 08, 2007 8:54 am
Location: Greece
Contact:

Re: 2.1.0 version for Raspberry Pi??

Post by Praetorian »

BlueFrog wrote: Thu Jan 30, 2020 6:11 am Bernard, any chance you could post your instructions on getting 2.1 here in the thread? Thanks!
Hi! I've updated the wiki page for cross-compiling for Raspberry Pi here:
https://wiki.scummvm.org/index.php?titl ... cummVM/RPI

If you are using a Raspberry Pi 2 or newer (which adopt the ARM7 architecture) then a more straightforward way to setup the building environment on your host PC (running a Debian based Linux distro) can be shown in this Dockerfile:
https://github.com/antoniou79/scummvm-r ... Dockerfile

Basically, the method shown in the Dockerfile skips the steps of installing on the Raspbian and then copying over from the Raspbian OS SD Card, the headers and the developer libraries to the host PC. Instead, it uses the Debian packages for the armhf architecure for the toolchain and libraries.
Post Reply