Skip to content

Commit df0a9c1

Browse files
committed
Added instructions
1 parent 6a66ecf commit df0a9c1

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# X2ProjectGenerator
2+
3+
### Usage
4+
5+
* Create an empty or default mod project
6+
* Close ModBuddy
7+
* Copy the files as you want them to be in the project
8+
* Run this exe with a single argument which points to the directory where `.x2proj` file is located:
9+
10+
```
11+
X2ProjectGenerator.exe "C:\Users\xyman\Documents\Firaxis ModBuddy\XCOM - War of the Chosen\MyAwesomeMod\MyAwesomeMod"
12+
```
13+
14+
*Note that the quotes (`"`) are important - otherwise script will break (if there are spaces in folder names)*
15+
16+
This script will make sure that every folder and file in project folder is included in the project and sorted in correct order.
17+
Already existing entries won't be touched - you can run this script as many as you like.

X2ProjectGenerator.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
</ItemGroup>
4444
<ItemGroup>
4545
<Content Include=".gitignore" />
46+
<Content Include="README.md" />
4647
</ItemGroup>
4748
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
4849
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.

0 commit comments

Comments
 (0)