bijman / srb2bld Goto Github PK
View Code? Open in Web Editor NEWPOSIX shell script that eases compiling, installing or creating AppImage/Flatpak/App Bundle/Android APKs of Sonic Robo Blast 2 related builds.
License: MIT License
POSIX shell script that eases compiling, installing or creating AppImage/Flatpak/App Bundle/Android APKs of Sonic Robo Blast 2 related builds.
License: MIT License
This is both a question and a feature request. Is it possible to add a build option to create a Flatpak?
e.g. $HOME/.local/bin
or $HOME/bin
As NixOS doesn't have /usr
To nix profile install
as nix-env is now deprecated
With the announcement and release as of 24.04.2024 of next generation of SRB2 Kart - Ring Racers - and how much this game differentiate from original SRB2 Kart v1.0, this game will be included to build targets in the next update of srb2bld.
Example, using Spectrum's uncapped remake, it uses the folder .srb2customuncapped-remake
but after updating the build using srb2bld -up
a new folder is created .srb2custom
podman doesn't have a daemon and is rootless
Preparing directories to store Sonic Robo Blast 2's source code, assets and libraries. Please wait...
/usr/local/bin/srb2bld: line 895: arch: command not found
/usr/local/bin/srb2bld: line 895: arch: command not found
/usr/local/bin/srb2bld: line 895: arch: command not found
Installing missing dependencies for Sonic Robo Blast 2 Custom srb2ucpr to the system. Please wait...
installing 'nix-index-unstable-2022-03-07'
this derivation will be built:
/nix/store/2x8m03b23kw9cxmi209xy89v6js0r45s-nix-index-unstable-2022-03-07.drv
this path will be fetched (2.37 MiB download, 11.20 MiB unpacked):
/nix/store/ir90192wdrk5da5p880cxxz8kd06f8lq-nix-index-unstable-2022-03-07
copying path '/nix/store/ir90192wdrk5da5p880cxxz8kd06f8lq-nix-index-unstable-2022-03-07' from 'https://cache.nixos.org'...
building '/nix/store/2x8m03b23kw9cxmi209xy89v6js0r45s-nix-index-unstable-2022-03-07.drv'...
error: this derivation has bad 'meta.outputsToInstall'
https://github.com/Bijman/srb2bld/assets/146545399/56568f7a-bfad-4fb4-8474-2445fb59976a
its not fixed (somehow)
Originally posted by @LegoLuigiJumpscare in #24 (comment)
Linking lsdl2srb2.debug...
../make/linux/64/SDL/objs/sdl/i_system.o: In function `I_ReportSignal':
/home/zesi/.local/share/srb2bld/builds/srb2/src/sdl/i_system.c:411: undefined reference to `SDL_OpenURL'
collect2: error: ld returned 1 exit status
Makefile:325: recipe for target '../bin/lsdl2srb2.debug' failed
make: *** [../bin/lsdl2srb2.debug] Error 1
make: Target 'all' not remade because of errors.
make: Leaving directory '/home/zesi/.local/share/srb2bld/builds/srb2/src'
This is an issue that occurs when trying to compile SRB2 2.2.12, that happens due to the SDL2 version in this being outdated, and not supporting SDL_OpenURL. If I remove the offending line, then SRB2 successfully compiles despite this. Had to resort to doing this to upload a compatible appimage to the SRB2 discord, since I'm unfamiliar with how docker works.
For clarity, I'm using the "2212-pre1" branch to compile this, you'll encounter the same issue if you try this branch.
built Uncapped Plus with Discord RPC and Mixer X
I get this error when trying to launch:
srb2ucp: error while loading shared libraries: libSDL2_mixer_ext.so.2: cannot open shared object file: No such file or directory
Being able to add builds as a flake
I'm wholly unsure why this doesn't compile, since it compiles just fine on opensuse, and someone else's machine (not with srb2bld), using the docker found in the commit 6c34f02
Here's a crash log:
crash-log.txt
And maybe some relevant compiler errors:
message.txt
See moby/moby#9976
include a custom libgme that uses MAME rather than Nuked-OPN2 when building with Mixer X
While trying to compile srb2 2212 pre2 (still isn't working, had to remove that sdl_openurl line) I tried to point the asset file to a local one, since the prompt for it claims it supports it:
Please enter Sonic Robo Blast 2's assets path, or just press enter to download and extract the latest SRB2/SRB2Kart stable release assets. Supported links/paths:
...
- full path to downloaded archived file in formats supported by p7zip (https://www.7-zip.org) or full path to directory with build's assets, for example /home/zesi/Downloads/SRB2.zip for Linux and macOS or C:\Downloads\SRB2.zip for Windows.
When I try to do just that, i.e. point to /home/zesi/Downloads/srb2win_v2212-pre2.zip
, it straight up doesn't work, and produces an AppImage without those assets bundled in. However when I supply, say, a Google Drive link, that works fine. Not sure what's up with that, but, it's definitely a bug.
the name of the binary for custom builds is static, which makes it harder if not impossible to have multiple builds
This happens post compilation while trying to install HEP on Almalinux 9
Refreshing package database for Sonic Robo Blast 2 Kart HEP to find packages matching missing library. Please wait...
Installing missing dependencies for Sonic Robo Blast 2 Kart HEP to the system. Please wait...
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
usage: dnf install [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]] [--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]]
[--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]] [--disablerepo [repo] |
--repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]]
[--repofrompath [repo,path]] [--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6]
[--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement] [--newpackage]
[--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH]
PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE
Refreshing package database for Sonic Robo Blast 2 Kart HEP to find packages matching missing library. Please wait...
Installing missing dependencies for Sonic Robo Blast 2 Kart HEP to the system. Please wait...
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
Error: No matches found. If searching for a file, try specifying the full path or using a wildcard prefix ("*/") at the beginning.
usage: dnf install [-c [config file]] [-q] [-v] [--version] [--installroot [path]] [--nodocs] [--noplugins]
[--enableplugin [plugin]] [--disableplugin [plugin]] [--releasever RELEASEVER] [--setopt SETOPTS]
[--skip-broken] [-h] [--allowerasing] [-b | --nobest] [-C] [-R [minutes]] [-d [debug level]]
[--debugsolver] [--showduplicates] [-e ERRORLEVEL] [--obsoletes]
[--rpmverbosity [debug level name]] [-y] [--assumeno] [--enablerepo [repo]] [--disablerepo [repo] |
--repo [repo]] [--enable | --disable] [-x [package]] [--disableexcludes [repo]]
[--repofrompath [repo,path]] [--noautoremove] [--nogpgcheck] [--color COLOR] [--refresh] [-4] [-6]
[--destdir DESTDIR] [--downloadonly] [--comment COMMENT] [--bugfix] [--enhancement] [--newpackage]
[--security] [--advisory ADVISORY] [--bz BUGZILLA] [--cve CVES]
[--sec-severity {Critical,Important,Moderate,Low}] [--forcearch ARCH]
PACKAGE [PACKAGE ...]
dnf install: error: the following arguments are required: PACKAGE
[...]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.