SRB2 Update to 2.2.10 (and fixing texture issues)
-
Hey everyone,
I'm writing in ideas because I've been able to update SRB2 to 2.2.10. The main advantage is that this fixes the texture issues the game has (some textures go missing in the game, most notably Robotnik's lasers in the first boss fight and the splashscreen but I didn't go through the whole game). Others have reported that too but their main solution was downgrading to 2.2.7 or 2.2.8.2.2.10 unfortunately DOES NOT compile out of the box because they enable warnings about trigraphs. My solution, since we're final users and don't really need the warning (afaik Wnotrigraphs only gives warnings, it doesn't adjust the generated binary files in any way), was to disable said warnings in the CMake file. Doing that and using update pk3 files from the official 2.2.10 release fixed it for me.
The main issue (and why it's in this category) is I have NO IDEA how to update or even make a scriptmodule. While I am techsavvy, learning this whole thing to update ONE game seems a bit overkill. All that needs to happen for the update to be distributed to people is to have the script fetch the 2.2.10 release instead (that I was able to do fairly easily) and apply the following patch to srb2's 2.2.10 commit :
https://mega.nz/file/mzwQjDKZ#66lwFxdVcs61469JAF_cG3AOJCcXIZX1GA0XVwS926wThen build as usual and obviously use an archive that has, as I said, the 2.2.10 pk3 files. I have a custom script that's good enough for me and my custom usage but it is nowhere near what it'd need to be to be released to people (it copies a modified scriptmodule that fetches the 2.2.10 commit, then manually apply the patch and dirtily copies stuff around). Plus since the archives are handled by the RetroPie team anyway, there has to be an involvement from the team to upload an updated pk3 archive to the website.
I hope this can be useful in upgrading SRB2, as I can see there were indeed issues reported with upgrading the script that was never closed.
Have a good day everyone :)
Edit : Sorry, a bit more info and background. This is using the "standalone" RetroPie image for Raspberry Pi 4. Maybe using the RetroPie "script" version on a normal linux installation works (actually I think it should since it's likely a gcc issue), especially a x86/x86_64 one. So maybe the patch only has to be applied for building on the pi ;)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.