blender_niftools_addon icon indicating copy to clipboard operation
blender_niftools_addon copied to clipboard

Oblivion .NIF files auto-assigned wrong game

Open Allofich opened this issue 1 year ago • 12 comments

Issue Overview

.NIF files from Oblivion are not correctly detected as Oblivion .NIF files.

Version Information

Blender Niftools Addon Version Info

Built the addon using the following: Python 3.11 New Pyffi: https://github.com/Candoran2/new-pyffi/commit/c8508fe316aa2e978e7677308f06f1b6a2ff48e4 New nif xml: https://github.com/niftools/nifxml/commit/89d03ffe69254ef4b3b58b0a22ec2ff9820b2e63 Latest blender addon code at: https://github.com/Candoran2/blender_nif_plugin/commit/f3898fe667b214367569c5be761bbcf49b527eea (code up for PR in https://github.com/niftools/blender_niftools_addon/pull/541)

Blender Version Info

3.4

Platform information

Windows 11 22H2

Steps to Reproduce

[Ordered list of the steps required for recreating the issue, including settings]

  1. Build the latest blender_niftools_addon using the code versions listed above.
  2. Import meshes/architecture/anvil/anvilaltar01.nif from Oblivion into Blender. This file can be obtained by extracting it from data/Oblivion - Meshes.bsa with a BSA extracting program.
  3. Observe that the file has been auto-assigned the incorrect game. For anvilaltar01.nif from a DVD Oblivion installation the game is set to UNKNOWN. For anvilaltar01.nif taken from a GOG or Steam installation the game is set to Fallout 3.

Expected Result

The files are automatically detected as Oblivion files.

Nif File

anvilaltar01.zip

Allofich avatar Dec 18 '22 06:12 Allofich