Page 20 of 34

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Jun 15, 2021 10:42 pm
by jayn23
mono24 wrote: Tue Jun 15, 2021 10:39 pm
jayn23 wrote: Tue Jun 15, 2021 7:27 pm ...
3. Adedd support for 64 bit Noesis- script will automatically recognize which system you are using and search for a compatible .dll file.
for 32 bit - granny2.dll
for 64 bit - granny2_x64.dll
...
I have never seen granny2 64-bit dll, care to name a game or two that has it?
i think i got mine from ESO

Re: Granny .GR2 Reader plugin for Noesis

Posted: Thu Jun 17, 2021 12:22 am
by 05SpeedMaster
mono24 wrote: Tue Jun 15, 2021 10:39 pm
I have never seen granny2 64-bit dll, care to name a game or two that has it?
Image
Image

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Jun 20, 2021 3:13 pm
by okami29
Thank you for this new version. Are you still planning to fix the issue with Tyrael wings animations (or waiting for the full release ) ?

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Jun 20, 2021 8:17 pm
by jayn23
okami29 wrote: Sun Jun 20, 2021 3:13 pm Thank you for this new version. Are you still planning to fix the issue with Tyrael wings animations (or waiting for the full release ) ?
To be honest totaly forgot about that, since i deleted diablo until full game realeases, please uplaod samples both mesh and animations and ill take a look

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Jun 21, 2021 7:12 am
by okami29
jayn23 wrote: Sun Jun 20, 2021 8:17 pm
okami29 wrote: Sun Jun 20, 2021 3:13 pm Thank you for this new version. Are you still planning to fix the issue with Tyrael wings animations (or waiting for the full release ) ?
To be honest totaly forgot about that, since i deleted diablo until full game realeases, please uplaod samples both mesh and animations and ill take a look
Here
Link

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Jun 21, 2021 9:35 am
by jayn23
okami29 wrote: Mon Jun 21, 2021 7:12 am
jayn23 wrote: Sun Jun 20, 2021 8:17 pm
okami29 wrote: Sun Jun 20, 2021 3:13 pm Thank you for this new version. Are you still planning to fix the issue with Tyrael wings animations (or waiting for the full release ) ?
To be honest totaly forgot about that, since i deleted diablo until full game realeases, please uplaod samples both mesh and animations and ill take a look
Here
Link
Well it does work ;)
the skeleton embedded with the mesh file dosent work with the animation correctly , but the independent skeleton file does.
Just use the SKELETON_LOAD option to load the skeleton with the animatiom track set to 3, the other tracks are empty (just contain a static pose)
if you want to load it with mesh like i did, use MULTIFILE = 2 to merge meshes.

Image

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Jun 21, 2021 4:36 pm
by okami29
ty

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Jun 22, 2021 4:54 pm
by chachachat
okami29 wrote: Mon Jun 21, 2021 7:12 am
jayn23 wrote: Sun Jun 20, 2021 8:17 pm
okami29 wrote: Sun Jun 20, 2021 3:13 pm Thank you for this new version. Are you still planning to fix the issue with Tyrael wings animations (or waiting for the full release ) ?
To be honest totaly forgot about that, since i deleted diablo until full game realeases, please uplaod samples both mesh and animations and ill take a look
Here
Link
Dead link

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Jun 29, 2021 10:02 am
by erik945
Can you try this model? D2R, iron golem.
https://www.dropbox.com/s/o2u3vyjxvv1br ... em.7z?dl=0

Code: Select all

Traceback (most recent call last):
  File "E:\noesisv4442\plugins\python\fmt_GR2reader135.py", line 5210, in noepyLoadModel
    ctx = rapi.rpgCreateContext()
RuntimeError: Hit MAX_CONCURRENT_RPGEO_CONTEXTS!

Thank you/

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Jun 29, 2021 5:09 pm
by jayn23
erik945 wrote: Tue Jun 29, 2021 10:02 am Can you try this model? D2R, iron golem.

