FEZModding / FEZRepacker

Tool and library for unpacking and repacking FEZ assets
17 stars 4 forks source link

Lack of compression in repacking process (and misc. issues causing game crash) #20

Open TROguz opened 7 months ago

TROguz commented 7 months ago

(PC) Hi. Tool doesn't work on Other.pak archive. I didn't change anything. Just repack on tool and game crashed. Edited archive size huge. So game crashed. Tool support compress to pak archives? 1 2

Krzyhau commented 7 months ago

The bigger size is caused by lack of compression algorithms being implemented in Repacker - it dumps raw texture data into the asset files, which is not space efficient. It's something that I wish to change in the future.

As for the crashing issue, I'm heavily doubting it's related to the large package size. If I remember correctly, the most recently released version of Repacker doesn't convert all of the original assets properly. It has been fixed since then (most notably, in b58a88a and 3f6b7fb), but I haven't released a new version yet. I might do it before the end of this week.

I'm leaving this issue open because proper asset compression is something that should be on my radar.

TROguz commented 7 months ago

Hi again. I've tested new version and tool working but i have a problem. The texts are interwoven. FEZ Screenshot 2024 02 17 - 15 21 50 61

TROguz commented 7 months ago

I've tested Essentials.pak archive. I have Steam version. Essentials.pak: https://pixeldrain.com/u/DAhoV85L

TROguz commented 6 months ago

When could you release the new version?

Krzyhau commented 6 months ago

I wanted to fix a couple of other issues before releasing a new version. If I fail to do so, I might just do it tomorrow. Also, I'm encouraging to join the FEZ: Community Projects Discord server for non-issue related conversations about FEZ modding.