SorR Community
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SoRR flatpak & OpenGL wrapper for Linux

+3
jurgens
DrJuano
Broscar
7 posters

Go down

SoRR flatpak & OpenGL wrapper for Linux Empty SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Fri Aug 30, 2019 6:56 pm

Readme: sorr_duo1.1_README.md (web version)
Download: sorr_duo1.1_x86_64.flatpak

Features & fixes:
  • Easy installation on any distro.
  • Includes both SoRR v5.1 and SoRR v5.2, with seperate saves and easy swapping.
  • Efficient OpenGL GPU scaling, enabling much higher output resolutions without increasing the load on the CPU.
  • Did I mention it's pixel-perfect integer scaling? The squarest, cleanest pixels you'll ever see.
  • Custom GLSL shader support.
  • Proper fullscreen that doesn't change your display output. Fixes common incompatibility issues with drivers and monitors.
  • Much better window handling. Special function keys (like volume buttons) and alt-tabbing should work as expected.
SoRR flatpak & OpenGL wrapper for Linux Sorr_viewer3
This is the game running on an Intel i3-3320m with HD4000 integrated graphics. 6x scale (2496x1440), rock solid 60fps.

More info: https://broscar.nl/viewprojects.php?project=streets-of-rage-remake-flatpak

Shader preview:
No shader & scanlines:
SoRR flatpak & OpenGL wrapper for Linux NoshaderSoRR flatpak & OpenGL wrapper for Linux Scanlines_blend
Customized crt-lottes: (Left: fully enabled. Right: no warp, no bloom.)
SoRR flatpak & OpenGL wrapper for Linux Crt-lottes-10hardpix-lesswarpSoRR flatpak & OpenGL wrapper for Linux Crt-lottes-10hardpix-nowarp-nobloom

Gamma brightness contrast saturation:
Left: tweaked values. Right: no shader, standard game output.
SoRR flatpak & OpenGL wrapper for Linux Gbcs_onSoRR flatpak & OpenGL wrapper for Linux Gbcs_off

Sin City and xBRZ:
SoRR flatpak & OpenGL wrapper for Linux Sin%20citySoRR flatpak & OpenGL wrapper for Linux Xbrz


Last edited by Broscar on Sat Dec 11, 2021 2:55 am; edited 6 times in total (Reason for editing : Integrated sorr_wrapper)
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

deathxxx likes this post

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  DrJuano Sat Sep 21, 2019 4:23 pm

I'm very grateful! Awesome!

DrJuano
Galsia

Posts : 3
Join date : 2014-11-11

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  jurgens Sat Mar 07, 2020 4:21 pm

Works great! Can you tell me how to play mods with this? I've tried copying mod files everywhere but I keep seeing an empty mod list in the game.

jurgens
Newbie

Posts : 1
Join date : 2020-03-07

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  JamesTCat Wed Apr 01, 2020 6:20 am

New here, I am trying to load mods into my linux streets of rage remake. Where do I send the mods to install? I tried everything and it still doesn't get detected.

JamesTCat
Newbie

Posts : 1
Join date : 2020-04-01

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Fri Dec 04, 2020 7:20 pm

Please, make a SorR v5.2 flatpak! Smile

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Mon Dec 07, 2020 5:15 am

I've uploaded a new flatpak for v5.2.

It now stores the mod folder in ~/.var/app/nl.broscar.sorr/data so that you can alter it's contents. Technically the entire package should be able to run SorMaker, but whenever I try to fire it up, it just straight up segfaults on me. I don't know if it requires some funky filesystem access or if it's because I run it with the latest version of BennuGD, but if anyone has a clue, please let me know why SorMaker is throwing a hissy fit and I'll try to fix it (and implement it for the v5.1 package as well).

Either way I didn't want to postpone this release just for that. I'll spend some more time debugging it later, but if it's some core Linux incompatibility issue with BennuGD, it's out of my hands.
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Mon Dec 07, 2020 9:10 am

Broscar wrote:I've uploaded a new flatpak for v5.2.

It now stores the mod folder in ~/.var/app/nl.broscar.sorr/data so that you can alter it's contents. Technically the entire package should be able to run SorMaker, but whenever I try to fire it up, it just straight up segfaults on me. I don't know if it requires some funky filesystem access or if it's because I run it with the latest version of BennuGD, but if anyone has a clue, please let me know why SorMaker is throwing a hissy fit and I'll try to fix it (and implement it for the v5.1 package as well).

Either way I didn't want to postpone this release just for that. I'll spend some more time debugging it later, but if it's some core Linux incompatibility issue with BennuGD, it's out of my hands.
Its working out of the box from Pop!_OS 20.10 with almost fresh install! Should work with EndlessOS too.
Thank you for that!

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Broscar likes this post

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Sat Dec 12, 2020 10:43 pm

Can you make OpenBOR version of SorR with flatpak?
As i see, OpenBOR have a Linux version too.

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Sun Dec 13, 2020 11:10 am

For Ubuntu 20.04 need libvpx.so.5 library file and libsdl2-gfx-1.0-0 package installed
And i just use precompiled binary OpenBOR and all is working very great with full wide screen and game run super smooth.

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Slowdonw during the play

