libNOM.collect
0.1.1
dotnet add package libNOM.collect --version 0.1.1
NuGet\Install-Package libNOM.collect -Version 0.1.1
<PackageReference Include="libNOM.collect" Version="0.1.1" />
paket add libNOM.collect --version 0.1.1
#r "nuget: libNOM.collect, 0.1.1"
// Install libNOM.collect as a Cake Addin #addin nuget:?package=libNOM.collect&version=0.1.1 // Install libNOM.collect as a Cake Tool #tool nuget:?package=libNOM.collect&version=0.1.1
libNOM.collect
Introduction
The libNOM
label is a collection of .NET class libraries originally developed
and used in NomNom, the most complete savegame
editor for No Man's Sky.
libNOM.collect
can be used to backup and restore all kinds of collections, like
Starships and Companions, to bypass the in-game limits.
Getting Started
All commonly used formats are supported. This includes those used by goatfungus, NMS Companion, and the NMS Ship Editor/Colorizer/Customizer.
There is also a new version of the NMS Companion format that unifies the file content (including features such as marking as favorite) and adds missing entries like the customization.
Usage
Create a collection and add/remove items.
var path = "..."; // where the collection is stored
var companionCollection = new CompanionCollection(path);
// Adding a new item to the collection can be done via a JSON string or reading from a file.
var jsonString = "..."; // JSON string in one of the supported formats (depends on collection type)
companionCollection.AddOrUpdate(jsonString, libNOM.collect.Enums.FormatEnum.Kaii, out var stringCompanion);
var pathToFile = "...";
companionCollection.AddOrUpdate(pathToFile, out var fileCompanion); // format will be automatically detected
// Remove
companionCollection.Remove(fileCompanion);
Backup an item.
var json = container.GetJsonObject(); // JObject of the entire save
var format = libNOM.collect.Enums.FormatEnum.Kaii; // one of the supported formats (depends on collection type)
var path = "..."; // where the collection is stored
stringCompanion.Export(json, format, path);
License
This project is licensed under the GNU GPLv3 license - see the LICENSE file for details.
Authors
- Christian Engelhardt (zencq) - GitHub
Credits
Thanks to the following people for their help in one way or another.
- Dr. Kaii - Collaboration for the import/export format as well as providing some code
Dependencies
- libNOM.map - Obfuscation and deobfuscation
- Newtonsoft.Json - Handle JSON objects
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- libNOM.map (>= 0.13.0)
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.1
- libNOM.map (>= 0.13.0)
- Newtonsoft.Json (>= 13.0.3)
-
net6.0
- libNOM.map (>= 0.13.0)
- Newtonsoft.Json (>= 13.0.3)
-
net7.0
- libNOM.map (>= 0.13.0)
- Newtonsoft.Json (>= 13.0.3)
-
net8.0
- libNOM.map (>= 0.13.0)
- Newtonsoft.Json (>= 13.0.3)
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 |
---|---|---|
0.1.1 | 316 | 8/6/2024 |