Le blog de Jean David TECHER, un Réunionnais à Saint-Priest/Lyon

Aller au contenu | Aller au menu | Aller à la recherche


< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 >

mercredi 17 mai 2017

Honey Select on Linux | Wine 2.8 | Gallium Nine

Last weekend I tried this game for Linux.

Notes
  • Gallium Nine is optional for this game. If you own a NVIDIA card then keep your NVIDIA driver as it is. It should work too.
  • It is not worth asking me to use PlayOnLinux (POL) to install this game. I don't use POL (old school bro!). Only winetricks is used here.

1. Video (youtube)


Honey Select on Linux | Wine 2.8 | Gallium Nine

2. Prerequisites + Installation (Tips to know)

3.0 Download game and EMF patch

While doing a few searches to download this game, listed below are the links I found to download both this game and its EMF patches

2.1 Prerequisites: Set up a new WINEPREFIX (recommended)

As usual set up a new WINEPREFIX
export WINEPREFIX=/some/path/where/to/install/the/game
Then run winecfg to fill/initiate your new WINEPREFIX
winecfg
In my case WINEPREFIX is set to /opt/Builds/wine/data/Honey_Select

2.2 Prerequisites: Winetricks and dotnet45

A few *exe bundled with these games require .NET 4.5. or greater
  • Check that your winetricks version -- if based on git cloned repository -- is up-to-date. Recommended version is 20170517 or greater. You can check your own winetricks version using
    winetricks --version
    If it is required then try to update it using command below
    winetricks --self-update
  • Install the prerequisites
    winetricks -q allfonts dotnet45

2.3 Install the game (manually) to C:\illusion\HoneySelect (Workaround: copy content of the 2 ISO files)

Decompress the file

unrar x HDDGAMES-HNSL-SL.rar
Navigate to the new folder
cd \[160909\]\ \[ILLUSION\]\ ハニーセレクト\ -Honey♥Select-\ +\ Additional\ Data\ +\ Swimsuit\ Set\ +\ Naked\ Apron\ Set\ +\ Oiran\ Set//

This game is split in 2 parts = 2 iso files. There is a setup.exe provided on the first ISO file ILN103_DISK1.iso. Don't launch the setup.exe!!!!

Let me explain why setup.exe does not work on Linux. The main reason is that setup.exe will ask sometime to insert the 2nd CD. It doest not work. setup.exe is bot able to detect the 2nd CD properly even if it is mounted through Linux. But there is a simple workaround to install the game without using the setup.exe.

As root mount the 2 iso files

sudo mount -o loop ILN103_DISK1.iso /opt/Storage/montage0
sudo mount -o loop ILN103_DISK2.iso  /opt/Storage/montage1

Notice: For commands above, you can replace the target paths above by your own target paths

Now copy the content of the 2 WinRoot/ folders located on the 2 iso.
cp -avf /opt/Storage/montage0/WinRoot/* $WINEPREFIX/drive_c/
chmod 777 -R $WINEPREFIX/drive_c/illusion/
cp -avf /opt/Storage/montage1/WinRoot/* $WINEPREFIX/drive_c/

Notice: For commands above, chmod 777 -R ... is recommended to avoid any permission issue to copy files from the 2nd iso file.

Notice: At this point game is now installed at => Unix = $WINEPREFIX/drive_c/illusion/HoneySelect/ => Windows = C:\illusion\HoneySelect. You can check it using winepath.For example in my case it will be the case

david@amdgaming:~$ winepath -w /opt/Builds/wine/data/Honey_Select/drive_c/illusion/HoneySelect/
C:\illusion\HoneySelect\

3. Install EMF patches

Just run the launcher
chmod 777 -R $WINEPREFIX/drive_c/illusion/
wine "Honey Select EMF Patch 0.4.exe" 
Specify C:\illusion\HoneySelect\ as the target destination to install these pachtes as shown below

Specify 'C:\illusion\HoneySelect\'

3. Issue:Launcher does not work. Solution: Write a launcher for Linux

3.1 Launcher does not work and parameters for games

First of all I have to say than on Internet finding help to play this game on Linux/Wine is pretty limited. Secondly I discovered that since it is a Unity game can it worked with directX 9. I took decision to give it a try for Gallium Nine.

Another problem I have is that there is a launcher for this game. Unfortunately this launcher does not work. I got a crash with Wine. Digging a little bit more I discovered that this launcher aims at

  • choosing between two games to launch: classical HoneySelect_XX.exe or HoneyStudio_XX.exe where XX=32 or XX=64.
  • choosing a few graphical parameters for the game (resolution, fullscreen/window mode)...

Those graphical parameters are passed to the game in a command line. Those parameters are listed here. Since it is a Unity game then it just means that the game can be launched without using the launcher. You can lauch the game using the arguments from a command line. For example in order to play/launch HoneySelect with the following options

  • 32 Bits
  • No fullscreen
  • Resolution = 1400x900
you just need to run
wine HoneySelect_32.exe -force-d3d9 -screen-fullscreen 0 -screen-width 1400 -screen-height 900

3.2 A Linux Launcher!

Since it is a little annoying to rewritte the same line each time, it is pretty true that a launcher can be really helpful. So I took decision to writte my own launcher -- as shown in video above --.
The linux launcher is based on gtkdialog.

You have to

  1. install gtkdialog (refer to this link to install it)
  2. download the launcher

dimanche 14 mai 2017

Unity command lines arguments

Have a look at https://docs.unity3d.com/Manual/CommandLineArguments.html

samedi 6 mai 2017

Tutoriel pour installer MinGW-64 + MSYS proprement

A consulter à http://ingar.satgnu.net/devenv/mingw32/index.html En plus l'auteur permet de télécharger une partie des packages de base déjà compilés (zlib etc...) . Super génial

jeudi 20 avril 2017

Virtio drivers injectés dans l'iso de Windows 10 Home (Build 1607) + Tests

Les pilotes VirtIO permettent d'améliorer les performances d'une machine virtuelle lorsqu'il s'agit du dual périphérique/pilote. Il s'agit d'une série de pilotes remplaçant les pilotes émulés nativement par qemu. Dans ce billet, une série de vidéos est proposée

  • Injection des drivers dans l'iso originelle de Windows 10 Home (Build 1607)
  • Présentation du matériel pour Qemu/KVM
  • Installation d'une machine virtuelle Windows 10 à partir de l'iso fraîchement modifiée
  • Tests de surface

1. Injection des pilotes VirtIO dans l'iso de Windows 10

Je suis parti de l'iso Win10_1607_SingleLang_French_x64.iso. Le script utilisé pour injecter les drivers se trouve ici (avec commentaires en anglais)

Tutoriel - Injection des pilotes VirtIO dans l'iso de Windows 10

2. Présentation du matériel Qemu/KVM

Je présente mon (vieux) matos pour faire mes tests sous Qemu/KVM

Hardware - Présentation du matériel

3. Test de l'iso: création d'une machine virtuelle Windows 10

On teste maintenant l'iso en créant une machine virtuelle. La connexion a lieu à distance depuis VNC. J'en profite au passage pour commenter mon installation software de Qemu/KVM.

Test de l'iso: Création d'un machine virtuelle Windows 10

4. Tests de fin

Comme dit dans la vidéo précédente, on attend le reboot de la machine pour voir si le switch vers l'écran rattaché à la carte graphique a bien eu lieu. On teste ensuite GPU-Z et CPU-Z.

Tests de fin