[ ] Check that the issue hasn't already been reported.
[ ] Read through the list of Helpful resources links on the right-hand side.
[ ] Talk with the developers to ensure its a valid issue
The issue will get closed off immediately as invalid if
[ ] Looking for support where the forums, chat or documentation is more appropriate.
[ ] Goes off topic, loses focus or turns into a discussion.
[ ] Removing parts of the template the issue.
Fill out the template below to the best of your ability, including .blend files, nifs, logs; help us to help you.
Issue Overview
**Unable to open NIF file in Blender.
Version Information
Blender Niftools Addon Version Info
blender_niftools_addon-v0.1.0-2023-06-20-43341a10
Blender Version Info
2.83
Platform information
Windows 64 Home
Context
**[Attempting to open a .nif file from Star Trek Bridge Commander due to missing texture files of a model. Upon attempting to import the file into Blender, I receive the following message:
Traceback (most recent call last):
File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 134, in execute
return NifImport(self, context).execute()
File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\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\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\nif_import.py", line 140, in load_files
NifData.init(NifFile.load_nif(NifOp.props.filepath))
File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\file_io\nif.py", line 60, in load_nif
modification, (version, user_version, bs_version) = NifFormat.NifFile.inspect_version_only(nif_stream)
File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif__init__.py", line 175, in inspect_version_only
raise ValueError(f"Corrupted NIF file: header version string in {header_string} does not "
ValueError: Corrupted NIF file: header version string in NetImmerse File Format, Version 3.1 does not correspond with header version field 2037411651
location: :-1
]**
Expected Result
To succesfully import the file to edit]
Actual Result
[Describe what you currently experience from this process, and thereby explain the bug]
Possible Fix
[Optional, suggest fixes, improvement or reasons for the bug might have occurred]
@niftools/blender-niftools-addon-reviewer -
Before creating a new issue, ensure that
Helpful resources
links on the right-hand side.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
**Unable to open NIF file in Blender.
Version Information
Blender Niftools Addon Version Info
blender_niftools_addon-v0.1.0-2023-06-20-43341a10
Blender Version Info
2.83
Platform information
Windows 64 Home
Context
**[Attempting to open a .nif file from Star Trek Bridge Commander due to missing texture files of a model. Upon attempting to import the file into Blender, I receive the following message:
Traceback (most recent call last): File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\operators\nif_import_op.py", line 134, in execute return NifImport(self, context).execute() File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\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\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\nif_import.py", line 140, in load_files NifData.init(NifFile.load_nif(NifOp.props.filepath)) File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\file_io\nif.py", line 60, in load_nif modification, (version, user_version, bs_version) = NifFormat.NifFile.inspect_version_only(nif_stream) File "C:\Users\David\AppData\Roaming\Blender Foundation\Blender\2.83\scripts\addons\io_scene_niftools\dependencies\generated\formats\nif__init__.py", line 175, in inspect_version_only raise ValueError(f"Corrupted NIF file: header version string in {header_string} does not " ValueError: Corrupted NIF file: header version string in NetImmerse File Format, Version 3.1 does not correspond with header version field 2037411651
location::-1
]**
Expected Result
To succesfully import the file to edit]
Actual Result
[Describe what you currently experience from this process, and thereby explain the bug]
Possible Fix
[Optional, suggest fixes, improvement or reasons for the bug might have occurred]
Screenshot
[If relevant, include a screenshot]
gorn_battleship.zip