Post  ChesterNut999 Wed Apr 14, 2021 10:10 pm

Hi guys! Good work! I'm really happy!

I have some problems with the game on Fedora 34.
Often, a lot of slowness happens during the game. I have the impression that it is only running at 30fps.

Is there a configuration file to modify or improve the fps?

Att,
ChesterNut999

ChesterNut999
Newbie

Posts : 1
Join date : 2021-04-14

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Thu Apr 15, 2021 7:33 pm

Running in fullscreen with widescreen turned on? Check your CPU usage, it's probably spiking hard.
Turn off widescreen if you want to play fullscreen, or set the game to windowed mode in widescreen. 5.2's widescreen implementation is pretty buggy.
Potential fix soon.
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Mon Aug 30, 2021 3:50 am

Doublepost! I think it's warranted  bounce

I've finally released the big update.
SoRR v5.2 and v5.1 in one easy package.
OpenGL GPU acceleration.
Shader support.

The installation of the entire thing requires like 2 extra steps now (couldn't include the OpenGL wrapper in the flatpak, unfortunately), but I've kept it nice and easy.
Due to a lack of testers, I can only guarantee that it works on Fedora and Ubuntu (+ Ubuntu-based derivatives). It should work on most distributions, though you might have to dig around a bit to get the proper package names for all dependencies.

Nintendo Switch port is semi-cancelled. As in it's technically finished, but building it takes absolutely ages and from what I can tell they don't actually care.

Why it took so long:
I hate to admit it, but whilst the wrapper itself is deceptively simple and sloppily put together, it doesn't reflect the amount of time I spent browsing X11 documentation and debugging obscure bugs to finally get to it in this state. Combined with a tame community response and a lack of testers, the prospect of putting even more time in this project just to write better documentation, to clean up code or to polish the installation procedure, was off-putting.

However, I can't just sit on this like I'm some spoiled dragon from a certain fantasy series. Bomberlink didn't just sit on his work either. He shared it, and so must I.
Sorry it took so long.
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Don Vecta likes this post

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Mon Aug 30, 2021 7:53 pm

Broscar wrote:Doublepost! I think it's warranted  bounce

I've finally released the big update.
SoRR v5.2 and v5.1 in one easy package.
OpenGL GPU acceleration.
Shader support.

The installation of the entire thing requires like 2 extra steps now (couldn't include the OpenGL wrapper in the flatpak, unfortunately), but I've kept it nice and easy.
Due to a lack of testers, I can only guarantee that it works on Fedora and Ubuntu (+ Ubuntu-based derivatives). It should work on most distributions, though you might have to dig around a bit to get the proper package names for all dependencies.

Nintendo Switch port is semi-cancelled. As in it's technically finished, but building it takes absolutely ages and from what I can tell they don't actually care.

Why it took so long:
I hate to admit it, but whilst the wrapper itself is deceptively simple and sloppily put together, it doesn't reflect the amount of time I spent browsing X11 documentation and debugging obscure bugs to finally get to it in this state. Combined with a tame community response and a lack of testers, the prospect of putting even more time in this project just to write better documentation, to clean up code or to polish the installation procedure, was off-putting.

However, I can't just sit on this like I'm some spoiled dragon from a certain fantasy series. Bomberlink didn't just sit on his work either. He shared it, and so must I.
Sorry it took so long.

### Installing dependency for compiling wraper for Arch/Manjaro linux:
1. Important: Install dependency first, compile then install the game, or the game will not launch and you will need reinstall from flatpack.
Code:
sudo pacman -Sy make gcc xorg-server-xvfb base-devel
2. reboot
3. cd to sorr_wrapper_v1.00 dir and compile wrapper with:
make && make install
4. Install the game from flatpak game location
Code:
flatpak --user install sorr-duo_v1.00_x86-64.flatpak
flatpak --user install flathub org.freedesktop.Platform.Compat.i386//19.08
5. Prevent the Compat.i386//19.08 from updating with:
Code:
flatpak --user pin runtime/org.freedesktop.Platform.Compat.i386//19.08
Then you can start from
Code:
sorr_wrapper_v1.00/src/sorr_launcher.sh
or from Start menu -->> Games--> Streets of Rage Remake
6. Play with great speed and smooth!!!!

EDIT: Just one little bug: The game launching with black screen with my save from normal sorr game, but with clean new start is OK.

Exelent work Broscar

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Broscar likes this post

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Tue Aug 31, 2021 12:04 am

Thanks deathxxx! Both for the kind words and the Arch/Manjaro instructions.
They were also one of the few testers I could rely on. The easy v5.1/v5.2 switch was implemented thanks to them Very Happy

I've got 2 more bits of info:
You don't have to write the full path ( sorr_wrapper_v1.00/src/sorr_launcher.sh ) to launch the game from a terminal.
You can just write "sorr_launcher" and it should work. In fact, you can remove the entire sorr_wrapper_v1.00 folder after you've installed everything.

The other bit is that your old savegame is probably set to the wrong graphics mode.
From USAGE.md:
Important: In-game GRAPHIC MODE options are broken and can result in a black screen if set to anything but NORMAL. If this happens and you can't recover from it in-game, you'll have to manually remove your savegame to reset it.
However, there's a trick to change it without removing your savegame.
If you run the command flatpak run nl.broscar.sorr, you can start the game without the wrapper. That way you can change the GRAPHIC MODE option, then quit the game and fire it up again with sorr_launcher (or the menu shortcut) to activate the wrapper again.
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Tue Aug 31, 2021 6:19 am

After kill last boss i can say, that:
Some from last levels have some performance issues.
But most issue is that:
When you hit someone, there are still some freezing frames to you and that you hit. Everyone else are not freezing and can still move and hit you.
Making combos with this freezing frames are a pain, and in fact combos are so slow, that most of time you just cannot do full combo and enemy escape or hit you.
It will be much better if this freezing frames are removed or everyone on display have freeze during my freeze too.
Still in original SorR v5 there are no freeze frames and you can do combos really smooth.
So after all, even at my level of skills i die a lot with normal difficulty, mostly because that freezing during hits.
Some demonstration from original SorR v5, see the smoothness of combos:

Absolutely not a single freeze frames with combos.

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Tue Aug 31, 2021 4:33 pm

Yeah, the increased hitstop in v5.2 is a questionable change.
It's even worse in SoR4... https://broscar.nl/files/sor4_hitstop.webm
At least we've still got v5.1
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Wed Sep 01, 2021 5:49 am

Broscar wrote:Yeah, the increased hitstop in v5.2 is a questionable change.
It's even worse in SoR4... https://broscar.nl/files/sor4_hitstop.webm
At least we've still got v5.1
In SorR 4 is very ok, In normal combos don't have freezing, and combos are not breaking.
Also i do not notice how to change to SorR 5.1...

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  deathxxx Wed Sep 22, 2021 8:12 am

Some info about: USAGE.md in sorr_wrapper_v.1.00:

Flatpak has a tendency to remove the compat runtime when the user runs `flatpak remove --unused`. This can be prevented by running the following command (requires at least flatpak version 1.5.0):
 
Code:
flatpak --user pin runtime/org.freedesktop.Platform.Compat.i386//19.08
That one return:
Code:
error: 'pin' is not a flatpak command. Did you mean 'run'?

deathxxx
Galsia

Posts : 22
Join date : 2020-11-30

snailrun likes this post

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  TheDrifter363 Thu Dec 02, 2021 6:36 am

Hey Broscar,

Do you have any plans to get this working with Wayland? Any idea why it's not supported? Is it just the OpenGL wrapper that's not compatible? If you can't get it to work, it's all good. Just curious.

TheDrifter363
Newbie

Posts : 1
Join date : 2021-08-26

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Broscar Sat Dec 11, 2021 4:00 am

SoRR_duo flatpak 1.1

  • Integrated sorr_wrapper.
  • Updated flatpak runtime to freedesktop 21.08.
  • Removed Steam overlay bypass. If you used the Steam overlay to check your FPS, you can now do so by running LIBGL_SHOW_FPS=1 flatpak run nl.broscar.sorr from a terminal instead.

It might not seem like much, but this was a nightmare to accomplish.
It's no 1-click install, but running 3 short commands in a terminal is about as user-friendly as Linux is gonna get.

This was the final hurdle I had to conquer for me to consider SoRR on Linux to be a truly good experience.
Frankly I think it's the best SoRR experience.
I'm not expecting any more updates to this for the time being. Maybe I'll rewrite it to support Wayland once distros start fully dropping X11, but I don't see that happening anytime soon.

---
TheDrifter363 wrote:Hey Broscar,

Do you have any plans to get this working with Wayland? Any idea why it's not supported? Is it just the OpenGL wrapper that's not compatible? If you can't get it to work, it's all good. Just curious.
Wayland is still missing a lot of functionality. While it has certainly matured a lot the past 2 years, I still consider it to be in its infancy. Had I somehow found a way to hack together a working solution, it would be at risk of breaking with an update to any of it's components.
Swapping between the 2 is fast and easy on pretty much all current distributions, so it didn't seem worth the trouble to me.
Xorg sucks in a lot of ways and I'd love to be able to just yeet it out of everything I own, but it's still an undeniably strong piece of software.

deathxxx wrote:
Code:
error: 'pin' is not a flatpak command. Did you mean 'run'?
Pin was added to flatpak version 1.5.0 in late 2019.
Even Debian stable has flatpak 1.10.3, and Debian folk are known for running old versions of software as long as they can.
I hope you've upgraded your OS by now, but if you haven't, please consider doing so.
Having said that, the pin command is not vital to actually running the game, you can ignore it. It's only there to prevent flatpak from uninstalling the 32-bit compatibility runtime (https://github.com/flatpak/flatpak/issues/3094).
Broscar
Broscar
Galsia

Posts : 13
Join date : 2019-08-30

Back to top Go down

SoRR flatpak & OpenGL wrapper for Linux Empty Re: SoRR flatpak & OpenGL wrapper for Linux

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum