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 >

lundi 2 février 2015

Scarlet Blade - Wine 1.6.2 - GalliumNine vs WineD3D (Ubuntu 14.10 / ATI HD 7970)

Finally I was able to patch the very outdated Wine 1.6.2 using the latest patch for GalliumNine. I used this version because 1.6.X is the only one I know which able to fix those issues
  • white page for the Launcher: We need to install i8 through winetricks and to set wininet to 'builtin,native'
  • white page once you want to click on the button 'log in': there is a small patch to apply. I already have this patch :)

Scalet Blade: Wine 1.6.2 - Gallium Nine vs WineD3D
Well Wine 1.6.2 is quite outdated but at least I can get more FPS using GalliumNine!!!. (see video above) I wanted here to apply the latest Gallium Nine patch so I can play this game :)

Prerequisites

Install the Game on Wine 1.7.X

I installed Scarlet Blade on a clean wine 1.7.X version using this video. So I set up a temporary WINEPREFIX to install the game.


Prerequisites: Install the Game on a temporary WINEPREFIX

Notice: Once the game is installed $WINEPREFIX/drive_c/AeriaGames then I will have to move folder 'Aeriagame' on a new WINEPREFIX for Wine 1.6.2. But first I have to rebuild Wine 1.6.2 with libgutls. Since Wine 1.6.2 has to be rebuilt I have to build libgnutls first

GNUTLS
  • I have to build the latest version for gnutls to avoid this error

    The white page to avoid!
  • libgnutls provided for Ubuntu 14.10 can not be supported for Wine version 1.6.2
  • I wanted to be able to avoid the white page for the installer too :)

wget ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-3.3.12.tar.xz

xz  -d gnutls-3.3.12.tar.xz
tar xvf gnutls-3.3.12.tar 
cd gnutls-3.3.12

# Delete the target folder if needed to avoid any dependancy
rm -rf /opt/wine/apps/Wine_1.6.2_D3D9/

./configure --prefix=/opt/wine/apps/Wine_1.6.2_D3D9/ --libdir=/opt/wine/apps/Wine_1.6.2_D3D9/lib --with-p11-kit --with-nettle-mini
make -j4
make install
Wine 1.6.2 - GalliumNine

Refer to the table below for sources to download

Notice: Those sources are already patched to work with Scarlet Blade. I applied my other personal patches too

PKG_CONFIG_PATH=/opt/wine/apps/Wine_1.6.2_D3D9/lib/pkgconfig/ ./configure --prefix=/opt/wine/apps/Wine_1.6.2_D3D9/ --with-d3dadapter --with-gnutls=yes 

make -j4

make install

Sources

Tools Version/Commit Download Comment
Wine 1.6.2 wine-1.6.2_GalliumNine.tar.bz2 Patched so you can log in for the game. I added my other personal patches too.
Mesa 6e283d4e111dff0f54b28b983fdb6ca84a0fff44 Mesa-3D_2015-01-31_v001.tar.bz2

Winetricks and wininet

  • winetricks -q msxml3 d3dcompiler_43 d3dx9 vcrun2010 ie8 
  • Don't forget to set wininet to 'builtin,native' through winecfg

    wininet set to 'builtin,native'

jeudi 29 janvier 2015

Ubuntu 14.10 - Upgrade Linux kernel from 3.18.1 to 3.18.4 (incremental patches)

My sources for 3.18.1 are located at /opt/linux-3.18.1. Kernel 3.18.1 is my current kernel. I wanted to upgrade because I read important notes in ChangeLog-3.18.4. This way my kernel will be up-to-date.
  • Go to this folder
    cd /opt/linux-3.18.1
  • Download incremental patches
    mkdir tmp_patch
    cd tmp_patch/
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.1-2.xz
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.2-3.xz
    wget https://www.kernel.org/pub/linux/kernel/v3.x/incr/patch-3.18.3-4.xz
    
  • Decompress these patches
    xz -d patch-3.18.1-2.xz
    xz -d patch-3.18.2-3.xz
    xz -d patch-3.18.3-4.xz
  • Apply these patches
    cd ..
    patch -p1 < tmp_patch/patch-3.18.1-2
    patch -p1 < tmp_patch/patch-3.18.2-3
    patch -p1 < tmp_patch/patch-3.18.3-4
  • The usual commands to build kernel
    • Nothing to change using command below (I will just click 'Yes' since all my options are already checked)
      make menuconfig
      Notice: Just run make mrproper before command above to keep your kernel folder clean -- if required !--
    • Build everything
      make -j4 bzImage modules
      Notice: If you have a DVD or a film to watch then ....Command above should take a while
    • Install
      make -j4 INSTALL_MOD_STRIP=1 modules_install
      make -j4 INSTALL_MOD_STRIP=1 install
      make -j4 INSTALL_MOD_STRIP=1 headers_install
      Notice: INSTALL_MOD_STRIP=1 is pretty useful. This flag helps to install binaries with a smaller size :)

mercredi 28 janvier 2015

Resident Evil HD - Wine-Staging 1.7.35 Gallium Nine (ATI HD 7970)

Youtube video

Prerequisites

  1. Use winetricks to install all dependencies
    winetricks wmp10 d3dcompiler_43 d3dx9 xact_jun2010
  2. Using google try to find windowsmedia-kb942423-x86-intl.exe. You need this installer to install libraries so Wine can play WMV files -- based on WVC1 --. If you don't install this then you may get a black screen (just after CAPCOM logo while starting the game).Once downloaded
    wine windowsmedia-kb942423-x86-intl.exe

    Notice: installation might hang at the end. [CTRL]+|C] is your friend

Configuration file - config.ini

$WINEPREFIX/user/yourname/Local\ Settings/Application\ Data/CAPCOM/Resident\ Evil\ -\ biohazard HD\ REMASTER/config.ini

Xbox 360 controller

A quite difficult to get the same mapping as you are supposed to get in the game. So here is mine
  • Unload module xpad
    sudo rmmod xpad
  • Plug your controler
  • Here is my command
    xboxdrv --detach-kernel-driver   --buttonmap X=A,A=X --buttonmap lt=lb,lb=lt
    I guess there might be a better mapping
As I did for Dark Souls using AntiMicro a couple years ago I think Antimicro should be a better solution. I will this solution when I have more time :)

mardi 27 janvier 2015

Resident Evil 6 (Benchmark & Game) - Wine-Staging 1.7.35 Gallium Nine (ATI HD 7970)

Youtube Video


Video 1: Benchmark

Video 2: Game

Winetricks

winetricks wmp10 d3dcompiler_43 d3dx9
  • wmp10: Windows Media Player 10 so wmv files can be played
  • d3dcompiler_43 d3dx9: to avoid any glitch for benchmark

Sources

Tools Version/Commit Download Comment
Wine-Staging 1.7.35 wine-staging-1.7.35_GalliumNine_RE6.tar.bz2 Version patched with Gallium Nine
Mesa-3D GalliumNine e660f9bd44847ec4a3996f5e2119a5e53e83a195 Mesa-3D_2015-01-24_v003.tar.bz2 Those sources are taken from iXit Git Repo (Gallium Nine). I applied my own patches so I can play PCSX2, nullDC, Dark Souls II

Usefull Links