[Solved] Mod Translation giving "Size Mismatch" error

Learn about OpenMW mod compatibility, check for problematic mods, discuss issues, and give us feedback about your experience with modded OpenMW.
RobbiBlechdose
Posts: 15
Joined: 01 Mar 2017, 10:02

[Solved] Mod Translation giving "Size Mismatch" error

Post by RobbiBlechdose » 01 Mar 2017, 10:07

Hello everyone,
I just translated "Buy A House Overhauled" into German using the "ESP-ESM Translator", but when trying to start OpenMW (the original mod works), it crashes with this error:

Code: Select all

ESM Error: getHExact(): size mismatch (requested 302, got 311)
   File: X:/X/X/X/Translation.esp
   Record: SCPT
   Subrecord: SCDT
   Offset: 0x90e
(Drive and folder letters habe been replaced)

Any ideas why this is happening?
Last edited by RobbiBlechdose on 19 Mar 2017, 12:40, edited 1 time in total.

User avatar
MiroslavR
Posts: 150
Joined: 12 Feb 2014, 17:45

Re: Mod Translation giving "Size Mismatch" error

Post by MiroslavR » 01 Mar 2017, 10:24

The "ESP-ESM Translator" utlity could be buggy. The important thing to know is whether Translation.esp works in vanilla Morrowind. If so, please attach the file here.

User avatar
Capostrophic
Posts: 431
Joined: 22 Feb 2016, 20:32

Re: Mod Translation giving "Size Mismatch" error

Post by Capostrophic » 01 Mar 2017, 11:07

MiroslavR wrote:The "ESP-ESM Translator" utlity could be buggy.
Yep, it's not the first time Morrowind support is broken.
shitty lingua anglica grammar ftw

RobbiBlechdose
Posts: 15
Joined: 01 Mar 2017, 10:02

Re: Mod Translation giving "Size Mismatch" error

Post by RobbiBlechdose » 01 Mar 2017, 15:06

Ok, here is the file:http://s000.tinyupload.com/download.php ... 7134931466
Altough I have no way of testing it in vanilla morrowind, as it doesn't even start on my PC (part of the reason I switched to OpenMW).
Also, the original mod works, whereas the translation crashes OpenMW before reaching the menu.

RobbiBlechdose
Posts: 15
Joined: 01 Mar 2017, 10:02

Re: Mod Translation giving "Size Mismatch" error

Post by RobbiBlechdose » 17 Mar 2017, 21:25

Any ideas on how to fix this?
Maybe use another program to edit the ESP?

User avatar
MiroslavR
Posts: 150
Joined: 12 Feb 2014, 17:45

Re: Mod Translation giving "Size Mismatch" error

Post by MiroslavR » 18 Mar 2017, 02:57

ESP-ESM Translator saves script bytecode size (the one inside SCHD subrecord) incorrectly; it doesn't match the size of the SCDT subrecord. Vanilla Morrowind doesn't complain, but from my testing it can break script execution.

We could work around the problem by removing the size check (OpenMW does not use that bytecode anyway), but the best course of action is to contact the author of the tool.

RobbiBlechdose
Posts: 15
Joined: 01 Mar 2017, 10:02

Re: Mod Translation giving "Size Mismatch" error

Post by RobbiBlechdose » 18 Mar 2017, 10:34

Thanks!
Would there be any way to edit that value manually?

User avatar
MiroslavR
Posts: 150
Joined: 12 Feb 2014, 17:45

Re: Mod Translation giving "Size Mismatch" error

Post by MiroslavR » 18 Mar 2017, 12:40

It's not just a single value that needs to be changed. These errors are all over the place. Almost every script record is faulty.

Maybe you could resave the plugin with some editor such as MWEdit or TES Construction Set.

RobbiBlechdose
Posts: 15
Joined: 01 Mar 2017, 10:02

Re: Mod Translation giving "Size Mismatch" error

Post by RobbiBlechdose » 18 Mar 2017, 13:20

Thanks,
I'll try that and report back.

User avatar
Sslaxx
Posts: 218
Joined: 12 Aug 2011, 18:59
Location: Malvern, UK
Github profile: https://github.com/Sslaxx/
Contact:

Re: Mod Translation giving "Size Mismatch" error

Post by Sslaxx » 18 Mar 2017, 15:15

If OpenMW doesn't use that record, it might be a good idea to have it give a warning on the console and otherwise ignore it.
Stuart "Sslaxx" Moore.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests