Jump to content

[REPORTED/Resolved] DCS Mods Not Working/Crashing w/ DCS 2.5.0.15184


SkateZilla

Recommended Posts

OK,

So I've reported to the devs several instances/examples of how Specific Mods/Modding Causes DCS to Crash or Mods to not work,

 

I'd Also Like to Clear Up a Big Mis-Conception, ED is Not trying to intentionally block modding or the modding community,

The problem was not "missed", because we do not test Modules or the DCS Core Build w/ Mods, we test the stock vanilla build without mods for several reasons, so something like this was not for-seen in our testing.

 

So I've submitted a Lengthy Bug report and Covered as many Types of Mods/Problems as I could at the moment, but I know there are some instances that I have not covered.

 

I Am Opening this Thread, for MOD AUTHORS, To submit logs and information on how their mod is not working/crashing DCS.

Please Keep It CLEAN.

 

If Your Mod Has the Same Result as one of the below, Simply State which result it has and any relevant data. (logs etc).

 

Summary:

With DCS 2.5.0.15184, all Scripts/LUA Files now seem to be Integrity Checked, if they fail, they are blocked from Loading, even if User is loading mods for Single Player/Offline Use Only (ie. Weapons Mods, Adding Stores to Aircraft, modding countries inventory of units, View mods for Video Production etc).

 

Depending on the LUA File edited, the problem caused by the file being blocked from loading can vary and range from A Module being Absent, to DCS Loading, but Significant data missing which causes DCS to crash when trying to launch any missions, to DCS Not loading at all.

