Open AHGAMING opened 2 months ago
When I try to convert my map package from jd+ with option 3, it gives me this error:
Traceback (most recent call last): File "C:\Users\ahard\Downloads\TML_Next2UAF\next2uaf.py", line 1518, in Local2UAF(mapPackageBundle) File "C:\Users\ahard\Downloads\TML_Next2UAF\next2uaf.py", line 1132, in Local2UAF img = data.image ^^^^^^^^^^ File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\classes\Sprite.py", line 14, in image return SpriteHelper.get_image_from_sprite(self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\SpriteHelper.py", line 55, in get_image_from_sprite original_image = get_image(m_Sprite, m_Texture2D, alpha_texture) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\SpriteHelper.py", line 27, in get_image original_image = get_image_from_texture2d(texture.read(), False) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\Texture2DConverter.py", line 105, in get_image_from_texture2d return parse_image_data( ^^^^^^^^^^^^^^^^^ File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\Texture2DConverter.py", line 157, in parse_image_data blockSize = TextureSwizzler.TEXTUREFORMAT_BLOCK_SIZE_MAP[texture_format]
KeyError: <TextureFormat.DXT5Crunched: 29> it happens when I try to convert after I put in the codename and select the file.
Which version of Python and UnityPy are you using?
When I try to convert my map package from jd+ with option 3, it gives me this error:
Traceback (most recent call last): File "C:\Users\ahard\Downloads\TML_Next2UAF\next2uaf.py", line 1518, in
Local2UAF(mapPackageBundle)
File "C:\Users\ahard\Downloads\TML_Next2UAF\next2uaf.py", line 1132, in Local2UAF
img = data.image
^^^^^^^^^^
File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\classes\Sprite.py", line 14, in image
return SpriteHelper.get_image_from_sprite(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\SpriteHelper.py", line 55, in get_image_from_sprite
original_image = get_image(m_Sprite, m_Texture2D, alpha_texture)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\SpriteHelper.py", line 27, in get_image
original_image = get_image_from_texture2d(texture.read(), False)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\Texture2DConverter.py", line 105, in get_image_from_texture2d
return parse_image_data(
^^^^^^^^^^^^^^^^^
File "C:\Users\ahard\AppData\Local\Programs\Python\Python312\Lib\site-packages\UnityPy\export\Texture2DConverter.py", line 157, in parse_image_data
blockSize = TextureSwizzler.TEXTUREFORMAT_BLOCK_SIZE_MAP[texture_format]