I use a lot an Open Source project called Adventure Game Studio. Unfortunately, it was built with Windows in mind for the editor a long time ago, but it’s usable through Wine (I use it everyday for the past 1 and half years on Ubuntu 16.04).
Is it possible to snap something that depends on Wine?
Thanks @popey ! This is amazing. On a sidenote, that specific application maybe depends on dotnet40 package in playonlinux, so I will probably need to sort this when making the snap. But at least I can snap games!
One thing to caveat, is some wine api calls require ptrace capability which is currently not allowed by snapd, so you may find that your particular app fails while others work fine.
This is something on the list for next cycle for me to look at more deeply. New enough kernels it is ok to ptrace oneself, so I’d like to explore options with probing the kernel and utilizing system-key. It’s tricky though, cause that would mean it works some places but not others.
Regardless of all that, do you have a specific snap that displays the issue?
This replicates it quite nicely with a freshly compiled wine - you need to run the snap which will successfully run a windows-side installer wizard to install the game and then you need to try playing the installed game which will leave your session with an invisible X11 full screen window (alt+tab to get somewhere else - be sure you’ve got a terminal in the background so you can switch to it to run xkill and click anywhere other than the terminal window to kill the fullscreen window).
Just to mention that from @popey indication of the notepad-plus-plus wine snap, I forked and started to give a shot on getting a working Adventure Game Studio snap on this repo - it’s still a little far from working, but I hope to be able to figure out stuff at some point.
Right now it’s failing on permission denied error when running dpkg --add-architecture i386, during build process, which I haven’t added, so I guess I can’t reproduce notepadplusplus build.
Hello! I installed this app, downloaded the game I wanted from Steam, downloaded it, but at the time of playing it does not run. Any tips?
The game is Age of Empires 2 HD.
thankful
We’ve got a medical app that relies on Java, .NET, Acrobat and some certificates. It also communicates with a Microsoft SQL server on another computer. If anybody can make this work I’ll pay cash.
I don’t know if it’s better to resurrect an old thread or start a new one, but I’m starting here. I’ve tried to snap a few apps for my organization that run under WINE. They also rely on .NET 4. Invariably I get everything to work in devmode, but confinement blocks the apps from working properly. The blocker I have repeatedly seen is a call to System.Diagnostics.NtProcessManager.GetModuleInfos(), which apparently uses ptrace according to snappy-debug.
So I would love for there to be some kind of interface available that would allow a WINE-based app to handle this and similar ptrace-based calls. Just for thoroughness’ sake, I’ve tried using pretty much every interface that mentions processes, and they’ve not helped.
Are you willing to help to get such thing build, if yes am working on such thing and i need some help, so if someone helps which rarely happens it may be possible at-least in the near future ??