Resource icon

srb2bld - SRB2 Build/Package manager CLI

Installation of docker and reboot of computer for Windows should be enough.

Try disabling any antivirus software or firewall that may be blocking the installation process. Try running the Docker Desktop installer as an administrator.
I tried running as administrator, but it still says "Your PC cannot run this program". I then realized I just had to download a version tailor-made for x86 computers like mine.

All that's left is to ask a simple question: Where does Docker get involved with srb2bld?
 
Last edited:
Hello, i have successfully installed your compiler in my Steam Deck, but when i try to compile or make a flatpak of SRB2 TSoURDt3rd, it fails to download any file for the build and says i don't have enough storage. I have 400gb in my steam deck, so i don't think that's the problem. I attached somme images to show you the problem.

Update:Nevermind, all i had to do is just install to directory, but now it asks me for compilation flags, which ones should i install for linux?
 

Attachments

  • Screenshot_20240916_095815.png
    Screenshot_20240916_095815.png
    234 KB · Views: 28
  • Screenshot_20240916_095838.png
    Screenshot_20240916_095838.png
    271.1 KB · Views: 29
  • Screenshot_20240916_095859.png
    Screenshot_20240916_095859.png
    265.9 KB · Views: 23
  • Screenshot_20240916_095920.png
    Screenshot_20240916_095920.png
    222.3 KB · Views: 30
Last edited:
Im trying to build Ring Racers Noire but it gets stuck on this stage, is there any way to fix it? (Im on windows 10 pro x64 with a core i5-7200u, 256GB SSD, and 8GB of ram. Im also using the latest version of docker and git bash.)
1726487869432.png


UPDATE: Never mind, I just waited a while and i also turned off Real Time Protection in Windows Defender, it builds now!
 
I tried running as administrator, but it still says "Your PC cannot run this program". I then realized I just had to download a version tailor-made for x86 computers like mine.

All that's left is to ask a simple question: Where does Docker get involved with srb2bld?
Docker (or Podman) creates containerized environment with installed libraries and compilers within Linux container to cross-compile SRB2/SRB2Kart/RingRacers/etc. exe file for Windows. This makes building more consistent across different systems and managing dependencies, versions, and configurations without conflicts or discrepancies that might arise from different development environments.

Hello, i have successfully installed your compiler in my Steam Deck, but when i try to compile or make a flatpak of SRB2 TSoURDt3rd, it fails to download any file for the build and says i don't have enough storage. I have 400gb in my steam deck, so i don't think that's the problem. I attached somme images to show you the problem.

Update:Nevermind, all i had to do is just install to directory, but now it asks me for compilation flags, which ones should i install for linux?
Please check free space in the Steam Deck with command df -Th in your terminal. Also check, if directory /home/deck/.local/share/docker that stores Docker container data exists from file manager (Dolphin) or terminal using ls -l /home/deck/.local/share/docker. Did you installed rootless docker as instructed from srb2bld's README for immutable systems with?:
desktop-1003x277.png
 
Last edited:
Docker (or Podman) creates containerized environment with installed libraries and compilers within Linux container to cross-compile SRB2/SRB2Kart/RingRacers/etc. exe file for Windows. This makes building more consistent across different systems and managing dependencies, versions, and configurations without conflicts or discrepancies that might arise from different development environments.


Please check free space in the Steam Deck with command df -Th in your terminal. Also check, if directory /home/deck/.local/share/docker that stores Docker container data exists from file manager (Dolphin) or terminal using ls -l /home/deck/.local/share/docker. Did you installed rootless docker as instructed from srb2bld's README for immutable systems with?:
View attachment 142335
Oh, I thought you didn't need it if you installed podman, but I was wrong. Thanks, also, I have already installed dependencies with Arch.
But now it asks me for compilation flags, which one should i use?
 
Last edited:
Docker (or Podman) creates containerized environment with installed libraries and compilers within Linux container to cross-compile SRB2/SRB2Kart/RingRacers/etc. exe file for Windows. This makes building more consistent across different systems and managing dependencies, versions, and configurations without conflicts or discrepancies that might arise from different development environments.
Cool. Now with that question outta the way, how exactly do I use Docker to compile any build of Vanilla SRB2/SRB2Kart/Double R/whatever into an executable file?
 
Cool. Now with that question outta the way, how exactly do I use Docker to compile any build of Vanilla SRB2/SRB2Kart/Double R/whatever into an executable file?
If you followed installation steps and installed successfully Docker on Windows, then enter srb2bld -i in Git Bash to compile and install your selected build.
 
