Run Linux Games On Mac
What is PlayOnMac? PlayOnMac is free software that allows you to easily install and use numerous games and software designed to work on. Download PlayOnMac. Version 4.3.4. 160MB. Why using PlayOnMac rather than other solution? There are many other ways to run Windows program on a Mac. Here is a comparative table to understand the. Mac OS by itself has a thriving software ecosystem and great developer support, but some applications still only support Windows. Be it games, or professional software, rest assured, because today, we are going to discuss methods to run Windows apps on Mac OS. How to Run Windows Apps on Mac. SteamOS + Linux on Steam Browse the newest, top selling and discounted SteamOS + Linux supported games New and Trending Top Selling What's Being Played Upcoming Results exclude some products based on your preferences-15%.
Jan 30, 2020 Best Linux Games on Steam and Lutris Ranked For You. So those are our picks for the best Linux games you can play in 2020. To be frank, there are many more games that can be added to the list as Linux has recently got huge support from Steam and Lutris.
Linux users who want to run Windows applications without switching operating systems have been able to do so for years with Wine, software that lets apps designed for Windows run on Unix-like systems.
There has been no robust equivalent allowing Mac applications to run on Linux, perhaps no surprise given that Windows is far and away the world's most widely used desktop operating system. A developer from Prague named Luboš Doležel is trying to change that with 'Darling,' an emulation layer for OS X.
'The aim is to achieve binary compatible support for Darwin/OS X applications on Linux, plus provide useful tools that will aid especially in application installation,' Doležel's project page states. Darwin is Apple's open source operating system, which provides some of the backend technology in OS X and iOS. The name 'Darling' combines Darwin and Linux. Darling works by 'pars[ing] executable files for the Darwin kernel.. load[ing] them into the memory.. and execut[ing] them.'
But there is a ways to go. 'Darling needs to provide an ABI-compatible [application binary interface] set of libraries and frameworks as available on OS X.. by either directly mapping functions to those available on Linux, wrapping native functions to bridge the ABI incompatibility, or providing a re-implementation on top of other native APIs,' the project page notes.
Doležel, who started Darling a year ago, described the project and its progress in an e-mail interview with Ars. Darling is in the early stages, able to run numerous console applications but not much else. 'These are indeed the easiest ones to get working, albeit 'easy' is not the right word to describe the amount of work required to achieve that,' Doležel said. 'Such applications include: Midnight Commander, Bash, VIM, or Apple's GCC [GNU Compiler Collection]. I know it doesn't sound all that great, but it proves that Darling provides a solid base for further work.'
Users must compile Darling from the source code and then 'use the 'dyld' command to run an OS X executable,' Doležel said. One roadblock is actually getting Mac .dmg and .pkg application files working on a Linux system. Because doing so isn't that straightforward, Doležel said, 'I've written a FUSE module that enables users to mount .dmg files under Linux directly and without root privileges. An installer for .pkg files is underway.'
Unix/Linux synergy
The fact that OS X is a Unix operating system provides advantages in the development process. 'This saved me a lot of work,' Doležel explained. 'Instead of implementing all the 'system' APIs, it was sufficient to create simple wrappers around the ones available on Linux. I had to check every function for ABI compatibility and then test whether my wrapper works, so it wasn't as easy as it may sound.'
Another lucky break not available to Wine developers is that Apple releases some of the low-level components of OS X as open source code, 'which helped a lot with the dynamic loader and Objective-C runtime support code,' Doležel noted.
But of course, the project is an extremely difficult one. Doležel isn't the first to try it, as Darling was initially based on a separate project called 'maloader.' Doležel said he heard from another group of people 'who started a similar project before but abandoned the idea due to lack of time.'
Doležel was actually a novice to OS X development when he started Darling, being more familiar with OS X from a user's perspective than a developer's perspective. 'I have personally looked for something like Darling before, before I realized I would have to start working on it myself,' he said.
Darling relies heavily on GNUstep, an open source implementation of Apple's Cocoa API. GNUstep provides several core frameworks to Darling, and 'the answer to 'can it run this GUI app?' heavily depends on GNUstep,' Doležel said. Doležel is the only developer of Darling, using up all his spare time on the project.
No reverse-engineering
Doležel isn't reverse-engineering Apple code, noting that it could be problematic in terms of licensing and also that 'disassembling Apple's frameworks wouldn't be helpful at all because Darling and the environment it's running in is layered differently than OS X.'
The development process is a painstaking one, done one application at a time. Doležel explains:
6.8 free download - Mac OS X Update, R for Mac OS X, Apple Mac OS X Mavericks, and many more programs. Mac os x 10.6.8 games free download. Amidst Amidst or Advanced Minecraft Interface and Data/Structure Tracking is a tool to display an overview.
To improve Darling, I first take or write an application I'd like to have running. If it is someone else's application, I first examine it with one of the tools that come with Darling to see what frameworks and APIs it requires. I look up the APIs that are missing in Apple's documentation; then I create stub functions for them and possibly for the rest of the framework, too. (Stub functions only print a warning when they are called but don't do any real work.)
The next step is to implement all the APIs according to the documentation and then see how the application reacts. I also add trace statements into important functions to have an insight into what's happening. I believe this is very much like what Wine developers do.
When things go wrong, I have to use GDB [GNU Debugger] to debug the original application.
It is rather unfortunate that Apple's documentation is often so poorly written; sometimes I have to experiment to figure out what the function really does. Many OS X applications seem to contain complete pieces of example code from Apple's documentation, presumably because one would have to spend a lot of time getting to understand how the APIs interact. This is why I appreciate open source so much—when the documentation is sketchy, you can always look into the code.
Years of development are needed. Similar to Wine, 'Having a list of applications known to be working is probably the best way to go,' Doležel said.
Darling should work on all Linux distributions, he said, with the catch that 'many apps for OS X are 32-bit only, and installing 32-bit packages on a 64-bit Linux system could be tricky depending on your distribution. I personally use Gentoo Linux, so I'm gradually creating a Portage overlay that would compile Darling and all dependencies for both 32-bit and 64-bit applications.'
Doležel would like to bring Angry Birds, other games, and multimedia applications to Linux. Darling could potentially 'be used to run applications compiled for iOS,' he writes on the project site. This will also be a challenge. 'The intention is to support the ARM platform on the lowest levels (the dynamic loader and the Objective-C runtime),' he writes. 'Rewriting the frameworks used on iOS is a whole different story, though.'
- Welcome to Touhou Wiki!
- Please register to edit. For assistance, check in with our Discord server or IRC channel.
For those of us who run Linux or Mac OS X as our only operating system, finding functional alternatives to Windows programs can be pretty hard. When we need to run Windows programs, the Wine project has long been a great emulation system that lets us do such a thing. Basically, it translates Windows functionality into the Linux equivalent to coding, so you can still play your Windows games, work in Photoshop, etc. under Linux and, to a certain extent, Mac OS X.
It's not perfect, however; running games from the Touhou Project on Wine is hit-or-miss, but it's possible. This article will explain how Wine works, and how to (maybe) play Windows Touhou games under Wine.
Before we start, this does require a little familiarity with the shell (or command-line interface). This Linux guide has a nice introduction to using the shell.
- 1Installing Wine
- 2Using Wine
- 6Touhou Games in the Wine AppDB (appdb.winehq.org)
- 7Playing Touhou Games on Steam
Installing Wine[edit]
Linux[edit]
- Arch Linux: See here
- Ubuntu and Debian: See Here
- Fedora: See Here
- SuSE: See Here
- Gentoo: See Here. Unmasking the git-fetching ebuild is recommend. Adding =app-emulation/wine-9999 ** to /etc/portage/package.keywords should do the trick. Do emerge -pv wine and check which version it wants to build (it should be app-emulation/wine-9999). Just be aware, building from Wine's Git repository might not actually work; the code is in constant flux.
Mac OS X[edit]
Using MacPorts
If you already have MacPorts installed with all dependencies, simply run $ sudo port install wine
to install with all dependencies.
If you have yet to install MacPorts, refer to this installation instructions.
Using Homebrew
Go here and install if needed, then run $ brew install wine
Using Wine[edit]
Wine puts a hidden directory in your home folder, called .wine, which contains a full representation of a Windows folder hierarchy and miscellaneous library and system files. The .wine folder lives inside your home directory (~/.wine). Inside is another folder called drive_c, which is your Wine install's C: drive folder. If you browse inside this folder (~/.wine/drive_c) you'll probably quickly recognize it's contents from a standard Windows install.
Generally, your Linux distribution will have assigned Windows executable to automatically start within Wine, so double-clicking a Windows executable should generally just work. But if not, you'll have to invoke Wine from your terminal. To do this, navigate to the folder that contains the executable and then invoke Wine.
And that ought to start up your program.
Running Touhou games[edit]
Running a Touhou game is done the same way, only you might want to specify your locale while invoking Wine so it starts your game as a Japanese program to prevent some serious mojibake. This can be done by adding LANG='ja_JP.UTF-8'
before executing Wine.
The example below took the installation of Double Spoiler and ran th125.exe which is the game:
Note: If you are running the language patch version of the game (en_US for example), you won't need no specify this unless if your system locale isn't en_US.UTF-8, specify LANG='en_US.UTF-8'
before the command. Same applies to other language patch as well
Running games as 32-bits version of Windows
Due to the fact that some games still requires to run as 32-bits installation of Windows and the latest version of Wine usually installs as 64-bits, users need to change WINEARCH to win32. This is necessary if you want to install some missing components as demonstrated in the section below. It is recommended to change the Wine directory (normally ~/.wine) to something else and set WINEARCH=win32
before running the game.
Installing missing native Windows components[edit]
Although most Touhou games should run out of the box with the recent development of Wine, some games might experience instant crash when try to running through Wine. This is mostly because Wine cannot emulate all of the Windows libraries/DLLs therefore leads to missing libraries and such which leads to crash. Before running the game, user should make sure that all necessary components are installed. There are some ways to achieve this:
Using Winetricks
Winetricks is a helper script to aid in installing Windows components such as dlls, Windows runtime library. With winetricks, all installation of dlls and libraries can be done with merely a command.
Start by installing Winetricks by following the installation instruction provided here. After installation. We will install Execute this command to install 'd3dx9_36.dll'
Winetricks also have a GUI, which can be open by executing winetricks
in the Terminal.
Note: Some libraries such as dotnet40 requires to install in a 32-bits environment.
Copy the .dll from the Windows installation folder
Another way to temporarily fix a partially-functioning DLL is to replace it with the original file from a Windows install. Here is the way to do it.
Note: This was done on a 32-bit Vista installation mounted at /mnt/vista32.
First off, to copy the file. Wine's Windows folder is in .wine/drive_c/windows.
This might be all you need for the new DLL to work. To make sure programs see it, we'll configure it within Wine. Wine has a configuration utility called winecfg; run it from your terminal and you'll see this:
Click the 'Libraries' tab:
Under 'New override for library', type d3dx9_36, and click 'Add' then 'Apply':
Now you can click 'OK' to exit the utility, or peruse around the other tabs and settings. One issue with loading native Windows DLLs is that they may require original low-level Windows DLLs (i.e. ntdll.dll) that Wine is emulating, and might not work. These are the core DLLs that Wine is emulating and cannot be replaced with native Windows DLLs, else you'll break your Wine folder.
Wine in Mac OS X[edit]
Wine works similarly in OS X compared to Linux. One issue that Mac users may encounter is incredibly slow 3D graphics performance; this is due to Apple's X11 implementation not supporting hardware OpenGL in older versions of OS X (Tiger and below). If you encounter this, you may want to bite the bullet and upgrade.
PC-98 Games[edit]
Various emulators such as Neko Project II, T98-Next, and Anex86 all work pretty well under Wine in order to play the PC-98 Touhou games. If you're into two-player Phantasmagoria of Dim.Dream with a gamepad, JoyToKey also works under Wine!
There's even a native port of Neko Project II for Linux and Mac OS X called Xnp2. However, there are currently some sound problems that need to be investigated; using np2fmgen in Wine is recommended instead.
Using VSync patches (and possibly other DLL-based patches) on Linux[edit]
Note: Wine 1.6 seems to run the VSync patches natively. Only follow these instructions if you're using an older version of Wine, or if you get the Japanese error message that translates to 'DLL Injection Failed'.
The VSync Patch (aka vpatch) disables VSync in the Touhou games to reduce input delay. It can also produce minor speedups, especially in Embodiment of Scarlet Devil.
Running vpatch.exe in Wine cannot remove all input delay, as there appears to be some inherent input delay caused by running Touhou in Wine in the first place.
Normally, when vpatch.exe is run in Wine, a Japanese error message appears which essentially translates to 'DLL Injection Failed'. This is because Wine by default doesn't have the capability to modify running programs, which is what vpatch.exe requires. To give Wine this capability, run the following command in a terminal using sudo, su, or root:
The directory for wineserver might vary based on the Linux distribution.
If no errors appear, the command was successful, and vpatch.exe should now run properly under Wine. Be sure to exit the terminal after running the command; using Wine with root privileges is bad.
You can verify that vpatch.exe is working by loading a replay and holding the Shift key. If the FPS decreases from 60FPS to 30FPS, then vpatch.exe is working normally.
This fix should also theoretically enable the use of other DLL-based patches, though none have been tested.
Note that this fix will give all applications running under Wine, including potentially malicious applications, the capability to modify running programs. If you're concerned about this, the following command will revoke the added capability:
Gotchas, Troubleshooting[edit]
- There are issues with joysticks. If you plug in your joystick while your Touhou game is running, it probably won't notice it. Make sure it's plugged in and working before running your Touhou game.
- Installing English patches has been known to cause otherwise troublesome games to start working better.
- For Scarlet Weather Rhapsody and Touhou Hisoutensoku, see here (SWR/HSTS Wiki).
- Games running at triple or even quadruple times normally on danmaku games which made the game running faster than normal is common when running with Nvidia GPU. Try to limit the FPS to 60 by enable VSync or adding VBLANK_MODE=1 before using primusrun or optirun if you are using a hybrid GPU setup.
The Wine developers are constantly adding and fixing functionality, so while things are still iffy with Touhou games they're definitely improving. See below for a list of the current Touhou bugs on the Wine Bugzilla.
Outside the official games..[edit]
Touhou doujin games are also hit-or-miss.
Age of Ethanols is a .NET game, so it should run natively in Mono. However, it's coded in part C#, part C++, so it won't work without installing .NET and whatnot from within Wine.
Moedan works fine in Wine (Wine 1.7.20, MacOSX)
Touhou Danmakufu 0.12m may or may not work - it worked better in older versions of wine, but crashes on start due to DirectX issues in later versions. ph3 works fine with the exception of .mp3 files not running due to copyright issues on .mp3 files and the consequent inability of Wine to run them as they would normally be run. (Wine 1.7.27, MacOSX)
Labyrinth of Touhou works fine in Wine. (Wine 1.6 RC-1, MacOSX)
Touhou Games in the Wine AppDB (appdb.winehq.org)[edit]
[ EoSD] [ PCB] [ IaMP] [ IN] [ PoFV] [ StB] [ MoF] [ SWR] [ SA] [ UFO] [ HSTS] [ DS] [ FW] [ TD] [ HM] [ DDC] [ ISC] [ ULiL] [ LoLK][ AoCF][ HSiFS]
Wine Bug Status (bugs.winehq.org)[edit]
Official Games
421 (EoSD - TD) Bad Text Part 2, DIB Engine Implementation: Now Implemented
13297 (EoSD - FW) Missing D3DXCreateTextureFromFileA in d3dx9_36.dll: Now Implemented
13490 (SWR, Patchcon) Nvidia video driver FPU bug, improper rounding causing game crash: Fixed in Nvidia drivers 275.19
13554 (IaMP) Broken config.exe (16-bit app), comctl32.dll not properly imported: Fixed as of Wine 1.7.6
15146 (MoF, TD) Bad Text Part 1, Mishandled rgb444 Depth Conversion: Now Implemented
18232 (SA, UFO) Huge framerate drop when OffscreenRenderingMode=fbo (Intel i945 graphics chips): Driver issue resolved
18394 (PoFV) Patching to 1.50a breaks game, problems with dpnet.dll: Fixed as of Wine 1.7.6
19106 (MoF) Improperly rendered backgrounds: Reported fixed as of Wine 1.4-rc6
24206 (HSTS) Ending network game causes hangup: Reported fixed as of Wine 1.5.27
18440 (SWR) Menu/Game select crashes, problems with GetGlyphOutline in d3dx9_33.dll: Fixed as of Wine 1.7.29
36882 (MoF, DDC, ISC) Certain Touhou Games (10, 14, 14.3) run at 20 FPS rather than 60: Fixed as of Wine 1.7.36
30538 (SA - TD) Touhou 11, 12, and 13 are incredibly slow with Intel, Nouveau, and Nvidia drivers
20080 (PCB, ISC) Menu cursor moves around by itself
25857 (HM) Needs ID3DXEffectImpl_*Pass calls implemented Fixed as of Wine 2.7
33760 (DDC) Jagged edges on most text and art in the Touhou 14 demo
33761 (MoF - TD) Touhou 10 and up have aliased dialogue text
Play Linux Games On Mac
Fangames
30212Koumajou Densetsu needs Scripting.Dictionary implementation: Fixed as of Wine 1.7.38
34314Touhou Danmakufu 0.12m crashes on start (DMUSIC_CreateMidiOutPortImpl is a stub)
34884Touhou Danmakufu 0.12m's font becomes distorted in Wine 1.7.5
Using Parallels and VMWare Fusion (Virtualization)[edit]
Another alternative that works very well is to use Parallels Desktop to run the games.
Parallels Desktop version 5.0 runs the main series games very well: All of the Windows danmaku games except for Perfect Cherry Blossom run without slowdown on a MacBook Pro. PCB appears to suffer from slowdown for unknown reasons.
Update: Version 1.00a of Ten Desires can be significantly laggy. Patching to 1.00c resolves all issues and will run the game at 60FPS.
It is important to run the games in full screen, and it is better to use the zoom function to bring the game screen to full screen, at least on a MacBook Pro. Running the games in windowed mode often results in slowdown, and the computer appears to have real difficulties in displaying 640×480 natively (the games will run at 30fps). You can run them in 720×480 just fine, though.
Activate the zoom function through the 'Trackpad' pane in System Preferences, and zoom in by putting the mouse in the middle of the screen and holding control and scrolling up with two fingers.
The fighting games (SWR and Soku) have no slowdown during matches, but do have a serious delay while loading for the match (close to a minute). It's been suggested, but not yet confirmed, that placing the games on the virtual C: drive, rather than on the OSX desktop or other location in OSX, may clear this out; Parallels treats the Mac's hard drive as a network drive, which may slow access. Netplay has yet to be tested for either the fighters or for Phantasmagoria of Flower View.
If your SWR/Soku display looks strange when run in full screen (usually, a bar at the bottom and right of the screen that displays the desktop), set the game to run in Windowed mode, exit out, and restart the game. Then change it back to full screen in the menu.
The PC-98 games can be run through anex86 without difficulty (so yes, emulation within emulation virtualization). There's a PC-98 emulator for OSX, but it has not been updated for several years and does not appear to accept the Touhou games.
The following fan games have been confirmed to run fine under Parallels Desktop 5 using Windows XP on a MacBook Pro:
- Genius of Sappheiros (with or without English patch)
- Koumajou Densetsu: Scarlet Symphony (both games)
The following do not run under Parallels 5, have severe slowdown, or suffer from fatal glitches, although in some cases this may be due to the graphics card (apparently, some of the fangames don't communicate properly with NVIDIA cards.):
- Super Marisa World (runs at 30FPS)
- Mountain of Faith Phantasm (runs at 30FPS)
- Sengou Gensokyo (cannot input commands during battle, otherwise 100%)
- Labyrinth of Touhou (either will not display, or overwhelming glitches)
- Touhou Soccer Moushuuden (no display)
For unknown reasons, VMWare Fusion will not run the Touhou games properly The games have not yet been tested with Parallels Desktop 6. Stay tuned for information.
Playing Touhou Games on Steam[edit]
With the release of some title such as Hidden Star in Four Seasons or Antinomy of Common Flowers on Steam and the support of Proton. Playing Touhou games on Steam has become easier since now you can use the built in compatibility layers that Steam provided.
Note: Proton is a new project and is likely to have bugs, users are encouraged to report any bug they found with games to the project Github Repository. Note that if any game were proved to successfully run on Wine it might often as well run on Proton.
Installation[edit]
- Arch Linux: See here
- Ubuntu: See Here
- Debian: See here
To enable Proton for all game please go to Steam -> Settings, a section called Steam Play will appear in the bottom of the sections list, navigate to the section and check Enable Steam Play for all titles then you are good to go.
After that you can open your Library and select the game, Proton will do the rest of the job for you.
Game compatibility can be found here: https://www.protondb.com/.
Troubleshooting[edit]
- Some user might experience game crashing with Proton right when starting up without it prompting to install any drivers (e.g Proton need to install DirectX initially if you are running HSiFS for the first time). If that is the case, consider using the flatpak version of Steam.
- There is also some problem regarding launching games that come from ntfs partitions. This is confirmed as a bug, a workaround for this is to mount the partition using ntfs-3g rather than ntfs.
Another Way of Running Touhou Games on Mac[edit]
There is an easier way of running Touhou Games on a Mac. You need a Mac OSX with version 10.6.8 or later, X11, and Winebottler. 11 is available at the iTunes Store, at a cheap price, or free if you get older versions.
You can download Winebottler here. Press the free download button, and a Disk Image should appear on your desktop after download. Drag the application Wine and Winebottler into your applications folder.
Now, double click the Touhou game .exe. A dialogue box should pop up that says 'What would you like to do with the file?' Below that should be two options:
- Run directly in /Users/((Homefoldername))/Wine
- Convert to simple OS X application bundle.
Click on the first option. DO NOT CLICK THE SECOND ONE. The game will not run and your Wine will crash.
It should automatically open up X11 and run the game. No coding is required.
Glitches[edit]
- Most of the Touhou games, especially the 2nd gen Windows games, might experience minor to unacceptable slowdown on Intel Integrated Graphics (needs to be confirmed; does this slowdown also occur on dedicated graphics cards?)
- Controls going wonky can be resolved by opening the game's custom.exe and checking the box with the word 'DirectInput'. Also, the audio bugs should be fixed as of PulseAudio 1.0 & Alsa 1.0.25 (source)
- Wine 1.4 does not exhibit any issues when the game runs at full screen.
- In-game English dialogue of Mountain of Faith, Subterranean Animism, Undefined Fantastic Object and Fairy Wars will not appear. Of all the Windows games, in-game Japanese dialogue will appear as code.
- All of the games will run on Normal FPS (that is, 60 or above), unless you have CPU fan wasting applications open.
- There may be a glitch where after opening the game PoFV, IN will no longer work.
(Note that these glitches are attributed to running of games using Winebottler (only) and X11 (the section above) I haven't tried the code way to open up games. If there is a new, improved version of Winebottler that works just like Wine, please tell me!)