We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
The text was updated successfully, but these errors were encountered:
Which version of Python and UnityPy are you using?
Sorry, something went wrong.
No branches or pull requests
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.
The text was updated successfully, but these errors were encountered: