forked from dhollinger/lutris_installers
-
Notifications
You must be signed in to change notification settings - Fork 0
/
freelancer-discovery.yaml
65 lines (65 loc) · 2.14 KB
/
freelancer-discovery.yaml
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
results:
- name: Freelancer
game_slug: freelancer
version: DiscoverMod
slug: freelancer-discovery
runner: wine
script:
files:
- discovery: https://discoverygc.com/files/discovery_4.91.0.1.exe
- wmfdist: https://r.je/freelancer/WMFDIST.EXE
- d3d8to9: https://github.com/crosire/d3d8to9/releases/download/v1.11.0/d3d8.dll
game:
arch: win64
exe: $GAMEDIR/drive_c/users/$USER/AppData/Local/Discovery Freelancer 4.91.0/DSLauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
name: winetricks
description: Installing DirectPlay
prefix: $GAMEDIR
app: directplay
- task:
name: winetricks
description: Installing Microsoft Foundation Classes
prefix: $GAMEDIR
app: mfc42
- task:
name: winetricks
description: Installing Microsoft Audio Compression Manager
prefix: $GAMEDIR
app: msacm32
- task:
name: winetricks
description: Installing .NET 4.6
prefix: $GAMEDIR
app: dotnet46
- insert-disc:
requires: setup.exe
- task:
description: Installing Freelancer. Please choose "Express install".
executable: $DISC/setup.exe
name: wineexec
prefix: $GAMEDIR
return_code: 256
- task:
description: Installing Discovery Mod
executable: discovery
name: wineexec
prefix: $GAMEDIR
- execute:
description: Backup old d3d8.dll file
command: 'mv $GAMEDIR/drive_c/users/$USER/AppData/Local/Discovery Freelancer 4.91.0/EXE/d3d8.dll $GAMEDIR/drive_c/users/$USER/AppData/Local/Discovery Freelancer 4.91.0/EXE/d3d8.dll.bak'
return_code: 256
- move:
description: Install d3d8to9
src: d3d8to9
dst: $GAMEDIR/drive_c/users/$USER/AppData/Local/Discovery Freelancer 4.91.0/EXE/d3d8.dll
wine:
overrides:
d3d8.dll: n, b