Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
Granny .GR2 Reader plugin for Noesis
- 05SpeedMaster
- veteran
- Posts: 128
- Joined: Mon Feb 10, 2020 9:24 pm
- Has thanked: 20 times
- Been thanked: 42 times
Re: Granny .GR2 Reader plugin for Noesis
My granny2.dll only shows as 657 KB
Your granny2.dll shows 785 KB
Something is off.
Your granny2.dll shows 785 KB
Something is off.
-
andrew21022
- ultra-n00b
- Posts: 7
- Joined: Sun Nov 10, 2019 8:23 pm
- Been thanked: 1 time
Re: Granny .GR2 Reader plugin for Noesis
[https://sun9-24.userapi.com/impg/G6QDZQ ... type=album] keep getting same issue even with granny2.dll v2.11.8 and fmt_GR2reader131
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
This error looks like a invalid win32 application, i guess your using 64 bit version of noesis, but the granny2.dll is 32 bit.andrew21022 wrote: ↑Thu Jun 10, 2021 7:25 am [https://sun9-24.userapi.com/impg/G6QDZQ ... type=album] keep getting same issue even with granny2.dll v2.11.8 and fmt_GR2reader131
try using 32 bit executable.
- 05SpeedMaster
- veteran
- Posts: 128
- Joined: Mon Feb 10, 2020 9:24 pm
- Has thanked: 20 times
- Been thanked: 42 times
Re: Granny .GR2 Reader plugin for Noesis
For my purposes the 64 bit version works fine even with the 32 bit granny2.dll
I don't have his game files to test though.
I don't have his game files to test though.
- 05SpeedMaster
- veteran
- Posts: 128
- Joined: Mon Feb 10, 2020 9:24 pm
- Has thanked: 20 times
- Been thanked: 42 times
Re: Granny .GR2 Reader plugin for Noesis
Go to line 49 in the 131 plug in and enable debug.
#noesis.logPopup()
Change that to
noesis.logPopup()
#noesis.logPopup()
Change that to
noesis.logPopup()
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
Well thats because Silent Hunter 5 Uses uncompressed granny files, so your not using the .dll05SpeedMaster wrote: ↑Fri Jun 11, 2021 1:17 am For my purposes the 64 bit version works fine even with the 32 bit granny2.dll
I don't have his game files to test though.
Re: Granny .GR2 Reader plugin for Noesis
Any idea how I can get the diffuse textures for Baldurs Gate 3 for the companions? There isn't any when I extracted the texture.pak
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
Hi,
To the best of my knowlage companions dont use BM maps. instead they use CLEA and HMVY maps.
Based on data from BG3 Discord:
MSK Maps:
R - Cavity or pores
G - Eyebrows/beard mask
B - Lips/gloss mask
A - AO
CLEA Maps:
R - Hemoglobin
G - Melаnin
B - Vein
A - Yellowing
Re: Granny .GR2 Reader plugin for Noesis
Thank you for the reply. I am a newb, so I don't really know how to use the CLEA and MSK maps properly in Blender to show off the normal skin/face textures.jayn23 wrote: ↑Sun Jun 13, 2021 5:52 amHi,
To the best of my knowlage companions dont use BM maps. instead they use CLEA and HMVY maps.
Based on data from BG3 Discord:
MSK Maps:
R - Cavity or pores
G - Eyebrows/beard mask
B - Lips/gloss mask
A - AO
CLEA Maps:
R - Hemoglobin
G - Melаnin
B - Vein
A - Yellowing
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
I dont use blender so cant help you with that,
https://discord.com/channels/9892218274 ... 8819477515 -BG3 modding Discord, can probably help you
-
RechtUndUnordnung
- ultra-n00b
- Posts: 2
- Joined: Sun Jun 13, 2021 7:09 pm
- Has thanked: 2 times
Re: Granny .GR2 Reader plugin for Noesis
Hey
first of all: Thanks jayn for this amazing tool. I've been searching something like this for years now to convert gr2 into fbx easily to be able to play with it in Unity, Blender and similar - and finally found this here. It's simply amazing!
I now attempted loading / converting some Metin2 gr2 models and animations as I still had them lying around and it works just fine in majority of the cases. I just noticed something slightly weird with some of the animations. Without any knowledge on how animations actually work, I would describe the problem as if "the animation would use the wrong fixed/origin point".
Here is two gifs, one from Noesis, one from gr2 viewer.
noesis: https://i.epvpimg.com/piyagab.gif (ignore the missing textures)
gr2 viewer: http://epvpimg.com/PkV3aab
You can see that in the noesis version, it kinda looks like the character is tied up on is head, which remains more or less fixed, and its feet are dangling around where in the original version (gr2 viewer), the feet are fixed to the ground, don't move and the rest of the body moves in relation to that.
Any idea what the issue here might be and how difficult it would be to fix that?
Cheers - and again, thanks a lot for everything that has been done so far on this tool and what you will still do in the future
Edit; Shame on me for not reading the rest of the thread. It seems like others have asked this question before - but I don’t really understand the conclusion you came to. If there is no fix yet, can you roughly point me to what functionality is responsible for loading this / what would potentially messing that up?
first of all: Thanks jayn for this amazing tool. I've been searching something like this for years now to convert gr2 into fbx easily to be able to play with it in Unity, Blender and similar - and finally found this here. It's simply amazing!
I now attempted loading / converting some Metin2 gr2 models and animations as I still had them lying around and it works just fine in majority of the cases. I just noticed something slightly weird with some of the animations. Without any knowledge on how animations actually work, I would describe the problem as if "the animation would use the wrong fixed/origin point".
Here is two gifs, one from Noesis, one from gr2 viewer.
noesis: https://i.epvpimg.com/piyagab.gif (ignore the missing textures)
gr2 viewer: http://epvpimg.com/PkV3aab
You can see that in the noesis version, it kinda looks like the character is tied up on is head, which remains more or less fixed, and its feet are dangling around where in the original version (gr2 viewer), the feet are fixed to the ground, don't move and the rest of the body moves in relation to that.
Any idea what the issue here might be and how difficult it would be to fix that?
Cheers - and again, thanks a lot for everything that has been done so far on this tool and what you will still do in the future
Edit; Shame on me for not reading the rest of the thread. It seems like others have asked this question before - but I don’t really understand the conclusion you came to. If there is no fix yet, can you roughly point me to what functionality is responsible for loading this / what would potentially messing that up?
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
Happy to see my script being used more and moreRechtUndUnordnung wrote: ↑Sun Jun 13, 2021 8:38 pm Hey![]()
first of all: Thanks jayn for this amazing tool. I've been searching something like this for years now to convert gr2 into fbx easily to be able to play with it in Unity, Blender and similar - and finally found this here. It's simply amazing!
I now attempted loading / converting some Metin2 gr2 models and animations as I still had them lying around and it works just fine in majority of the cases. I just noticed something slightly weird with some of the animations. Without any knowledge on how animations actually work, I would describe the problem as if "the animation would use the wrong fixed/origin point".
Here is two gifs, one from Noesis, one from gr2 viewer.
noesis: https://i.epvpimg.com/piyagab.gif (ignore the missing textures)
gr2 viewer: http://epvpimg.com/PkV3aab
You can see that in the noesis version, it kinda looks like the character is tied up on is head, which remains more or less fixed, and its feet are dangling around where in the original version (gr2 viewer), the feet are fixed to the ground, don't move and the rest of the body moves in relation to that.
Any idea what the issue here might be and how difficult it would be to fix that?
Cheers - and again, thanks a lot for everything that has been done so far on this tool and what you will still do in the future
Edit; Shame on me for not reading the rest of the thread. It seems like others have asked this question before - but I don’t really understand the conclusion you came to. If there is no fix yet, can you roughly point me to what functionality is responsible for loading this / what would potentially messing that up?
regarding that floating bug, i already fixed it - new update should be realsing soon, animation still isnt perfect tho, i have some bugs i have been unable to fix unfoutanatly.
-
RechtUndUnordnung
- ultra-n00b
- Posts: 2
- Joined: Sun Jun 13, 2021 7:09 pm
- Has thanked: 2 times
Re: Granny .GR2 Reader plugin for Noesis
Wow. Thanks a lot, that’s pretty amazing. Looking forward to the new version then.
if there is anything that can be done to contribute to your work, share it pls. 
-
jayn23
- mega-veteran

- Posts: 250
- Joined: Sun Jul 17, 2011 9:30 pm
- Has thanked: 61 times
- Been thanked: 243 times
Re: Granny .GR2 Reader plugin for Noesis
I have a new update for you, one i am pretty proud of
This has alot of firsts for me, first time using Ghidra and decompiled code from source, debugging Aseembly code and generaly just alot of research.
To the best of my knowlage this is the first script that can now decompress BINK format along with many other new features.
Change List:
1. Added Auto Texturing for all .gr2 files with embeded textures including the following formats : RGBA32, DXT1/3/5 and BINK. so now games like Winter X-Games: Snocross can directly load/export textures from noesis without any 3rd party ripping tools.
Currebtly Turned on by Deafult, can be disabled with the following Option.
GAME_TAG_GRANNY = True
2. new option, allows to transform any loaded file to any coordinate system and UnitsPerMeter of your choosing,
Currently by default all files are converted to native noesis coordinate system where meshes will always be facing forward.
just an example of usefulness, if by some mistake a mesh and animation file where created in a different system the script will automaticly transform both to same system and allow for animation to work correctly with the mesh.
or if your exporting for a specific game in a different system you can easily adjust before exporting.
TRANSFORM_FILE
RightVector = [1,0,0]
UpVector = [0,1,0]
BackVector = [0,0,1]
UnitsPerMeter_new = 1.0
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
4. Added QTangent Support for Baldur Gate 3.
5. Enabled Tangents in Script.
6. Fixed a bug with Old Animation to New format conversion function - should fix those floaty issues.
7. Added Initial Placement for Animation - while playining animations models will now load in the correct position in relation to world and other models of a scene.
8. Added absolute path to Noesis Main Folder for Granny2.dll and Mesh.txt files - should always look in correct path now.
9. Rewrote some code and memory optimzations on multiple functions.
10. Added some debug options, i dont expect almost anyone to use but why not right...
DISABLE_ALPHA - Disables Alpha blending when loading textures usefull for some games where alpha causes mesh to be transparent
LOAD_POINT_CLOUD - Load only mesh Vertcies.
DEBUG_NORMALS - Load Normals as colors.



This has alot of firsts for me, first time using Ghidra and decompiled code from source, debugging Aseembly code and generaly just alot of research.
To the best of my knowlage this is the first script that can now decompress BINK format along with many other new features.
Change List:
1. Added Auto Texturing for all .gr2 files with embeded textures including the following formats : RGBA32, DXT1/3/5 and BINK. so now games like Winter X-Games: Snocross can directly load/export textures from noesis without any 3rd party ripping tools.
Currebtly Turned on by Deafult, can be disabled with the following Option.
GAME_TAG_GRANNY = True
2. new option, allows to transform any loaded file to any coordinate system and UnitsPerMeter of your choosing,
Currently by default all files are converted to native noesis coordinate system where meshes will always be facing forward.
just an example of usefulness, if by some mistake a mesh and animation file where created in a different system the script will automaticly transform both to same system and allow for animation to work correctly with the mesh.
or if your exporting for a specific game in a different system you can easily adjust before exporting.
TRANSFORM_FILE
RightVector = [1,0,0]
UpVector = [0,1,0]
BackVector = [0,0,1]
UnitsPerMeter_new = 1.0
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
4. Added QTangent Support for Baldur Gate 3.
5. Enabled Tangents in Script.
6. Fixed a bug with Old Animation to New format conversion function - should fix those floaty issues.
7. Added Initial Placement for Animation - while playining animations models will now load in the correct position in relation to world and other models of a scene.
8. Added absolute path to Noesis Main Folder for Granny2.dll and Mesh.txt files - should always look in correct path now.
9. Rewrote some code and memory optimzations on multiple functions.
10. Added some debug options, i dont expect almost anyone to use but why not right...
DISABLE_ALPHA - Disables Alpha blending when loading textures usefull for some games where alpha causes mesh to be transparent
LOAD_POINT_CLOUD - Load only mesh Vertcies.
DEBUG_NORMALS - Load Normals as colors.



You do not have the required permissions to view the files attached to this post.
Last edited by jayn23 on Thu Jun 17, 2021 1:16 pm, edited 2 times in total.
-
mono24
- double-veteran

- Posts: 847
- Joined: Sat Nov 06, 2010 12:27 am
- Has thanked: 437 times
- Been thanked: 237 times
Re: Granny .GR2 Reader plugin for Noesis
I have never seen granny2 64-bit dll, care to name a game or two that has it?
