Code Monkey home page Code Monkey logo

kevin0m16 / nmscoordinates Goto Github PK

View Code? Open in Web Editor NEW
24.0 5.0 4.0 18.18 MB

NMSCoordinates is an app for No Man’s Sky which allows you to view all your discovered space station and base locations between all your saves. You can clear portal interference while traveling through a portal, fast travel to known locations, or manually enter Galactic Coordinates and travel to them. Trigger a freighter battle with a button.

Home Page: https://kevin0m16.github.io/NMSCoordinates/

License: MIT License

C# 100.00%
portal-interference galactic-coordinates no-mans-sky portal-code freighter-battle glyphs

nmscoordinates's Introduction

NMSCoordinates

This a Coordinate Tool for No Man's Sky!

NMSC

NMSCoordinates

NMSCoordinates is an app for No Man’s Sky which allows you to view all your discovered space station and base locations between all your saves. You can clear portal interference while traveling through a portal, fast travel to known locations, or manually enter Galactic Coordinates and travel to them. Backup locations to json file and and access and travel to these saved coordinates.

v2.2 (NOV 4 2022)

  • Update for NMS 4.0 compatibility and save names, difficulty
  • Added new features for locations management. Merge, delete, open, etc.
  • Built NMSSaveManager to handle compression plus obfuscate and deobfuscate save file content using libNOM.map class library

v2.1 (JULY 23 2022)

  • Reworked location json, new naming, added longhex
  • More calculations, more efficient lookups
  • Few other validations
  • Reworked Coordinate Calculator

v2.0 (JULY 21 2022)

  • Major Rework
  • Fixed Issue #39 - Save file compression issue
  • Updates and internal fixes and organization
  • New Colors
  • Tested on Endurance
  download

Features

  • Trigger a Freighter Battle.
  • View all space station and base locations discovered across all save slots and see their Glyphs, Galactic Coordinates, Portal Code, and even Voxel X,Y,Z,SSI
  • Fast travel to any selected location in the list of discoveries.
  • Manually enter Galactic Coordinates and Galaxy that you would like to travel to.
  • Save a record of the players current location in a .json and access it later on the Coordinate Share tab.
  • Can Backup all locations to a .json file. You can access these on the Coordinate Share tab or share with others. You can fast travel to these also.
  • NMSCoordinates backs up your entire save folder on startup, the .zip is located in the .\backup\saves folder.
  • Manage these NMSC .zip backups in the Save Manager.
  • You can view the last 4 screenshots taken in the game within the tool. It displays 1 on front and all 4 can be accessed in Tools --> Screenshot Page.
  • NMSCoordinates shows all calculation results in the textbox, if you like HEX and DEC.
  • NMSCoordinates Calculator is a useful tool when messing with coordinates. This converts Portal->Galactic, Galactic->Portal, Voxel to Portal/Galactic. Check it out!
  • NMSCoordinates checks for the latest version and shows at the top-right if a newer version is available.

Getting Started

Here is an overview of what you need to get started with NMSCoordinates

Requirements

The current version of NMSCoordinates requires No Man's Sky Frontiers+ (Works on Endurance and Waypoint)

  • Windows 10+ and .NET Framework 4.7.2 (Not tested on other versions)

Always back up all your game data and saves before any mods

Installation and setup

1. (Optional NMSC backups up saves on startup) Backup all you save files at Location: C:\Users\[Name]\AppData\Roaming\HelloGames\NMS\st_xxxxxxxxx
2. Download the latest release .zip file.
3. Extract the .zip to your desired location.
4. Create a shortcut to NMSCoordinate.exe for your desktop.
5. Run NMSCoordinate.exe. 
6. Select Save slot, and have fun!

Instructions

  • Select a Save Slot. This loads all space station and base locations on that slot/save on the Base and Space Station tab.
  • Click a location in one of the Listboxes to view the location info. Glyphs and Galactic Coordinates, Portal Code, and Voxel will be displayed.
  • Move player to that location by clicking the Move Player Here button, then RELOAD YOUR SAVE in NMS.
  • Enable Manual Travel to travel to any valid coordinates. On the Manual Travel Tab, Select a galaxy then enter Galactic Coordinates, then click the move player button.
  • Trigger a Freighter Battle by clicking the "Trigger Freighter Battle" button on the Manual Travel tab, then RELOAD YOUR SAVE in NMS.
  • Go to File --> Backups --> backup ALL discoveries and save all your locations to a json file in .\backup\locations. These are accessed on the Coordinate Share Tab.
  • View location files on the Coordinate Share tab by double-clicking the file or the load lockbackup button. Click a location to view a location summary, and click the Move Player Here button to fast travel to the selected location.
  • Right-click a location in the top Listbox on the Coordinate Share tab to create a one record location file to share with others or delete single records.
  • Right-click the lower Listbox on the Coordinate Share tab to delete unwanted location files.
  • Use the Coordinate Calculator by clicking the Coordinate Calculator button and entering (1) coordinate at a time in the textboxes and clicking the button below it. View all converted coordinates at the bottom.
  • On the Coordinate Calculator, clicking the glyphs will populate the Portal Code field. Then click calculate to see the coordinates.

