SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion

Reply
 
Thread Tools Search this Thread
Old 12-07-2018   #1
Digiku
Developer
Default Linux and macOS Ports

Linux and macOS Ports

For macOS users: jump to the end of the post.

As of SRB2 v2.1.21, we have brought back Linux builds for Ubuntu and Debian-based users. You may install SRB2 via our APT PPA respository.

SRB2 is installed to "/usr/games/SRB2" and a program icon is added to your Application Manager. You may place addons into your home directory .srb2 folder: "~/.srb2"

Here's how to install the game:

If you are using Ubuntu:

Ubuntu has built-in support for PPA repositories, so all you need to do is install using your terminal:

Code:
sudo add-apt-repository ppa:stjr/srb2
sudo apt-get update
sudo apt-get install srb2
If you are using a Debian-based distro:

Debian can run the same packages that are provided in the repository. You may need to add the PPA manually.

The simple way, using add-apt-repository:

If you are using Debian Jessie or earlier, skip to the next section. Do not use this method.

To use the add-apt-repository command, you need to install the following package:

Debian Stretch and later:

Code:
sudo apt-get install software-properties-common
Now add the PPA repository and install SRB2.

Code:
sudo add-apt-repository ppa:stjr/srb2
sudo apt-get update
sudo apt-get install srb2
The long way, if you cannot use add-apt-repository:

First, install dirmngr so you can retreive the PPA signing key.

Code:
sudo apt-get install dirmngr
Next, add the following lines to /etc/apt/sources.list

Debian Buster or later, add these lines to sources.list:

Code:
deb http://ppa.launchpad.net/stjr/srb2/ubuntu cosmic main
deb-src http://ppa.launchpad.net/stjr/srb2/ubuntu cosmic main
Debian Stretch, add these lines to sources.list:

Code:
deb http://ppa.launchpad.net/stjr/srb2/ubuntu bionic main
deb-src http://ppa.launchpad.net/stjr/srb2/ubuntu bionic main
Debian Jessie or earlier, add these lines to sources.list:

Code:
deb http://ppa.launchpad.net/stjr/srb2/ubuntu trusty main
deb-src http://ppa.launchpad.net/stjr/srb2/ubuntu trusty main
Now, retrieve the PPA signing key for the repository.

Code:
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0B1702D71499D9C25F986507F240F4449D3B0EC6
Finally, update your apt listings and install SRB2.

Code:
sudo apt-get update
sudo apt-get install srb2
If SRB2 does not work when you install it, try building from the source package:

This assumes that you added the PPA repository, as above.

PHP Code:
# Install build dependencies

sudo apt-get build-dep srb2 srb2-data

# Change to a folder of your choice, where the binary packages will be built

mkdir ~/Packages
cd 
~/Packages

# Build the SRB2 package

apt source -t bionic --build srb2
apt source 
-t bionic --build srb2-data

# Install the SRB2 package
# Replace [version] and [i386/amd64] with appropriate strings.

sudo dpkg -i srb2_[version]_[i386/amd64].deb
sudo dpkg 
-i srb2-data_[version]_all.deb 
If you are using a non-Debian distro:

You are welcome to build SRB2 from the source code. Download a copy of the source from GitLab, and see Source code compiling from the SRB2 Wiki.

macOS Port

Download the macOS DMG Installer here.

When the DMG image is finished download, double-click on it to mount it. To install SRB2, click and drag the SRB2 icon to the Applications folder or a location of your choice.

Your game data and mods will be located in your home folder: "~/srb2"

If SRB2 is not allowed to run:

You may get a message that states SRB2 is not allowed to run.



You can run SRB2 by going to System Preferences > Security & Privacy



Click on "Open anyway".

If that prompt doesn't show up, you may need to select "Allow apps downloaded from App Store and identified developers". Then try running the program again and open this settings page again to trigger this prompt.

Last edited by Digiku; 12-08-2019 at 01:37 PM.
Digiku is offline   Reply With Quote
Old 12-25-2018   #2
Blur
Default

I'm getting a crash every-time on the mac version.
Blur is offline   Reply With Quote
Old 03-08-2019   #3
blankzmusic
 
blankzmusic's Avatar
Default

The Mac version won't open. It installed perfectly but unfortunately when I open the application the game doesn't start. The only thing that pops up is "Sonic Robo Blast 2 quit unexpectedly".
__________________
New album coming soon on all platforms.
blankzmusic is offline   Reply With Quote
Old 08-23-2019   #4
tabu
Default

not sure how specific this issue is but i feel i should mention it for potential documentation. when i first installed srb2 on my laptop running xubuntu, it wouldn't start at first. running the executable just gave me nothing but running it from the terminal told me i was missing the 'libpng16' dependency so i had to enter 'sudo apt-get install libpng-dev' in the terminal to install that dependency and srb2 ran fine afterwards. i'm assuming other distros might come with it out-of-the-box or something but for anyone else in the position i was, that should fix it.

Last edited by tabu; 08-23-2019 at 04:53 AM.
tabu is offline   Reply With Quote
Old 12-07-2019   #5
espectalll123
 
espectalll123's Avatar
Default

Hi, thank you for the new release! I've tried to install it on my Debian Sid (which tried to act as Ubuntu Focal), but that wasn't available, so I changed to Eoan, but the libopenmpt dependency couldn't be found. I try to go back version by version, editing the sources.list.d file, and it finally worked with Cosmic... which actually had SRB2 2.1. Oops?

On one hand, I think there's a Debian-specific issue due to it calling the package "libopenmpt0" in its official repos instead of "libopenmpt". On the other hand, I've already seen someone else dealing with a similar issue in Ubuntu Eoan. What could be done here, then?

Thank you in advance! ^_^

P.S.: hey, if any forum admin is there, would it be possible to change my username, please? Just saying...

Last edited by espectalll123; 12-07-2019 at 11:30 PM.
espectalll123 is offline   Reply With Quote
Old 12-08-2019   #6
Digiku
Developer
Default

I fixed the packages to accept "libopenmpt0". Refresh your APT and try installing SRB2 again.
Digiku is offline   Reply With Quote
Old 12-08-2019   #7
espectalll123
 
espectalll123's Avatar
Default

Quote:
Originally Posted by Digiku View Post
I fixed the packages to accept "libopenmpt0". Refresh your APT and try installing SRB2 again.

Great, I can confirm it works now after setting it to Eoan! Thanks a lot!!!
espectalll123 is offline   Reply With Quote
Old 12-30-2019   #8
sks316
 
sks316's Avatar
Default

Can the person in charge of distributing the Linux port please please PLEASE distribute separately for Debian instead of relying solely on the PPAs? Or at least as an AppImage? Ubuntu PPAs aren't meant to be used with standard Debian! Using the PPA on Debian installations can lead to broken packages, which will ultimately result in a FrankenDebian!
Quote:
Originally Posted by DontBreakDebian - Debian Wiki
Repositories that can create a FrankenDebian if used with Debian Stable:
  • Debian testing release (currently bullseye)
  • Debian unstable release (also known as sid)
  • Ubuntu, Mint or other derivative repositories are not compatible with Debian!
  • Ubuntu PPAs

Source: DontBreakDebian - Debian Wiki
sks316 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:04 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.