MS000Reader 1.0.0
dotnet add package MS000Reader --version 1.0.0
NuGet\Install-Package MS000Reader -Version 1.0.0
<PackageReference Include="MS000Reader" Version="1.0.0" />
<PackageVersion Include="MS000Reader" Version="1.0.0" />
<PackageReference Include="MS000Reader" />
paket add MS000Reader --version 1.0.0
#r "nuget: MS000Reader, 1.0.0"
#:package MS000Reader@1.0.0
#addin nuget:?package=MS000Reader&version=1.0.0
#tool nuget:?package=MS000Reader&version=1.0.0
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:
- The occurrence of a
nulbyte under some unknown condition after the file headers.
- This byte is very much needed, as removing it causes the file to be corrupted.
- 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.
GuessDictionarywill 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 | Versions 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. |
-
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 |