• Stars
    star
    191
  • Rank 202,877 (Top 4 %)
  • Language
    Shell
  • Created almost 9 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

WineD3D For Windows Build Scripts

WineD3D For Windows Build Scripts

This repository contains the scripts I use to build WineD3D For Windows.

Download

You can get prebuilt DLL files from my website

If you're trying to fix an old game, you must use the 32 bit version, even on 64 bit systems.

Compatibility

These scripts were tested on Arch Linux and Debian. Older versions of this project supported Debian exclusively.

How to build

Prerequisites

To build WineD3D, you'll need to download some libraries first, most of them are probably already installed in your system. It is strongly recommended to use a dedicated VM for building.

Arch, Manjaro, etc. (Recommended)

sudo pacman -Sy alsa-lib attr autoconf bison desktop-file-utils faudio ffmpeg flex fontconfig fontforge freetype2 gcc-libs gettext giflib git glu gnutls gsm gst-plugins-base-libs gtk3 lcms2 lib32-alsa-lib lib32-attr lib32-faudio lib32-fontconfig lib32-freetype2 lib32-gcc-libs lib32-gettext lib32-giflib lib32-glu lib32-gnutls lib32-gst-plugins-base-libs lib32-gtk3 lib32-lcms2 lib32-libcups lib32-libgl lib32-libldap lib32-libpcap lib32-libpng lib32-libpulse lib32-libsm lib32-libva lib32-libxcomposite lib32-libxcomposite lib32-libxcursor lib32-libxdamage lib32-libxi lib32-libxinerama lib32-libxml2 lib32-libxmu lib32-libxrandr lib32-libxslt lib32-libxxf86vm lib32-mesa lib32-mpg123 lib32-openal lib32-opencl-icd-loader lib32-sdl2 lib32-v4l-utils lib32-vkd3d lib32-vulkan-icd-loader libcups libgl libgphoto2 libldap libpcap libpng libpulse libsm libva libxcomposite libxcomposite libxcursor libxdamage libxi libxinerama libxml2 libxmu libxrandr libxslt libxxf86vm mesa mingw-w64-gcc mpg123 openal opencl-headers opencl-icd-loader perl samba sane sdl2 sharutils v4l-utils vkd3d vulkan-headers vulkan-icd-loader

Debian, Ubuntu, etc.
Note: you need to use a 32 bit version of Debian to build the 32 bit DLLs and a 64 bit version for the 64 bit ones.

sudo apt build-dep wine
sudo apt install mingw-w64 git

Building

Latest version of WineD3D

sh build32.sh

The build process will take some time, at the end, you'll find 2 directories called wined3d and wined3d-staging, which will contain the build DLLs. The staging variant is built using wine-staging, which may improve compatibility.

Specific version of WineD3D
If you want to build a specific version of WineD3D, all you have to do is download the tarball of the version you want to build, extract it, and run

sh build32.sh path_to_source_code/

The build process will take some time, at the end, you'll find 2 directories called wined3d and wined3d-staging, which will contain the build DLLs. The staging variant is built using wine-staging, which may improve compatibility.

Note that this build may fail on very old versions of Wine.

64 bit build

The 64 bit version of WineD3D is only useful to run 64 bit apps on 64 bit Windows, it is not for old games.

To build 64 bit DLLs, simply replace build32.sh in the previous commands with build64.sh

Special thanks

Thanks to Syvat G for improving the patched version to enhance compatibility!

License

Copyright (C) 2014-2022 Federico Dossena

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

More Repositories

1

Windows10-Privacy

Windows 10 Privacy Guide
1,405
star
2

OpenPods

The Free and Open Source app for monitoring your AirPods on Android
Java
944
star
3

warpspeed

Animated and tweakable starfield for HTML5 Canvas
HTML
107
star
4

WaifUPnP

UPnP Port Forwarding for Java couldn't get any easier!
Java
96
star
5

NoteBot

A ripoff of Microsoft Sticky Notes
Java
87
star
6

chromiumUpdater

Downloads Chromium for Android and keeps it updated
Java
72
star
7

voicechat

A Simple VoIP application that supports UPnP, conversations with multiple users, and basic compression
Java
43
star
8

DozeOff

Disable Doze on your rooted Android device
Java
38
star
9

sine

Free and Open Source Brainwave Entrainment Application
Java
28
star
10

ChadQuake

Fork of Mark V WinQuake
C
26
star
11

Clock31

Clock + Calendar combo widget for Android
Java
22
star
12

tetrispuzzlesolver

Solves sigil puzzles found in The Talos Principle and Sigils of Elohim.
Java
21
star
13

tetrispuzzlesolver-html5

Solves sigil puzzles found in The Talos Principle and Sigils of Elohim
JavaScript
18
star
14

NanoFanController

Arduino Nano based PC PWM fan controller. Up to 3 fans.
C++
18
star
15

sine-android

Free and Open Source Brainwave Entrainment Application for Android
Java
17
star
16

muhtriangles-android

Muh Triangles Live Wallpaper for Android
Java
17
star
17

sine-html5

Free and Open Source Brainwave Entrainment Application (Used to make the SINE Webapp)
JavaScript
12
star
18

muhtriangles.js

A simple and lightweight library for drawing colorful and animated triangles to an HTML5 Canvas element, with a good amout of settings that you can tweak.
HTML
12
star
19

TDF

Linux Gaming without Steam. Install, configure, run and distribute games inside sandboxed Wine environments
Shell
11
star
20

ME2KasumiCrashFix

Fix for the crash in Mass Effect 2 at the end of Kasumi's loyalty mission
C++
10
star
21

hbx

Free and Open Source Binaural Beats Application
Java
10
star
22

adolfintel.com

Blog and Hosting for my Projects
JavaScript
10
star
23

TinyTinyWordle

Wordle clone for Arduino
C
10
star
24

ocd

Image quality devastator. Repeatedly compresses an image using lossy JPEG compression.
HTML
7
star
25

sine-web

SINE Website and Webapp
PHP
6
star
26

missionx

A 2D Side Scrolling Arcade Space Shooter
Java
5
star
27

libbwentrainment

Free and Open Source Brainwave Entrainment Library for Java (PC and Android)
Java
5
star
28

corruptor

A simple multithread databending tool. Can be used to create glitch art, or just to simulate an unreliable communication.
Java
5
star
29

hbx-android

Free and Open Source Binaural Beats Application for Android
Java
5
star
30

gravity2d

Multithread N-Point Gravity Simulator for Java (PC Version)
Java
5
star
31

libbinaural

Free and Open Source library for generating Binaural Beats in Java
Java
4
star
32

espac

WiFi enabled Daikin ARC433 remote, with scripting support
C++
4
star
33

teamboard

A networking Paint application
Java
4
star
34

gravity2d-android

Multithread N-Point Gravity Simulator for Java (Android version)
Java
4
star
35

cv

Repository for my CV/ResumΓ©
TeX
3
star
36

AlienAurora

A relaxing and mesmerizing animation for JS
HTML
3
star
37

WarhammerMOCPerformanceFix

A patch that improves loading times and performance in the 2006 strategy game Warhammer Mark of Chaos and makes it playable in Wine
C++
3
star
38

hanoi-html5

Towers of Hanoi Javascript solver
HTML
3
star
39

SetGamma

Set/Reset screen gamma on Windows. Useful when old games mess up the brightness.
C
1
star
40

Tesi2

Repository per la mia tesi magistrale
TeX
1
star