ERROR: ESM Error: Previous record contains unread bytes

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
mym
Posts: 47
Joined: 09 Feb 2015, 13:31
Gitlab profile: https://gitlab.com/mym34

ERROR: ESM Error: Previous record contains unread bytes

Post by mym »

Hi,

FIrst time I try openmw and I'm suprised how well it works, congrats to all of you :)

I had to deactive 2 plugins because I got the following errors when I started the game from the launcher:

Code: Select all

Loading content file Merged_Objects.esp

ERROR: ESM Error: Previous record contains unread bytes
  File: /home/mehdi/Apps/Morrowind/Data Files/Merged_Objects.esp
  Record:

  Subrecord: SCRI
  Offset: 0xace

Code: Select all

Loading content file BTB - Spells.esp

ERROR: ESM Error: Previous record contains unread bytes
  File: /home/mehdi/Apps/Morrowind/Data Files/BTB - Spells.esp
  Record: CSND
  Subrecord: DESC
  Offset: 0x4032
I don't know what it means, but if I can help improving the program, just tell me what to do.

I copied a Windows install, GOTY English (including Tribunal and Bloodmon), into a Linux directory.
I'm on Debian Jessie 64, I tried with both the build 0.35 and a GIT clone from today. I have dozens of plugins.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by scrawl »

Please create a bug report with the 2 esp files in question attached.
User avatar
sjek
Posts: 442
Joined: 22 Nov 2014, 10:51

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by sjek »

viewtopic.php?f=6&t=2714&start=20

they are basically records on game files for saving info on binary format or some other what can hold numbers?. engine can't read them for some reason or deleted references what are still in the file or so on

https://github.com/Yacoby/Wrye-Mash/blo ... mplate.ini
SCRI seems to be script reference and

CSND castsound DESC destription

http://wiki.openmw.org/?title=Esmtool either that, mw edit or enchanted editor can be used.
mym
Posts: 47
Joined: 09 Feb 2015, 13:31
Gitlab profile: https://gitlab.com/mym34

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by mym »

Thank you for your answers.

I just created a bug report: https://bugs.openmw.org/issues/2361

I'm not sure what to look for with MWEdit or Enchanted Editor...
Tinker
Posts: 231
Joined: 06 Mar 2013, 17:35

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by Tinker »

Do not forget the wiki page for mod status, some of your other mods may be listed there already and being able to add known working ones to the list is a great help to everyone.
mym
Posts: 47
Joined: 09 Feb 2015, 13:31
Gitlab profile: https://gitlab.com/mym34

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by mym »

Thank you for the quick fix!

Tinker, for now I can only tell the mods load but I still have to test them ingame. BTW, the "merged_objects" one is generated based on others so I'm not sure it is relevant to tag it as "working".
User avatar
sjek
Posts: 442
Joined: 22 Nov 2014, 10:51

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by sjek »

Does it take references in one bundle .... ?
What understand they are mainly for vanilla engine bypugs. Merged level list at least that is kinda obsolete in openmw. It could but is it needed in some way .?

Finding the source is easier as error handling was added : )

For the mw edit and enchanted, http://www.uesp.net/wiki/Tes3Mod:TES_Pl ... t_Detector is good way to start.
Loading all plugins gives good look with search function. Mw edit shows deleted references nicely in red and for single mod viewing without masters. Enchanted editor same but is record based and detailed.
mym
Posts: 47
Joined: 09 Feb 2015, 13:31
Gitlab profile: https://gitlab.com/mym34

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by mym »

sjek wrote:Merged level list at least that is kinda obsolete in openmw. It could but is it needed in some way .?
For what I understand, merged_objects is a merge of objects (items, creatures...), not levelled lists.
Does openmw handles merge of objects by itself?

I have another plugin, multipatch.esp (generated by tes3cmd), which includes the merge of levelled lists.
User avatar
scrawl
Posts: 2152
Joined: 18 Feb 2012, 11:51

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by scrawl »

OpenMW does not merge levelled lists, and I have no plans to implement this.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: ERROR: ESM Error: Previous record contains unread bytes

Post by psi29a »

I took an old ESM file and renamed it to ESP and tried to strip everything out of it aside from the terrain. I verified it, looked good, and then I saved it out as an omwaddon file.

I try to open it again and I get this:
Loading failed: ESM Error: Previous record contains unread bytes File: OpenMW.omwaddon
Record: VTEX Subrecord: VNML Offset 0x979c
I'm posting this year because the error message looks similar.

Anything I can test or work-around?

Update: now any file I create from tessanwyn and try to import with openmw-cs then save back out as omwgame gives this error.
Locked