K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
807 stars 122 forks source link

Please add support for Texture2DArray #224

Closed JunkBeat closed 8 months ago

JunkBeat commented 8 months ago

This is a file type that represents a binary array/list of textures with the same format and size. Unfortunately, no Unity modding program is capable of working with it, I mean the export and import of such textures. I really need this for translating a game.

Example files can be found here: https://drive.google.com/file/d/12jk2zI3mP62k9pMmDwjnAFk67lwDwDgG/view?usp=sharing

In npcs.bundle, there are SpriteBanks. It seems to contain texture names and references a Texture2DArray, which is located in txrnpcsarray.bundle.

Perhaps this will also help you (but that was in 2020): https://github.com/Perfare/AssetStudio/pull/649/commits/4b4fec9236a3fa37433183c05b973fe70f5770a4