Jump to content

Stuck at logo screen when starting up the game


oldpop

Recommended Posts

Hey Phil! 👋

This seems to be the root cause of your issue:

 

2021-02-15 03:40:37.172 ALERT   Dispatcher: Error starting Game GUI: [string "./Scripts/Input\Data.lua"]:46: attempt to index local 'res' (a nil value)

 

Here's the function, which is part of the game (unmodded):

 

local function initialize(userConfigPath, sysConfigPath)
	userConfigPath_ = userConfigPath
	sysConfigPath_ = sysConfigPath
	sysPath_ = sysConfigPath .. 'Aircrafts/'
	
	local f, err = loadfile(userConfigPath_ .. disabledFilename_)
	
	if f then
		local ok, res = pcall(f)
		
		if ok then
			disabledDevices_ = res.devices  --<--the error comes from ths line (46)
			
			for deviceName, disabled in pairs(disabledDevices_) do
				Input.setDeviceDisabled(deviceName, true)
			end
			
			Input.setPnPDisabled(res.pnp)
		else
			printLog('Unable to load disabled devices!', res)
		end
	end
end

 

From what I understand, this script opens the "C:\Users\phili\Saved Games\DCS.openbeta\Config\Input\disabled.lua" file, then tries to understand what's written inside it.

For some reason, your DCS seems unable to read the file. I suggest you delete this file, then restart DCS. It should create a brand new file. Let us know how it goes.


Edited by Flappie

Don't accept indie game testing requests from friends in Discord. Ever.

Link to comment
Share on other sites

I had the same problem (stuck on starting screen) out of 10 tries to start DCS it started maybe 2 times, i had to open task manager and force it to close. As guys suggestion above, solution to this is to turn off fullscreen. After that DCS starts normally every single time.

Link to comment
Share on other sites

  • 3 weeks later...

 

Also having an issue similar to these chaps... basically when i load DCS Openbeta it gets stuck on the initial loading screen at 100%.

 

I have been running DCS perfectly well, even an hour ago! Restarted my PC and now this...

 

I get this error message in the logs on startup (these are the last two lines):

 

2021-03-11 22:02:43.083 ALERT   Dispatcher: Error starting Game GUI: [string "./MissionEditor/MissionEditor.lua"]:86: invalid order function for sorting
2021-03-11 22:02:43.083 INFO    EDCORE: (dDispatcher)enterToState_:2
 

I checked this MissionEditor.lua and the function which flags the error, interestingly has comments above saying, '-- FIXME: remove it'

 

anyway here is the full function which flags the error in MissionEditor.lua:

 

-- FIXME: remove it
local old_sort = table.sort
table.sort = function(tbl, fun)
    if (type(tbl[1]) == 'string') and (fun == nil) then
        old_sort(tbl, function(op1, op2) return textutil.Utf8Compare(op1, op2) end)
    else
        old_sort(tbl, fun)
    end
end

 

line 86 being: 'old_sort(tbl, fun)'

 

Tried running a repair and no joy, tried removing my folder from 'Saved Games', no joy. 

 

Any help much appreciated as i can't load DCS at all. Installing Stable now to test.

 

UPDATE: Had the exact same error in Stable

 

UPDATE: If i comment out:

'else
      old_sort(tbl, fun)'

then i can load into the main menu but i'm not able to click on any options. I'm not surprised but at least i can get passed the error.

 

 


Edited by Wiggy
Link to comment
Share on other sites

  • 2 years later...

For some time, DCS would only load after restarting my computer (I usually keep my computer in sleep mode). After running DCS a couple of times, it would get stuck at the loading logo, (the first small DCS logo that appears after launching DCS) and I would have to reboot again. I tried all the suggestions I could find online, except reinstalling DCS. Then I found a fix: killing the TrackIR process in the task manager under the details tab, while DCS is still in the stuck mode. DCS resumes loading normally after that. I restart TrackIR app after DCS loads. I don't know why TrackIR is causing DCS to hang up, but killing TrackIR in task manager details is much quicker than rebooting my computer.


