New game starting error

DEBUG : Error: Json error: data/json/recipes/basecamps/fbmc_fire_lookout_tower/recipe_modular_fire_lookout_tower_migo_resin.json:EOF: expected object or array

FUNCTION : bool main_menu::new_character_tab()
FILE : src/main_menu.cpp
LINE : 858
VERSION : c850e91

Just on creating new character. No mods, default settings
windows-tiles-x64-2021-08-05-1036

Please add more details:
What exactly were you doing, what mods, what operating system…
See How to Report Bugs Effectively on why these things are important.

Edit: I see you’ve edited your post just now to add some more information.
Let me ask a bit more precise: What character start did you choose?

Any “New Game” option causes this error. Didn’t even moved to scenarios

Just tested this, could not reproduce with the following settings:

  • OS: Windows 7 64-bit
  • Game Version: c850e91 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    Bionic Professions [package_bionic_professions]
    ]

I was able to start a random scenario as well as getting into custom character generation just fine.

You did not mention the launcher, so I have to assume you’ve downloaded it from the website/GitHub, right?
I’d suggest you redownload and reinstall that version, it’s possible that something went wrong during the transfer/unzipping.

Game downloaded from Experimental Builds
Unzipped by WinRar 5.70. All 4153 files, all 176 912 423 bytes are present
OS Win 10 Pro, freshly rebooted
No mods added or activated, no options changed, going directly to “New Game” → “New Character”… Ta-daam! Error

P.S. Stable 0.F is running perfectly

Well, I can’t reproduce it, so there’s not much I could help with.

Did the second download/install instance throw the same error?

How does your data/json/recipes/basecamps/fbmc_fire_lookout_tower/recipe_modular_fire_lookout_tower_migo_resin.json file look like? Is it somehow cut off at the end?

Tried all available experimental builds with the same result

It looks something like this:

[
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_0",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the southern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_0",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_0" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_0" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_0" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_1",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the southeastern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_1",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_1" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_1" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_0" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_2",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the eastern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_2",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_2" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_2" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_1" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_3",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the northeastern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_3",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_3" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_3" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_2" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_4",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the northern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_4",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_4" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_4" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_3" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_5",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the northwestern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_5",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_5" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_5" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_4" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_6",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the western part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_6",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_6" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_6" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_5" } ],
    "blueprint_name": "mi-go resin shack"
  },
  {
    "type": "recipe",
    "result": "faction_base_fire_lookout_tower_migo_resin_shack_7",
    "description": "We need some shelter, so build a mi-go resin shack with a mi-go resin roof in the southwestern part of the camp.",
    "category": "CC_BUILDING",
    "subcategory": "CSC_BUILDING_BASES",
    "autolearn": false,
    "never_learn": true,
    "construction_blueprint": "fbmc_fire_lookout_tower_migo_resin_shack_7",
    "blueprint_provides": [ { "id": "fbmc_fire_lookout_tower_shack_7" } ],
    "blueprint_excludes": [ { "id": "fbmc_fire_lookout_tower_shack_7" } ],
    "blueprint_requires": [ { "id": "fbmc_fire_lookout_tower_shack_6" } ],
    "blueprint_name": "mi-go resin shack"
  }
]

Seems to be OK, but we have what we have
Still, I have the stable build to play, so thanks for your help

It might be a shot into the dark, but…
You could try to rename recipe_modular_fire_lookout_tower_migo_resin.json to recipe_modular_fire_lookout_tower_migo.json (remove the “_resin”).
If it is what I think it is, it should then complain about recipe_modular_fire_lookout_tower_rammed_earth.json (with the same error).
If it does, remove the “_earth” of the second file name and see if it works without any more errors.

Your are a real sharpshooter. It works!

:grinning_face_with_smiling_eyes: Ha, great!

As for what’s going on:
It’s most likely that the path is too long for your system to comprehend.
The base path length (including the file name) for cdda-windows-tiles-x64-2021-08-05-1036/data/json/recipes/basecamps/fbmc_fire_lookout_tower/recipe_modular_fire_lookout_tower_migo_resin.json is already 134 characters (assuming you did not rename the zip file) long. Having that folder installed somewhere deeper in the system might cause issues accessing it (at least for the software, as you were able to open it fine manually).
Renaming either the base folder or the fbmc_fire_lookout_tower into something short probably would have fixed this issue as well.

I will have to look into this a bit more and see if this is a common issue, as well as if it’s fixable (or at least give a better error message).

True. For a sertain reason, I keep the game in the AppData folder. If I shrink the game folder name, it works with old file names.

Closed

PS maybe it should be added to Q&A