-
Notifications
You must be signed in to change notification settings - Fork 134
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
Support for Diablo 2: Resurrected GR2 (.model) #67
Comments
Hi, The link you sent seems to be restricted (can't open it as I don't have access). |
Sorry, please try one of these links: |
I added support for the D2 vertex formats in feb8350; i.e. converting from GR2 to DAE should work now. Converting back to GR2 is trickier, as the game packs a lot of texture/material related metadata in the GR2 file that has to be exported/imported somehow. |
Thanks for your work. It is a bit disappointed that converting back to .model (GR2) isn't possible, but at least it is a good start for D2R modding. BTW, is the project buildable by myself or I should wait for your release? I tried to build LSTools.sln in Visual Studio but fail, just wonder if it is my problem or the project isn't buildable. Edit: sorry, just read that there are requirements to build the project. |
I built the tool by myself. Importing a .GR2 from D2R and export it to DAE works fine. Just wonder if that works as intended (as you said "Converting back to GR2 is trickier"), or I did something wrong when compling the tool so I got this error. I'm testing this model btw: https://drive.google.com/file/d/1M70iiRA3A3YOOzbspk6Ixsvq8zOBYboM/view |
Can you give some more specific details? It is possible that it is linked to game files that are external to the model themselves. We're still trying to figure all of this out. |
To be more specific: GR2 has a fixed format, however for each object it supports "ExtendedData" nodes where the game can stuff whatever customizations it wants. In the case of D2, the ExtendedData looks like this: Material extended data:
Material map extended data:
Bone extended data:
Model extended data:
GR2 global extended data:
|
Some of this stuff is definitely artist defined data, such as |
Does lslib provide a method for the user to input this data to create a .gr2, and is it possible to preserve/read this data out of .gr2? |
A skinned model (i.e. character) and animation .gr2 files would be helpful.
It's possible but I'd have to add support for it since typed gr2 structures must be mapped in code. |
skinned models (uploaded by othe people): exe: |
Zee (CucFlavius) shared some information of D2R models and textures, maybe these could help? https://github.com/CucFlavius/Zee-010-Templates/blob/main/DiabloIIResurrected_Model.bt |
i know this is old, but is there a chance that the issues will be fixed? the modding community really needs this... |
With blizzards removing tcp/ip only reason to play D2R is good singleplayer mods that would be impossible without mod tools. Please, if you have time, try to fix this issue with reimporting. |
Hi, I plan to look at D2R models, but I'm unfortunately quite busy so I'm not sure when I will get around to it. |
Thank you, men |
Is it possible to create a tool that converts to model file? |
Hello @Norbyte , Hope all is well! I know you are quite busy but please let us know if you had some time to look into this? The whole Diablo 2 Resurrected modding community is depending on your work here. I mean no matter how good the re-textured mods are - they are not able to achieve a signifficant progress without beeing able to backport the edited models in the game. Please kindly let us know? Regards |
So... how to convert edited D2:R model from .fbx back to .model & .texture ? |
Any news on this front? |
…ckler-subclass-compatibility Minor Fixes
Hi Mr.Norbyte.
Not sure if I should post it here, but as I have seen you add support for other games's GR2, I would try my luck here.
A new games called Diablo 2: Resurrected also use a kind of GR2 format models, but named as .model, it can be open with Granny Viewer 2.11.8. According to informations in the Granny Viewer, the .model files are exported through Granny Standard exporter, SDK version 2.12.0.5
Here is some example files: https://drive.google.com/file/d/1M70iiRA3A3YOOzbspk6Ixsvq8zOBYboM/view
Is it possible for you to add import/export support of Diablo 2: Resurrected GR2 (.model)? It would greatly promote modding of this game.
Thanks.
Ivenend
The text was updated successfully, but these errors were encountered: