Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Granny .GR2 Reader plugin for Noesis

Post questions about game models here, or help out others!
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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
Last edited by Ivenend on Mon Apr 19, 2021 1:49 am, edited 1 time in total.
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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..
Allanoon
veteran
Posts: 91
Joined: Sat Apr 14, 2012 9:00 pm
Has thanked: 116 times
Been thanked: 25 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
Allanoon
veteran
Posts: 91
Joined: Sat Apr 14, 2012 9:00 pm
Has thanked: 116 times
Been thanked: 25 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
Ivenend
beginner
Posts: 27
Joined: Sun Dec 16, 2018 3:58 am
Has thanked: 24 times
Been thanked: 1 time

Re: Granny .GR2 Reader plugin for Noesis

Post 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
jayn23
mega-veteran
mega-veteran
Posts: 250
Joined: Sun Jul 17, 2011 9:30 pm
Has thanked: 61 times
Been thanked: 241 times

Re: Granny .GR2 Reader plugin for Noesis

Post 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
Last edited by jayn23 on Sat Apr 24, 2021 10:12 pm, edited 3 times in total.
ithamar73
ultra-n00b
Posts: 2
Joined: Fri May 24, 2019 12:23 am

Re: Granny .GR2 Reader plugin for Noesis

Post 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.
You do not have the required permissions to view the files attached to this post.
Post Reply