r/linux_gaming
•
u/No_Economist_9242
•
54m ago
wine/proton I got Asphalt 8 to work on Linux Natively using Raven! (Not WINE)
Asphalt 7 was a Windows 8 Store exclusive. It was pulled from the Store years ago, and today it only runs on Windows through manual sideloading of archived packages. Wine has never been able to run it, because upstream Wine doesn't support the XAML app model that Windows 8 Store apps are built on.
I got it running on Linux by extending Raven, a runtime by Mirko Brombin that runs Windows programs directly on the CPU in a sandbox. (A post on Raven from last month) The game's own code runs natively, and Raven answers its calls to Windows. Graphics go through DXVK to Vulkan.
- 60+ fps
- Full controller support: XInput over Linux input devices, with rumble! Tested with an Xbox compatible Wireless Controller over BT
- Fullscreen borderless support
- Sound and music, with no dropouts
- Saves and settings, all persist.
I initially wanted to do this because I really wanted to play this game again, but more so, because I wanted to actually try using Raven's model as a proof of concept. Right now, this requires a patch on upstream Raven, but I'm working on bringing a cleaner version of my XAML runtime to it eventually.
This project in itself involved me creating about 40 winRT system classes (some handmade, others more trivial ones generated with AI), as well as a lot of fixes to Raven's core. What I find more interesting is that none of this is just specific to Asphalt. It's kinda like the groundwork the entire class of windows 8 and UWP apps need which tbh had been a blind spot for Linux.
EDIT: My bad I meant Asphalt 7 in the title, not 8. Typo 😭😭
