@@ -14,7 +14,7 @@ Demo videos:
14
14
15
15
| Build Status | |
16
16
| --| --|
17
- | Travis | [ ![ Travis] ( https://img.shields.io/travis/hozuki/MilliSim.svg )] ( https://travis-ci.org/hozuki/MilliSim ) |
17
+ | < del > Travis</ del > (not maintained) | [ ![ Travis] ( https://img.shields.io/travis/hozuki/MilliSim.svg )] ( https://travis-ci.org/hozuki/MilliSim ) |
18
18
| AppVeyor | [ ![ AppVeyor] ( https://img.shields.io/appveyor/ci/hozuki/MilliSim.svg )] ( https://ci.appveyor.com/project/hozuki/MilliSim ) |
19
19
20
20
** Stage:** alpha
@@ -29,87 +29,37 @@ Demo videos:
29
29
30
30
** Requirements:**
31
31
32
- - Windows 7 SP1 or later <sup >1 2</sup >
33
- - [ .NET Framework 4.5] ( https://www.microsoft.com/en-us/download/details.aspx?id=42642 )
32
+ - Operating System:
33
+ - Windows: Windows 7 SP1 or later
34
+ - [ .NET Framework 4.5] ( https://www.microsoft.com/en-us/download/details.aspx?id=42642 )
35
+ - macOS and Linux: macOS 10.8 / Ubuntu 16.04 or later
36
+ - and latest [ Wine] ( https://wiki.winehq.org/Download ) (will download ` wine-mono ` on launch)
34
37
- [ Visual C++ 2015 Runtime] ( https://www.microsoft.com/en-us/download/details.aspx?id=53587 )
35
- - Direct3D 11 and Direct2D
36
- - For Windows 7 SP1 users:
37
- - [ Platform Update for Windows 7] ( https://www.microsoft.com/en-us/download/details.aspx?id=36805 )
38
38
- [ OpenAL] ( https://www.openal.org/downloads/ )
39
39
40
- After downloading, run ` OpenMLTD.MilliSim.Theater.exe ` and enjoy.
40
+ OpenGL builds (` TheaterDays.OpenGL.exe ` ) can run on all platforms, but it is problematic.
41
+ DirectX builds (` TheaterDays.Direct3D11.exe ` ) can only run on Windows.
41
42
42
- <sup >1</sup > <del >Theoratically, MilliSim can also run on a UNIX-compliant machine using [ Wine] ( https://www.winehq.org/download )
43
- and [ Mono] ( http://www.mono-project.com/download/ ) , though this is not tested.</del > Tested
44
- on Wine 2.0.2. Media Foundation APIs and WAS APIs are still having tons of errors. Even after
45
- bypassing OS version check (Wine seems to always return an OS major version less than 6),
46
- ` MMDeviceEnumerator ` still fails to initialize due to COM object creation failure. ` MFCreateDxgiDeviceManager() `
47
- is just a stub. So up till September 2017, MilliSim is only able to run on Windows.
43
+ ### Note: Video Playback Support
48
44
49
- <sup >2</sup > Playing a background video is not yet (version: v0.2) supported on Windows 7. It is
50
- supported on Windows 8 or later.
45
+ If you want to play videos as the background, you must download FFmpeg binaries (version 3.4.1 or later)
46
+ from [ here] ( https://ffmpeg.zeranoe.com/builds/ ) , and place the binaries into ` x64 ` and ` x86 ` directories
47
+ correspondingly. Due to license restrictions, MilliSim builds cannot include FFmpeg binaries, so you have
48
+ to download them yourself.
51
49
52
- ## Building
53
-
54
- ** Requirements:**
55
-
56
- - OS: Windows, macOS or Linux
57
- - Compiler and Toolchain:
58
- - Windows:
59
- - Visual Studio 2017 Community
60
- - .NET Framework 4.5 Toolchain
61
- - macOS/Linux:
62
- - [ Mono] ( http://www.mono-project.com/download/ ) (≥ 5.0)
63
- - [ Node.js] ( https://nodejs.org/en/download/ ) (≥ 5.0)
64
- - [ NuGet CLI] ( https://www.nuget.org/downloads ) (≥ 4.3.0)
65
-
66
- > ** Remember** to [ update your Mono version] ( http://www.mono-project.com/download/#download-lin ) and
67
- > [ update your NuGet version] ( https://docs.microsoft.com/en-us/nuget/guides/install-nuget ) before
68
- > building. Otherwise you are very likely to see errors like "Too many projects specified".
69
-
70
- ** Step 1** : Clone this repo:
71
-
72
- ``` bash
73
- git clone https://github.com/hozuki/MilliSim.git
74
- ```
75
-
76
- ** Step 2** : Prepare dependencies:
50
+ Without FFmpeg, you must either:
77
51
78
- On Windows:
52
+ 1 . disable background video (comment out ` plugin.component_factory.background_video ` in ` Contents/plugins.yml ` ), or
53
+ 2 . leave video file path as empty (` data ` -` video ` section in ` Contents/config/background_video.yml ` ).
79
54
80
- ``` cmd
81
- cd MilliSim
82
- init
83
- ```
84
-
85
- On macOS and Linux:
86
-
87
- ``` bash
88
- cd MilliSim
89
- ./init.sh
90
- ```
91
-
92
- ** Step 3** : Build the solution:
93
-
94
- ``` bash
95
- msbuild MilliSim.sln /p:Configuration=Release
96
- ```
97
-
98
- If you are using non-Windows machines, you should
99
- manually specify the concurrent process count, or
100
- there will be strange compile errors:
101
-
102
- ``` bash
103
- msbuild MilliSim.sln /p:Configuration=Release /m:1
104
- ```
55
+ ## Building
105
56
106
- Although the builds by Travis seem unable to bootstrap on Windows,
107
- manual builds on an Ubuntu 16.04 machine are verified to function
108
- normally.
57
+ Please read [ Building.md] ( docs/Building.md ) .
109
58
110
59
## Developing Plugins
111
60
112
61
MilliSim is designed to support plugins. Please read the [ wiki page] ( https://github.com/hozuki/MilliSim/wiki/Creating-Plugins ) for more information.
62
+ (Note: this is mainly about version 0.2 so it may be deprecated. Proceed with caution. Help is appreciated!)
113
63
114
64
You can find precompiled NuGet packages for plugin development [ here] ( https://www.nuget.org/packages?q=MilliSim ) .
115
65
0 commit comments