A bit of much needed context:
I'm attempting to reverse engineer Broken Sword 2 TEXT.CLU file which contains dialogue and menu text (translations and all that). This has probably been done since there are some scarce fan translations out there it seems, and I don't like to "reinvent the wheel" as it were, but I just couldn't find any tools or documentation about the format. So I've been using my very modest set of skills to do it myself (here if anyone is interested, it's ongoing I suppose, don't need to clutter the forum with it unless necessary).
At this point I have a pretty good idea about the structure of TEXT.CLU, except that halfway through my tests the game started to crash on launch, especially after a dialogue line goes beyond a certain length, but unfortunately there is no useful information to debug the crash. Debugging commands are very useful when the game is running, on launch not so much.
I'm willing to put the effort in to see this through anyway, but I figured I would ask for suggestions since I've been stuck with this particular problem and it makes me wonder what is it about the file that crashes ScummVM since no parsing error is printed in the console. The structure seems to comply, I keep thinking that maybe a buffer's size dictated by something else is being overflown or there is some detail about the structure of this file that I might have missed - even though I triple-checked

I ended up posting this in the Junkyard section because I don't think this fits anywhere else, if anywhere.
I appreciate any replies in advance.
P.S: I'm using the PC Gamer Demo (English) version to approach this, it's probably safe to link it but unwarranted at this point.