Skip to content

Commit

Permalink
Added instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Xymanek committed Oct 24, 2018
1 parent 6a66ecf commit df0a9c1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# X2ProjectGenerator

### Usage

* Create an empty or default mod project
* Close ModBuddy
* Copy the files as you want them to be in the project
* Run this exe with a single argument which points to the directory where `.x2proj` file is located:

```
X2ProjectGenerator.exe "C:\Users\xyman\Documents\Firaxis ModBuddy\XCOM - War of the Chosen\MyAwesomeMod\MyAwesomeMod"
```

*Note that the quotes (`"`) are important - otherwise script will break (if there are spaces in folder names)*

This script will make sure that every folder and file in project folder is included in the project and sorted in correct order.
Already existing entries won't be touched - you can run this script as many as you like.
1 change: 1 addition & 0 deletions X2ProjectGenerator.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
</ItemGroup>
<ItemGroup>
<Content Include=".gitignore" />
<Content Include="README.md" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Expand Down

0 comments on commit df0a9c1

Please sign in to comment.