MonsterHunterRiseModding icon indicating copy to clipboard operation
MonsterHunterRiseModding copied to clipboard

End of stream exception when extracting .17 text file.

Open A2CJB opened this issue 3 years ago • 10 comments

This doesn't happen with all the .17 text files but extracting them with REEngine text tool back into their original format fires an exception 'EndOfStreamException'. The text file that I'm trying to extract/convert is HN_Hunternote_Menu_MR.msg.17. image

A2CJB avatar Jul 02 '22 10:07 A2CJB

i have the same kind of error, but it's when i want to open it again after i have changed the base message also some files such the one you are talking about have 0 ko...

Foldhelmna avatar Jul 03 '22 06:07 Foldhelmna

Yeah. exactly this. I can convert the .17 file into a text file no problem, I then edit it to my liking but when I try and convert it back into .17 format it causes this error and the new file ends up with 0KB of size. So it seems like the file gets corrupted during the conversion process but not all files will do this. Other .17 files work fine.

A2CJB avatar Jul 03 '22 10:07 A2CJB

i wonder if it can be corrupted if you add/delete too many values

Foldhelmna avatar Jul 04 '22 10:07 Foldhelmna

I've changed an entire text file before and I've never had this issue. It only seems to happen with certain files. For example last night, I changed the monster list and it worked fine but if I change one word from the Hunternote menu then it shoots that error. It's strange but hopefully it's a problem with the text tool itself that can be updated?

A2CJB avatar Jul 04 '22 15:07 A2CJB

did it work ig ?

Foldhelmna avatar Jul 04 '22 16:07 Foldhelmna

No it's still broken but I don't know if it's a problem with the text tool needing to be updated by the author. I can't update it.

A2CJB avatar Jul 04 '22 17:07 A2CJB

I've found the issue. The problem is when a text file has empty strings, like this:

Capturar

Writing something in those empty strings and then trying to convert back to msg.17, does not solve the problem. This means that the original file must have all strings with at least one character for the tool to work.

DavidPires avatar Jul 28 '22 14:07 DavidPires

use this tool instead : https://zenhax.com/viewtopic.php?f=12&t=9352#p42860 at least it works

Foldhelmna avatar Aug 01 '22 15:08 Foldhelmna

use this tool instead : https://zenhax.com/viewtopic.php?f=12&t=9352#p42860 at least it works

that tool has an adware... not trustworthy

DavidPires avatar Aug 01 '22 20:08 DavidPires

as you want, but it's the only one i found who works, and i didn't have any problem with it.

Foldhelmna avatar Aug 08 '22 07:08 Foldhelmna