Advertisement
Guest User

Untitled

a guest
Apr 9th, 2016
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. # Playing Visual Novels on GNU/Linux with Wine
  2.  
  3. *Disclaimer: I'm using Arch Linux. Instructions may be slightly different depending on your distro.*
  4.  
  5. So you've finally switched to linux, and now you're eager to play some of your mongolian interactive books. However, you realise with horror that your favorite eroge doesn't load! Don't panic, though. This is a step-by-step guide to installing 99% of Visual Novel, using PlayOnLinux (which is actually wine).
  6.  
  7. *We're going to install Grisaia No Kajitsu as an example.*
  8.  
  9. ## Initial preparations
  10.  
  11. First, you should install **PlayOnLinux**. Instructions depend on your distro. Here's the commands for the most common ones:
  12.  
  13. - Arch Linux: `sudo pacman -S playonlinux`
  14. - Ubuntu: [Follow these instructions](https://help.ubuntu.com/community/PlayOnLinux).
  15. - Fedora: [RPM repository](http://rpm.playonlinux.com/).
  16. - Gentoo: `emerge --ask app-emulation/playonlinux`
  17.  
  18. The reason we're gonna use PlayOnLinux is that we're going to install a bunch of packages that could make your existing wine installation unstable and buggy.
  19.  
  20.  
  21. ## Preparing the virtual drive
  22.  
  23. First, we'll start PlayOnLinux. The executable name is `playonlinux`.
  24.  
  25. ![Main POL window](https://d2.maxfile.ro/ilvfbusrir.png)
  26.  
  27. This is where you're going to be able to launch all of your games. (one convenient aspect of using PlayOnLinux is a centralized interface for all of your games.)
  28.  
  29. The first thing we're gonna do is create a virtual drive which will contain all of our installed games. To do this, click on the "Install" button at the top, then on "Install a non-listed program" on the bottom left of the new window.
  30.  
  31. ![Installing a non-listed program](https://d2.maxfile.ro/mctgyxklrp.png)
  32.  
  33. When PlayOnLinux gives you the choice between installing in a new virtual drive or editing an existing application, choose the former option.
  34.  
  35. ![New virtual drive](http://comfy.moe/lfocuj.png)
  36.  
  37. Give a name to the new virtual drive. It doesn't really matter, just choose something you'll remember.
  38.  
  39. ![Giving a name to the virtual drive](http://cdn.che.moe/jzlfko.png)
  40.  
  41. On the next screen, choose "Install some libraries".
  42.  
  43. ![Installing libraries](https://sugoi.vidyagam.es/qt/2eiAQ9L.png)
  44.  
  45. Choose a 32-bit installation. Yes, even if your processor is a 64-bit one. Wine is still kind of buggy in 64-bit mode.
  46.  
  47. ![Choosing the architecture](https://a.cocaine.ninja/iwkdji.png)
  48.  
  49. Now, we're going to install the packages that are often needed by visual novels. These are: corefonts, d3dx9\_36, directmusic, dsound, dotnet40, ffdshow, quartz, and vcrun6. Simply select all of the "POL\_Install\_\<package name\>" options.
  50.  
  51. ![Selecting packages](http://gateway.glop.me/ipfs/QmbJCiyfBzh58ggcGmfKy5WvTxwEke29pPaKPQuPHiwahp/icTfp0.png)
  52.  
  53. Everything should install relatively quickly. After the installation finishes, you should see this window:
  54.  
  55. ![Installation window](https://u.aww.moe/m7vsm0.png)
  56.  
  57. We're gonna install LAVFilters. It is often necessary to play videos in some VNs (TYPE-MOON's, for example). I know it may seem redundant along with ffdshow, but I've encountered games which needed both.
  58.  
  59. [Download the latest exe from here](https://github.com/Nevcairiel/LAVFilters/releases), and select it in the PlayOnLinux installation window. Just keep clicking next.
  60.  
  61. Afterwards, PlayOnLinux will show this window:
  62.  
  63. ![Shortcuts window](https://a.cocaine.ninja/fybitj.png)
  64.  
  65. You can ignore it for now. simply press Cancel.
  66.  
  67. Your virtual drive is now ready to install games on it.
  68.  
  69. ## Installing games
  70.  
  71. Generally, VNs can be installed in two ways: either from an installation executable/exe, or simply extracted and ran from an archive.
  72.  
  73. Everything from now on will happen in the configuration window. You can access it by pressing "Configure" at the top of the main window. Then, click on your virtual drive on the left:
  74.  
  75. ![Settings](https://r.kyaa.sg/kekcfc.png)
  76.  
  77. ### Installing from an executable
  78.  
  79. Go to the "Miscellaneous" tab, and click on "Run a .exe in this virtual drive", then simply choose the executable and follow the installation.
  80.  
  81. That was easy, wasn't it?
  82.  
  83. ### Installing from an archive/folder
  84.  
  85. This is a bit longer than the previous step, but it's still really easy. I'm going to use this Grisaia installation as an example:
  86.  
  87. ![Pirating is evil kids](https://a.cuntflaps.me/ptmulwl.png)
  88.  
  89. Go to the configuration window, move to the "Miscellaneous" tab, and click on "Open virtual drive's directory". This should open your file manager.
  90.  
  91. ![Files](http://cdn.che.moe/mdrtor.png)
  92.  
  93. Navigate to the `drive_c/Program Files` folder, then copy your game installation there.
  94.  
  95. ![Moving things](https://sugoi.vidyagam.es/qt/mrMDnfr.png)
  96.  
  97. The game should now be inside your virtual drive, ready to be launched.
  98.  
  99. ## Creating game shortcuts
  100.  
  101. Installing the game is nice, but now we need to figure out how to launch it. Don't panic! It's extremely easy. In the configure window, go to the General tab and click "Make a new shortcut from this virtual drive". It will scan the executables inside the virtual drive and then display a list.
  102.  
  103. ![These alt names for images are getting even less descriptive than my git history](https://sugoi.vidyagam.es/qt/wvqzXIV.png)
  104.  
  105. I'll choose grisaia.exe and name it "The Fruit of Grisaia". Afterwards, just select "I don't want to make another shortcut" (or install a shortcut for another game if you're doing it in batch).
  106.  
  107. Your game is now displayed in the main POL window!
  108.  
  109. ![Woo we did it reddit](https://a.cocaine.ninja/bhvlxm.png)
  110.  
  111. ## Launching the game
  112.  
  113. Just double click on the icon.
  114.  
  115. ![IT WERKS](https://a.desu.sh/vpbzsr.png)
  116.  
  117. =======================
  118.  
  119. ## FAQ
  120.  
  121. #### I need to launch my game in a japanese locale!
  122.  
  123. First, verify you have the japanese locale installed. Instructions may vary based on your distro.
  124.  
  125. Next, go to the configuration window in POL and select the shortcut of the VN you want to launch in a japanese locale. (Not the virtual drive!)
  126.  
  127. Then, go to the Miscellaneous tab, and paste "LANG="ja\_JP.UTF-8" in the "command to exec before running the program" box.
  128.  
  129. ![Easy, isn't it?](http://comfy.moe/xzrrzi.png)
  130.  
  131.  
  132. #### My window manager / desktop environment is fucking up the dimensions of the program!
  133.  
  134. Some tiling WMs, like i3 or bspwm, may alter the window, making it impossible to play or kind of ugly. To fix this, we're going to run the program in a virtual desktop. Open the configuration window in POL, go in the "Wine" tab, and click on "Configure Wine". Then, go to "Graphics, and click on "Emulate a virtual desktop".
  135.  
  136. ![bspwm fucks up wine windows, for example](https://a.cocaine.ninja/vevrcs.png)
  137.  
  138. In this virtual desktop, the application should render correctly.
  139.  
  140.  
  141. ## Contact
  142.  
  143. If you have anything to add to this guide (or want to correct something I said), query apt-get on IRC. I'm on Rizon, freenode, and SynIRC. My e-mail address is aptget (at) cock (dot) lu.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement