Skip to content
New issue

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

Dev9, SkyrimSE, BSDismemberSkinInstance to NiSkinInstance #74

Open
Meridiano opened this issue Feb 1, 2024 · 2 comments
Open

Dev9, SkyrimSE, BSDismemberSkinInstance to NiSkinInstance #74

Meridiano opened this issue Feb 1, 2024 · 2 comments

Comments

@Meridiano
Copy link

BSDismemberSkinInstance to NiSkinInstance conversion doesn't work in Dev9 for SkyrimSE meshes.

Steps to reproduce:

  • right mouse button on BSDismemberSkinInstance
  • Block > Convert > NiS... > NiSkinInstance // here you can see block changes but block content does not
  • File > Save // nothing happens, file is not saved
  • File > Save As... > Save with a different filename
  • File > Reload // here come errors

Parsing warnings:
NiSkin Data [6]\Bone List, updateArraySize Impl: Array size -2147483648 is invalid.

The NIF file could not be read. See Details for more information.
Pos 1003: failed to load block number 6 (NiSkinData) pre vious block was NiSkinInstance
Failed to load C:/Users/User/Desktop/silverring_1_mod.nif

2 related meshes attached. 1st is original, 2nd is processed and saved.
SilverRing_1.zip

@fo76utils
Copy link

Fixed by this commit. A previous commit on July 30, 2023 made a change so that the name of the original block type (btype) is only stored by reference instead of copying it to a new string, but this breaks the code a few lines below. I reverted to making a copy.

@gavrant
Copy link

gavrant commented Jul 5, 2024

@fo76utils I wonder how many other bugs you, guys, have found in my "carpet bombing" refactors from 2023?

gavrant added a commit to gavrant/nifskope that referenced this issue Jul 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants