H-uru / PlasmaShop

Swiss army knife for Plasma file hacking
GNU General Public License v3.0
17 stars 17 forks source link

Saving Garrison_District_grsnWallRoomClimbingPhys.prp messes up the file #55

Closed Hazado closed 3 years ago

Hazado commented 3 years ago

Opening Garrison_District_grsnWallRoomClimbingPhys.prp in PRPShop and saving it, will cause the Wall game seats activators to stop working.

dpogue commented 3 years ago

It appears that the original file has face triangles for a bunch of colliders that use kHullBounds, and those get lost when re-saving.

dpogue commented 3 years ago

I guess uncooking the original PhysX data is also involved, so it might not be quite as simple as neglecting to write out some triangles 😕

I've verified the problem by doing a PRC dump of the original file and the saved file. The only difference in the PRC output is the missing hull collider triangles.

Hoikas commented 3 years ago

As mentioned in discord, this was probably fixed by H-uru/libhsplasma#185. Try a more recent build of PRPShop and let us know if the issue persists.

It appears that the original file has face triangles for a bunch of colliders that use kHullBounds, and those get lost when re-saving.

This is by design.

Hazado commented 3 years ago

Issue is fixed by newer version.