Page 11 of 34

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Apr 04, 2021 1:02 pm
by jayn23
kodachrome wrote: Sun Apr 04, 2021 4:13 am Just so I can see the workflow working.. can you give me a suggested BG3 model and anim file that does work in Granny viewer?

thanks
Well tons of animations work with my script, but if you want an example:

mesh + skeleton file
Proxy_BUGBEAR_A.GR2

Animation
BUGBEAR_Rig_DFLT_CMBT_Skill_Javelin_Throw_01_Attack.GR2

as for the granny viewer all meshes seem black (my guess is since BG3 dosent store normals for mesh), so you wont be able to see mesh very well unless you uncheck Solid fill under mesh display.

On a side note, I am working on adding texture support for BG3, if you have some experience with applaying PBR textures to meshs and know which channel stores what data etc.. that would be very helpfull

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Apr 18, 2021 7:52 am
by Ivenend
Diablo 2 Resurrected is also use some kind of .gr2 (but named .model) model. Is it possible for you to add support of this game?
Image


If you want, I can send you some example files.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Apr 18, 2021 8:24 am
by jayn23
Ivenend wrote: Sun Apr 18, 2021 7:52 am Diablo 2 Resurrected is also use some kind of .gr2 (but named .model) model. Is it possible for you to add support of this game?

If you want, I can send you some example files.
Sure Post some samples and i will take a look at it

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Apr 18, 2021 8:44 am
by Ivenend
jayn23 wrote: Sun Apr 18, 2021 8:24 am
Ivenend wrote: Sun Apr 18, 2021 7:52 am Diablo 2 Resurrected is also use some kind of .gr2 (but named .model) model. Is it possible for you to add support of this game?

If you want, I can send you some example files.
Sure Post some samples and i will take a look at it
https://drive.google.com/file/d/1M70iiR ... BYboM/view

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Apr 18, 2021 9:41 pm
by jayn23
Ivenend wrote: Sun Apr 18, 2021 8:44 am
jayn23 wrote: Sun Apr 18, 2021 8:24 am
Ivenend wrote: Sun Apr 18, 2021 7:52 am Diablo 2 Resurrected is also use some kind of .gr2 (but named .model) model. Is it possible for you to add support of this game?

If you want, I can send you some example files.
Sure Post some samples and i will take a look at it
https://drive.google.com/file/d/1Hx9Ire ... sp=sharing
I cant access the files using your link, please fix it or give me premission to files.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Apr 19, 2021 1:46 am
by Ivenend
jayn23 wrote: Sun Apr 18, 2021 9:41 pm
Ivenend wrote: Sun Apr 18, 2021 8:44 am
jayn23 wrote: Sun Apr 18, 2021 8:24 am

Sure Post some samples and i will take a look at it
https://drive.google.com/file/d/1M70iiR ... sp=sharing
I cant access the files using your link, please fix it or give me premission to files.
Sorry, please try this link:
https://drive.google.com/file/d/1M70iiR ... BYboM/view
or
https://www.dropbox.com/sh/c4i8hjym4hav ... 5SROa?dl=0

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Apr 19, 2021 7:40 pm
by jayn23
Ill be adding support for .model in my next update, should be coming in next few days - its has a ton of new or improved features
all depends how fast i can iron out the bugs..

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Apr 20, 2021 3:11 am
by Allanoon
Since i'd ask later anyway... :P
Here a few enemies files which also have skeleton and anim files~

https://www.mediafire.com/file/ubml1rk2 ... y.rar/file

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Apr 20, 2021 8:48 pm
by jayn23
Allanoon wrote: Tue Apr 20, 2021 3:11 am Since i'd ask later anyway... :P
Here a few enemies files which also have skeleton and anim files~

https://www.mediafire.com/file/ubml1rk2 ... y.rar/file
Regarding Diablo 2 Resurrected support, i got mesh, skeleton and animtions working but there is a big problem... :?
The mesh and skeleton sizes are misaligned by thousends so a typical vertcie would be 4000 and the corresponding bone would be 0.8, by manuualy finding the right relation everything works, the problem is every mesh is scaled differently in relation to skeleton.
So we need to find where this is stored, if you can find any files relating to these creatures please upload and i will look for something..

by the way if someone can tell me what format the textures are i can auto texture support here, i looked at it , seems like RGBA no compression but i couldnt find the right format to display it correctly.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Apr 20, 2021 11:37 pm
by Allanoon
jayn23 wrote: Tue Apr 20, 2021 8:48 pm
Regarding Diablo 2 Resurrected support, i got mesh, skeleton and animtions working but there is a big problem... :?
The mesh and skeleton sizes are misaligned by thousends so a typical vertcie would be 4000 and the corresponding bone would be 0.8, by manuualy finding the right relation everything works, the problem is every mesh is scaled differently in relation to skeleton.
So we need to find where this is stored, if you can find any files relating to these creatures please upload and i will look for something..

by the way if someone can tell me what format the textures are i can auto texture support here, i looked at it , seems like RGBA no compression but i couldnt find the right format to display it correctly.
1st thing 1st... thanks are in order :D
Regarding the files, i uploaded what for my "no knowledge" could make sense.
https://www.mediafire.com/file/wv2j05s0 ... ta.7z/file

Re: Granny .GR2 Reader plugin for Noesis

Posted: Wed Apr 21, 2021 5:09 pm
by Ivenend
jayn23 wrote: Tue Apr 20, 2021 8:48 pm
Allanoon wrote: Tue Apr 20, 2021 3:11 am Since i'd ask later anyway... :P
Here a few enemies files which also have skeleton and anim files~

https://www.mediafire.com/file/ubml1rk2 ... y.rar/file
by the way if someone can tell me what format the textures are i can auto texture support here, i looked at it , seems like RGBA no compression but i couldnt find the right format to display it correctly.
Unfortunately we still didn't work out how to open .texture files yet.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Apr 23, 2021 12:55 pm
by Ivenend
Allanoon wrote: Tue Apr 20, 2021 11:37 pm
jayn23 wrote: Tue Apr 20, 2021 8:48 pm
Regarding Diablo 2 Resurrected support, i got mesh, skeleton and animtions working but there is a big problem... :?
The mesh and skeleton sizes are misaligned by thousends so a typical vertcie would be 4000 and the corresponding bone would be 0.8, by manuualy finding the right relation everything works, the problem is every mesh is scaled differently in relation to skeleton.
So we need to find where this is stored, if you can find any files relating to these creatures please upload and i will look for something..

by the way if someone can tell me what format the textures are i can auto texture support here, i looked at it , seems like RGBA no compression but i couldnt find the right format to display it correctly.
1st thing 1st... thanks are in order :D
Regarding the files, i uploaded what for my "no knowledge" could make sense.
https://www.mediafire.com/file/wv2j05s0 ... ta.7z/file
The files in "Global" folder are not relate to 3D model at all.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Apr 24, 2021 10:19 am
by Ivenend
Not sure if it can help, but it seems that using this setting in Rawtex can somewhat convert a D2R .texture file.
with setting BC3, 1024x1024 and offset 0x7c


https://i.imgur.com/FJoUc7H.jpg

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Apr 24, 2021 7:45 pm
by jayn23
Ivenend wrote: Sat Apr 24, 2021 10:19 am Not sure if it can help, but it seems that using this setting in Rawtex can somewhat convert a D2R .texture file.
with setting BC3, 1024x1024 and offset 0x7c


https://i.imgur.com/FJoUc7H.jpg
Thanks,
i just saw the discord disscusion and template provided by Zee, i havent tried yet but that should be more than enough to get textures working.

Edit:
Textures are now working on a texture only script, i will need a bit more time to get them implemented in the GR2 script, plus i will be loading only albedo and normal maps as i have no clue how to load PBR in noesis.

Edit2:
Thanks to Zee on discord server i now have the scale issue fixed :D

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Apr 24, 2021 8:22 pm
by ithamar73
Hi, I was looking at the game Carnivores Dinosaur Hunter Reborn, and it uses GR2 files as well, though they are the Big Endian kind. Are you interested in adding support for that, or accepting patches for those?
I've attached a sample in case you are interested.