Sunfluffs

Sunfluffs

 This topic has been pinned, so it's probably important
Azure  [developer] Jul 14, 2025 @ 1:31pm
running it on linux
this game doesn't have native support for linux, and i don't have a steam deck to test with.

in the Game Properties window, Betas tab, try "linux-test" to see if it works!

the rest of this post is from before that branch existed but i've kept it in case it still helps:


one of my friends Mraof got it to run perfectly on desktop linux using winetricks though, and made a script for it[entanma.com]. Using that script:

  1. from the xna_fix directory:
    WINEPREFIX=/path/to/wineprefix ./fix.sh
  2. then in the sunfluffs directory:
    WINEPREFIX=/path/to/wineprefix fluff.exe

i'm not certain if it will always work like this, so if anyone knows more details then let me know! It'd also be nice to have this be more automated somehow. I'm still very new to these things...

Kalei's post has a different set of instructions that have worked for a few people, so that's worth trying too.
Last edited by Azure; Sep 12, 2025 @ 7:42am
< >
Showing 1-7 of 7 comments
trans catgirl~ Jul 14, 2025 @ 3:53pm 
Hi! On desktop linux, I tried the tricks you shared above, but still crashing on launch. I noticed the crash report was pretty interesting though. It seems the crashing I'm experiencing is actually due to shaders?

MOJOSHADER_compileEffect Error: Unknown preshader opcode. at Microsoft.Xna.Framework.FNALoggerEXT.FNA3DLogError (System.IntPtr msg) [0x00012] in <cedb5c0c44cb44bb929f959e7a44358e>:0 at (wrapper native-to-managed) Microsoft.Xna.Framework.FNALoggerEXT.FNA3DLogError(intptr) at (wrapper managed-to-native) Microsoft.Xna.Framework.Graphics.FNA3D.FNA3D_CreateEffect(intptr,byte[],int,intptr&,intptr&) ... at fluff.Main.LoadContent () [0x00456] in <d51b974786714e55ae6ecca50a7161f3>:0 at Microsoft.Xna.Framework.Game.Initialize () [0x0007f] in <cedb5c0c44cb44bb929f959e7a44358e>:0 at fluff.Main.Initialize () [0x00000] in <d51b974786714e55ae6ecca50a7161f3>:0 at Microsoft.Xna.Framework.Game.DoInitialize () [0x0003c] in <cedb5c0c44cb44bb929f959e7a44358e>:0 at Microsoft.Xna.Framework.Game.Run () [0x00011] in <cedb5c0c44cb44bb929f959e7a44358e>:0 at fluff.Program.Main (System.String[] args) [0x0000c] in <d51b974786714e55ae6ecca50a7161f3>:0

Also, when trying to run the game through wine instead of proton, I'm getting this message, which is further convincing me it's shaders or graphics related:

0024:fixme:d3d:wined3d_swapchain_init The application requested more than one back buffer, this is not properly supported. Please configure the application to use double buffering (1 back buffer) if possible. 0024:fixme:d3d:wined3d_swapchain_init Unimplemented swap effect 0x2.

No pressure though! I understand doing this kind of work is extremely stressful, especially doing most of it alone like you do, and launch-day bug reports and bugfixes are some of the most anxiety inducing, believe me - and making stuff compatible with linux, even through proton, is already pretty hard. Thanks for doing what you do, I loved Copy Kitty to death and I've been excited to play Sunfluffs, I don't mind waiting a while longer until everything is figured out :)
mu suwi Jul 15, 2025 @ 12:07pm 
Here to report getting the exact same unknown preshader opcode error on both desktop linux and steam deck. And... true! No pressure, you're already going well out of your way and we understand how stressful it can be
Azure  [developer] Jul 19, 2025 @ 9:16am 
okay, i've released version 0.2.2 now and it includes a few fixes to shader code that Linux didn't like. One of my testers has made a script to install all the necessary dependencies too, so i've edited the first post with the most recent info. Let me know if it's working!
trans catgirl~ Jul 19, 2025 @ 4:25pm 
Originally posted by Azure:
okay, i've released version 0.2.2 now and it includes a few fixes to shader code that Linux didn't like. One of my testers has made a script to install all the necessary dependencies too, so i've edited the first post with the most recent info. Let me know if it's working!

Hello again, and thank you for all your hard work! I hope you're doing okay!

I've actually been trying to get Mraof's script to work since it was shared the other day. Those two commands seemed clear enough, but I couldn't get it to work no matter what. But I just got it, and I want to share how, on my machine it had to be done exactly like this:

(Replace "path/to/steam/steamapps/compatdata/3776680/pfx" with the path to one's own prefix of course)

1. Delete prefix folder for Sunfluffs if it already exists (path/to/steam/steamapps/compatdata/3776680/pfx) (and yes, doing this would delete save data if it was already there)
2. Run the second command in the Sunfluffs game directory without opening the game first (WINEPREFIX=path/to/steam/steamapps/compatdata/3776680/pfx wine fluff.exe)
3. Run first command in the xna_fix download folder (WINEPREFIX=path/to/steam/steamapps/compatdata/3776680/pfx ./fix.sh)
4. Repeat step 2
5. Don't open the main Sunfluffs game from Steam anymore. As far as I can tell, this screws with the prefix and makes you have to start over.

Only by doing it this way was I able to get the game to boot. I'm sure the script or instructions could be edited to specify these, if it turns out to not just be a "me" problem...

Piggybacking off of what I've learned from this, here's a bonus. Create a script with these contents:
#!/bin/bash WINEPREFIX=path/to/steam/steamapps/compatdata/3776680/pfx wine fluff.exe
and save it as "fluff.sh". Now this script can be added through steam as a "non-steam game". It's basically a shortcut in Steam that runs the command to open the game through wine.
Last edited by trans catgirl~; Jul 19, 2025 @ 4:27pm
mu suwi Jul 20, 2025 @ 2:20pm 
I'll have to research how to apply this fix to Steam Deck, where running winetricks from the terminal is much less straightforward. It's possible these fixes can be applied to the game's existing prefix using Protontricks without having to run it as a non-steam game.
Kalei Aug 5, 2025 @ 10:49am 
1
ok so as promised (elsewhere), i'll send my steps to get sunfluffs running:
  • get bottles from flatpak if you don't have it already
  • go to the settings menu (top right 3 lines icon > preferences)
  • go to runners and install SPECIFICALLY kron4ek-wine-10.12-staging-tkg-amd64
  • press the plus button on the top left to create a new bottle, select custom preset, 32-bit architecture, and soda-9.0-1 runner (last one should be default option)
  • wait for the bottle to be created
  • enter the bottle and go to dependencies
  • install dotnet48. this should take a while
  • install xna40. you *should* get an error here about DXSETUP.exe failing to start. ignore it tho
  • install d3dx9 and d3dcompiler_47
  • exit dependencies and go back to the bottle, then enter settings
  • change the runner to kron4ek-wine-10.12-staging-tkg-amd64. you *should* get errors about an application failing to start, just ignore them
  • add dxvk and vkd3d to the bottle (change from disabled to whatever version it says. if it doesn't give you any other option go to where you installed the runners, but then go to dll components and install them there, then you should be able to add them in the bottle settings)
  • optionally: turn on discrete graphics, if you have a gpu
  • you should be able to run sunfluffs through bottles now! if you can't, please see below for flatpak troubleshooting...
note that it will not have steam support, as you will be running sunfluffs completely separately from steam. there's nothing that can be done until sunfluffs gets better linux support. this also means that you won't be able to leave a review unless you spend 10 minutes on the crashed sunfluffs.

game still won't start!
if you followed my instructions exactly, then there is a few things you may still have to do.
because the fix is most likely to work on bottles run from flatpak, you'll have to deal with flatpak sandboxing, which may cause the game to not work as intended even when the steps are followed correctly. there are 2 options to remedy this:
  • move the sunfluffs game folder into the bottle's directory. within the main bottles screen, you will have a 3 vertical dots menu on the top right. click that, and from the dropdown click "browse files", and it should open up the bottle's virtual C: drive in your file manager.
  • change the flatpak permissions for bottles. there is an app called "flatseal", also available through flatpak, that serves as a settings menu for flatpak app perms. open flatseal, choose bottles from the sidebar, and scroll down until you find the section titled "filesystem". then add an override, personally i just let it access all user files, but the directories you give bottles access to are up to you.

anyways that's all! please let me know if any of you need any more help, i'll be glad to help!
Finita Sep 11, 2025 @ 6:56pm 
so, uh, i ilspy'd the game and made an unofficial FNA recompile, which should hopefully fix the game's crashes.

azure made it available as a steam beta--if you want to check it out, enter this beta code in the game's steam settings: xeniaisverycool
update: no need for the password anymore--you can just select linux-test in the beta list now.

i'm hoping to help it make it official when chapter 3 rolls around, but we'll get there when we get there.

[if this build crashes, let me know on discord right away--my username is starryfinita, and you can also find me in the nuclear strawberry server if you're there.]
Last edited by Finita; Sep 11, 2025 @ 11:19pm
< >
Showing 1-7 of 7 comments
Per page: 1530 50