User:Meguro

From ArchWiki
Jump to navigation Jump to search

Contact information

You can get in contact with me through the following medium

  • Discord: mashiro#7174
  • Email: ttrungpt2@gmail.com
  • Twitter: @megurowo
  • osu!: Meguro (i usually play this game, so there's high chance that you'll have your message read there)
  • Telegram

Koichoco through Wine

Note: this was orginally wrote by me and posted on r/visualnovel

I want to share with everyone my way of installing koichoco (or Koi to Senkyo to Chocolate if you prefer the long name) on Linux under wine.

Note: I'm not guaranteed that the game will run with no-cd patch of this game. This tutorial will also assume that you have the game's install disc. You can try it out, but your results might varies

Prerequisites

You'll need

  1. Koichoco Install Disc (you can buy one or scouting the internet for that, the installation that you get from a certain torrent site might not work with this tutorial)
  2. wine-staging & winetricks
  3. cdemu (optional if you have the physical disc and have a optical drive)
  4. Optional: Basic Translation's English Patch

Now then let's begin.

Installation

Install wine & winetricks

To install wine, please refer to Wine's wiki page, to install winetricks, use this command

   $ sudo pacman -S winetricks

tl;dr:

   $ sudo pacman -S wine-staging winetricks

Install cdemu (optional if you have the physical disc and optical drive)

To install cdemu, please refer to CDemu's wiki page

tl;dr

   $ sudo pacman -S cdemu-client
   $ sudo modprobe -a sg sr_mod vhba

Setup your wineprefix

First, create a new wineprefix for your game, you can try to use the main prefix. But a new one is always recommended

   $ WINEPREFIX=~/.winekoichoco wineboot

Optionally, if you want to change any settings in your wineprefix, use this

   $ WINEPREFIX=~/.winekoichoco winecfg
Note: you can replace winekoichoco with any name you want

You now have the winecfg window, close it. That means the prefix has been successfully created

Now we need to to install a Windows component from winetricks called quartz. This will ensure that the game will be able to play the opening/ending video properly

Use this command to install quartz:

   $ WINEPREFIX=~/.winekoichoco winetricks quartz

You can also install lavfilters (and optionally ffdshow, tho you don't have to), to make sure that the playback is going well.

   $ WINEPREFIX=~/.winekoichoco winetricks lavfilters (ffdshow)

Follow the instruction on their respective installer to complete the installation

For example: this is what will happen when you don't install lavfilters

Install the game

If you have the physical disc, please put the disc in your disc drive. Otherwise, here is the way to mount the disc image of the game's install disc.

It's really simple actually, do

   $ cdemu load 0 [path to your disc image]

The disc will now appear as SPR001.

Now then, you will need to run the installer on the disc under your wineprefix. Double click on the installer will make it run on the default one.

To install the game,

   $ WINEPREFIX=~/.winekoichoco wine [drag and drop the .msi file on the disc to your terminal]

You should be greeted with this

That indicate you're probably missing some Japanese font, install it through winetricks if you want to read the installer (not required for the game)or you will need to press that next button `(N) >` everytime, if you want to change your installation path, then stop on the second step and choose.

After that, you just have to wait, after that, you're done!

Now then you'll need to run the game, don't try to run the game using the shortcut it created on the "Start" menu yet, as it will run the game in the default wineprefix. Also don't unmount the disc image, you'll need that to run the game as the game will check the disc existence everytime you start the game.

To run the game

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.winekoichoco wine '[path to your game's installation directory/恋と選挙とチョコレート.exe' 

For me, it was:

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.winekoichoco wine '/home/meguru/.winekoichoco/drive_c/Program Files (x86)/sprite/koichoco/恋と選挙とチョコレート.exe' 

The LANG=ja_JP.UTF-8 variable will put the game in japanese locale. You don't have to change anything in the system (but just to be sure, please enable ja_JP.UTF-8 in your locale.gen file and install japanese fonts)

Once you start the game, you'll be greeeted with the promt asking you to type the product key in

Enter your product key in. Simple. Where to get it? If you bought it, it should be in the package that you bought the game. If you didn't bought it, search the internet for that. I won't give the key here.

With that, the game should now run on your machine.

But wait, there's more. Once you reopen the game the next time, you will notice that the game won't launch any more. Don't panic. You can get the game to run again by removing the file KSC-READ.dat in the SystemSaveData folder inside the game installation folder. Please note that the game will recreate that file everytime you start the game. So you will need to delete that file everytime you want to play. You can write a shell script to remove that file first and then launch the game.

Optional: Install the english patch

Obtain the english patch from the translate group's page, then do this

    $ WINEPREFIX=~/.winekoichoco wine [drag and drop the setup file to your terminal]

Follow the steps, and your game is patched

Note: the English patcher will crash if you attempt to run it with LANG=ja_JP.UTF-8 variable

A few last things:

If there's no audio, try install lib32 version of your audio library (like ALSA).

If there's no video, try installing lib32-mpg123.

At this point, you'll have a fully functional installation of Koichoco on your linux machine. Thanks for reading!


Yume to Iro de Dekiteiru through Wine

Note: This will only apply to the Japanese release of the game, for the future Sekai Project's global release of this game, the guide below will mostly not apply to that release (except if they decide keep the wmv video, which i doubt they will)

This is a short guide to get Yume to Iro de Dekiteiru working properly under wine.

Since the installation for this game is straighfoward, this will relatively short compare to Koichoco. This guide will assume that you've already installed both wine and winetricks, if not, refer to the Koichoco on Wine guide

Setup your wineprefix

Though not necessary required, it's recommended to create a new wineprefix, you can use the same prefix you use for other vns just fine, but just in case the deps in those prefix conflict with this game, it's best to create a new one

   $ WINEPREFIX=~/.wineyumeiro wineboot

Next, we will need to install both WP9 and dxvk using winetricks, without both of them the videos in this game won't work at all (without both of them or only dxvk, the video will be skipped, with only wp9, only the audio of the video will play)

   $ WINEPREFIX=~/.wineyumeiro winetricks wp9 dxvk

Install & launch the game

This game thankfully didn't employ any license check, so the easiest way to install it is to pop in the installation disc (or if you happens to have the digital DL version, just extract the archive), and

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.wineyumeiro wine '[path to the installation disc or folder]/setup.exe' 

Follow the installer instruction, and you're done!

To launch the game, either launch BOOTSTRAP.exe or 夢と色でできている.exe using

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.wineyumeiro '[path to the game's installation directory/BOOTSTRAP.exe' 

or

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.wineyumeiro '[path to the game's installation directory/夢と色でできている.exe'

You're now ready to play the game

Update the game

Obtain the patch on feng's official page for this game, and then

   $ LANG=ja_JP.UTF-8 WINEPREFIX=~/.wineyumeiro '[path to the game's installation directory/夢と色でできている_v101パッチ.exe'

You should now have the up to date version of this game