SRB2 Message Board  

Go Back   SRB2 Message Board > > News

Thread Tools Search this Thread
Old 12-07-2018   #1
LoganA's Avatar
Default SRB2 version 2.1.21 patch release

Posted by mazmazz on 12-07-2018 02:12 PM.

It’s 2.1-ception! When will it end?!?! We know you love us more than Smash Bros., so have a shiny new release on our backs!

Major impact changes:
  • New default controls: We revised our default controls so that our new players may play more effectively. They default to first-person style movement controls using the W-A-S-D keys, while the camera is controlled using the mouse or arrow keys. Read How to Play for a short explanation of these controls.
    If you are upgrading from an existing SRB2 installation, you will keep your old controls.
  • Improved Gamepad Support: It is now entirely possible to operate SRB2 on a gamepad alone. Analog sticks are now active on the menu. We improved their sensitivity to be less slippery in-game. We also allow you to map any button to pop up the system menu, take a screenshot, or make a GIF. Just don’t forget to set your button controls in the Options.
  • PK3 addons: SRB2 now supports PK3-format addons! PK3 is a compressed format that allows addon authors to use a folder structure that organizes graphics, Lua, SOCs, maps, and everything else into one package. Now addons can be smaller, more organized, and more future-proof for later requirements.
  • First 64-bit release: We are now releasing SRB2 in both 32-bit and 64-bit formats. For the most demanding content, you may enjoy up to a 64% performance boost! Netgaming is compatible between 32-bit and 64-bit players. Most, if not all addons will work with the two versions.
    If you have a computer built after 2004, you can most likely run the 64-bit release.
  • Linux and macOS releases: Cross-platform is back in style! We have an APT repository link for Ubuntu and Debian users, while macOS users can download a DMG install package. Again, these versions are netgame-compatible and 99% of addons should work as intended.
    However, these are experimental releases and we may not provide them in the future. Please give us feedback and submit bugs!
Minor impact changes:
  • OpenGL performance: OpenGL has been made more performant and has received a few visual fixes. Large maps (such as Aerial Garden) now render more reliably. Screenshots and wipes now work correctly on non-native resolutions.
  • Lua additions: Lua now has support for slopes, including P_GetZAt() to get the Z position of a sloped point. You can use searchBlockmap to look for objects within proximity. For HUD, hud.enabled() and v.getLocalTransFlag() are added. There is now a PlayerQuit hook, as well as a variable to check for Ultimate Mode.
  • No more SRB2DD: As of this release, we are dumping the old srb2dd.exe. We have kept it for compatibility reasons in the past, but we did not support it. A significant bug has now prevented us from releasing it further. Please use srb2win.exe from now on — it is more stable and it has the newest fixes.
This release has a large collection of individual bug fixes, so go after the jump to read them!


  • New Feature: PK3 support added, go nuts!
  • New Feature: Textures on FOF walls can now be skewed with respect to slopes.
  • New Feature: To allow fullbright sprites to be displayed as fullbright under translucent FOF planes, you can now use particular settings on the middle texture of a colormap linedef to control this feature (best explained on the wiki really)
  • Fixed Bouncy FOF and Space Countdown sector specials working on FOFs that don’t have the FF_EXISTS flag
  • Added support for multi-patch middle textures on two-sided linedefs with both invisible pixels and translucency in the Software renderer.
  • Fix for Objectplace: Fixed NiGHTS bumper angles being reset when the “writethings” console command is used.
  • Fixed bugs with alternative view points (Report 1, Report 2)
  • New Feature: Added Lua support for slopes, as well as the function P_GetZAt to use them with.
  • New Feature: Added searchBlockmap to look for objects within proximity of a point.
  • New Feature: Added hud.enabled() and v.getLocalTransFlag() for Lua’s HUD features.
  • New Feature: Added the “PlayerQuit” hook for Lua’s addHook function, called when the player leaves the game.
  • New Feature: Added access to “ultimatemode” as a global variable for Lua, for checking if the game is in ultimate mode or not.
  • Fix sector flat names in Lua scripts having hidden characters that mess up string comparisons and prints
  • New Feature: We now allow multiple admins for netgames. This support works the same way as in SRB2 Kart: server hosts can promote multiple clients as admins, or clients can login using a password.
  • The “name” console variable no longer defaults to the computer’s username, but instead “Sonic”. (This was done due to concerns about users’ real names (or dead names) being leaked without their permission or knowledge IIRC)
  • Fix file names being truncated at the download screen when joining a netgame, if the file name or its full path was too long. Additionally, long file names are now handled better at this screen (show my gif here)
  • Fixed error when passing an empty address to the “connect” console command
  • Fix the maximum player name length in the multiplayer player setup menu being shorter than that of the “name” console command
  • Security fix for admin passwords in netgames: Don’t allow clever hackers to verify themselves as admins when you haven’t even set a password! (This was due to the default being a randomly generated value, which can be predicted if you have the knowledge to do so; now it’s just blank, and rejects any and all attempts at logging in)
  • Several fixes to net commands in netgames, thanks to LJ Sonic once again
  • Fix using “verify” causing issues with adding files later if you are the host
  • Fix F12 (the switch player view button) not working sometimes; this can happen if you’re playing in windowed mode, and use the left mouse button to return focus. This was because the left mouse button is one of the defaults for firing a ring in multiplayer, and the game never realises you let go in this situation.
  • Server names should now be updated on the Master Server instantly
  • Fixed servers sometimes disappearing from the in-game server list when you refreshed it.
  • Fixed the game giving nonsense update alert messages if the Master Server was not working when attempting to view the server list.
  • Fixed desyncs in netgames caused by toggling on analog.
  • Fixed the game reading mapheader_t Lua userdata from $$$.sav incorrectly in netgames.
  • Fix Thwomps triggering for spectators and when the FOFs themselves don’t have the FF_EXISTS flag.
  • Fix Mario block FOF textures desyncing in netgames.
  • Fix Each Time + floor touch linedef executor setups retriggering in netgames for players who join a server.
  • Fix the game’s crash error messages for “SOCK_Send” being utterly unhelpful. While the crashes themselves haven’t been fixed, the error messages should actually tell you what went wrong more clearly now!
  • Hotfix for a “LUA PANIC” crash for the host of a netgame when someone joins the game. This happened if the game attempted to archive Lua tables with certain types of data used as table keys that aren’t allowed, e.g. functions or userdata keys.
  • Fixes for Lua string archiving in netgames: Lua strings longer than 1024 chars no longer horribly crash the game, and embedded zeros are now properly supported
  • Fix a netgame crash relating to Lua-made console commands, particularly if the host receives packets for them when they shouldn’t be able to (i.e. if the game hasn’t even loaded up Lua yet)
  • Fix the game sometimes crashing when joining a netgame, due to the camera lacking a real subsector at map load.
  • Fix Single Player savegame slots for nonexistent skins crashing the game when viewed.
  • Fix a crash caused by ending a SOC file (e.g. MAINCFG) with a “State” (or “Frame”) block with no newline at the end
  • Fix crashes with SOCs if you put in lines with no ” = ” within certain types of SOC blocks.
  • Skyboxes no longer break or crash the game after placing items in Objectplace mode.
  • Fixed exploits with the “alias” console command that allowed the game to get stuck in recursion cycles, eventually crashing the game.
  • (Debugging builds fix) Fix the game crashing when attempting to run the game in dedicated mode
  • Fix totalplaytime being incremented during a demo playback, including record attack replays
  • Movie recordings now record the extra long white intro fades for special stages properly
  • Optimised rain/snow thinkers to improve framerate in maps using those weather types.
  • Record attack ghosts now spawn properly on slopes
  • Fixes for GME music: pausing the game now actually pauses the music, and volume has been increased to fix low volume compared to other digital music
  • The default sound volume has been lowered, due to the previous default being too loud.
  • The sound, digital and MIDI music toggles are now console variables that are saved to config.cfg: sound, digimusic and midimusic
  • Joysticks are now detected by default if plugged in.
  • Joystick sensitivity is adjusted to support dead zones, so now they feel less slippery.
  • Joysticks now work for navigating menus, and buttons are better mapped to control the menus.
  • (FIX FOR 64-BUILDS AND NON ASM BUILDS OF SRB2): The C version of FixedMul is now consistent with that of the ASM versions. The previous inconsistency between them caused desyncs when 32-bit and 64-bit builds of SRB2 played in netgames with each other. Thanks to tatokis — besides benefits for Linux building, this means that 64-bit versions of SRB2 are netplay compatible with 32-bit builds now!
  • Fixed the sound system initialising when starting the game in dedicated mode, when it shouldn’t. This fixes people sometimes hearing level music for a split second when a dedicated server is started, and also saves memory.
  • Fix for “playdemo” console variable not working with custom home paths
  • The -playdemo and -timedemo command line parameters now work again (they used to freeze the game when used)
  • Response files now work in command line parameters! This feature allows you to add in any command line parameters from a text file, by adding @textfile.txt to the parameters. (This features was in for a long time but it never actually worked due to bugs)
  • Linux 32-bit fix: Fix the available physical memory reported by “memfree” console command being consistently shown as 48 MB
  • Linux fix: Fixed file searching not properly reporting if a file with the wrong MD5 was found, rather than pretending it doesn’t exist
  • Fixed use of both -server and -connect command line params causing the game to freeze at startup.
  • Fix: Invalid Ctrl + some other key combos now do nothing when the console is open, instead of the second key being handled as input by the main game
  • In windowed mode, SRB2’s icon should now appear as the icon on the window’s top bar
  • Fixed some memory leaks and other issues to do with SDL2_Mixer, the library SRB2 uses for sound.
  • The current renderer is now saved in the metadata for PNG screenshots and APNGs.
  • GIF frame delays are more accurate! Previously, GIF were inaccurate by 1 tic every 7 tics, compared to the time actually passed in-game.
  • Fix repeatedly adding files already in the game eventually preventing the game from opening, reading and writing all kinds of files (including the game’s config and gamedata).
  • Many OpenGL fixes (thanks to Sryder for some of these)
    • Optimises the screen texture setups so that they aren’t redefining textures every frame if they don’t need to. This gives a pretty large performance increase, especially on Intel GPUs
    • Fix screenshots and fade wipes in SDL2 for resolutions that are lower than the monitor’s native resolution
    • Match the currently used OpenGL drawing functions to the software ones. There are a few others that don’t fully match still, but they also aren’t currently used from what I can see, so I have no point of reference for how they should work.
    • Make the screen texture be drawn in the centre of the screen with black bars in SDL2, instead of being stretched across the entire screen
    • Fixed MD2 interpolation sometimes being jerky
    • Fixed Lower unpegged having no effect on FOF walls when applied to the linedefs of the in-level sectors. This is supposed to change pegging of the walls to snap to the FOF’s bottom, like in Software
    • Fix very large maps (such as Aerial Garden) having rendering issues
    • gr_correcttricks should no longer have any effect on sloped sectors.
    • Fixed translucent walls displaying glitches when viewed from certain angles.
    • The startup screen now actually appears in OpenGL, you finally get to see baby Sonic! =D
    • Skies now render correctly in splitscreen mode.
    • Linux: Fixed MD2 models not loading correctly
  • Flats in software no longer glitch when looking up and down in first person view.
  • Fix software renderer glitches with fog FOF walls when adjacent to sectors with colormap applied.
  • Fix 64×64 textures created with TX_START/TX_END being automatically doubled in height in-game. This was meant to be a workaround for an old Doom bug, but it no longer occurs in SRB2 so is not necessary anymore.
  • Fixed fading calculations for custom level colormap generation being incorrect
  • Fixed HOM removal not working properly in non-green resolutions
  • Fix translucency making sprites and other graphics overly dark in areas of maps with low light levels.
  • Fixed certain HUD drawing functions not funcioning properly in non-green resolutions
  • The video flag V_OFFSET now supports V_FLIP, and no longer does anything if not combined with V_NOSCALESTART (to prevent positioning issues).