Change Log

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • libNOM.map - Used to obfuscate and deobfuscate save file content.
  • nmssavetool - Used the save file classes - This tool is still awesome!
  • octokit - Used to check for an updated version.
  • NMSSaveEditor - For viewing raw Json and testing my tool, also shout out to goatfungus for answering a few questions!
  • Swiss-Selector - For some code and examples. (My Car Mechanic tool)
  • r/NoMansSkyMods - For some coordinate conversion info
  • nmsportals - For Glyph images
  • NMSGamepedia - for galaxy numbers to names
  • NMSPortals - for coordinate validation calculation math.

nmscoordinates's People

Contributors

kevin0m16 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

nmscoordinates's Issues

Invalid Coordinates! Out of Range!

I attempted to move my player to 0x121301083985C2. I used the calculator to convert glyphs to that address. Coordinates are in Euclid and were obtained from the following picture.
image
Manual travel was activated. I'm using version 2.1 of the app and I'm on the latest normal (not experimental) version of NMS for the PC, Steam Edition.

Unexpected character encountered while parsing value: �. Path '', line 0, position 0

This mod was working fine for me until I somehow managed to overwrite my current save (70+ hours) with a save that was a few years old (less than 1 hour). I ended up deleting the save from within NMS and ultimately downloaded a .DDS file from the Steam Sync Cloud website that allowed me to load up a previous game state.

It was at this point that I started receiving the errors below when trying to use NMSCoordinates. Not sure this is relevant, but I immediately noticed the save files were now formatted differently. Originally, it was "save3.hg" but is now "3, save3.hg".

Other related issues:

If I select "backup current" it tells me to select a save slot despite already having one selected.
Error! 855 is also being displayed under the Coordinate Share section.
I am unable to select a Galaxy number in the fast travel section.

I have tried the following....however the problem persists:

Reinstalling NMSCoordinates
Deleting all files from the appdata/roaming/HelloGames folder
Deleting backup files from NMSCoordinate folder
Deleting JSON files from NMSCoordinates folder
Moving files with the Save File Manager section in NMSCoordinates
Toggling Travel Mode and Manual Travel on and off

I can try reinstalling NMS but before doing so I figured I'd look here for some guidance. I've attached the JSON error details txt file below. Please let me know if any additional information is needed. Thank you.

NMSCoordinates Error

image

image

image

JSON Error Details.txt

Net Framework Unhandled Exception

Hi Kevin, when i start it up i get the above error and if i click continue the UI shows but i'm unable to do anything. I'm running the GOG version 2.12 but have NMS Steam but it's uninstalled. I could reinstall the Steam version as the GOG version has no Multiplayer. I was merely curious when i saw the MOD. ;-)

************** Exception Text **************
System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at NMSCoordinates.Form1.LoadCmbx() in C:\Users\Kevin\source\repos\Kevin0M16\NMSCoordinates\NMSCoordinates\Form1.cs:line 85
   at NMSCoordinates.Form1.Form1_Load(Object sender, EventArgs e) in C:\Users\Kevin\source\repos\Kevin0M16\NMSCoordinates\NMSCoordinates\Form1.cs:line 1473
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4010.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
NMSCoordinates
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/GOG/No%20Mans%20Sky%20Coordinates%201.1.1/NMSCoordinates.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

NMS 4.0

NMSCoordinates doesn't seem to support two new NMS 4.0 features:

  1. New game modes, such as "Custom" games.
  2. NMS 4.0 now has more than five save slots.

Problem with backup all locations to json

I found a bug on the backup locations to JSON feature.

When using File --> Backups --> Backup ALL locations, the coordinates in the JSON file can be incorrect in certain situations. This doesn't affect the save files or any of the other tabs or calculations. Only the locbackup files.

I'll work on a fix that will come out with v2.2

Feature: Address Management in Coordinate Share window and JSON file

I think you need to add some convenience features to add or remove a single address from the other windows into the Coordinate Share, in the current open JSON file. Because as you use this actively, you end up with far too many separate files.

As I use this, I can indeed edit the JSON code in a text editor to add things, but some more tools to add, update, merge a JSON file, (and dropping duplicates/ sync comments) in app would be golden.

Great App! Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.