Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
`TelltaleToolKit` is a .NET library created to allow modding games which run on the [Telltale Tool](https://www.pcgamingwiki.com/wiki/Engine:Telltale_Tool) game engine.

<!-- omit in toc -->
## Table of contents:
## Table of contents:
- [Introduction](#introduction)
- [Features](#features)
- [Installation](#installation)
Expand Down Expand Up @@ -40,7 +40,7 @@ Install-Package TelltaleToolKit
```
Or add it to your .csproj file:
```xml
<PackageReference Include="TelltaleToolKit" Version="0.2.0" />
<PackageReference Include="TelltaleToolKit" Version="0.2.1" />
```

The Nuget package ships a default database, but if you want the latest one - you can download it from [this link](https://downgit.github.io/#/home?url=https://github.com/iMrShadow/TelltaleToolKit/tree/main/data).
Expand Down Expand Up @@ -85,7 +85,7 @@ The API is currently **unstable** and may change. For now, refer to the source c

## Supported Games

See the [data folder](data/README.md) for more information regarding supported games.
See the [data folder](data/README.md) for more information regarding supported games.

## License

Expand Down
30 changes: 21 additions & 9 deletions src/TelltaleToolKit/TelltaleToolKit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<AnalysisLevel>latest</AnalysisLevel>
<LangVersion>13</LangVersion>
<RootNamespace>TelltaleToolKit</RootNamespace>
<Version>0.2.0</Version>
<Version>0.2.1</Version>
<Title>TelltaleToolKit</Title>
<Authors>Ivan Panayotov</Authors>
<PackageProjectUrl>https://github.com/iMrShadow/TelltaleToolKit</PackageProjectUrl>
Expand All @@ -27,10 +27,22 @@
<PackagePath>\</PackagePath>
</None>

<Content Include="..\..\data\**\*"
Pack="true"
CopyToOutputDirectory="PreserveNewest"
Link="ttk-data\%(RecursiveDir)%(Filename)%(Extension)"/>
<None Include="..\..\data\game_profiles\**\*"
Pack="true"
Link="ttk-data\game_profiles\%(RecursiveDir)%(Filename)%(Extension)"
PackagePath="contentFiles\any\any\ttk-data\game_profiles\%(RecursiveDir)%(Filename)%(Extension)"/>
<None Include="..\..\data\hashdb\**\*"
Pack="true"
Link="ttk-data\hashdb\%(RecursiveDir)%(Filename)%(Extension)"
PackagePath="contentFiles\any\any\ttk-data\hashdb\%(RecursiveDir)%(Filename)%(Extension)"/>
<None Include="..\..\data\versiondb\**\*"
Pack="true"
Link="ttk-data\versiondb\%(RecursiveDir)%(Filename)%(Extension)"
PackagePath="contentFiles\any\any\ttk-data\versiondb\%(RecursiveDir)%(Filename)%(Extension)"/>
</ItemGroup>

<ItemGroup>
<None Include="build\TelltaleToolKit.targets" Pack="true" PackagePath="build\"/>
</ItemGroup>

<ItemGroup>
Expand All @@ -43,19 +55,19 @@
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net10.0'">
<PackageReference Include="Oodle.NET" Version="2.2.0" />
<PackageReference Include="Oodle.NET" Version="2.2.0"/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net8.0'">
<PackageReference Include="Oodle.NET" Version="2.2.0" />
<PackageReference Include="Oodle.NET" Version="2.2.0"/>
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net9.0'">
<PackageReference Include="Oodle.NET" Version="2.2.0" />
<PackageReference Include="Oodle.NET" Version="2.2.0"/>
</ItemGroup>

<ItemGroup>
<Folder Include="TelltaleArchives\Utilities\" />
<Folder Include="TelltaleArchives\Utilities\"/>
</ItemGroup>

</Project>
13 changes: 13 additions & 0 deletions src/TelltaleToolKit/build/TelltaleToolKit.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<Target Name="CopyTelltaleToolKitData" BeforeTargets="Build">
<ItemGroup>
<_TTKDataFiles Include="$(MSBuildThisFileDirectory)..\contentFiles\any\any\ttk-data\**\*" />
</ItemGroup>

<Copy SourceFiles="@(_TTKDataFiles)"
DestinationFiles="$(OutputPath)ttk-data\%(RecursiveDir)%(Filename)%(Extension)"
SkipUnchangedFiles="true" />
</Target>

</Project>
Loading