I have an Steam Deck, i have installed SRB2bld and i'm trying to compile StarManiaKG's custom build, TSoURDt3rd. But when it was aboit to get installed, it asks me to use certain compilation flags for the build.Idk what the flags are, but i think they are:
DUMMY=1 SDL=1 HAVE_LIBGME=1 HAVE_MIXERX=1,am i right?
 
I (possibly) installed Ring Racers Noire using srb2bld, and suddenly BLAMMO!! Docker decides that it will not obey me and will not start...

EDIT: All it needed was a good ol' computer restart. Phew.

When I opened up Docker after the restart, there is a build called "srb2-games-windows-container". Does it include Ring Racers Noire?
 
Last edited:
I have an Steam Deck, i have installed SRB2bld and i'm trying to compile StarManiaKG's custom build, TSoURDt3rd. But when it was aboit to get installed, it asks me to use certain compilation flags for the build.Idk what the flags are, but i think they are:
DUMMY=1 SDL=1 HAVE_LIBGME=1 HAVE_MIXERX=1,am i right?
- DUMMY=1 - Does not seem to work. At least when I last time checked on Linux.
- SDL=1 - This should be fine. However, it is automatically set with LINUX64=1.
- HAVE_LIBGME=1 - Ok
- HAVE_MIXERX=1 - Ok

I (possibly) installed Ring Racers Noire using srb2bld, and suddenly BLAMMO!! Docker decides that it will not obey me and will not start...

EDIT: All it needed was a good ol' computer restart. Phew.
Glad you solved the issue.
When I opened up Docker after the restart, there is a build called "srb2-games-windows-container". Does it include Ring Racers Noire?
srb2bld adds desktop menu entries to OS, so you can find Ring Racers Noire from Start menu in "SRB2 Games" folder or you can check .exe file in "C:\Users\[YOUR LOGIN]\SRB2 Games\Ring Racers Noire".
 
srb2bld adds desktop menu entries to OS, so you can find Ring Racers Noire from Start menu in "SRB2 Games" folder or you can check .exe file in "C:\Users\[YOUR LOGIN]\SRB2 Games\Ring Racers Noire".
The unfortunate fact of the matter is that the folder (SRB2 Games) didn't get created. What did I do wrong?
 
The unfortunate fact of the matter is that the folder (SRB2 Games) didn't get created. What did I do wrong?
Hmm.. wasn't there any error message in red about issue when running srb2bld? Could you show me screenshot of output from SRB2BLDDEBUG=1 srb2bld?
 
Last edited:
Here's the screenshot of it having (possibly) finished installing Ring Racers HEP2
Thank you. It appears with the last line for Ring Racers HEP2 is that the problem is caused by missing DLL libraries to be copied. Which build's branch did you choose when you run srb2bld? Installing this build works for me by choosing default git branch and the latest commit by just pressing enter for each prompt.
 
Thank you. It appears with the last line for Ring Racers HEP2 is that the problem is caused by missing DLL libraries to be copied. Which build's branch did you choose when you run srb2bld? Installing this build works for me by choosing default git branch and the latest commit by just pressing enter for each prompt.
me choose master.png

This was the branch I chose when I first tried installing it.
 
Bijman updated srb2bld - SRB2 Build/Package manager CLI with a new update entry:

Update 2024-10-05

Here is an update that solves issues I detected and were reported by users on Linux distros:
- Steam Deck's SteamOS,
- Fedora Silverblue, Fedora Kinoite, Universal Blue (Bazzite, Aurora etc.),
- NixOS,
- Chrome OS,
- openSUSE,
- Musl-based Linux OS like Alpine and Void Linux.

Fixes:
- Improved detection of read-only root system for Immutable/Atomic Linux,
- Improved detection of passwordless user account in Linux environment (Chrome OS, Chromius OS, Crostini),
- Fixed issue of...

Read the rest of this update entry...
 
So, have you found out the issue with selecting this branch?
Current commit from srb2bld's GitHub repository has fixed issue with your chosen assets from local or remote path not extracting when switching to branch other than default, and also some build Ring Racers adjustments. I checked that "master" branch for Ring Racers HEP2 builds on Windows with no problem.

However, this branch "master" is for old v2.1 version of vanilla Ring Racers. So if you want all features from Ring Racers HEP2, select branch "idk" (you don't even have to select "idk" when asked to select branch since it is set as default, if you only press enter).
 
Last edited:

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top