![]() |
Running Goonstation on Linux: A Guide - Printable Version +- Goonstation Forums (https://forum.ss13.co) +-- Forum: Discussion (https://forum.ss13.co/forumdisplay.php?fid=6) +--- Forum: General Discussion (https://forum.ss13.co/forumdisplay.php?fid=7) +--- Thread: Running Goonstation on Linux: A Guide (/showthread.php?tid=23731) |
Running Goonstation on Linux: A Guide - Arahimine - 03-21-2025 Wanna get Goonstation (and BYOND broadly) running on a Linux machine? The good news is that as of BYOND version 516, we finally can! Up until now, this has been impossible because of BYOND's reliance on Trident (the engine responsible for Internet Explorer) as the backbone of much of BYOND's UI. Unfortunately, Wine is not able to run the version of Trident used - but version 516 has finally ditched Trident in favour of WebView2 (a component of Microsoft Edge), which Wine absolutely CAN run. Now, don't get me wrong, BYOND will still fight you every step of the way - but with a little gumption and a whole lot of Works On My Machine, we can do it! PREREQUISITES:
STEP 1: Open up winetricks and create a new Wineprefix. Call it whatever you like - 'BYOND' is as good a name as any for clarity. Both 32-bit and 64-bit should work fine, though I imagine that a 32-bit prefix might have less overhead or something. I don't know, I'm not an expert. STEP 2: Once the prefix is made, open up the 'Install a font' menu, select 'Corefonts', and confirm. What follows next is an eldritch dance where winetricks will throw meaningless error messages at you for a while - rest assured that this, confusingly, means it is working. Just continually dismiss the messages for a little while and eventually they'll stop and the menu will open back up. If the messages continue their assault and you're sure that it's been a good while of dismissing them, try looking up winetricks font troubleshooting advice on your search engine of choice. STEP 3: Back at the winetricks menu, select the 'Run a commandline shell (for debugging)' option. The correct window will be a native system terminal navigated to the C drive of your new prefix. It should NOT be an emulated Windows terminal - that's a different option. Then, execute the command 'winetricks dxvk vcrun2022' This will begin the install process for a pair of dependencies required by BYOND. This process can be a bit lengthy and will require you to manually confirm some things like SHA mismatches. If for whatever reason either of these packages fail, you can probably find help online about it. Works On My Machine. STEP 4: Once more unto the winetricks menu breach, open up the 'Run winecfg' option. With the 'Default Settings' entry selected, click on the 'Windows Version' dropdown and select Windows 7. Then, click on 'Add application'. You'll want to navigate to wherever on your system you downloaded the WebView2 bootstrapper .exe, and select that. Once this is done, there'll be an entry for MicrosoftEdgeWebview2Setup.exe - select it and then set the Windows Version to Windows 10. Once you're done, confirm your changes and you'll be dropped back at the winetricks menu. STEP 5: We're almost done! The filesystem is now ready to install WebView2 and BYOND. From the winetricks menu, select 'run an arbitrary executable' and open up the WebView2 bootstrapper. This will open up the WebView2 installer. In the same way that all good installers don't, it will silently close itself without a message upon a successful install. (If it fails on account of requiring Windows 10, go back to Step 4 and make sure you've set the compatibilities right.) Now, at long last - we can finally install BYOND! Using the same 'run an arbitrary executable' option as before, open up the BYOND installer and go through the motions. FINALE: If all went well, BYOND should now be installed onto your system. The BYOND installer will close with an option to open up BYOND - if this doesn't actually launch BYOND for whatever reason, you have a couple other ways. On at least some distros, installing a program this way via Wine will automatically add a system shortcut to your usual desktop environment's search bar, as if it were a native Linux program. BYOND web links from your browser will also work, so you can use Goonhub's 'join' buttons. (I know this is true on Mint at least, not sure about other distros.) Otherwise, you can use the winetricks 'run an arbitrary executable' option to navigate within your prefix and launch BYOND's executable. On 32-bit prefixes this'll be Program Files/BYOND/bin/byond.exe, on 64-bit prefixes it'll instead be Program Files (x86)/BYOND/bin/byond.exe. Congratulations! You can now log into the BYOND pager and play Goonstation. TROUBLESHOOTING & KNOWN ISSUES: Some of these issues are effectively guaranteed, others may be on a case-by-case basis, and you might even encounter problems that aren't here. If that happens: I probably can't help, sorry.
CLOSING STATEMENTS: Despite the technical issues listed above, Goonstation on Linux is 100% playable - I've been doing so since January 2025 and have had no trouble playing even high-engagement roles like AI and HoS. It's far from ideal, but hopefully the ongoing march of TGUI will fix what issues remain. RE: Running Goonstation on Linux: A Guide - Xturnal - 04-22-2025 with the ie requirement that dragged me back to windows hell dead, it might be time to wrangle linux onto my crapbox of a pc once again. RE: Running Goonstation on Linux: A Guide - Cheese - 06-07-2025 A little add-on, based on my own troubles. Wine 10.0, Byond 515 on Windows side. LMDE 6, Byond 516.1659 on Linux side. 1) If your BYOND install is stuck on "Loading game information" you can : Press [Ctrl]+[o] and enter target server's address manually. 2) If for whatever reason you are unable to log into BYOND itself : You can yoink login info from another, already working BYOND install. E.g. your old windows machine.
That is it. After doing this ritual I was able to log into an ongoing Goon game without entering my credentials, but something else broke immediately. On the second attempt it forced the usual log in window to appear and I could auth normally from there. Not sure which parts of this were needed, but it worked out in the end. Thanks to spider6446 and laboredih123 of Discord fame for assistance! Praise the Omnissiah. RE: Running Goonstation on Linux: A Guide - Cheese - 06-07-2025 Quote:You'll probably suffer from a severely flickering chatbox. My hope is that the eventual TGUI-ification of chat will fix this, but in the meantime you can click on the 'Text' button at the top of the area to close the commands window, and this does fix it. It also prevents you from accessing commands. Tradeoffs. Experimented a bit with this. Seems like the severity of it depends on the translation layer being used. Omitting dxvk and using stock wined3d meant that I could see severely less flickering AND still have my command tabs. Still extremely anoying. UPD : Actually I am finding this better so far. It happens roughly every minute or so, sometimes immediately goes away on its own and can be fixed just by quickly scrolling up and down. Didn't play long 'nuff to see what other bits this breaks though. Notably switching into horizontal split mode eliminated flickering completely. Another win for 19:10 connoisseurs I guess. RE: Running Goonstation on Linux: A Guide - sphoenix - 08-03-2025 In case this can help anyone, this solution did not seem to work for me as I got a blank screen on most servers and the ones that did open were extremely laggy (think of 1 fps every 30 seconds). I did find however that using lutris it works fine, it comes with its own installer script lutris.net/games/byond/ caveats: 1. The installer will ask you to download the standalone installer for WebView2, which won't work, the one you need is the boostrapper one mentioned on the first post. 2. I tested 3-4 other servers to see the performance, on most of them I got a message that my ckey was already logged and that I should logout at the risk of being banned. I did not get this problem at goon. 3. Although it still has glitches and lags, performance seems to be way better than most virtual machines. This was tested on mint 22.1 / kernel 6.11.0-29-generic |