Jump to content

Recommended Posts

Posted

applies to 1.5.8 and 2.5.0.15365.345 (any map)

Strings became corrupt in memory after a trying to overwrite a read-only mission.

Error dialog:

caption=Save mission

text=Can not open file, recording is not possible FILENAMEWITHPATH

The strings replaced with the following formats:

DictKey_WptName_### / DictKey_GroupName_### / Dictkey_UnitName_###

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

  • 4 months later...
Posted (edited)

please respond ED

 

still not fixed in 2.5.2.20601 nor 2.5.3.21016

Possible to loose a ton of mission editing!

+If you hit exit editor no prompt for saving the corrupted final edited state.

 

log entry about unsuccessful saving:

"2018-08-30 20:50:37.487 ERROR VFS: VFS_open_write: CreateFile(C:\Users\pitwalker\Saved Games\DCS.openbeta\Missions\repair_fa18.miz): Unknown error"

 

loading midway (flight/prepare mission):

"2018-08-30 20:51:32.848 INFO WORLDGENERAL: loading mission from: "C:\Users\PITWAL~1\AppData\Local\Temp\DCS.openbeta\tempMission.miz""

 

log entrys during exit mission black screen and sim frozen:

"2018-08-30 20:53:37.951 ERROR VFS: VFS_open_write: CreateFile(C:\Users\pitwalker\Saved Games\DCS.openbeta\Missions\repair_fa18.miz): Unknown error

2018-08-30 20:53:37.951 ERROR Lua::Config: Call error onShowMainInterface:[string "./MissionEditor/modules/me_mission.lua"]:6245: can't open "C:\Users\pitwalker\Saved Games\DCS.openbeta\Missions\repair_fa18.miz" for 'wb'

stack traceback:

[C]: ?

[C]: in function 'assert'

[string "./MissionEditor/modules/me_mission.lua"]:6245: in function 'copyMission'

[string "./MissionEditor/MissionEditor.lua"]:605: in function 'openReturnScreen'

[string "./MissionEditor/MissionEditor.lua"]:678: in function <[string "./MissionEditor/MissionEditor.lua"]:669>.

"

 

connecting thread, why save needed strengthening:

Mission Editor Issues » ME errors causing save failure

https://forums.eagle.ru/showthread.php?t=211723

dictKey-corruptionInMemory.thumb.jpg.086d5165e35eb67b0bd495569ddfc4ba.jpg

Edited by discwalker
+

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

  • 1 month later...
Posted (edited)

We need Read only missions for protecting our heavy work

 

because of this bug is not fixed fully: "ME errors causing save failure" https://forums.eagle.ru/showthread.php?t=211723

Mission corruptions and save failures are a real possibility.

 

This issue is a possible accidental judgement to our effort.

 

just ideas for preventing loss of editing:

- .bak backup file creation of the old mission state in save function

- readback syntax check of mission after saving: I and an other guy at least experienced mission corruption in this forum, our missions recorded as in a unloadable state

1250392110_25322877recordingIsNotPossible.png.1771e7d80f57b6ab74c6860d43e3a2fd.png

Edited by discwalker
moderating deletion

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

  • 8 months later...
Posted

Hello. I just came to here to make a self censor act, so not needed?

Of course manually make user a mission to read only, to save from an accidental overwrite.

A save menhanism should handle better a read only target file case than now.

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Posted

We should not remember which missions set to read only in the long past. Made one by hand read only. And reproduction will be a success ;-)

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Posted

:-( from Mr_sukebe a real world DCS wolrld scenario, when file is open to write (besause write is needed to read the mission in dedicated server)

"- If I attempt to save a mission whilst it's running in the dedicated server (yeah, pretty stupid of me I know), it corrupts the names of every unit"

source: https://forums.eagle.ru/showpost.php?p=3965360&postcount=3

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Posted (edited)

With the latest 2.5.5.32533; the third way to trigger strings corruption

 

With NTFS folder permissions:

 

I have never seen any other editor which is unable to solve a save attempt failure.

 

-NTFS Write permission denied for user in "Backups-read" folder.

-Administrator is the owner of the folder.

 

DCS answer: set all group names to "DictKey_GroupName_xxx",

set all unit names to "DictKey_UnitName_xxx",

set all waypoint names to "DictKey_WptName_xxx"

Edited by discwalker
title

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Posted

IIRC (1.5.x) the same behaviour ("DictKey_GroupName_xxx") is seen if the .miz is being accessed by another program i.e. 7zip

i9 9900K @4.8GHz, 64GB DDR4, RTX4070 12GB, 1+2TB NVMe, 6+4TB HD, 4+1TB SSD, Winwing Orion 2 F-15EX Throttle + F-16EX Stick, TPR Pedals, TIR5, Win 11 Pro x64, Odyssey G93SC 5120X1440

Posted

When failure occured DCS clear the dictionary!

 

You will not find the originals set at creation, f.e.: New Airplane Group #xxx / Pilot #xxx / empty waypoint names

 

l10n/DEFAULT/dictionary in this case:

dictionary = 
{
   ["DictKey_WptName_11"] = "DictKey_WptName_11",
   ["DictKey_GroupName_30"] = "DictKey_GroupName_30",
   ["DictKey_UnitName_19"] = "DictKey_UnitName_19",
   ["DictKey_GroupName_24"] = "DictKey_GroupName_24",
   ["DictKey_WptName_28"] = "DictKey_WptName_28",
   ["DictKey_WptName_23"] = "DictKey_WptName_23",
   ["DictKey_WptName_8"] = "DictKey_WptName_8",
   ["DictKey_descriptionRedTask_2"] = "",
   ["DictKey_WptName_21"] = "DictKey_WptName_21",
   ["DictKey_UnitName_31"] = "DictKey_UnitName_31",
   ["DictKey_WptName_22"] = "DictKey_WptName_22",
   ["DictKey_UnitName_7"] = "DictKey_UnitName_7",
   ["DictKey_WptName_17"] = "DictKey_WptName_17",
   ["DictKey_WptName_33"] = "DictKey_WptName_33",
   ["DictKey_WptName_26"] = "DictKey_WptName_26",
   ["DictKey_WptName_14"] = "DictKey_WptName_14",
   ["DictKey_GroupName_12"] = "DictKey_GroupName_12",
   ["DictKey_WptName_20"] = "DictKey_WptName_20",
   ["DictKey_sortie_5"] = "",
   ["DictKey_GroupName_6"] = "DictKey_GroupName_6",
   ["DictKey_WptName_9"] = "DictKey_WptName_9",
   ["DictKey_descriptionBlueTask_3"] = "",
   ["DictKey_descriptionText_1"] = "",
   ["DictKey_WptName_35"] = "DictKey_WptName_35",
   ["DictKey_WptName_32"] = "DictKey_WptName_32",
   ["DictKey_UnitName_25"] = "DictKey_UnitName_25",
   ["DictKey_WptName_16"] = "DictKey_WptName_16",
   ["DictKey_UnitName_13"] = "DictKey_UnitName_13",
   ["DictKey_descriptionNeutralsTask_4"] = "",
   ["DictKey_GroupName_18"] = "DictKey_GroupName_18",
   ["DictKey_WptName_29"] = "DictKey_WptName_29",
   ["DictKey_WptName_27"] = "DictKey_WptName_27",
   ["DictKey_WptName_15"] = "DictKey_WptName_15",
   ["DictKey_WptName_34"] = "DictKey_WptName_34",
   ["DictKey_WptName_10"] = "DictKey_WptName_10",
} -- end of dictionary

GTX 1070 8GB, 16GB DDR3, W8.1 on SSD, DCS on another SSD

Posted

Of course manually make user a mission to read only, to save from an accidental overwrite.

 

The accidental overwrite is a real problem, and can happen on almost any software ... there are two workarounds that I've used for this:

 

1) Use "Save as" instead of "Save", adding a "v###" at the end of the file, that way I can go back to a previous version easily if needed.

 

2) Store the missions on a drive that supports versioning, on my case I store the missions folder on MS OneDrive and put a link to it on /Saved Games/DCS; this way I can revert to a previous version if needed, like this:

 

oPTbvOh.jpg

 

A save menhanism should handle better a read only target file case than now.

 

You can wait for ED to fix it, but on the meantime you could try a workaround or a better practice than manually fiddling with the read-only flag of the files.

 

Regards,

 

Eduardo

 

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 3600 - 32 GB DDR4 2400 - nVidia RTX2080 - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar

Mobile: iPad Pro 12.9" of 256 GB

  • 1 month later...
  • Recently Browsing   0 members

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