No Man's Sky

File information

Last updated

Original upload

Created by

Chris Kushnir

Uploaded by

cmkushnir

Virus scan

Safe to use

Tags for this mod

39 comments

  1. captainSoban
    captainSoban
    • member
    • 0 kudos
    Hi! I got the tool running just need some help with the scripts. I'm sure it's working because I used the jetpack and it works. But for the Scan and Scan_Auto it seems not to work. For example auto scan discovery when you aim at an unknown plant/mineral its not scanning.

    protected void GcUserSettingsData()
        {
            // this may not be used, the mbin may just be a template to gen
            // Binaries/SETTINGS/GCUSERSETTINGSDATA.MXML if it's missing.
            var mbin = ExtractMbin<GcUserSettingsData>(
                //"METADATA/ENGINESETTINGS/GCUSERSETTINGSDATA.MBIN"  // pre 4.1
                "METADATA/ENGINESETTINGS/USERSETTINGS/GCUSERSETTINGSDATAPC.MBIN"  // platform specific starting w 4.1
            );
            // when looking at an unknown thing auto-discover w/o having to click-and-hold
            //mbin.HoldToScanDiscoveries = false;  // true, pre 4.1
            mbin.AutoScanDiscoveries = true;  // false, 4.1
        }
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      Join the modding discord: https://discord.gg/22ZAU9H for questions about the mbin's and other modding specific questions.  The scripts worked at one point, but over time some settings may have been abandoned by the game and no longer used.  I don't regression check the scripts when a new release comes out, I just ensure they still compile and execute without error, I don't check if they still all work as intended in the game.
    2. captainSoban
      captainSoban
      • member
      • 0 kudos
      Thanks! Great tool none the less
  2. Irradiant
    Irradiant
    • member
    • 0 kudos
    Hi!
    Is there an actual guide or tutorial  on how to use this?
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      The GitHub site has doc's:
      https://github.com/cmkushnir/NMSModBuilder
      https://github.com/cmkushnir/NMSModBuilder/blob/main/Doc/QuickStart/Readme.md
      There is also a doc provided by another user:
      https://www.nexusmods.com/nomanssky/mods/2521
      There is also a dedicated discord channel (nmsmb-csharp) on the No Man's Sky Modding discord.  The discord channel is the best place to get help.
  3. KaaTrav
    KaaTrav
    • supporter
    • 0 kudos
    Please! Update your amazing compiler to last 4.1 version (Fractal)!
    I try use the latest version from GitHub, but... the libMBIN version does not match - the button on the bottom left is lit red, version 4.06.0.1 is written on it. When I hover over the Steam icon on the top right, version 4.08.0.1 is indicated there.
    Is there a way to manually update libMBIN by replacing old files with new ones from the latest version from GitHub? And if so, which files should I replace? The downloaded archive has its own folders and subfolders and what of this should not be immediately understood ...
    I really hope for an early update of the program, but if at least a temporary manual fix is possible, please write how exactly to do it?
    P.S. I attach a log file in which the errors that occurred when clicking on the Steam button are visible.
    P.P.S. I'll try reinstalling from scratch now, but it's unlikely to help if the version still references the old libMBIN...
    P.P.P.S. Sorry for my English - not native language...
    *******************************
    Temporary solution: The program updated itself LibMBIN.dll by downloading the version libMBIN_v4.08.0-pre1.dll , but program didn't see this version myself.
    Fixed it by simply replacing the name of the new version with LibMBIN.dll (saving the old version just in case). Now the program is running and although there are still errors in the log, at least you can compile the mod from the script (create a pak). When processing the script itself, there were no more errors, except for those that occurred at startup when pressing the Steam button.
    I haven't checked the performance of the mod itself yet, because I'm still processing the rest of the mods, but at least the program itself has earned ...
    Below is now an updated log (just in case).
    *******************************

    [04:15:00.773] Loading Types from .\libMBIN.dll 4.08.0.1
    [04:15:01.216] Loaded Types from .\libMBIN.dll 4.08.0.1: 585 enum's, 2161 classes, 18181 fields
    [04:15:04.273] Select GoG, Steam, Xbox Game Pass, or Folder Select to load a Game Instance ...
    [04:15:06.788] Creating cmk.NMS.Game.Data from C:\Games\Steam\steamapps\common\No Man's Sky\
    [04:15:06.790] Loading Types from .\libMBIN.dll 4.08.0.1
    [04:15:07.157] Loaded Types from .\libMBIN.dll 4.08.0.1: 585 enum's, 2161 classes, 18181 fields
    [04:15:07.157] Loading item info from GAMEDATA\PCBANKS\*.pak
    [04:15:10.022] Loaded item info from GAMEDATA\PCBANKS\*.pak
    [04:15:10.024] Building merged item info tree from GAMEDATA\PCBANKS\*.pak
    [04:15:10.038] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:10.063] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:10.101] Loading cmk.NMS.Game.Language.Collection ENGLISH
    [04:15:10.111] Extracted - LANGUAGE/NMS_LOC4_ENGLISH.MBIN
    [04:15:10.111] Extracted - LANGUAGE/NMS_LOC8_ENGLISH.MBIN
    [04:15:10.114] Extracted - LANGUAGE/NMS_LOC6_ENGLISH.MBIN
    [04:15:10.114] Extracted - LANGUAGE/NMS_LOC1_ENGLISH.MBIN
    [04:15:10.128] Extracted - LANGUAGE/NMS_LOC5_ENGLISH.MBIN
    [04:15:10.154] Extracted - LANGUAGE/NMS_UPDATE3_ENGLISH.MBIN
    [04:15:10.166] Extracted - LANGUAGE/NMS_LOC7_ENGLISH.MBIN
    [04:15:11.691] Loaded cmk.NMS.Game.Language.Collection ENGLISH - 62508 entries
    [04:15:11.692] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:11.692] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:11.736] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:11.736] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:11.779] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:11.780] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:11.781] Loading cmk.NMS.Game.Items.Substance.Collection
    [04:15:11.781] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:11.781] Loading cmk.NMS.Game.Items.Product.Collection
    [04:15:11.782] Extracted - METADATA/REALITY/TABLES/NMS_REALITY_GCSUBSTANCETABLE.MBIN
    [04:15:11.782] Loading cmk.NMS.Game.Items.Technology.Collection
    [04:15:11.785] Extracted - METADATA/REALITY/TABLES/NMS_REALITY_GCPRODUCTTABLE.MBIN
    [04:15:11.786] Extracted - METADATA/REALITY/TABLES/NMS_REALITY_GCTECHNOLOGYTABLE.MBIN
    [04:15:12.825] Loaded cmk.NMS.Game.Items.Substance.Collection - 91 items
    [04:15:12.833] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:12.839] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:12.899] Updated cmk.NMS.Game.Items.Substance.Collection ENGLISH
    [04:15:14.776] Loaded cmk.NMS.Game.Items.Technology.Collection - 311 items
    [04:15:14.894] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:14.929] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:15.136] Updated cmk.NMS.Game.Items.Technology.Collection ENGLISH
    [04:15:16.408] Built merged item info tree from GAMEDATA\PCBANKS\*.pak
    [04:15:17.955] Loaded cmk.NMS.Game.Items.Product.Collection - 2085 items
    [04:15:17.955] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:17.956] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:18.008] Updated cmk.NMS.Game.Items.Product.Collection ENGLISH
    [04:15:18.025] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.026] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.026] Loading cmk.NMS.Game.Recipes.Refiner
    [04:15:18.027] Loading cmk.NMS.Game.Recipes.Cooking
    [04:15:18.027] Extracted - METADATA/REALITY/TABLES/NMS_REALITY_GCRECIPETABLE.MBIN
    [04:15:18.027] Extracted - METADATA/REALITY/TABLES/NMS_REALITY_GCRECIPETABLE.MBIN
    [04:15:18.122] Loaded cmk.NMS.Game.Recipes.Cooking - 862 recipes
    [04:15:18.122] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.123] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:18.138] Loaded cmk.NMS.Game.Recipes.Refiner - 303 recipes
    [04:15:18.159] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.159] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:18.192] Updated cmk.NMS.Game.Recipes.Refiner ENGLISH
    [04:15:18.230] Updated cmk.NMS.Game.Recipes.Cooking ENGLISH
    [04:15:18.230] Loading item info from GAMEDATA\PCBANKS\MODS\*.pak
    [04:15:18.231] Loaded item info from GAMEDATA\PCBANKS\MODS\*.pak
    [04:15:18.231] Linking MBIN paths to libMBIN classes
    [04:15:18.479] Linked MBIN paths to libMBIN classes
    [04:15:18.492] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.492] Unable to extract GCDEBUGOPTIONS.GLOBAL.MBIN, using regex to find language mbin's, may get dups
    [04:15:18.526] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.531] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.545] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.548] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.549] Extracted - GCDEBUGOPTIONS.GLOBAL.MBIN
    [04:15:18.550] cmk.NMS.Game.Data.Selected changed to C:\Games\Steam\steamapps\common\No Man's Sky\
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      As mentioned on the Description and GitHub site the app relies on libmbin.  When a new game release comes out it generally breaks libmbin and it can take a day or several weeks to update it.  In this case libmbin was just updated yesterday with a pre-release version.  Once I finish testing the new libmbin I will update a new version of NMSMB.
      You can always go to the MBINCompiler GitHub site and download the latest libmbin.dll yourself and then update your local cmkNMSReleases.txt as described on the NMSMB GitHub site.  The GitHub site also has more complete documentation on what the Steam tooltip and red color mean.
      If you want to see the latest info on the app you can go to the No Man's Sky Modding discord, the nmsmb-csharp channel is specifically for this app.
      ... the libmbin 4.10.0.2 dll is still missing an update for one structure, I will wait until libmbin is fully updated before releasing an nmsmb update.
  4. srlukx
    srlukx
    • member
    • 1 kudos
    Hello, I'm inexperienced but enthusiastic enough to play around with mods a bit. The application throws the following error " [02:46:09.129] Utility Scripts compile did not generate an Assembly "
    Could you clarify what I'm doing wrong?
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      Try the latest NMSModBuilder.7z from GitHub: v.4.6.0.3
      ... or wait until Nexus gets updated at some point with a new version.
      ... or try replacing the libmbin.dll in the app folder with the latest: v4.06.0-pre1
      The error is saying that one of the scripts in the Util Scripts tab did not compile.  If you look at that tab and compile there you should see the error messages in its log window.  It could be that since the version you are using was released that a newer game release made a breaking change to the structure of one or more mbin's.  If so then just using the scripts from the latest nmsmb may be enough.
    2. srlukx
      srlukx
      • member
      • 1 kudos
      I noticed that the mod I was tweaking is outdated in its script, but there's no way of knowing if it works.I'll look into what could be going on. Now I compiled and everything went well. Thanks.
  5. AlyxVilk134
    AlyxVilk134
    • member
    • 0 kudos
    Exe doesn't work. Yes I have both sdk's installed.
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      I just downloaded the latest file from here, unzipped into a new folder, and ran the exe and it starts without any problem.

      Please report what you get when you run the following in a command window:
      >dotnet --info

      In particular do you have both .NET 6 entries like:
      .NET runtimes installed:
        Microsoft.NETCore.App 6.0.9 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
        Microsoft.WindowsDesktop.App 6.0.9 [c:\program files\dotnet\shared\Microsoft.WindowsDesktop.App]

      You need to have installed the Desktop x64 .NET 6
      e.g. https://dotnet.microsoft.com/en-us/download/dotnet/thank-you/runtime-desktop-6.0.9-windows-x64-installer
  6. Tasunko
    Tasunko
    • member
    • 1 kudos
    How can I edit or modify a PAK file? The program won't allow anything.
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      1) When the program opens you first have to load you game data by clicking the gog, steam, or game pass icon in the toolbar (right side).
      2) Once the game data is loaded (takes about 12 sec) you can browse and search the game paks and any installed mod paks e.g. use the PAK Items tab(s).
      3) You can't modify a pak, you either view an existing one or create a new one using c# scripts.  Use the Util and Mod Scripts tabs to create and edit scripts, and the Build tab to execute the scripts and build a new mod pak file.

      You may want to join the NMS Modding discord server as it has a dedicated channel for this app, and there are several users that can help with using the app and creating scripts.
    2. Tasunko
      Tasunko
      • member
      • 1 kudos
      Thanks! 
  7. ten1000nuke
    ten1000nuke
    • member
    • 0 kudos
    [08.44.36.623] Download cmkNMSReleases.txt from GitHub:System.Net.Http.HttpRequestException: No such host is known. (raw.githubusercontent.com:443) ---> System.Net.Sockets.SocketException (11001): No such host is known.   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)   at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)   at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)   --- End of inner exception stack trace ---   at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)   at System.Net.Http.HttpClient.GetStreamAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)


    Also these cmkNMSReleases.txt copy and pasted the version 3.96 levaithan from bottom to above, (My game version is 3.96, - 23.07.2022)

    3.96, Leviathan, 2022-08-01, 3.97.0.1, v3.97.0-pre13.96, Leviathan, 2022-07-22, 3.97.0.1, v3.97.0-pre13.95, Endurance, 2022-07-22, 3.97.0.1, v3.97.0-pre13.94, Endurance, 2022-07-20, 3.94.0.1, v3.94.0-pre1


    NmsModBuilder and MBINCompiler downloaded latest from github. (Also .Net SDK 6.0.302 x64)
    But what is wrong with the above error!? Please help!?
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      Current MBinCompiler is 3.97.0.1, that is the version included in latest NMSMB pre-release 3.96.0.1.  The version of cmkNMSReleases.txt included in NMSMB 3.96.0.1 is the same as the one on GitHub.  In general you shouldn't need to edit cmkNMSReleases.txt. All you should need to do is download and unzip NMSMB 3.96.0.1 from GitHub, it should work without any other changes.

      I'm not sure what "3.96, Leviathan, 2022-08-01, 3.97.0.1, v3.97.0-pre1" is for, it looks like you tried to add a custom entry.  However, it's not needed (will use top entry if it's closest match), and it's wrong (3.95 - 3.98 are Endurance not Leviathan).

      The error is a network error.  NMSMB uses MS .NET System.Net.Http.HttpClient.GetStreamAsync to get "https://raw.githubusercontent.com/cmkushnir/NMSModBuilder/main/Common/cmkNMSReleases.txt".  So if NMSMB gives that error then I'd expect your web browser to give a similar error if you paste that url into it's address bar.
    2. ten1000nuke
      ten1000nuke
      • member
      • 0 kudos
      Thanks.
  8. ten1000nuke
    ten1000nuke
    • member
    • 0 kudos
    Thanks
  9. vikiowitch
    vikiowitch
    • member
    • 0 kudos
    this doesnt let me view the PAK files unfortunately.
    everything else is there, like the MBIN files. But I cant take a look into PAK files.
    i have set all the paths corrrectly
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      If you can view the mbins then you are viewing the pak file contents.  Pak files are like zip files, they contain the mbin's, dds, ...  The app reads the meta-data for all the game and mod pak files and presents their contents in the PAK Items tabs.  When you select an item to view in those tabs, e.g. a mbin, dds, xml, spv, ... , the app extracts it from the corresponding pak file and presents it for viewing.
      There are no paths to set, the app detects any installed steam or gog version of the game.
  10. ChromaKat
    ChromaKat
    • premium
    • 0 kudos
    When I try to launch this it says "To run this application, you must install missing frameworks for .NET." "Would you like to download it now?"  

    When I click "Yes" to download the missing frameworks it does nothing.  (and btw, exactly what frameworks am I missing?  I've installed NET like 4 times now for AMUMSS, so what am I missing?)
    1. cmkushnir
      cmkushnir
      • premium
      • 6 kudos
      See the comments on the Description tab and the GitHub page, in particular:
      Requires .NET 6 Desktop x64 for versions 3.82.2.2 onwards, e.g. .NET 6.0.7 Desktop x64

      The prompt to download and install any missing framework is not part of the app, it is likely a MS .NET feature, so I can't comment on why it may|may not work.