How To Load Several Addons Simultaneously

How To Load Several Addons Simultaneously

What permissions do you give others to modify and/or maintain your submission?
Modify: YES - Maintain: YES - I give permission for my entire submission to be modified by others or used in their own work. I give permission for my entire submission to be maintained by others as well.
Hey! Do you want to play with several addons at the same time? Then surely you aren't a big fan of having to go through the addon menu, loading your addons one at a time, every single time you want to play. It's pretty exhausting, if you ask me. Luckily, there is a way to load all your addons at once. In fact, there's 3 of them!

Here are the methods, one by one:

Note: This guide will be using Ring Racers as an example, however the 2nd and 3rd methods should also work on SRB2 and SRB2Kart, and the 1st method might also work on the latter.

Method 1: Replays

This first method is the easiest to understand, and doesn't involve any file creation or editing. Here's how it works:

1. Load your addons as normal.
ringracers0446.png

This step is obvious: go into the addon menu and load your addons! Make sure that you're not accidentally loading any addons that you actually don't want to use, as you can't unload them without restarting the game.

Once you've loaded all the addons you want, it's time for Step 2:

2. Save a replay.
ringracers0447.png

This next step is much quicker. Go into any map (Test Run Zone is preferable, though if you don't have that map unlocked yet, you can use a different map). Then, complete it and press Look Back or Brake to save a replay! Name it whatever you want, and make sure to remember the name so you can find it later.

And that's it! Now, every time you want to load your addons, you can simply go to the Replay Menu and load up the replay, like this:
ringracers0448.png

and your addons will be automatically loaded, in the same order as when you first loaded them!

Pros:
  • Simple to understand
  • Doesn't require the console, only the ingame menus
Cons:
  • If you want to unload, add, or update any files, you have to repeat the entire process.
That con may be a bit much for some people, so let's try the 2nd method!

Method 2: Auto-loading File

This method is easy to explain. Rather than loading all the addons yourself, you can simply create a text file to do the loading for you! Obviously, you'll need to know your way around file management to do this, so make sure you do. (Though, if you're playing this game there's probably a high chance you do)

1: Create the file.
1748667102561.png

While in the main game's folder, right click to bring up this menu. Hover over New, then click Text Document to create, well, a new text document!
1748667202365.png

Name it however you want, but make sure to change the file extension to .cfg. If you can't see file extensions, make sure to check File Name Extensions.
1748667331816.png

However, this isn't the only way. Instead of naming it whatever.cfg, you can also:
  • Specifically name the file to ringexec.cfg (or autoexec.cfg outside of Ring Racers). This will automatically run the file whenever you start the game! However, you will most likely not be able to join any servers after using this method, only hosting your own.
  • Change the file extension to .bat instead of .cfg. By running this file, you can run the game and load your addons automatically. Additionally, you can also run the game itself instead of the .bat file to load the game without your addons, allowing for more flexibility.
All 3 of these have slightly different setups outside of the name and file extension, so pay attention for which one you're planning on using.

Step 2: addfile

Next, it's time to configure your file to actually load your addons! Load the file in Notepad and start typing in the following:
1748668087384.png

Every line is gonna have addfile followed by the addon you wish to load.
Simply repeat this process for every addon you want!

However, if your file is either ringexec.cfg or a .bat file...
You'll want to use -file instead of addfile. If you use the latter in a file that's loaded on game start, it won't work.​

And if you're using a .bat file specifically...

You'll need to put in ringracers.exe (or the name of the .exe file of whichever game you're doing this for) before all of the text in the file. Otherwise, your file won't know that it needs to actually load the game first!​

3: Load the file!

If you're using ringexec.cfg or a .bat file, simply running the game (for ringexec.cfg) or the .bat file (for, well, you know) will automatically run the file, loading your addons on startup. However, if you're using a custom named .cfg file, you'll need to load it in the game itself, using the console. You can do this like so:
1748668968588.png


And that's it! Whenever you want to play again, simply repeat step 3. Whenever you want to update your file (perhaps either to update an addon, or put in new ones), it's as simple as editing the text file!

Another neat thing about files like these is that the can be used for more than just loading addons. You can also execute console commands, and do some interesting things! Take a look at this link for more information: https://wiki.srb2.org/wiki/Console#Commands_and_variables

Pros:
  • Can be easily edited
  • Can be used for more than just addon loading
Cons:
  • Everything needs to be typed in manually, which depending on how many addons you have, can take a long time...
That con is pretty noteworthy, and is honestly the reason why I've never used this method. However, this next method, which as far as I know, has not been shown by anyone else, is much quicker...

Method 3: Auto-loading File (but fast)

This method is definitely the most unique, as it requires some things you probably never knew your PC can do. This method may or may not work on Mac or Linux, as I don't know whether or not they possess the features necessary for this method. If they don't, then users of them may need to use the other 2 methods.

1: Select your ENTIRE addon folder
1748669835361.png

Yup! Just like that!
This is where it helps best to organize your files into additional folders, so you don't have to select everything at the same time. Personally, I like to sort them by type of addon, which in this case I'm using my maps folder.

2: Click on "Copy Path"
1748670008887.png

Did you know that this button exists? Because it does!
Pressing it will copy the name of the file path of every addon you've selected, which conveniently includes the name of the files themselves!

If you're doing this on Mac, you can press Command+Option+C to do the same thing.
If you're doing this on Linux, simply using Ctrl+C will work too.

3: Step 1 of Method 2
1748667202365.png

...Not much to say here. Just read above for more info.

4: Paste!
1748671004643.png

Look at that! All your addons, in one place. And you didn't even need to type a thing!
But now you will, as this will clearly not work on it's own.
Note that your filepaths may look different from mine, so you'll need to adjust the upcoming steps accordingly.

5: Find and Replace
1748671121075.png

Click here to bring up the Find and Replace menu. From there, you can edit much of the text at once to turn this into a usable file!
1748671310554.png

Simply put in the file path that all your addons share (without the actual name of the addons themselves) and replace them with either addfile or -file , depending on the type of file you're using. Don't forget the space!
1748671498436.png

If anything got added AFTER the filenames (like, say, a quotation mark), make sure to replace it with Nothing to delete it.
1748671589758.png

And just that, now your file can be loaded, and it will load the addons!
But that doesn't exactly mean it's ready.

6: Remove Duplicate Addons
1748671672324.png

If your setup already has only one of each addon, then you won't need to do this. But if it doesn't, then you'll need to remove all but one version of the same addon (preferably the one survivor being the latest version). After all, if your game had to load so many of 1 mod, that would be a BIG waste of time, would it not?

And that's it! Load the file in the same way as in Method 2, and you're ready to play!

Pros:
  • Much quicker to set up than Method 2
  • Has all the pros of Method 2 as well
Cons:
  • While it is fast, this method is definitely not simply. I mean, just look at all those steps!

That's the end of this guide! Hopefully by now you have a quick and easy way to access all of your favorite mods at once! If you know of any other methods that you would like to see added to this guide, let me know in the addon discussion page, or on the KKD or SRB2 Discord.

Happy playing!
  • 1748666956016.png
    1748666956016.png
    1.1 KB · Views: 34
  • 1748667008272.png
    1748667008272.png
    36.9 KB · Views: 36
  • 1748670839299.png
    1748670839299.png
    83.1 KB · Views: 30
  • 1748671257728.png
    1748671257728.png
    29 KB · Views: 28
Author
Begine9
Views
643
First release
Last update

More resources from Begine9

Share this resource

Back
Top