MS000Reader 1.0.0

dotnet add package MS000Reader --version 1.0.0
                    
NuGet\Install-Package MS000Reader -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MS000Reader" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MS000Reader" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MS000Reader" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MS000Reader --version 1.0.0
                    
#r "nuget: MS000Reader, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MS000Reader@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MS000Reader&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MS000Reader&version=1.0.0
                    
Install as a Cake Tool

MS000Reader

Reads the .000 files from MetroSimulator 3 available at sim.bemined.nl.

Currently the package does not save due to some limitations about the format.

These are:

  1. The occurrence of a nul byte under some unknown condition after the file headers.
  • This byte is very much needed, as removing it causes the file to be corrupted.
  1. The occurrence of repeated file hashes just after the headers.

Besides these limitations, the library is able to extract all files stored in the package. Extracted files will use the hash value since the file names are not saved with the package, though you can make educated guesses which each file is. Additionally, the library can load a hashtable to map known hashes to their file names.

Usage

To open a file, use MS000.Open, this will give you a MS000File, this object is IDisposable, so make sure to dispose it when you are done with it.

using (MS000File file = new("path/to/file.000"))
{
	// Do something with the file
})

To pass a hashtable, you can do it in both the constructor, or HashGuess.GuessDictionary to pass a dictionary or hashtable file.

GuessDictionary will only assign hashes that are correct, hashes that cannot be asserted will be skipped.

The hashes should be stored in the format HASH=NAME where hash is a hex formatted hash, and name is the file name you try to assign

9C962D47=Locomotor

If you want to set the file name of one file or pack, use HashGuess.Guess with the file or pack.

Licence

This project is licensed under the MIT License. 000 file reverse engineered using cleanroom methods.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 203 5/6/2025