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 >

lundi 26 août 2013

Scarlet Blade - Wiki

http://www.aeriagames.com/wiki/index.php?title=Main_Page&game=scarletblade

samedi 17 août 2013

Scarlett Blade on Ubuntu 12.04 32-Bit (ATI HD 7970)

Scarlet Blade runs perfectly on Wine 1.5.25. No patche required! However credentials submittion failed for wine > 1.5.26. It failed with error
err:wininet:NETCON_secure_connect SSL_connect failed: 12157
Write 1.6.0 has to be patched so SB could be played.

1. Build/Patch/Install Wine 1.6.0

  • Download wine 1.6.0
    wget http://mirrors.ibiblio.org/wine/source/1.6/wine-1.6.tar.bz2
  • Decompress the tarball
    tar xvjf wine-1.6.tar.bz2
  • Go to wine directory, apply the patch
    cd wine-1.6
     wget http://www.davidgis.fr/download/aeriagames_login.patch -O - | patch -p1 
  • Install
    ./configure --prefix=/opt/wine/apps/Scarlet_Blade
    make 
    make install

2. Winetricks

  • Update temporary your PATH environment to point to the new wine directory
    export PATH=/opt/wine/apps/Scarlet_Blade/bin/:$PATH
    export LD_LIBRARY_PATH=/opt/wine/apps/Scarlet_Blade/lib:${LD_LIBRARY_PATH}
    export WINEPREFIX="/opt/wine/datas/Scarlet_Blade"
    
  • Check that your winetricks is updated. Else download the latest version
    wget http://winetricks.org/winetricks
    chmod +x winetricks
  • Install the required packages
    ./winetricks  msxml3 d3dx9_36 d3dx9_43 vcrun2010 dotnet35sp1 ie8
After that sign up on scarlet blade site (http://scarletblade.aeriagames.com/), dowload the installer etc...Enjoy! To run the game, just launch le launcher
env WINEDEBUG=-all WINEPREFIX="/opt/wine/datas/Scarlet_Blade" /opt/wine/apps/Scarlet_Blade/bin/wine C:\\AeriaGames\\ScarletBlade\\SBLauncher.exe

lundi 12 août 2013

Warface - Tutorial for Russian version

http://www.xboxmb.com/forum/10-general-discussion/107298-how-play-warface-english.html

samedi 13 juillet 2013

Xen 4.3.0 (stable) / VGA Passthrough for ATI

Xen 4.3.0 is out. Time to test it for VGA Passthrough.

Download Xen 4.3.0 sources

wget http://bits.xensource.com/oss-xen/release/4.3.0/xen-4.3.0.tar.gz
tar xvzf xen-4.3.0.tar.gz 
cd xen-4.3.0

Configure

CURL=$(which curl-config) XML=$(which xml2-config) ./configure --prefix=/usr

Make a first build for tools and cleanup the folder

  • Make a first build for tools
    cd tools
    make -j4
  • Clean up the folder
    make clean

Download and apply the patches

  • Download and apply the 1st patch. This patch aims at overpassing the 3-4GB of RAM limitation for domU. It helps to have more than 3-4GB of RAM for domU
    cd qemu-xen
    wget "http://marc.info/?l=qemu-devel&m=136177475215360&q=raw" -O - | patch -p1
  • Download and apply the 2nd patch. This patch adds support for ATI Card (VGA passthrough)
    cd ../..
    wget ftp://ftp.enjellic.com/pub/xen/xen-4.2.0.ati-passthrough.patch -O - | patch -p1
  • We have to modify tools/qemu-xen-traditional/hw/pt-graphics.c file so we can run build stubdom
    for i in 0 3;do sed -i "s:^.*iopl(${i});$://iopl(${i});:g" tools/qemu-xen-traditional/hw/pt-graphics.c;done

    NOTICE if this workaround is not apply then you should have this error

    .../stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_out':
    .../stubdom/ioemu/hw/pt-graphics.c:84: undefined reference to `iopl'
    .../stubdom/mini-os-x86_64-ioemu/mini-os.o: In function `ati_hw_in':
    .../stubdom/ioemu/hw/pt-graphics.c:72: undefined reference to `iopl'
    .../stubdom/ioemu/hw/pt-graphics.c:74: undefined reference to `iopl' 

Build and install xen and stubdom

  • Build
    make -j4 xen && make -j4 stubdom
  • Install
    make install-xen && make install-stubdom

Build and install tools

  • Cleanup tools
    cd tools
    make clean
  • Reverse the workaround
    cd ..
    for i in 0 3;do sed -i "s:^.*iopl(${i});$:iopl(${i});:g" tools/qemu-xen-traditional/hw/pt-graphics.c;done
  • Build and install tools
    make -j4 tools
    make install-tools PYTHON_PREFIX_ARG=

Linux script to manage domU (start/stop....)

Download the Linux shell script ftp://ftp.enjellic.com/pub/xen/run-passthrough and updated it to your own needs