visualnovel:vnsonlinux

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
visualnovel:vnsonlinux [2024/12/21 13:29] – [Edit - Panel] yesvnsonlinuxvisualnovel:vnsonlinux [2024/12/22 07:13] (current) – [Visual Novel Compatibility Databases] Fix internal link to game-specific issues yesvnsonlinux
Line 11: Line 11:
 ====== Using Wine ====== ====== Using Wine ======
  
-While many visual novels are designed to run only on Microsoft Windows, Wine allows us to run them on GNU/Linux by re-implementing the system libraries these games depend on when running on Windows.((For a more technical explanation of how Wine works, read this article by CodeWeavers: https://www.codeweavers.com/blog/aeikum/2019/1/3/working-on-wine-part-1-the-wine-ecosystem)) It is compatible with many DRM-free visual novels.+Most visual novels are designed only to run on Windows, but with Wine, you can play a lot of them on GNU/Linux. Wine works by providing Linux-compatible replacements for the Windows features these games rely on.((For a more technical explanation of how Wine works, see this article by CodeWeavers: https://www.codeweavers.com/blog/aeikum/2019/1/3/working-on-wine-part-1-the-wine-ecosystem)) However, most visual novels that are encumbered by DRM do not work in Wine. You should first check [[visualnovel:problems#drm_and_region_restrictions|if the visual novel you want to play is DRM-free]].
  
 ===== Setting Up Your Environment ===== ===== Setting Up Your Environment =====
Line 30: Line 30:
  
 <panel type="info" title="Other Ubuntu-Based Distributions" icon="fa fa-info-circle"> <panel type="info" title="Other Ubuntu-Based Distributions" icon="fa fa-info-circle">
-These steps may not apply to all Ubuntu-based distributions. For instructions on installing Wine, you should refer to your distribution's documentation.+These steps may not apply to all Ubuntu-based distributions. To install Wine on an Ubuntu-based distribution, you should refer to your distribution's documentation.
 </panel> </panel>
  
Line 39: Line 39:
 </code> </code>
  
-Add the WineHQ repository:+Import the key for the WineHQ repository:
  
 <code bash>sudo mkdir -pm755 /etc/apt/keyrings</code> <code bash>sudo mkdir -pm755 /etc/apt/keyrings</code>
 <code bash>sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</code> <code bash>sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</code>
 +
 +You now need to add the WineHQ repository. The following command will automatically detect your Ubuntu version and add the relevant WineHQ repository:
 +
 <code bash>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources</code> <code bash>sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources</code>
 <code bash>sudo apt update</code> <code bash>sudo apt update</code>
Line 56: Line 59:
 We now need Lutris so we can install and manage our games. You can get the latest version of Lutris from https://github.com/lutris/lutris/releases/latest. You need to download the ''.deb'' package and install it:  We now need Lutris so we can install and manage our games. You can get the latest version of Lutris from https://github.com/lutris/lutris/releases/latest. You need to download the ''.deb'' package and install it: 
  
-<code bash>sudo apt install ./lutris_0.5.13_all.deb</code>+<code bash>sudo apt install ./lutris_x.x.xx_all.deb</code>
  
 You may need to install some unmet dependencies before you can install the package: You may need to install some unmet dependencies before you can install the package:
Line 155: Line 158:
 </code> </code>
  
-Add the WineHQ repository:+Import the key for the WineHQ repository:
  
 <code bash>mkdir -pm755 /etc/apt/keyrings</code> <code bash>mkdir -pm755 /etc/apt/keyrings</code>
 <code bash>wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</code> <code bash>wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key</code>
 +
 +You now need to add the WineHQ repository. The following command will automatically detect your Debian version and add the relevant WineHQ repository:
 +
 <code bash>wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources</code> <code bash>wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/debian/dists/$(lsb_release -cs)/winehq-$(lsb_release -cs).sources</code>
 <code bash>apt update</code> <code bash>apt update</code>
Line 204: Line 210:
 </pane> </pane>
 </tabs> </tabs>
 +
 +----
  
 ===== Installing Your Visual Novel ===== ===== Installing Your Visual Novel =====
Line 211: Line 219:
 Now you can [[#using_lutris|install the game using Lutris.]] Now you can [[#using_lutris|install the game using Lutris.]]
  
-If you have a download edition with only a launch executable and no installation executable, you need to [[#from_the_terminal|create a Wineprefix]], then [[#terminal_install_configuration|add the game to Lutris]].+If you have a download edition with only a launch executable and no installation executable, you need to [[#from_the_terminal|create a Wineprefix]], then [[#lutris_configuration|add the game to Lutris]].
  
 <panel type="danger" icon="fa fa-exclamation-circle" title="Japanese Text Issues"> <panel type="danger" icon="fa fa-exclamation-circle" title="Japanese Text Issues">
Line 242: Line 250:
 === Installing The Game === === Installing The Game ===
  
-<panel type="warning" icon="fa fa-exclamation-triangle" title="Japanese Language Visual Novels">+Once Lutris launches, follow these steps to install your visual novel:
  
-If you're trying to install a Japanese language visual novel, you may need Japanese Locale enabled for the installer to work properlyYou'll need to launch Lutris from the Terminal to enable Japanese locale:((There is an open pull request for the ability to select Locale in the installer wizard: https://github.com/lutris/lutris/pull/4946))+1Click the **+** icon in the top left, then select **Install a Windows game from an executable**
  
-<code bash>LANG=ja_JP.UTF-8 lutris</code>+2Provide the **Game Name** and select **Windows XP 32-bit** as the preset.
  
-If you installed the Lutris Flatpak package (Linux Mint users are instructed to do this), you'll need to launch Lutris like this instead: +2a. If you're installing a Japanese language visual novel, change the Locale to ja_JP.UTF-8.
- +
-<code bash>LANG=ja_JP.UTF-8 flatpak run net.lutris.Lutris</code> +
-</panel> +
- +
-Once Lutris launches, follow these steps to install your visual novel: +
- +
-1. Click the **+** icon in the top left, then select **Install a Windows game from an executable**+
  
-2Provide the **Game Name** and select **Windows XP 32-bit** as the preset, then click **Install**.+2bClick **Install**.
  
 3. Click **Install** next to **wine**. 3. Click **Install** next to **wine**.
Line 272: Line 273:
  
 <panel type="primary" title="Watch a Video - Installation" icon="fa fa-film"> <panel type="primary" title="Watch a Video - Installation" icon="fa fa-film">
-This video guides you through the installation process. You don't need to launch Lutris from the Terminal unless you're installing a Japanese language visual novel+This video guides you through the installation process.
  
 {{visualnovel:install-h2o-in-lutris.mp4?400}} {{visualnovel:install-h2o-in-lutris.mp4?400}}
Line 359: Line 360:
 This video guides you through the configuration process:  This video guides you through the configuration process: 
  
-{{visualnovel:add-lutris-game.mp4?400}}+{{visualnovel:add-h2o-to-lutris.mp4?400}}
 </panel> </panel>
  
Line 379: Line 380:
 If you want to know whether a visual novel you want to buy is compatible with GNU/Linux, or are having trouble getting it to work, you can try checking a compatibility database. These databases are very much incomplete, but they’re a good place to start for popular titles: If you want to know whether a visual novel you want to buy is compatible with GNU/Linux, or are having trouble getting it to work, you can try checking a compatibility database. These databases are very much incomplete, but they’re a good place to start for popular titles:
  
-  * [[visualnovel:problems#game-specific_issues1|Our Troubleshooting Page]] has a small, but growing list of visual novels with troubleshooting steps to get the game working on GNU/Linux.+  * [[visualnovel:problems#game-specific_issues|Our Troubleshooting Page]] has a small, but growing list of visual novels with troubleshooting steps to get the game working on GNU/Linux
 +  * [[visualnovel:compatibility-list|Our Compatibility List]] has a small, but growing list of known good/bad titles.
   * [[https://www.visualnovelwiki.org/en/vns|VisualNovelWiki]] has a list of visual novels that indicates whether the games are compatible with GNU/Linux and macOS, and explains how to get the game working.   * [[https://www.visualnovelwiki.org/en/vns|VisualNovelWiki]] has a list of visual novels that indicates whether the games are compatible with GNU/Linux and macOS, and explains how to get the game working.
   * [[https://appdb.winehq.org|WineHQ’s AppDB]] sometimes has an entry for the visual novel you’re looking to play, but the database doesn’t support Japanese text.   * [[https://appdb.winehq.org|WineHQ’s AppDB]] sometimes has an entry for the visual novel you’re looking to play, but the database doesn’t support Japanese text.
Line 427: Line 429:
 ===== Finding Banner Images and Cover Art ===== ===== Finding Banner Images and Cover Art =====
  
-The banner resolution in Lutris is ''%%184x69%%'', cover art is ''%%264x352%%'', and the icon is ''%%128x128%%''. Lutris usually extracts the icon from the executable when selecting it, but if it doesn’t, you can use ''%%icoextract%%'' to extract the executable’s bundled icon.+The default banner resolution in Lutris is ''%%184x69%%'', cover art is ''%%264x352%%'', and the icon is ''%%128x128%%'', but Lutris will accept most sizes. Lutris usually extracts the icon from the executable when selecting it, but if it doesn’t, you can use ''%%icoextract%%'' to extract the executable’s bundled icon.
  
 The banner resolution is the same as Steam’s banner resolution. All games on Steam have banner and cover art, so if the game is on Steam, you can get the banner from ''%%https://cdn.akamai.steamstatic.com/steam/apps/[APP_ID]/capsule_184x69.jpg%%'' (''%%[APP_ID]%%'' should be replaced with the game’s Steam App ID).  The banner resolution is the same as Steam’s banner resolution. All games on Steam have banner and cover art, so if the game is on Steam, you can get the banner from ''%%https://cdn.akamai.steamstatic.com/steam/apps/[APP_ID]/capsule_184x69.jpg%%'' (''%%[APP_ID]%%'' should be replaced with the game’s Steam App ID). 
  
-You can get cover art for the game from ''%%https://cdn.akamai.steamstatic.com/steam/apps/[APP_ID]/hero_capsule.jpg%%'', but it won’t be the same resolution or aspect ratio Lutris expects and will need to be cropped.+You can get cover art for the game from ''%%https://cdn.akamai.steamstatic.com/steam/apps/[APP_ID]/hero_capsule.jpg%%''.
  
 For example: For example:
Line 440: Line 442:
 That works for Steam, but most visual novels don’t have a banner with the aspect ratio Lutris expects, so for the majority of VNs you will need to learn how to create something decent with [[https://www.gimp.org|GIMP]], [[https://krita.org/en/|Krita]], or another photo editor. That works for Steam, but most visual novels don’t have a banner with the aspect ratio Lutris expects, so for the majority of VNs you will need to learn how to create something decent with [[https://www.gimp.org|GIMP]], [[https://krita.org/en/|Krita]], or another photo editor.
  
-To acquire a source image to work with, visit the visual novel’s official site, explore every single page, and see if you can find an image that matches something closely to what you want. Use inspect element to grab individual image assets and create something with them that somewhat matches the look of the game’s cover art but in banner form+To acquire a source image to work with, visit the visual novel’s official site, explore every single page, and see if you can find an image that matches something closely to what you want. Use inspect element (right click and select **Inspect**) to grab individual image assets and create something with them that somewhat matches the look of the game’s cover art but in banner form.
- +
-Most visual novels already have vertical cover art which usually only needs to be cropped slightly. If the cover art is horizontal, the process is a lot closer to the banner creation process, but not nearly as difficult and time consuming.+
  
 It might take some work, but your game library will look much nicer for it. It might take some work, but your game library will look much nicer for it.
  • visualnovel/vnsonlinux.1734787776.txt.gz
  • Last modified: 2024/12/21 13:29
  • by yesvnsonlinux