niftools / blender_niftools_addon

The Blender Niftools Addon is a Blender add-on to enable import and export of NetImmese File Formats including .nif, .kf, .egm.
http://www.niftools.org
Other
385 stars 104 forks source link

I can't import Epic Mickey 2 map #407

Open Techttv opened 3 years ago

Techttv commented 3 years ago

@niftools/blender-niftools-addon-reviewer -

Before creating a new issue, ensure that

The issue will get closed off immediately as invalid if

Fill out the template below to the best of your ability, including .blend files, nifs, logs; help us to help you.

Issue Overview

[Provide a general introduction to the issue and why it is relevant to this repository]

Version Information

Blender Niftools Addon Version Info

[0.0.3]

Blender Version Info

[2.91]

Platform information

[ Windows 10 pro]

Context

[I select a map from "Epic Mickey 2" folder and I import it but a error show]

Steps to Reproduce

[install the add-ons, import .nif, select the map]

.

Expected Result

[The map will open]

Actual Result

[Error screen]

Possible Fix

[Correct the code of the add-ons as Blender say]

Screenshot

[ image ]

Logs and Files

**[ Python: Traceback (most recent call last): File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 121, in execute return NifImport(self, context).execute() File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\nif_import.py", line 74, in execute self.load_files() # needs to be first to provide version info. File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\nif_import.py", line 144, in load_files NifData.init(NifFile.load_nif(NifOp.props.filepath)) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\file_io\nif.py", line 64, in load_nif data.read(nif_stream) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\formats\nif__init__.py", line 1297, in read self.header.read(stream, data=self) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\objectmodels\xml\struct.py", line 373, in read attr_value.read(stream, data) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\object_models\xml\array.py", line 303, in read elem.read(stream, data) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\object_models\common.py", line 668, in read % (length, stream.tell())) ValueError: string too long (0xFFFFFFFF at 0x00000093)

location: :-1 ] **

Info Bar Output

[Output from the Info View, available at top of Blender viewport, drag to expand]

Console Output

[ **location: :-1 niftools:INFO:Dev: Sys variable not set niftools:INFO:Executing - Niftools : Blender Niftools Addon v0.0.3(running on Blender 2.91.0, PyFFI 2.2.4.dev3) niftools:INFO:Importing D:\Programmi (x86)\Steam\steamapps\common\Disney Epic Mickey 2\UI\Maps\MAP_BTA_Main_tex.nif niftools:INFO:NIF file version: 14060500 niftools:INFO:Reading file Python: Traceback (most recent call last): File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 121, in execute return NifImport(self, context).execute() File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\nif_import.py", line 74, in execute self.load_files() # needs to be first to provide version info. File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\nif_import.py", line 144, in load_files NifData.init(NifFile.load_nif(NifOp.props.filepath)) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\file_io\nif.py", line 64, in load_nif data.read(nif_stream) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\formats\nif__init__.py", line 1297, in read self.header.read(stream, data=self) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\objectmodels\xml\struct.py", line 373, in read attr_value.read(stream, data) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\object_models\xml\array.py", line 303, in read elem.read(stream, data) File "C:\Users\Gaming\AppData\Roaming\Blender Foundation\Blender\2.91\scripts\addons\io_scene_niftools\dependencies\pyffi\object_models\common.py", line 668, in read % (length, stream.tell())) ValueError: string too long (0xFFFFFFFF at 0x00000093)

location: :-1 ] **

Blend File


Nif File

MAP_BTA_Main_tex.zip

Similar Known Issues

[Reference any known issues - https://github.com/niftools/blender_niftools_addon/issues]

Additional Information

[Anything else you feel is relevant]

I tried with NifSkope and this addon for blender but I can't import Epic Mickey 2 map. Blender 13_01_2021 08_32_33 image

neomonkeus commented 3 years ago

Kicking off my standard workflow of re-adding the template, so please fill out properly.

Although I doubt it will matter but it looks like you are using an older version of the plugin based on the error report ui.

WEDimagineer commented 2 years ago

I have the exact same issue. I'm currently trying to download gambryo so i can see if i can export it that way. Epic Mickey is really the only reason i need this software so i hope it gets added in.

(I'm just trying to get character models not a whole map and i have the exact same error code.)