rm-NoobInCoding / UnPSARC

Archive Unpacker/Packer For PlayStation Archive (PSARC) Files
https://discord.gg/zjx3dgmx
MIT License
39 stars 5 forks source link

Repacking GoT vanilla assets breaks rendering #9

Closed Foul-Tarnished closed 5 months ago

Foul-Tarnished commented 5 months ago

https://github.com/rm-NoobInCoding/UnPSARC/assets/107711110/890937ca-9d93-4a26-adb7-ddd722b4a10f

I didn't try with psarc containing only .sps bitmaps, or misc psarc with only .xpps Maybe only meshes are affected, maybe not

This was done with UnPSARC 2.0, considering 2.1 issue (0kb files size) see #7

rm-NoobInCoding commented 5 months ago

I tried this with my game and everything work perfectly fine. Please test this on other pc

Foul-Tarnished commented 5 months ago

I tried this with my game and everything work perfectly fine. Please test this on other pc

Which version did you use ? I also tried with latest 2.3, same issue

Are you sure you're following my steps ?

this will cause the rendering issues above.

I have a pretty fresh Windows 11 install, and all dependecies are inside your .exe, so "it works on my machine" is not a real explanation.

I tested gapack_bitmaps_a.psarc and it also went from 432MB to 739MB

rm-NoobInCoding commented 5 months ago

The reason for the size difference is that the original file are compressed, but repacked archive is without compression. Anyway, I'm investigating this problem, but I think if someone else tests it, we can draw conclusions more easily.

Foul-Tarnished commented 5 months ago

This probably was an issue on 2.0 only, fixed in 2.1, but only visible since 2.2 (because 2.1 had major export bug)

2.3 works fine, no rendering issue only issue is no compression (if we modded all archive, that would probably make the game 100gb instead of 50gb) but not really an issue if we manage to load custom .psarc into the game