Edited by bernp
Link to comment
Share on other sites

another one, took 10mins to get to the startscreen which was still freezin the whole time (and the whole PC)

 

2023-09-28 22:38:57.312 ERROR   WORLDGENERAL (Main): Error: Unit [Hawk]: Cell "CABIN_RIGHT_SIDE" is linked to self.
2023-09-28 22:38:57.414 ERROR   wInfo (Main): negative weight of payload "{HOT3_L2_M}"
2023-09-28 22:38:57.415 ERROR   wInfo (Main): negative weight of payload "{HOT3_R1_M}"
2023-09-28 22:38:57.415 ERROR   wInfo (Main): negative weight of payload "{HOT3_R2_M}"
2023-09-28 22:38:57.415 ERROR   wInfo (Main): negative weight of payload "{HOT3_L1_M}"
2023-09-28 22:38:57.423 INFO    DX11BACKEND (Main): DX11ShaderBinaries::loadCache ./Mods/aircraft/F14/fxo
2023-09-28 22:38:57.424 INFO    DX11BACKEND (Main): DX11ShaderBinaries::loadCache done. Loaded 0/0.
2023-09-28 22:38:57.456 INFO    EDCORE (Main): (dDispatcher)enterToState_:1
2023-09-28 22:42:56.411 INFO    UIBASERENDERER (Main): Cannot load font [C:\Program Files\Eagle Dynamics\DCS World OpenBeta\dxgui\skins\fonts\]!

2023-09-28 22:42:56.411 INFO    UIBASERENDERER (Main): Cannot create font [C:\Program Files\Eagle Dynamics\DCS World OpenBeta\dxgui\skins\fonts\] size 0!
2023-09-28 22:44:01.735 INFO    APP (Main): Device unplugged: \\?\USB#VID_05AC&PID_12A8&MI_00#6&e50631a&0&0000#{6bdd1fc6-810f-11d0-bec7-08002be2092f}
2023-09-28 22:44:24.346 INFO    APP (Main): Device unplugged: \\?\USB#VID_05AC&PID_12A8&MI_00#6&e50631a&0&0000#{6ac27878-a6fa-4155-ba85-f98f491d4f33}
2023-09-28 22:44:31.842 INFO    APP (Main): Device unplugged: \\?\USB#VID_05AC&PID_12A8#000081010002289A34F0001E#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
2023-09-28 22:47:54.488 INFO    APP (Main): Loaded C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Hooks\common.lua
2023-09-28 22:47:54.488 INFO    APP (Main): Loaded C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Hooks\multislot.lua
2023-09-28 22:47:54.488 INFO    APP (Main): Loaded C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Hooks\voicechat.lua
2023-09-28 22:47:54.489 INFO    APP (Main): Loaded C:\Program Files\Eagle Dynamics\DCS World OpenBeta\Scripts\Hooks\webGUI.lua
2023-09-28 22:48:43.189 INFO    LuaNET (Main): Loading - DCS-SRS GameGUI - Ciribob: 2.0.8.6
2023-09-28 22:48:43.190 INFO    LuaNET (Main): Loaded - DCS-SRS GameGUI - Ciribob: 2.0.8.6
2023-09-28 22:48:43.190 INFO    LuaNET (Main): Loading - DCS-SRS Overlay GameGUI - Ciribob: 2.0.8.6 

dcs.log


Edited by BMO
Link to comment
Share on other sites

1 hour ago, BMO said:

as you can see i have following mods:

* dot-visibity

*A-4E

*SRS

*TACVIEW

 

SRS & TACVIEW are not Mods, but external software so they rarely cause issues with DCS itself.

Whenever I have a problem of this type, I disable my user Mods and then run a DCS Repair, just to ensure that I have a correct and standard DCS install. If the issue persists then you have found a true DCS bug to report, or you could have faulty hardware.


Edited by Rudel_chw
  • Like 2

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...