Giter Club home page Giter Club logo

nier2blender2nier's Introduction

nier2blender2nier's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nier2blender2nier's Issues

[Request]-Support for other games

Can you make it compatible with other PlatinumGames like Metal Gear Rising: Revengeance, Bayonetta and others?

I know the formats are considerably different depending on the game but at least would it be possible?

just to reopen the discussion

honestly I don't know anything about programming but I reopen this here just to leave some samples to take a look at I know it's not a priority but I'll leave it anyway

Metal Gear Rising: Revengeance Samples
Samples

Bayonetta Samples
(Missing) I'll put it later

Bayonetta2 Samples
(Missing) I'll put it later

maybe it's relevant

'WMB3' object has no attribute 'hasBone'

Python: Traceback (most recent call last):
File "C:\Users\Far\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\NieR2Blender2NieR-master\dat_dtt\importer\datImportOperator.py", line 91, in execute
return importDtt(self.only_extract, self.filepath)
File "C:\Users\Far\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\NieR2Blender2NieR-master\dat_dtt\importer\datImportOperator.py", line 46, in importDtt
wmb_importer.main(only_extract, wmb_filepath)
File "C:\Users\Far\AppData\Roaming\Blender Foundation\Blender\3.3\scripts\addons\NieR2Blender2NieR-master\wmb\importer\wmb_importer.py", line 685, in main
if has_bone:
AttributeError: 'WMB3' object has no attribute 'hasBone'

Issues with linked models from the wmb asset library in wd map files

I ran into a few issues when trying to import a few map files(wd1)

After importing the file everything seemed to work fine. But after I save the blend file and open it again, two issues occur.

First is that the file cannot find the collections linked from the files in the wmb asset library. I get an error that says something like
"Cannot find collection "bg008e_linked" in "bg008e.blend" and the linked files disappear from the blend file
So basically the file now looks for a collections named "(filename)_linked" in the linked blend files from the asset library, which none of them have.
I fixed this by changing this line of code:
(lay_importer.py line 172) linkedCollName = f"{modelName}_linked"
to this
linkedCollName = modelName
I dont know if there was a reason for adding "_linked", but so far I havent had issues related to this?(ofc I havent messed around very much to say for sure)

The second issue is that all the linked files will be rotated 90 degrees on the X axis, and I would have to rotate them back manually to get them back to how they are supposed to be, which is mildly annoying at best.
I noticed that the files in the asset library are also rotated 90 degrees on the X axis by default, and rotating those manually back to 0 degrees seems to fix this issue, but it feels like I shouldn't have to do that
A strange thing I noticed is that if I import the dtt map file, the linked assets will be rotated correctly until I save and reload the blend file, while if I import the .lay file directly the assets will be rotated wrong from the start.

P.S. I am using an older version of blender(2.92), so maybe that is the reason for these, but I would appreciate if you could take a look yourself

Error when exporting a model

I'm trying to replace a model in MGRR and whenever I try to use the export as wmb option (from the mgrr branch) it throws the error:
Python: Traceback (most recent call last):
File "C:\Users\Jonah\AppData\Roaming\Blender Foundation\Blender\3.4\scripts\addons\NieR2Blender2NieR-mgrr\wmb\exporter\wmbExportOperator.py", line 67, in execute
bpy.data.collections['WMB'].all_objects[0].select_set(True)
KeyError: 'bpy_prop_collection[key]: key "WMB" not found'

What can I do to resolve this?

QoL Suggestions

✔️ Option to automatically calculate needed data for additional bone coordinates (on export probably)

  • Option to automatically rip sharp edges and UV islands on export
  • Option to apply modifier(s) on export

Error when exporting model

I'm attempting to export a model, but whatever I try always gives me the same error. I've tried a complete character model and even just a cube, on both the master and mgrr branches, but every time it gives me this error:

Python: Traceback (most recent call last):
  File "(path to blender)\Blender\3.6\scripts\addons\NieR2Blender2NieR-master\dat_dtt\exporter\dat_dtt_ui_manager.py", line 272, in execute
    triangulate_meshes("WMB")
  File "(path to blender)\Blender\3.6\scripts\addons\NieR2Blender2NieR-master\utils\util.py", line 172, in triangulate_meshes
    for obj in bpy.data.collections[collection].all_objects:
KeyError: 'bpy_prop_collection[key]: key "WMB" not found'

Is there a fix for this, or is it an issue with the version of blender I'm using, or an issue of that sort?

[mot import] bulk import doesn't seem to work

Thanks for your great work!
I meet some problems with the mot bulk import.

Version: blender3.6.5
Branch: custom_bones

What I do:

  1. import pl000d.dtt
  2. extract some mot in pl000f.dat and put them in new_dir (Because I don't have enough RAM to import all the animations at once.)
  3. import mot in new_dir and open bulk import

Result:
Only one animation was imported, and it seems to be the last one.
The number of imports is correct in the syslog, but there seems to be only one in blender.

I'm new to blender and it's possible that I'm doing something wrong to cause this. I would appreciate it if you could reply to my question.

Custom bones and collision

Hello any way adding custom physics on characters ?
How add custom bones ? ( NieR2Blender2NieR custom bones )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.