View on
LoganA is offline   Reply With Quote
Old 12-07-2018   #2

If you had problems downloading the installer or running it, try downloading the links again!

We attempted a new installer to streamline the process, but since it was triggering false positives on security scans, I repacked 2.1.21 using the old installer. Now it should hopefully install well.
Digiku is offline   Reply With Quote
Old 12-07-2018   #3
Monster Iestyn
Monster Iestyn's Avatar

If you found any bugs with the patch, please make a thread for them in this subforum:
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote
Old 12-07-2018   #4
Monster Iestyn
Monster Iestyn's Avatar

A few quick notes:

* IMPORTANT: The dlls from the 64-bit installation are not compatible with executables from older versions of SRB2, as well as current releases of SRB2Kart. This is also true the other way round, 32-bit version dlls do not work with 64-bit executables.
* As usual, antiviruses are unhappy with SRB2 exes for some reason. Just either tell them to whitelist SRB2 somehow or just disable the parts of the antivirus that check software in realtime. There's not really much we developers can do about these problems with AVs.
* A few people have reported OpenGL in the 64-bit version showing holes in some levels. This is not a new bug in fact, as those who compiled Linux 64-bit in the past saw the same bug. These particular glitches do not occur for the 32-bit version.
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote
Old 12-07-2018   #5
You Gotta be Joshing me
GameJoshX9's Avatar

I'm not sure if I should use the 64-bit or the 32-bit version.
GameJoshX9 is offline   Reply With Quote
Old 12-07-2018   #6

64-bit should be fine as long as you have a 64-bit OS on a 64-bit computer. Which would be most setups past 2010, unless you're on a netbook.

You might try out 64-bit first, and if it doesn't run, then you can download 32-bit and overwrite your install files.
Digiku is offline   Reply With Quote
Old 12-07-2018   #7
Permanently Banned

Originally Posted by GameJoshX9 View Post
I'm not sure if I should use the 64-bit or the 32-bit version.

32 bit version works stable also on a 64 bit os.
does not matter of you use 32 or 64 bit version on a 64 bit os.
only of the app used 4 gb or more ram but that is not the case with srb2.

If it's not broke, don't fit it
Michael12345 is offline   Reply With Quote
Old 12-07-2018   #8

We've gotten a couple reports about sound effects being broken or sped up.

If this happens to you, download these DLLs then extract them to your SRB2 folder. Overwrite all the DLLs you have currently.




EDIT: You may encounter another bug where you are playing an add-on and the music is completely glitched. That's a separate issue, and there's nothing we can do. The music in that add-on was encoded in a frequency that SRB2WIN doesn't expect.

Talk to your add-on authors to re-encode the music to 44100 hz.


EDIT: We're also aware of this OpenGL bug in 64-bit

This bug has existed for a while. We're not sure of a fix right now.

Last edited by Digiku; 12-07-2018 at 11:45 PM.
Digiku is offline   Reply With Quote
Old 12-07-2018   #9
Emblem Radar Ready
glaber's Avatar

There doesn't seem to be a default jump or spin button for controllers (no biggie for me as I prefer keyboard and mouse)
Welcome to my Dimension
glaber is offline   Reply With Quote
Old 12-07-2018   #10
Left this community (2019).
TheGuyThatDrawsThings's Avatar

It happened. It actually happened.
2.1ception has finally occurred.
All fuckery aside, IMO it's a bit crazy knowing that there's this many patches in the game.
Trans rights are human rights. #fuckdysphoria
TheGuyThatDrawsThings is offline   Reply With Quote
Old 12-08-2018   #11
Mid tier pixel artist
Twins'R'Awesome's Avatar

Fix ur dang 64 bit builds! It hangs after you play a few custom stages (like playing SUBARASHII) ;_;

This update is pretty nice, and the biggest part about this is the PK3 support and how much mileage I and a bunch of other modders will get out of this.
The most E P I C gamer around~
Twins'R'Awesome is offline   Reply With Quote
Old 12-09-2018   #12
PK3 Fetishist

I must say the new default controls setup is a huge improvement over the previous one, even the mouse sensitivity isn't ridiculously high anymore, also PK3s!
Also known as "RTB" on Discord
I don't need sex because Azure Temple fucks me everyday
RomioTheBadass is offline   Reply With Quote
Old 12-10-2018   #13
Also known as TemporaryAl
gregory_house's Avatar

Originally Posted by Monster Iestyn View Post
* As usual, antiviruses are unhappy with SRB2 exes for some reason. Just either tell them to whitelist SRB2 somehow or just disable the parts of the antivirus that check software in realtime. There's not really much we developers can do about these problems with AVs.

Shouldn't be an issue anymore at least on Norton products, the Symantec security team were kind enough to take a look at these files for me and confirm they're clean, that should solve any false positives. Also goes for both the .dll sets provided as a fix for the sound. Not sure about the 32-bit original game though since I never even got that.
My friends are my strength. - Discord: TemporaryAl#4689
gregory_house is offline   Reply With Quote
Old 12-11-2018   #14
The one and only!
MK.exe's Avatar

Its probably Srb2's 2nd arch nemesis to Sky grass.

Avast anti virus
~ MK
MK.exe is offline   Reply With Quote
Old 12-11-2018   #15
Unknownlight's Avatar

I completely missed this update because... well, I was playing Smash Bros!

The new default controls are so much better. Hopefully that, plus the How to Play section on the website, plus 2.2's auto-brake, will all help the game to be a lot more immediately accessible to new players.
Unknownlight is offline   Reply With Quote
Old 12-11-2018   #16
XleederTH's Avatar

The full controller support got me really hard. Thanks!
Nothing for nothing, is the key :v
Visit my youtube channel!
XleederTH is offline   Reply With Quote
Old 12-13-2018   #17
Im_Percynator's Avatar

I'm really happy about the new version for Mac, but what version of MacOs is it for?
I'm all steamed up! |
I also do mods on GameBanana:

Last edited by Im_Percynator; 12-17-2018 at 01:43 AM.
Im_Percynator is offline   Reply With Quote
Old 12-17-2018   #18
Pyro the Hedgehog
Simon_T's Avatar

My stupid cellphone can't access, and my PC is Internet-less
Can you lend me another link to download the patch?
O kurwa!
Simon_T is offline   Reply With Quote
Old 12-24-2018   #19
Unknownlight's Avatar

Other than potential game breaking bugs, is 2.1-inception planned to be the final 2.1 patch?
Unknownlight is offline   Reply With Quote
Old 12-24-2018   #20
Monster Iestyn
Monster Iestyn's Avatar

There is going to be a 2.1.22 to fix the bugs found in 2.1.21, but after that I'm not sure atm.
My page stuffed full of MIDI goodness!
The Hitchhiker's Guide to the Robo-Hoodiverse
Timeline of Sonic Robo Blast History!

That's an uppercase i, not a lowercase L, for the record. Also, it's pronounced "Yes-tin".
Monster Iestyn is offline   Reply With Quote

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 Off
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:17 PM.

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