Yabber icon indicating copy to clipboard operation
Yabber copied to clipboard

White space nodes will be zero-length strings when repacking fmg.

Open matyalatte opened this issue 2 years ago • 0 comments

Hi. I used this awesome tool for text modding in Elden Ring. And found a tiny bug for repacking fmg.

There are white space strings in the game resources. But after repacking xml and re-unpacking fmg, the white spaces will be zero-length strings. Here is a sample xml. Test.fmg.xml.zip

I found PreserveWhitespace option will fix the issue. like this https://github.com/matyalatte/Yabber/commit/387b144e8e58dc7d9c0f8a6ab27377147c3dab44

But I'm a novice at FromSoftware files and C# coding. So, I don't know it's a proper way to fix. And idk if we should fix it in the first place.

matyalatte avatar Jul 27 '22 12:07 matyalatte