3 ms·
It depends on the game. SNKRX is popular right now. It's written entirely in cross-platform Lua, uses the cross-platform Love2D engine which is packaged by Linu
by Arnavion 5y ago
It depends on the game. SNKRX is popular right now. It's written entirely in cross-platform Lua, uses the cross-platform Love2D engine which is packaged by Linux distros already, and is open-source on GitHub. So it was very easy to make it run on Linux.
I just had to fix a crash because my distro's Love2D uses LuaJIT which only supports Lua 5.1, but the game's source contains a bit that requires Lua 5.4. But it was an easy patch (which unfortunately cannot be upstreamed because upstream doesn't want PRs).
For other games, as long as the game provides an Ubuntu version, it'd work for me. I run an Ubuntu Docker container for Steam and other "first-party software" (binary packages directly from the software manufacturer as opposed to distro repos), because when such software says "it supports Linux" it almost always means "it supports Ubuntu".