Okay, progress:
http://paradice-insight.us/stuff/oblivion/NIFopt.7z
- EGM support
- fixed removal of faces in all cases (morphs, partitions, egms, etc.)
- fixed the entire SkinPartition thing, that didn't work at all
- more comprehensive output (tells you when repairs have been applied, or when there is some suspicious stuff in the file)
- converts SkinPartition-strips to lists as well now
- optimization for the SkinPartitions as well (though the vertices are in base-mesh order, no vertex-map reordering)
Now I want to know how can I
see damaged morphers or [...] without actually applying it in Oblivion? NifSkope does not show those.
Edit: Side-question: Is there somewhere BSA source-code besides the OBMM source-code, so I may optimize directly from BSA-to-BSA?
Edit: Problematic meshes:
Better Cities - Meshes\meshes\architecture\bettercitiesresources\anvilbayexp\boatmod.nif:
- doesn't load vertices, NifSkope shows it corrupt, from 5.0.0
Better Cities - Meshes\meshes\bettercitiesresources\clothes\pregnantdress.nif
- contains a bone with 0 weights, from 5.0.0
Vvardenfell Imports\meshes\vvardenfellarmormod\high indoril\*.nif
Apachii Goddess Store\meshes\*somewhere*.nif
- several NIFs which have identically connected but differently percolated faces (I fixed that in the code)
Vvardenfell Imports\meshes\vvardenfellarmormod\hlaalu\hlaalucuirass.nif
- the file bugs out niflib, Upperbody:0 is loaded twice, even NifSkope goes all wonky
Apachii Goddess Store\meshes\*somewhere*.nif
EyeCandy Compilation\meshes\*somewhere*.nif
- some NULL extra-datas (I fixed that in the code)
TamRes - Complement\meshes\tamres\tamres\armor\legionmagerobe\m\robebmage.nif
- contains an illegal combination of TriShape+TriStripData
Oscuro's Oblivion Overhaul/meshes/armor/growlf/Fantasy/boots.nif
- contains a SkinPartition without VertexMap
Oscuro's Oblivion Overhaul/meshes/Weapons/throttle/tkIcxthSword.nif
- contains an unattached BinaryExtraData, this produces a fatal load error
Apachii Goddess Store\meshes\clothes\apachii\wigscorean\*
- most contain broken tangent-space vectors
CyrodiilUpgradeResourcePack/Meshes/architecture/CyrodiilUpgradeOverhaul/LRFarmHouses/houselower01.nif
- kaputt (missing 5 blocks)
CyrodiilUpgradeResourcePack/Meshes/architecture/CyrodiilUpgradeOverhaul/IceCavern/exterior/ELicicle01.nif
- kaputt (missing 2 blocks)
CyrodiilUpgradeResourcePack/Meshes/architecture/CyrodiilUpgradeOverhaul/IceCavern/interior/ELrmwalllong01.nif
CyrodiilUpgradeResourcePack/Meshes/architecture/CyrodiilUpgradeOverhaul/IceCavern/interior/ELwhalllong01.nif
- kaputt (missing 1 block)
I converted without hickups (besides the above):
Shivering Isles and it's RAEVWD
Final report: processed files: 1439 processed faces: 2266755 modified meshes: 3229 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 72Final report: processed files: 132 processed faces: 237419 modified meshes: 2 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 0
Knights
Oscuro's Oblivion Overhaul
Final report: processed files: 1809 processed faces: 3400849 modified meshes: 1557 fixed meshes: 9 damaged meshes: 0 broken hierarchy: 0
Better Daedric Shrines (all of them)
Final report: processed files: 1212 processed faces: 1937166 modified meshes: 987 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 54
Sheogorad
Final report: processed files: 1166 processed faces: 1082148 modified meshes: 140 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 4
Better Cities
Final report: processed files: 3577 processed faces: 6918121 modified meshes: 80 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 2
All Natural
Final report: processed files: 394 processed faces: 2835151 modified meshes: 12 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 0
Oblivion and it's RAEVWD
Final report: processed files: 8032 processed faces: 13674383 modified meshes: 17502 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 162Final report: processed files: 630 processed faces: 841505 modified meshes: 19 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 0
Artifacts
Final report: processed files: 1328 processed faces: 2390081 modified meshes: 546 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 0
SentinelsLegendaryWeaponsAndArmors
Final report: processed files: 160 processed faces: 374195 modified meshes: 15 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 0
Vvardenfell Imports
Final report: processed files: 782 processed faces: 4850839 modified meshes: 357 fixed meshes: 2 damaged meshes: 0 broken hierarchy: 3
Apachii Goddess Store
Final report: processed files: 1456 processed faces: 13625917 modified meshes: 923 fixed meshes: 52 damaged meshes: 0 broken hierarchy: 0
EyeCandy Compilation
Final report: processed files: 2069 processed faces: 12429420 modified meshes: 1446 fixed meshes: 14 damaged meshes: 0 broken hierarchy: 0
TamRes - Complement
Final report: processed files: 87 processed faces: 277182 modified meshes: 151 fixed meshes: 4 damaged meshes: 0 broken hierarchy: 1
TamRes - Complement II
Final report: processed files: 120 processed faces: 379964 modified meshes: 14 fixed meshes: 2 damaged meshes: 0 broken hierarchy: 0
TamRes - Meshes
Final report: processed files: 788 processed faces: 2134355 modified meshes: 150 fixed meshes: 3 damaged meshes: 0 broken hierarchy: 0
TamRes - Landscape
Final report: processed files: 1210 processed faces: 1295281 modified meshes: 1151 fixed meshes: 76 damaged meshes: 0 broken hierarchy: 0
TWMP Summerset - Meshes
Final report: processed files: 633 processed faces: 1490167 modified meshes: 11 fixed meshes: 0 damaged meshes: 0 broken hierarchy: 4
TWMP Valenwood Elsweyr
Final report: processed files: 151 processed faces: 199161 modified meshes: 117 fixed meshes: 1 damaged meshes: 0 broken hierarchy: 0
Elsweyr Anequina
Final report: processed files: 1439 processed faces: 2555803 modified meshes: 439 fixed meshes: 35 damaged meshes: 0 broken hierarchy: 4