SupCom Crashing on Startup

0

SupCom keeps crashing when I try to start or host a game. The following error occurs in the output log:
warning: Error running lua script: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): attempt to call method HasBuilderList' (a nil value) stack traceback: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): in function ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(822): in function ExecutePlan' ...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(794): in function EvaluateAIPlanList'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(771): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:762>
warning: Error running lua script: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): attempt to call method HasBuilderList' (a nil value) stack traceback: ...amedata\lua.nx2\lua\ai\aiarchetype-managerloader.lua(52): in function ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(822): in function `ExecutePlan'
...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua(804): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\aibrain.lua:799>

0

Any Mods?

0

@dragun101 Even without any mods or modded maps, the game still crashes with the same error message.
edit: just tried to run SupCom without any mods on a vanilla map, and received this error message:
warning: Unable to find file /lua/options/optionslogic.lua
warning: stack traceback:
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...amdata\faforever\gamedata\lua.nx2\lua\user\prefs.lua(9): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/options/optionslogic.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...amdata\faforever\gamedata\lua.nx2\lua\user\prefs.lua(9): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/user/prefs.lua' warning: stack traceback: warning: [C]: in function error'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function import' warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function import'
warning: ...\faforever\gamedata\lua.nx2\lua\keymap\keymapper.lua(11): in main chunk
warning: [C]: in function doscript' warning: [C]: in function pcall'
warning: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function import' warning: Error importing /lua/keymap/keymapper.lua: Error importing '/lua/keymap/keymapper.lua' stack traceback: [C]: in function error'
...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'

0

It says it can not load in the prefs file either - did you start the game on Steam once to make a profile?

0

Just tried to launch SupCom from steam, and it crashed almost immediately. I'm verifying the file integrity in case a file went missing somewhere.

2

Found the problem: I was missing four files in the steam installation folder. I must have moved them or done something to corrupt them.