Any type of modification of any LUA file within the core dcs (whether it's adjusting parameters or simply adding a space by accident), will cause Integrity Check to block those files from loading.

 

In previous versions, this was not a problem, DCS simply reported not pure in MP, but allowed a user to modify core files for single player use.

 

These files cannot be side loaded from /Saved Games/ (Aircraft LUA Files w/ Modified Stores list's, /Scripts/ LUA Files etc).

(I've Tried to mod a LUA and save in /Saved Games/DCS.25/Mods/Aircaft/F-5E/F-5E.LUA to add Stores w/ No Affect, file is simply ignored, even when a Entry.LUA is setup w/ a dofile command, same w/ /Saved Games/DCS.25/Scripts/database/db_countries.lua)

 

 

EXAMPLES / INSTANCES OF MODS CRASHING / NOT WORKING INCLUDED IN REPORT

 

Several Examples included w/ result and log info:

 

1A. Modding an Aircraft's LUA to include additional stores will cause the Aircraft not to load at Startup, Aircraft's ICON will still show as installed on Main Screen, however Aircraft will not be available for selection under Units uin the mission editor..

2018-03-19 15:36:59.379 ERROR SECURITYCONTROL: Manifest hash check failed for file './CoreMods/aircraft/F-86/F-86.lua'

2018-03-19 15:36:59.381 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:36:59.381 ALERT Scripting: loadfile: can't open './CoreMods/aircraft/F-86/F-86.lua'

 

1B. Special Cases for the Aircraft that have base LUAs that create definitions and settings for both aircraft in the module. (F-5E/F-5E-3, L-39C/L-39ZA)

Modding the Base LUA (ie F-5E.LUA) will cause DCS Process to Stop during the loading process when it processes F-5E-3.LUA, because the definitions are not loaded from within the F-5E.LUA

2018-03-19 15:42:27.866 ERROR SECURITYCONTROL: Manifest size check failed for file 'coremods/aircraft/f-5e/f-5e.lua'

2018-03-19 15:42:27.866 ERROR SECURITYCONTROL: Manifest 'coremods/aircraft/f-5e/dcs_manifest.x86_64' failed 1 file checks.

2018-03-19 15:42:31.852 ERROR SECURITYCONTROL: Manifest size check failed for file './CoreMods/aircraft/F-5E/F-5E.lua'

2018-03-19 15:42:31.854 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:42:31.854 ALERT Scripting: loadfile: can't open './CoreMods/aircraft/F-5E/F-5E.lua'

2018-03-19 15:42:31.854 ALERT DCS: Error running Scripts/Database/db_scan.lua: [string "./CoreMods/aircraft/F-5E/F-5E-3.lua"]:1: attempt to call global 'make_tiger' (a nil value)

2018-03-19 15:42:32.075 WARNING EDOBJECTS: lTypeObjectManager::Create() doesn't exist.

=== Log closed.

 

2. Modding an Aircraft's Views File (for User Preference, and making camera views for video production), DCS will block the views file, and startup completely, but the module that had it's views.lua edited will be blocked from loading completely, and will not show up within DCS At all (no Icons on menus, not listed under aircraft units for even AI to user).

2018-03-19 15:57:17.139 ERROR SECURITYCONTROL: Manifest hash check failed for file 'mods/aircraft/f-86/views.lua'

2018-03-19 15:57:17.140 ERROR SECURITYCONTROL: Manifest 'mods/aircraft/f-86/dcs_manifest.x86_64' failed 1 file checks.

2018-03-19 15:57:24.117 ERROR SECURITYCONTROL: Manifest hash check failed for file './Mods/aircraft/F-86/Views.lua'

2018-03-19 15:57:24.119 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:57:24.119 ALERT Scripting: loadfile: can't open './Mods/aircraft/F-86/Views.lua'

2018-03-19 15:57:36.666 ERROR Database: plugin: F-86F Sabre by Belsimtek unit modification F-86F Sabre not allowed

2018-03-19 15:57:36.666 INFO Database: plugin: F-86F Sabre by Belsimtek skipped, not authorized

 

3. Modding the DB_Countries.lua (to add/remove aircraft / units from a country. will cause the sim to block the db_countries.lua file from being loaded, resulting again in DCS Process being terminated during startup as it cannot process definitions/objects

45:55.292 ERROR SECURITYCONTROL: Manifest size check failed for file './Scripts/Database/db_countries.lua'

2018-03-19 15:45:55.293 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:45:55.293 ALERT DCS: Error running Scripts/Database/db_scan.lua: can't open './Scripts/Database/db_countries.lua'

2018-03-19 15:45:55.466 WARNING EDOBJECTS: lTypeObjectManager::Create() doesn't exist.

=== Log closed.

 

4. Same result for Modding DB_Sensors.lua (adding / adjusting how some sensors work)

2018-03-19 15:49:37.820 ERROR SECURITYCONTROL: Manifest size check failed for file './Scripts/Database/db_sensors.lua'

2018-03-19 15:49:37.821 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:49:37.821 ALERT DCS: Error running Scripts/Database/db_scan.lua: can't open './Scripts/Database/db_sensors.lua'

2018-03-19 15:49:37.921 INFO SOUND: detaching sdef path "sounds\sdef"

2018-03-19 15:49:38.081 WARNING EDOBJECTS: lTypeObjectManager::Create() doesn't exist.

=== Log closed.

 

5. Same Result for Modding DB_Weapons_data.lua (Modifying How Core Weapons work)

2018-03-19 15:51:18.222 ERROR SECURITYCONTROL: Manifest hash check failed for file 'scripts/Database/db_weapons_data.lua'

2018-03-19 15:51:18.224 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 15:51:18.224 ALERT DCS: Error running Scripts/Database/db_scan.lua: can't open 'scripts/Database/db_weapons_data.lua'

2018-03-19 15:51:18.529 WARNING EDOBJECTS: lTypeObjectManager::Create() doesn't exist.

=== Log closed.


Edited by SkateZilla

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

I think i will open the dance :)

 

So exact same reslut as 1B

 

2018-03-19 18:02:54.938 ERROR SECURITYCONTROL: Manifest size check failed for file 'coremods/aircraft/f-5e/entry.lua'

2018-03-19 18:02:54.938 ERROR SECURITYCONTROL: Manifest size check failed for file 'coremods/aircraft/f-5e/f-5e.lua'

2018-03-19 18:02:54.938 ERROR SECURITYCONTROL: Manifest 'coremods/aircraft/f-5e/dcs_manifest.x86_64' failed 2 file checks.

2018-03-19 18:02:55.101 ERROR SECURITYCONTROL: Manifest size check failed for file 'mods/aircraft/f-5e/fm/config.lua'

2018-03-19 18:02:55.101 ERROR SECURITYCONTROL: Manifest 'mods/aircraft/f-5e/dcs_manifest.x86_64' failed 1 file checks.

2018-03-19 18:02:56.103 ERROR SECURITYCONTROL: Manifest size check failed for file './CoreMods/aircraft/F-5E/entry.lua'

2018-03-19 18:02:56.113 ERROR SECURITYCONTROL: Manifest size check failed for file './Mods/aircraft/F-5E/FM/config.lua'

 

Entry.lua:

---------------------------------------------------------

dofile(current_mod_path..'/smoke_generator.lua')

dofile(current_mod_path..'/F-5E.lua')

dofile(current_mod_path..'/F-5E-3.lua')

---------------------------------------------------------

plugin_done()

 

smoke_generator.lua:

declare_loadout(

{

category = CAT_PODS,

CLSID = "{SMOKE-WHITE-F-5}",

Picture = "smoke.png",

PictureBlendColor = {r = 255,g = 255,b = 255,a = 1},

displayName = _("F-5 Smoke"),

 

attribute = {4, 15, 50, WSTYPE_PLACEHOLDER},

Weight = 0,

Cx_pil = 0,

 

Smoke = {

alpha = 180,

r = 255,

g = 255,

b = 255,

dx = -2.0,

dy = 0.09

},

 

shape_table_data =

{

{

file = "rauch";

life = 1;

fire = { 0, 1};

username = "SMOKE_WHITE_F-5";

index = WSTYPE_PLACEHOLDER;

},

},

 

Elements =

{

{

Position = {0, 0, 0},

ShapeName ="Rauch",

},

},

}

)

 

F-5.lua:

pylon(7, 0, -1.319000, -0.332000, 4.099000,

{

use_full_connector_position = true,

connector = "AFTERBURN_002",

},

{

{CLSID = "{SMOKE-WHITE-F-5}"},

},

tips

),

 

There we go, i hope my post is not too much useless since it's pretty similar to your wing tip tank mod.

 

Thank you for taking care of this Skate, we really appreciate it!

Member of the Virtual Patrouille Suisse Since 2010. High and slow, fast and low.

Intel i9-12900k | 64GB RAM | RTX4090 | HP Rerverb G2 | T-50CM3 Base | WinWing Set

Link to comment
Share on other sites

Modded aircraft .Lua for P-51D, extra smoke colours and central smoke

 

Same result as 1a..

 

2018-03-19 18:49:23.510 ERROR SECURITYCONTROL: Manifest size check failed for file './Scripts/Database/planes\P-51D.lua'

2018-03-19 18:49:23.512 WARNING LOG: 1 duplicate message(s) skipped.

2018-03-19 18:49:23.512 ALERT DCS: Error running Scripts/Database/db_scan.lua: can't open './Scripts/Database/planes\P-51D.lua'

Intel Core i7-8086k@5Ghz / Asus PrimeZ370-A

32GB DDR4 3000Mhz Mem / GTX 1080 Ti / 500GB SSD Int M2 / Samsung U28E590 4k / Oculus Rift S

Link to comment
Share on other sites

RAF GE mod from the BFVG.

 

Amended FARP.lua to include vehicles from this mod.

 

LOG ERROR MESSAGE:

 

2018-03-19 18:57:43.077 ERROR   SECURITYCONTROL: Manifest size check failed for file './Scripts/Database/FARP.lua'
2018-03-19 18:57:43.078 WARNING LOG: 1 duplicate message(s) skipped.
2018-03-19 18:57:43.078 ALERT   DCS: Error running Scripts/Database/db_scan.lua: can't open './Scripts/Database/FARP.lua'

 

Thank you.

Callsign: NAKED

My YouTube Channel

 

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

warhead mod:

 

2018-03-19 19:05:13.589 ERROR   SECURITYCONTROL: Manifest size check failed for file './Scripts/Database/Weapons/weapons_table.lua'
2018-03-19 19:05:13.590 WARNING LOG: 1 duplicate message(s) skipped.
2018-03-19 19:05:13.590 ALERT   DCS: Error running Scripts/Database/db_scan.lua: can't open './Scripts/Database/Weapons/weapons_table.lua'

Link to comment
Share on other sites

MOD from upuaut: Tents, Watchtower, UH-1-Cargo

 

Hi all,

 

as it seems, ED has changed the structure of DCS again and the already updated 2.5 files from this great mod are stopping DCS to run. I've copied the mods folder from the archive to saved games and the rest via jsgme to the main DCS folders. Result is that DCS doesn't start anymore.

When I remove the files from this mod via jsgme DCS starts as normal as it could be.

Any clues? Any help is much appriciated.

 

Thanks

Demon

[sIGPIC][/sIGPIC]

Founder of the -=VDS=-

:pilotfly:

Link to comment
Share on other sites

Mods to Helicopter lua's.

 

We have many helicopters in DCS and not all of them can land or take off from ships. I have yet to see any helicopter than cannot land on or take off from a CVN.

 

Mods to Aircraft lua's.

 

Many of the weapon loadouts are incorrect, a minor detail change that used to easily done by users.

 

Mods to db_countries.lua.

 

We have new countries being added to the game all the time, with no facility within the db_countries.lua to add the aircraft or helo's they fly. For example India. They fly Migs, Su30's, An32's, A50's, Il76's, C17, C130, Tu52 etc etc.. You can add India to a Blue coalition, but you cant fly the aircraft.

 

Another simple Mod that could be done easily by users.

Link to comment
Share on other sites

2018-03-21 01:23:37.440 ALERT Database: loadfile: can't open './CoreMods/aircraft/AV8BNA/entry.lua'

2018-03-21 01:23:39.863 INFO Database: PLUGINS START-------------------------------------------------

2018-03-21 01:23:39.864 INFO Database: plugin: ./CoreMods/aircraft/AV8BNA skipped, not supported

2018-03-21 01:23:39.875 ERROR Database: unit AV8BNA not found

 

Modification to the entry.lua file is the last line below:

 

dofile(current_mod_path.."/AV8BNA.lua")

dofile(current_mod_path.."/KC130.lua")

dofile(current_mod_path.."/LHA_Tarawa.lua")

dofile(current_mod_path.."/AV8C130.lua")

Link to comment
Share on other sites

Resolved with today's update v2.5.0.15365:

https://forums.eagle.ru/showpost.php?p=3430583&postcount=6


Edited by SkateZilla

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

I Tested and Verified:

/CoreMods/ Mods (Aircraft and Entry.LUAs)

/Scripts/database/db_xxxxxx.lua Mods

 

Do not Mod </root>/Mods/xxxxx/xxxxx/entry.lua files, those will be blocked still.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Mods still not working?

 

Per the update notes they should be but Skate makes it sound like maybe they need to be moved from Saved Games\DCS\Mods here: https://forums.eagle.ru/showthread.php?t=204850&page=2

 

Can anyone confirm?

[sIGPIC][/sIGPIC]

The voice of the F-14 "Ambush" Trailer and F-14 Tomcat Instructor Pilot



My Rig: Intel i5-7600k | MSI Z-270A PRO | 16GB DDR4 2400 | MSI nVidia GTX 1660 Ti | Saitek X52 Pro | TIR 4 w Pro Clip

Link to comment
Share on other sites

You should not be modifying the Entry.LUA's within the /Mods/ Directory.

 

That's what the CoreMods/DemoMods folders are for.


Edited by SkateZilla

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Per the update notes they should be but Skate makes it sound like maybe they need to be moved from Saved Games\DCS\Mods here: https://forums.eagle.ru/showthread.php?t=204850&page=2

 

Can anyone confirm?

 

 

They are working.

 

Users should not be modifying /<ROOT>/DCS WORLD/MODS/XXXXXX/XXXXXX/ENTRY.LUA Files.

 

That's all I meant.

 

If you want to modify a Entry.lua file for some reason, the place to do it is in /CoreMods/XXXX/XXXX/ENTRY.LUA

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Pardon my apparent dense-ness, but is that in the Saved Games folder or the installation folder? I just want to be crystal clear.

 

Ahh, I see a Coremods folder in the installation folder. Sorry Skate, this is why I started a new thread since this one was for authors originally :D


Edited by soupyc

[sIGPIC][/sIGPIC]

The voice of the F-14 "Ambush" Trailer and F-14 Tomcat Instructor Pilot



My Rig: Intel i5-7600k | MSI Z-270A PRO | 16GB DDR4 2400 | MSI nVidia GTX 1660 Ti | Saitek X52 Pro | TIR 4 w Pro Clip

Link to comment
Share on other sites

Pardon my apparent dense-ness, but is that in the Saved Games folder or the installation folder? I just want to be crystal clear.

 

Ahh, I see a Coremods folder in the installation folder. Sorry Skate, this is why I started a new thread since this one was for authors originally :D

 

 

Install Folder, For Modifying Default Aircraft.

 

Saved Games Remains As it was Before.

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

Again, apologies if this is a stupid question but:

 

I am trying to install the 476th TAD mod for the A-10C that allows for smaller scales on the TAD.

 

The mod is this structure (under whatever folder it goes in): \Aircraft\A-10C\Cockpit\Scripts\TAD\TAD.lua

 

Based on what you said before, I would place those subfolders in %DCS Install%\Coremods, correct?

 

Because when I do that, it doesn't work.

[sIGPIC][/sIGPIC]

The voice of the F-14 "Ambush" Trailer and F-14 Tomcat Instructor Pilot



My Rig: Intel i5-7600k | MSI Z-270A PRO | 16GB DDR4 2400 | MSI nVidia GTX 1660 Ti | Saitek X52 Pro | TIR 4 w Pro Clip

Link to comment
Share on other sites

That Mod goes in the DCS World/Mods/Aircraft/A-10C/Cockpit/Scripts/TAD/

Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2),

ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9)

3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs

Link to comment
Share on other sites

:D

 

 

In Saved Games, or in the install folder?

 

See my confusion here? If there is no one solitary place to put mods, how are we supposed to use tools like JSGME or OvGME.

[sIGPIC][/sIGPIC]

The voice of the F-14 "Ambush" Trailer and F-14 Tomcat Instructor Pilot



My Rig: Intel i5-7600k | MSI Z-270A PRO | 16GB DDR4 2400 | MSI nVidia GTX 1660 Ti | Saitek X52 Pro | TIR 4 w Pro Clip

Link to comment
Share on other sites

Ok so I put the mod into the Install folder under Mods and it worked. I seem to have it in my head that mods go in the Saved games folder. Ergo, that means my final question boils down to this:

 

How do we know what mods go in \Saved Games\DCS and what mods go in the actual DCS installed folder?

[sIGPIC][/sIGPIC]

The voice of the F-14 "Ambush" Trailer and F-14 Tomcat Instructor Pilot



My Rig: Intel i5-7600k | MSI Z-270A PRO | 16GB DDR4 2400 | MSI nVidia GTX 1660 Ti | Saitek X52 Pro | TIR 4 w Pro Clip

Link to comment
Share on other sites

  • 5 weeks later...
  • Recently Browsing   0 members

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