WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wine with SwiftShader  (Read 236 times)

Offline neonix

  • Full Member
  • ***
  • Posts: 152
Wine with SwiftShader
« on: May 13, 2019, 02:17:57 AM »
SwiftShader is a GPU emulator for Windows OS that allow you to play game that you graphic card don't support. It works only with SSE2 processors. In 2016 Google release the source code and add support for Linux's OpenGL ES 2.0.

First you have to download rar file from here and unpack 4 files to your game directory where is our exe file.
https://groups.google.com/d/topic/swiftshader/twlwkaBE3xc

Then you have to configure wine using winecfg command.
Go to the Libraries tab and in window "New overrides for library:"
add this files:
Code: [Select]
d3d8
d3d9
opengl32
Now you can play game using wine. It works only with games that support DirectX8, DirectX9 and OpenGL.
In file SwiftShader.ini you can configure SwiftShader settings.

Offline neonix

  • Full Member
  • ***
  • Posts: 152
Re: Wine with SwiftShader
« Reply #1 on: June 03, 2019, 11:34:38 AM »
Unfortunetlly this version above doesn't support SwiftShader.ini file.

Here is my SwiftShader.ini in case you use older version of SwiftShader.
You can use your web browser to charge setting by typing http://localhost:8080/swiftconfig
in your web broser, when game is running.
Code: [Select]
; SwiftShader Configuration File
;
; To get an overview of the valid settings and their meaning,
; run the application in windowed mode and open the
; SwiftConfig application or go to http://localhost:8080/swiftconfig.

[Capabilities]
PixelShaderVersion=30
VertexShaderVersion=30
TextureMemory=128
Identifier=0

[Caches]
VertexRoutineCacheSize=64
PixelRoutineCacheSize=64
SetupRoutineCacheSize=64
VertexCacheSize=64

[Quality]
TextureSampleQuality=0
MipmapQuality=0
PerspectiveCorrection=1
TranscendentalPrecision=1
TransparencyAntialiasing=0

[Processor]
ThreadCount=2
EnableSSE3=1
EnableSSSE3=1
EnableSSE4_1=1

[Optimization]
OptimizationPass1=1
OptimizationPass2=0
OptimizationPass3=0
OptimizationPass4=2
OptimizationPass5=3
OptimizationPass6=4
OptimizationPass7=5
OptimizationPass8=6
OptimizationPass9=7
OptimizationPass10=8

[Testing]
DisableServer=0
ForceWindowed=0
ComplementaryDepthBuffer=0
PostBlendSRGB=0
ExactColorRounding=0
DisableAlphaMode=0
Disable10BitMode=0
FrameBufferAPI=0
Precache=0
ShadowMapping=0

[LastModified]
Time=1557951483