Package Details: srb2kart 1.3-4

Git Clone URL: https://aur.archlinux.org/srb2kart.git (read-only, click to copy)
Package Base: srb2kart
Description: Source code modification of Sonic Robo Blast 2 with kart racing elements
Upstream URL: https://mb.srb2.org/showthread.php?t=43708
Keywords: sonic_robo_blast_2_kart srb2kart
Licenses: GPL3
Submitter: SteelTitanium
Maintainer: SteelTitanium
Last Packager: SteelTitanium
Votes: 11
Popularity: 0.021153
First Submitted: 2019-01-21 04:28 (UTC)
Last Updated: 2022-06-01 20:31 (UTC)

Latest Comments

SteelTitanium commented on 2022-06-01 01:12 (UTC)

@gameslayer @Riksu9000 Added aarch64 support, considering discord-rpc-api being replaced with discord-rpc-git forced me to update anyways.

Riksu9000 commented on 2021-09-07 08:56 (UTC)

These are the changes required to fix aarch64 build.

diff --git a/PKGBUILD b/PKGBUILD
index e40ec1c..e2d00cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ pkgver=1.3
 _dataver=1.3
 pkgrel=2
 pkgdesc="Source code modification of Sonic Robo Blast 2 with kart racing elements"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'aarch64')
 license=('GPL2')
 url='https://mb.srb2.org/showthread.php?t=43708'
 depends=('sdl2' 'sdl2_mixer' 'libpng' 'libgme' "srb2kart-data>=$_dataver")
@@ -39,7 +39,7 @@ sha256sums=('SKIP'
 build() {
   cd "$srcdir"/Kart-Public/src

-  [ "$CARCH" == "x86_64" ] && _buildflags+="LINUX64=1 " || _buildflags+="LINUX=1 "
+  [ "$CARCH" == "x86_64" -o "$CARCH" == "aarch64" ] && _buildflags+="LINUX64=1 " || _buildflags+="LINUX=1 "

   if [ "${_use_discordrpc}" = "y" ]; then
     _buildflags+="HAVE_DISCORDRPC=1"
@@ -50,7 +50,7 @@ build() {
 }

 package() {
-  [ "$CARCH" == "x86_64" ] && IS64BIT="64" || IS64BIT=""
+  [ "$CARCH" == "x86_64" -o "$CARCH" == "aarch64" ] && IS64BIT="64" || IS64BIT=""
   install -Dm755 "$srcdir"/Kart-Public/bin/Linux$IS64BIT/Release/lsdl2srb2kart \
     "$pkgdir"/usr/bin/srb2kart

gameslayer commented on 2020-08-23 14:14 (UTC) (edited on 2020-09-14 14:44 (UTC) by gameslayer)

Can you please update the makepkg file and add aarch64 to support Arm64 raspberry pi 4, I made a couple changes to the makepkg file to make it work and it works fine

Aicaya commented on 2020-07-11 15:59 (UTC) (edited on 2020-07-11 16:37 (UTC) by Aicaya)

I'd been having the same segfault issue and tried everything, so out of curiosity I decided to download the git version and that one works properly. I don't know which commit fixes it exactly (minor guess: this commit mentions OpenGL crashing on startup), but it does mean the next release will likely have that fixed so there's that.

DilithiumNitrate commented on 2020-05-26 18:17 (UTC)

I'm getting segfaults on both of my Arch Linux machines, one with Intel graphics and the other with AMD graphics, when loading this game with OpenGL enabled. Consistently, even after trying to adjust compilation flags or compiling with CMake. Software rendering works, however.

zetaPRIME commented on 2020-03-15 16:27 (UTC) (edited on 2020-03-15 16:30 (UTC) by zetaPRIME)

The particular issue seems to be that those directories get their user write bits removed somehow??

EDIT: it's just leftover from a previous version it looks like; reinstalling doesn't result in the same error

treier57lol commented on 2020-03-14 06:07 (UTC) (edited on 2020-03-14 06:22 (UTC) by treier57lol)

Still getting the same error on pamac and yay. Also pamac failes to clone the packages at all.

==> Removing existing $srcdir/ directory...
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/ENMY': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/OBJE': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/KAOB': Permission denied
rm: cannot remove '/home/treier57lol/.cache/yay/srb2kart/src/mdls/KAPL': Permission denied

==> ERROR: An unknown error has occurred. Exiting...
Error making: srb2kart

Edit: after removing the cache files manualy I could install with yay successfully although it still couldn't remove the folders, but pamac still doesn't even clone the build files.

SteelTitanium commented on 2020-03-14 03:16 (UTC)

Updated the data package, which should hopefully fix those errors once and for all

BrianAllred commented on 2020-03-13 23:46 (UTC)

git was removed from makedepends in the past few days. Can't build in a clean chroot anymore.

SteelTitanium commented on 2020-03-13 05:41 (UTC) (edited on 2020-03-13 05:41 (UTC) by SteelTitanium)

@toeshred That should have been fixed by the latest update to the srb2kart-data package, did it not work?

toeshred commented on 2020-03-13 04:45 (UTC) (edited on 2020-03-13 04:46 (UTC) by toeshred)

I get the following when trying to build this package:

rm: cannot remove '/home/username/.cache/yay/srb2kart/src/mdls/OBJE': Permission denied
rm: cannot remove '/home/username/.cache/yay/srb2kart/src/mdls/ENMY': Permission denied
rm: cannot remove '/home/username/.cache/yay/srb2kart/src/mdls/KAPL': Permission denied
rm: cannot remove '/home/username/.cache/yay/srb2kart/src/mdls/KAOB': Permission denied

==> ERROR: An unknown error has occurred. Exiting...

I manually removed those 4 empty directories, but same problem again.

Jwhat commented on 2020-01-31 07:21 (UTC)

Not sure if this is a issue with the client on Linux, but the 3D models do not load.

SteelTitanium commented on 2019-10-01 02:51 (UTC)

@PedroHLC Done

PedroHLC commented on 2019-09-27 15:03 (UTC)

Please add git as makedepency, it's required when building from a clean chroot.

SteelTitanium commented on 2019-01-31 06:18 (UTC)

@birbhorse Random thought. But have you tried launching the game with -nomusic or -win? I wonder if this is an bugs that needs to be fixed upstream or not.

birbhorse commented on 2019-01-30 23:39 (UTC) (edited on 2019-01-30 23:44 (UTC) by birbhorse)

Hey there! After building this, I'm getting a bizzare error where after the game launches, the window refuses to actually render and instead opens and closes rapidly and repeatedly.

I'm using Antergos 64-bit, installed on 19.1. This installation is basically fresh since 2 days ago, with the only programs installed being Discord, Vivaldi, Inkscape, and some gnome themes (though I'm running on Budgie if that's of any help).

Here's a log: https://pastebin.com/neVze9Ab

Interestingly, SRB2, which is also on the AUR, has no issues running. Here's a log of regular SRB2 running: https://pastebin.com/AJa6ZeDp

EDIT: Just to clarify, I ran both without entering any prompt, e.g. "srb2kart" and "srb2". If I launch both using OpenGL, SRB2kart still has the same issue, and SRB2 still works fine.

I also tried running SRB2kart without sound using "srb2kart -nosound", since the logs indicated some issue with sound, but no difference occurred, it still crashed.

EDIT 2 (final one I swear): I also tried installing "lib32-alsa-plugins" per suggestion of a google search, still didn't fix the issue at hand.