Page 6 of 10

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Oct 16, 2020 4:32 pm
by Hairless Wookiee
Thanks for the script jayn23, most useful. One thing I have noticed though is that meshes appear to be X-flipped (something that LSLib does as well, despite having a setting for it). It's clearly noticeable on non-symmetrical meshes (like certain hairstyles) when comparing them to the originals in-game.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Oct 17, 2020 7:46 pm
by jayn23
Thanks for the script jayn23, most useful. One thing I have noticed though is that meshes appear to be X-flipped (something that LSLib does as well, despite having a setting for it). It's clearly noticeable on non-symmetrical meshes (like certain hairstyles) when comparing them to the originals in-game.
The problem is, the format is used by100's of games each with there own engine etc.. so everyone exports there models in what ever way there engine renders the 3d meshes, I have no way of knowing for each game if it is flipped or not, I tried in the past to add a feature where you choose if you want to flip the model, the reason I didn't add this already is because it messes up the animations for some reason...

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Oct 23, 2020 1:55 am
by 05SpeedMaster
It messes up animations because they work with the models as are.
The Game engine renders things flipped one way or the other.

That's like asking why some models export inverted and Z is messed up but show fine in the Game.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Oct 23, 2020 6:37 am
by jayn23
It messes up animations because they work with the models as are.
The Game engine renders things flipped one way or the other.

That's like asking why some models export inverted and Z is messed up but show fine in the Game.
Thanks, i assumed as much , but i did try to flip mesh, skeleton and animations all separately that's why i hoped if i change them all in the same way it would work, i tried to do this with my total war Warhammer script as well a few months ago animation exploded :roll:

It seems i still have a lot to learn of game engines and renders

Re: Granny .GR2 Reader plugin for Noesis

Posted: Fri Oct 30, 2020 11:02 am
by pewposterous
Does anyone know how the face textures are done for companions? There doesnt seem to be any Diffuse Textures for them.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sat Oct 31, 2020 9:01 pm
by 05SpeedMaster
Be more specific on the Game.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Nov 03, 2020 6:07 am
by pewposterous
Sorry, Baldur's Gate 3

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 12:14 am
by Drawing
jayn23 wrote:
Fri Aug 14, 2020 6:11 am
DAE. This one looked promising.. Everything looked fine in blender except it was upside down. Getting it upwards caused some similar issues with that backflipping to reappear again. Once exported I noticed how for some reason no bone was moving except the very root bip01 one. Weird.
Hi,

my script only handles the import of gr2 data and does nothing for the export that is done by the built in plugins of noesis, but i did do some experimenting. on 3DS MAX since that is my goto 3D modeling software ,
importing with DAE gave me that same backflip you described, i then downloaded the openCollada plugin and used it to import the DAE instead of the built in plugin and it worked perfectly, but wiredly enough after exporing and reimporting an edited version animation was all wrong...

I dunno if it could help but I found that noesis export fbx version 7.7.0 , actually only recent version of 3dstudio max support it, most of older one support 7.4.0.
3dsm is my goto software too and I was experiencing "empty" .fbx exported from noesis, that was because I was using and old version of 3dsm that didn't recognize that version , with 2017 I can import correctly fbx exported by noesis.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 5:46 pm
by Predator0000
I deleted the link thank you :)

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 6:15 pm
by jayn23
hi i cant open the GR2 model even the PSSG textures ... AMY PS3 game. you are a programmer possible to make a Noesis script for the GR2 model is the PSSG texture also possible for the animations in GR2 Thank you models Amy gr2, textures in pssg and animations in gr2 please I just want help
I didn't look at your sample, but based on my knowledge is because PS3 uses big endian while PC uses little endian.
my script was written to support only little endian.
ill check how much work it is to get console versions to work (i did do some work on this in the past but never really tested it), if its not to much work ill do it this week along with my promised feature for loading multiple meshes.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 6:32 pm
by Predator0000
jayn23 wrote:
Sun Nov 08, 2020 11:49 pm

I didn't look at your sample, but based on my knowledge is because PS3 uses big endian while PC uses little endian.
my script was written to support only little endian.
ill check how much work it is to get console versions to work (i did do some work on this in the past but never really tested it), if its not to much work ill do it this week along with my promised feature for loading multiple meshes.
Thank you absolutely It's really kind of you I absolutely hope you can do it I would like to read all the models of this game with the animations,

and all textures

in Noesis

Thank you :keke:

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 6:51 pm
by Drawing
Drawing wrote:
Sun Nov 08, 2020 12:14 am

I dunno if it could help but I found that noesis export fbx version 7.7.0 , actually only recent version of 3dstudio max support it, most of older one support 7.4.0.
3dsm is my goto software too and I was experiencing "empty" .fbx exported from noesis, that was because I was using and old version of 3dsm that didn't recognize that version , with 2017 I can import correctly fbx exported by noesis.

Just to explain better:

When I used to export from noesis in .DAE i was experiencing the same backflip problem jayn23 stated.
I used the FBX export option but the file generated were not recognized by 3dsm. Later I found that the files were not load in 3dsm simply because was a 7.7.0 and my old 3dsm didn't recognize it. With 3dsm 2017 the 7.7.0 FBX were opened and no backflip during animation :)
This works for every model you want to export and not just for those related with this plugin.

sorry for repetition but I saw my message wasn't clear.

Re: Granny .GR2 Reader plugin for Noesis

Posted: Sun Nov 08, 2020 11:49 pm
by jayn23
Thank you absolutely It's really kind of you I absolutely hope you can do it I would like to read all the models of this game with the animations,

and all textures

in Noesis

Thank you :keke:
I remembered why i didn't do it in the first place, i couldn't get the decompression function to work correctly, it giving me an error as if my input is incorrect.

05SpeedMaster, do you by any chance know if console version uses a different granny.dll version or any other reason why it wont work.
i have tried changing everything to big endian, everything seems to be reading correctly (version, compression, CRC all the offsets etc..) but decompress function isn't working

Re: Granny .GR2 Reader plugin for Noesis

Posted: Mon Nov 09, 2020 6:06 pm
by Predator0000
jayn23 wrote:
Sun Nov 08, 2020 11:49 pm

I remembered why i didn't do it in the first place, i couldn't get the decompression function to work correctly, it giving me an error as if my input is incorrect.
I wanted to thank you for your help, I really appreciate thank you I can't wait to test your script in Noesis Thank you :)

Re: Granny .GR2 Reader plugin for Noesis

Posted: Tue Nov 10, 2020 10:54 pm
by 05SpeedMaster
jayn23 wrote:
Sun Nov 08, 2020 11:49 pm


05SpeedMaster, do you by any chance know if console version uses a different granny.dll version or any other reason why it wont work.
i have tried changing everything to big endian, everything seems to be reading correctly (version, compression, CRC all the offsets etc..) but decompress function isn't working
Kind of looking at the AMY file linked.
Haven't tried it with your Noesis stuff but it appears like a normal GR2 and opens fine in several versions of grannyviewer I have.
I even ran a CRC check on the files and they are correct.
(Some GR2 files report a bad CRC and will not open even in Grannyviewer! I broke that problem a long time ago!)
1st thought is that maybe some stuff is stored in different sections from the most common sections used.
I'll look closer in the next several days as I have some free time.