Thank you/
its a noesis thing, this error happens when the .gr2 file contains to many unique models, just use the MERGE_SCENE option to combine all models.

Image

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Jul 04, 2021 12:53 pm
by boskee
Hello,

While reading terrain model from Diablo 2 Resurrected using v1.3.5 I ran into this problem:
Detected file type: GR2 Reader
Traceback (most recent call last):
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 5199, in noepyLoadModel
Models = GR2Reader(data)
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 4327, in GR2Reader
Models = extractData(StructHeaders)
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 3216, in extractData
for Tex in model.MeshBindings.Mesh.MaterialBindings.Material.Maps:
TypeError: 'dummy_member' object is not iterable


I fixed it by replacing "else:" on line 3213 with the following condition, but I'm sure there's a better way to deal with it

Code: Select all

elif type(model.MeshBindings[i].Mesh.MaterialBindings.Material.Maps) == list:
    #for mesh with single material

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Jul 04, 2021 1:04 pm
by jayn23
boskee wrote: Sun Jul 04, 2021 12:53 pm Hello,

While reading terrain model from Diablo 2 Resurrected using v1.3.5 I ran into this problem:
Detected file type: GR2 Reader
Traceback (most recent call last):
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 5199, in noepyLoadModel
Models = GR2Reader(data)
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 4327, in GR2Reader
Models = extractData(StructHeaders)
File "noesisv4451\plugins\python\fmt_GR2reader135.py", line 3216, in extractData
for Tex in model.MeshBindings.Mesh.MaterialBindings.Material.Maps:
TypeError: 'dummy_member' object is not iterable


I fixed it by replacing "else:" on line 3213 with the following condition, but I'm sure there's a better way to deal with it

Code: Select all

elif type(model.MeshBindings[i].Mesh.MaterialBindings.Material.Maps) == list:
    #for mesh with single material
Thanks for sharing,
please upload the sample that gave this error, ill take a look

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Jul 18, 2021 10:11 pm
by zardalu
Hi Jayn,

I can't tell you how much I appreciate this tool.

I notice that the UVs for ESO statics are still strange. They seem to be off in random ways.

I have uploaded a test sample with files for comparison. (model file converted using your tool (with strange UVs), and the same model obtained using Ninja Ripper with the correct UVs for comparison, exported as an OBJ, etc.)

Side note for anyone trying this: With Ninja Ripper in max you need to tile your textures 32 times in both directions to get correct UVs for ESO statics. I use UVW Xform modifier.

https://www.sendspace.com/file/lln8p6

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Jul 20, 2021 10:39 am
by jayn23
zardalu wrote: Sun Jul 18, 2021 10:11 pm Hi Jayn,

I can't tell you how much I appreciate this tool.

I notice that the UVs for ESO statics are still strange. They seem to be off in random ways.

I have uploaded a test sample with files for comparison. (model file converted using your tool (with strange UVs), and the same model obtained using Ninja Ripper with the correct UVs for comparison, exported as an OBJ, etc.)

Side note for anyone trying this: With Ninja Ripper in max you need to tile your textures 32 times in both directions to get correct UVs for ESO statics. I use UVW Xform modifier.

https://www.sendspace.com/file/lln8p6

Hi,

Sorry for the late response, ill take a look and see if i can figure it out. i am kind a busy with real life for now so it will probably be a few weeks if i can find the issue very quickly.

can you please upload a different sample idealy with a small amount of meshes and less vertcies, for some reason this file is taking forever to load each time, guess my 6 year old computer is starting to show its age :mrgreen:

Re: Granny .GR2 Reader plugin for Noesis

Posted: Wed Jul 21, 2021 4:48 pm
by zardalu
Thanks Jayn,

Here is a batch of smaller files, all related:

https://www.sendspace.com/file/ws4o9h

Let me know if this helps or if anything else is needed,