A C# (.NET 2.0) parser and extractor for Microsoft Train Simulator Packaged Activity (.apk) files.
Go to file
~lucidiot e938a28c5f Do not decode file contents as text
This adds support for extracting binaries, even
if they are completely invalid UTF-16LE text.
2022-06-02 22:32:30 +02:00
TSUnpack Handle UnauthorizedAccessException 2022-06-02 22:31:21 +02:00
TSUnpackLibrary Do not decode file contents as text 2022-06-02 22:32:30 +02:00
TSUnpackSetup Add setup project 2022-03-10 02:01:10 +01:00
kaitai_struct_csharp_runtime@f4932cd762 Initial commit 2021-11-09 00:13:53 +01:00
.gitignore Initial commit 2021-11-09 00:13:53 +01:00
.gitmodules Initial commit 2021-11-09 00:13:53 +01:00
LICENSE Initial commit 2021-11-09 00:13:53 +01:00
README.md Initial commit 2021-11-09 00:13:53 +01:00
tsunpack-csharp.sln Add setup project 2022-03-10 02:01:10 +01:00

README.md

tsunpack-csharp

A C# (.NET 2.0) rewrite of TSUnpack.exe, a utility for Microsoft Train Simulator that allows extracting Packaged Activities (.apk) files.

Packaged Activities are gzipped files that hold a pretty simple structure describing various files to extract at the root of the Microsoft Train Simulator directory to install a new activity: a new scenario that can be played on an existing map with existing vehicles. It is however technically possible to use a .apk to install absolutely anything onto the game's path.

A Kaitai Struct file is available in TSUnpackLibrary/msts_apk.ksy and has been used to generate the C# parser used by this tool.