Example Files would get you faster answers.Canyougiant wrote: ↑Sat Aug 26, 2023 7:39 pm Hi,
I am using this script to import the gr2 models and animations from Age of Empires 3: Definitive Edition, but animation isn’t correct, only the whole body is moving. It works in legacy version of the game, which is Age of Empires 3. Apparently, something has changed. Have you ever tested it with Age of Empires: Definitive Edition?
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Granny .GR2 Reader plugin for Noesis
- 05SpeedMaster
- veteran
- Posts: 127
- Joined: Mon Feb 10, 2020 9:24 pm
- Has thanked: 18 times
- Been thanked: 41 times
Re: Granny .GR2 Reader plugin for Noesis
-
- ultra-n00b
- Posts: 2
- Joined: Fri Aug 25, 2023 11:40 am
Re: Granny .GR2 Reader plugin for Noesis
Hi, thanks for the replies!
In the end, I managed to resolve my own issue. It's because the bone names in the model files were not match the ones in the animation files. The bone names in the model files were like "Bip01_L_ForeArm", but it's "Bip01 L ForeArm" in the animation file. I guess maybe granny2.dll allows this inconsistency, so animations can be played successfully. There was a line "t.Name = Transform_Track.Name", I changed it to "t.Name = Transform_Track.Name.replace(' ', '_')". That's it.
In the end, I managed to resolve my own issue. It's because the bone names in the model files were not match the ones in the animation files. The bone names in the model files were like "Bip01_L_ForeArm", but it's "Bip01 L ForeArm" in the animation file. I guess maybe granny2.dll allows this inconsistency, so animations can be played successfully. There was a line "t.Name = Transform_Track.Name", I changed it to "t.Name = Transform_Track.Name.replace(' ', '_')". That's it.
-
- advanced
- Posts: 54
- Joined: Thu Nov 23, 2017 12:11 pm
- Has thanked: 9 times
- Been thanked: 7 times
Re: Granny .GR2 Reader plugin for Noesis
Unfortunately, there seems to be a problem with lslib tool skipping some textures. I've tried extracting the texture file for Baldur's Gate 3, but this tool skips several textures that are essential to the model. We need a new lslib tool that extracts all textures. I hope this part will be supplemented someday.
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
Re: Granny .GR2 Reader plugin for Noesis
if you mean albedo, normal and physic maps they are there but presented as virtual texturesuroborostestsubject wrote: ↑Sat Sep 02, 2023 3:31 am Unfortunately, there seems to be a problem with lslib tool skipping some textures. I've tried extracting the texture file for Baldur's Gate 3, but this tool skips several textures that are essential to the model. We need a new lslib tool that extracts all textures. I hope this part will be supplemented someday.
-
- advanced
- Posts: 54
- Joined: Thu Nov 23, 2017 12:11 pm
- Has thanked: 9 times
- Been thanked: 7 times
Re: Granny .GR2 Reader plugin for Noesis
Thank you for your answer. In my case, the texture itself to be applied to the extracted meshes is lacking. For example, there is a texture that needs to be applied to the torso, but there is no texture to apply to the head and legs. Would there still be any missing textures in the virtual texture folder in this case?Tosyk wrote: ↑Sat Sep 02, 2023 7:07 amif you mean albedo, normal and physic maps they are there but presented as virtual texturesuroborostestsubject wrote: ↑Sat Sep 02, 2023 3:31 am Unfortunately, there seems to be a problem with lslib tool skipping some textures. I've tried extracting the texture file for Baldur's Gate 3, but this tool skips several textures that are essential to the model. We need a new lslib tool that extracts all textures. I hope this part will be supplemented someday.
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
Re: Granny .GR2 Reader plugin for Noesis
body, head, eye textures are different case. they are mix of masks from textures: _HMVY, _CLEA, _MSK. In this article, devs are explaining how they do this: https://substance3d.adobe.com/magazine/ ... rs-gate-3/uroborostestsubject wrote: ↑Sat Sep 02, 2023 7:31 amThank you for your answer. In my case, the texture itself to be applied to the extracted meshes is lacking. For example, there is a texture that needs to be applied to the torso, but there is no texture to apply to the head and legs. Would there still be any missing textures in the virtual texture folder in this case?Tosyk wrote: ↑Sat Sep 02, 2023 7:07 amif you mean albedo, normal and physic maps they are there but presented as virtual texturesuroborostestsubject wrote: ↑Sat Sep 02, 2023 3:31 am Unfortunately, there seems to be a problem with lslib tool skipping some textures. I've tried extracting the texture file for Baldur's Gate 3, but this tool skips several textures that are essential to the model. We need a new lslib tool that extracts all textures. I hope this part will be supplemented someday.
Re: Granny .GR2 Reader plugin for Noesis
Does anyone know why there are messed up UVs in ESO meshes?
-
- advanced
- Posts: 54
- Joined: Thu Nov 23, 2017 12:11 pm
- Has thanked: 9 times
- Been thanked: 7 times
Re: Granny .GR2 Reader plugin for Noesis
Can I ask you one more question? Currently, the model I want to extract is the creature model. However, as I mentioned before, some of the creature models lack the texture to apply to the meshes. Textures corresponding to some weapons or items were not extracted at all. Should I apply shaders to the meshes of monsters and weapons the way you told me? Or is it a problem with the tool itself that the texture corresponding to the mesh of monsters or weapons is not being extracted?Tosyk wrote: ↑Sat Sep 02, 2023 8:09 ambody, head, eye textures are different case. they are mix of masks from textures: _HMVY, _CLEA, _MSK. In this article, devs are explaining how they do this: https://substance3d.adobe.com/magazine/ ... rs-gate-3/uroborostestsubject wrote: ↑Sat Sep 02, 2023 7:31 amThank you for your answer. In my case, the texture itself to be applied to the extracted meshes is lacking. For example, there is a texture that needs to be applied to the torso, but there is no texture to apply to the head and legs. Would there still be any missing textures in the virtual texture folder in this case?
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
Re: Granny .GR2 Reader plugin for Noesis
once again. Most of the textures are virtual textures. You need to extract them to get all the textures you want - they are there. As for creatures I think they share the same shader technique as characters from _HMVY, _CLEA, _MSK mixinguroborostestsubject wrote: ↑Sat Sep 02, 2023 1:14 pmCan I ask you one more question? Currently, the model I want to extract is the creature model. However, as I mentioned before, some of the creature models lack the texture to apply to the meshes. Textures corresponding to some weapons or items were not extracted at all. Should I apply shaders to the meshes of monsters and weapons the way you told me? Or is it a problem with the tool itself that the texture corresponding to the mesh of monsters or weapons is not being extracted?Tosyk wrote: ↑Sat Sep 02, 2023 8:09 ambody, head, eye textures are different case. they are mix of masks from textures: _HMVY, _CLEA, _MSK. In this article, devs are explaining how they do this: https://substance3d.adobe.com/magazine/ ... rs-gate-3/uroborostestsubject wrote: ↑Sat Sep 02, 2023 7:31 am
Thank you for your answer. In my case, the texture itself to be applied to the extracted meshes is lacking. For example, there is a texture that needs to be applied to the torso, but there is no texture to apply to the head and legs. Would there still be any missing textures in the virtual texture folder in this case?
-
- advanced
- Posts: 54
- Joined: Thu Nov 23, 2017 12:11 pm
- Has thanked: 9 times
- Been thanked: 7 times
Re: Granny .GR2 Reader plugin for Noesis
Thank you so much! I'll have to try it again.Tosyk wrote: ↑Sat Sep 02, 2023 2:40 pmonce again. Most of the textures are virtual textures. You need to extract them to get all the textures you want - they are there. As for creatures I think they share the same shader technique as characters from _HMVY, _CLEA, _MSK mixinguroborostestsubject wrote: ↑Sat Sep 02, 2023 1:14 pmCan I ask you one more question? Currently, the model I want to extract is the creature model. However, as I mentioned before, some of the creature models lack the texture to apply to the meshes. Textures corresponding to some weapons or items were not extracted at all. Should I apply shaders to the meshes of monsters and weapons the way you told me? Or is it a problem with the tool itself that the texture corresponding to the mesh of monsters or weapons is not being extracted?Tosyk wrote: ↑Sat Sep 02, 2023 8:09 am
body, head, eye textures are different case. they are mix of masks from textures: _HMVY, _CLEA, _MSK. In this article, devs are explaining how they do this: https://substance3d.adobe.com/magazine/ ... rs-gate-3/
Re: Granny .GR2 Reader plugin for Noesis
Can someone post a copy of the 64 bit version of the granny2 dll? I don't have it, and none of my games do either.
Re: Granny .GR2 Reader plugin for Noesis
I am trying to find Laezel and Astarion, I have noesis working and I have extracted the game fileswith LSlib, but I'm new to working with models, is there a specific folder or filename type I should be looking for to get the character models...? Thank you very much in advance
Re: Granny .GR2 Reader plugin for Noesis
I'm getting this error when I try to open a file from BG3 in noesis:
Detected file type: GR2 Reader
Traceback (most recent call last):
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 5199, in noepyLoadModel
Models = GR2Reader(data)
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 4204, in GR2Reader
TempAllDecompressedData = GR2decompress(DecompressedData,ComperesedData,section.decompressed_size,section.data_size,section)
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 4022, in GR2decompress
lib = ctypes.WinDLL(DLL_PATH + "granny2.dll")
File "C:\Users\XX\Downloads\noesisv4471 (1)\Plugins\python\core321.zip\ctypes\__init__.py", line 340, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application
Detected file type: GR2 Reader
Traceback (most recent call last):
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 5199, in noepyLoadModel
Models = GR2Reader(data)
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 4204, in GR2Reader
TempAllDecompressedData = GR2decompress(DecompressedData,ComperesedData,section.decompressed_size,section.data_size,section)
File "C:\Users\XX\Downloads\noesisv4471 (1)\plugins\python\fmt_GR2reader135.py", line 4022, in GR2decompress
lib = ctypes.WinDLL(DLL_PATH + "granny2.dll")
File "C:\Users\XX\Downloads\noesisv4471 (1)\Plugins\python\core321.zip\ctypes\__init__.py", line 340, in __init__
WindowsError: [Error 193] %1 is not a valid Win32 application
-
- ultra-n00b
- Posts: 5
- Joined: Sat Sep 09, 2023 5:09 pm
- Has thanked: 1 time
- Been thanked: 1 time
Re: Granny .GR2 Reader plugin for Noesis
Wow.
How did you get that model textured? When I'm opening BG3 models in Noesis with the plugin and granny2.dll, I get them with 0 textures associated.
How did you get that model textured? When I'm opening BG3 models in Noesis with the plugin and granny2.dll, I get them with 0 textures associated.
- Tosyk
- double-veteran
- Posts: 1027
- Joined: Thu Oct 22, 2009 10:24 am
- Location: Russia, Siberia
- Has thanked: 269 times
- Been thanked: 154 times
- Contact:
Re: Granny .GR2 Reader plugin for Noesis
I use this tool to find connection between resources:
https://github.com/ShinyHobo/BG3-Modders-Multitool
But there’s no way to just open model with all the texture applied. It’s manual work to convert textures and combine models