Modding Help Problem with merging...

Discussion in 'Starbound Modding' started by GOKOP, Jan 28, 2014.

  1. GOKOP

    GOKOP Big Damn Hero

    Sorry for bad English. ;)
    So, after a long break, I decided to try to make my mod working... I downloaded one mod and checked, "how this merging works", and I corrected my mod files, but it still doesn't work... The problem is that I can't see where's the problem, even after checking the log...

    So, this is the log:

    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Furious Koala' '635'
    Info: Running from : D:\Programy\Steam\steamapps\common\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Loading Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Initializing SDL Window
    Info: Created initial window 640x360
    Info: Initializing SDL Window
    Info: Re-created window 1366x706
    Info: Not loading ImageMetadataDatabase from file '..\image.cache', digest mismatch or assets not digestable
    Error: Could not load /celestial.config asset, attempting to use default.
    AssetException: Could not read variant asset /celestial.config
    caused by: JsonParsingException: Cannot parse json file: /celestial.config
    caused by: JsonParsingException: Error parsing json: bad array, should be ',' or ']' at 8:14

    009AC6F2 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:14)
    00519486 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:584)
    0051A41C (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:41)
    005103EF (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:992)
    ... (3)
    0051B9EC (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarAssets.cpp:677)
    ... (2)
    004ECB83 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:159)
    004016C8 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:306)
    009801DC (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    74C533AA KERNEL32.dll
    77469EF2 ntdll.dll
    77469EC5 ntdll.dll

    Info: Writing Star::Configuration to '..\starbound.config'
    Error: Exception caught in Thread Async root loader: VariantException: Improper conversion to VariantMap from null
    00833C83 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.hpp:13)
    00A6DCEB (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarVariant.cpp:269)
    005DB0A6 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarCelestialDatabase.cpp:17)
    004ECB83 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/game/StarRoot.cpp:159)
    004016C8 (/Users/builder/starbound-slave/releasebuilder-windows/build/source/client/StarClientApplication.cpp:306)
    009801DC (/Users/builder/starbound-slave/releasebuilder-windows/build/source/core/StarThread_windows.cpp:74)
    74C533AA KERNEL32.dll
    77469EF2 ntdll.dll
    77469EC5 ntdll.dll

    Info: Application quitting!
    Info: [ [ "StarApplicationBase::run.innerLoop", "Cnt#: ", 4715, "Sum(ms)", 79892, "Avg", 16, "SAvg", 15, "Min", 15, "Max", 531, "Last", 206, "Var(avg,us)", 19055.1, "VMax(ms)", 516, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.sleeping", "Cnt#: ", 9181, "Sum(ms)", 43559, "Avg", 4, "SAvg", 1, "Min", 1, "Max", 12, "Last", 8, "Var(avg,us)", 3744.47, "VMax(ms)", 11, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.preSleeping", "Cnt#: ", 4631, "Sum(ms)", 38790, "Avg", 8, "SAvg", 1, "Min", 1, "Max", 12, "Last", 8, "Var(avg,us)", 7380.26, "VMax(ms)", 11, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsSwapBuffers", "Cnt#: ", 4714, "Sum(ms)", 21978, "Avg", 4, "SAvg", 0, "Min", 0, "Max", 41, "Last", 5, "Var(avg,us)", 4662.92, "VMax(ms)", 41, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.render", "Cnt#: ", 4714, "Sum(ms)", 13306, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 99, "Last", 4, "Var(avg,us)", 3847.9, "VMax(ms)", 99, "Parent", "" ], [ "ClientApplication::render", "Cnt#: ", 4714, "Sum(ms)", 13297, "Avg", 2, "SAvg", 0, "Min", 0, "Max", 99, "Last", 4, "Var(avg,us)", 3845.99, "VMax(ms)", 99, "Parent", "" ], [ "Assets::loadVariant", "Cnt#: ", 107, "Sum(ms)", 8295, "Avg", 77, "SAvg", 12, "Min", 1, "Max", 334, "Last", 115, "Var(avg,us)", 65925.2, "VMax(ms)", 321, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.postSleeping", "Cnt#: ", 4550, "Sum(ms)", 4771, "Avg", 1, "SAvg", 1, "Min", 1, "Max", 10, "Last", 1, "Var(avg,us)", 48.5714, "VMax(ms)", 9, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.SDL_PollEvent", "Cnt#: ", 4745, "Sum(ms)", 442, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 244, "Last", 91, "Var(avg,us)", 6338.88, "VMax(ms)", 243, "Parent", "" ], [ "Cinematic::render", "Cnt#: ", 4714, "Sum(ms)", 373, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 79, "Last", 0, "Var(avg,us)", 732.711, "VMax(ms)", 79, "Parent", "" ], [ "Assets::loadFont", "Cnt#: ", 1, "Sum(ms)", 324, "Avg", 324, "SAvg", 324, "Min", 324, "Max", 324, "Last", 324, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::renderInit", "Cnt#: ", 2, "Sum(ms)", 301, "Avg", 150, "SAvg", 260, "Min", 40, "Max", 261, "Last", 40, "Var(avg,us)", 110500, "VMax(ms)", 221, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.renderPost", "Cnt#: ", 4714, "Sum(ms)", 289, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 108, "Last", 0, "Var(avg,us)", 1285.32, "VMax(ms)", 108, "Parent", "" ], [ "Assets::loadImage", "Cnt#: ", 2, "Sum(ms)", 78, "Avg", 39, "SAvg", 37, "Min", 37, "Max", 41, "Last", 41, "Var(avg,us)", 2000, "VMax(ms)", 4, "Parent", "" ], [ "Assets::loadBaseImage", "Cnt#: ", 2, "Sum(ms)", 78, "Avg", 39, "SAvg", 37, "Min", 37, "Max", 41, "Last", 41, "Var(avg,us)", 2000, "VMax(ms)", 4, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsClear", "Cnt#: ", 4714, "Sum(ms)", 59, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 12.5159, "VMax(ms)", 1, "Parent", "" ], [ "Assets::loadAudio", "Cnt#: ", 1, "Sum(ms)", 36, "Avg", 36, "SAvg", 36, "Min", 36, "Max", 36, "Last", 36, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.update", "Cnt#: ", 4744, "Sum(ms)", 13, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 2.7403, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::update", "Cnt#: ", 4744, "Sum(ms)", 9, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.89713, "VMax(ms)", 1, "Parent", "" ], [ "Assets::postProcessAudio", "Cnt#: ", 1, "Sum(ms)", 7, "Avg", 7, "SAvg", 7, "Min", 7, "Max", 7, "Last", 7, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::updateSplash", "Cnt#: ", 4744, "Sum(ms)", 6, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.26476, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsStart", "Cnt#: ", 4714, "Sum(ms)", 6, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.2728, "VMax(ms)", 1, "Parent", "" ], [ "StarApplicationBase::run.innerLoop.graphicsFinish", "Cnt#: ", 4714, "Sum(ms)", 5, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 1.06067, "VMax(ms)", 1, "Parent", "" ], [ "ClientApplication::processInput", "Cnt#: ", 339, "Sum(ms)", 1, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 1, "Last", 0, "Var(avg,us)", 2.94985, "VMax(ms)", 1, "Parent", "" ], [ "Cinematic::update", "Cnt#: ", 4744, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ], [ "ClientApplication::renderDestroy", "Cnt#: ", 2, "Sum(ms)", 0, "Avg", 0, "SAvg", 0, "Min", 0, "Max", 0, "Last", 0, "Var(avg,us)", 0, "VMax(ms)", 0, "Parent", "" ] ]
    Info: Shutting down Star::Root


    It says, that there should be a comma, but there IS a comma... this is celestial.config file:

    Code:
    {
      "__merge" : [],
    
      "satelliteTypes" : {
            "Terrestrial" : {
              "orbitParameters" : {
                "Mild" : [
                "__merge" : [],
                      {
                        "availableBiomes" : [ "meat" ]
                      }
                    ]
              }
            }
      }
    }
    
     
  2. Karull

    Karull Big Damn Hero

    I'm not 100% sure, but I think your issue is that second merge, I don't think it needs to be there? Delete that second merge line and see if it works
     
  3. www.jsonlint.com

    Yeah something with your arrays is not correct. Paste it into that website and it will give you some better parsing.
    I cant really help you 'cuz i dont know what all you are trying to do, or what structure you need it. The second merge is causing a bad array, so thats where you should start.
     
  4. GOKOP

    GOKOP Big Damn Hero

    So, I deleted the second merge and now I have another problem, when I trying to view planet in ship's navigation, game crashes with this error:
    Code:
    Error: PlanetException: Cannot load planet descriptor for coordinate 'alpha:67973594:-41092567:-206621:4:6'
      005623EE starbound_opengl.exe
      005E512E starbound_opengl.exe
      00487A4C starbound_opengl.exe
      0048AC95 starbound_opengl.exe
      004DE77C starbound_opengl.exe
      004CC4DC starbound_opengl.exe
      004CC541 starbound_opengl.exe
      004CC4E6 starbound_opengl.exe
      004BD446 starbound_opengl.exe
      0042DD3B starbound_opengl.exe
      00403240 starbound_opengl.exe
      0040A2F4 starbound_opengl.exe
      00407E74 starbound_opengl.exe
      004E9AD1 starbound_opengl.exe
    
    The same error is in the log.
     
  5. Karull

    Karull Big Damn Hero

    only thing i can think of, is you need to delete everything in your universe folder.
     
  6. GOKOP

    GOKOP Big Damn Hero

    It didn't helped... :(
     
  7. Karull

    Karull Big Damn Hero

    can't help further than this, I have no experience with world stuff. pretty sure things changed with how all that stuff is handled, so you may need to compare your old stuff to the new stuff. other than that, idk.
     

Share This Page