Page 22 of 34
Re: Granny .GR2 Reader plugin for Noesis
Posted: Wed Aug 18, 2021 10:36 pm
by WollieWoltaz
@ Allanoon
Okay that'll work! Thanks.
Do you know if the method for Diablo 2 res is the same as for Baldurs Gate 3 or Divinity original sin?
You ever tried those games?
Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 12:05 pm
by Allanoon
Tosyk wrote: ↑Wed Aug 18, 2021 10:10 pm
wait but this one is on LithTech engine by Monolith, not granny
Uhm... i checked it here
http://www.radgametools.com/granny/customers.html#games And i do have a folder with MoH granny models but i unistalled the game so i'm unsure 'bout the game name
Tosyk wrote: ↑Wed Aug 18, 2021 10:10 pm
How to load models from lionhart?
Regarding lionhart i'm loading the files just fine (using latest plugin 1.35). I had to disable merge scene to load animations too (1st select model, then type * in file name so you can see the animations and load them)
Settings were like this
MULTIFILE = 0
SMART_DETECTION = 1
ANIMATION_TRACK = 1
ANIMATION_MODE = 1
SKELETON_LOAD = 0
MERGE_SCENE = 0
CRC_CORRECTION = 0
WollieWoltaz wrote: ↑Wed Aug 18, 2021 10:36 pm
@ Allanoon
Okay that'll work! Thanks.
Do you know if the method for Diablo 2 res is the same as for Baldurs Gate 3 or Divinity original sin?
You ever tried those games?
You welcome.
And yes i did check those games but i don't have them at hand atm, from what i remember they've single animations so you simply have to load them 1 by one (or maybe you can load all of them trough some of the options, never bothered checking

)
Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 12:23 pm
by Tosyk
yeah, that's what I thought. I wonder what is the exact game name — it could be a mobile game or nintendo 3ds game, probably script author could explain more
Allanoon wrote: ↑Thu Aug 19, 2021 12:05 pmTosyk wrote: ↑Wed Aug 18, 2021 10:10 pm
How to load models from lionhart?
Regarding lionhart i'm loading the files just fine (using latest plugin 1.35). I had to disable merge scene to load animations too (1st select model, then type * in file name so you can see the animations and load them)
Settings were like this
MULTIFILE = 0
SMART_DETECTION = 1
ANIMATION_TRACK = 1
ANIMATION_MODE = 1
SKELETON_LOAD = 0
MERGE_SCENE = 0
CRC_CORRECTION = 0
oh, so that's why I can't load any game on granny with this script so far... thanks mate, good to know.
as I understand I need to prepare somekind of presset for each game

Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 12:46 pm
by Allanoon
Tosyk wrote: ↑Thu Aug 19, 2021 12:23 pm
yeah, that's what I thought. I wonder what is the exact game name — it could be a mobile game or nintendo 3ds game, probably script author could explain more
Allanoon wrote: ↑Sun Jun 14, 2020 5:46 pm
There're also Beyond Divinity and Medal of Honor Pacific Assault whose files are giving errors.
Found this in one of my initial posts so i can confirm that it's MoH Pacific Assault

. Maybe they planned to use Lithtech and then went with granny, like with Ragnarok Online 2 that should have used granny and it's gamebryo instead.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 5:32 pm
by Tosyk
Allanoon wrote: ↑Thu Aug 19, 2021 12:46 pmFound this in one of my initial posts so i can confirm that it's MoH Pacific Assault

. Maybe they planned to use Lithtech and then went with granny, like with Ragnarok Online 2 that should have used granny and it's gamebryo instead.
actually they are not. as said on wikipedia and also I extracted this game at that time and I know exactly how it was made. also allied assault was on quake 3 engine. it confuses me even more. mysterious medal of honor on granny engine

Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 9:04 pm
by Tosyk
Allanoon wrote: ↑Thu Aug 19, 2021 12:05 pm
Regarding lionhart i'm loading the files just fine (using latest plugin 1.35). I had to disable merge scene to load animations too (1st select model, then type * in file name so you can see the animations and load them)
Settings were like this
MULTIFILE = 0
SMART_DETECTION = 1
ANIMATION_TRACK = 1
ANIMATION_MODE = 1
SKELETON_LOAD = 0
MERGE_SCENE = 0
CRC_CORRECTION = 0
that doesn't work unfortunately. when I choose any model with this settings the noesis suggest me to load the exact file only. there's no option to load only model and anything else doesn't work
Re: Granny .GR2 Reader plugin for Noesis
Posted: Thu Aug 19, 2021 9:16 pm
by Tosyk
okay, more about lionheart.
x64 granny dll doesn't work at all.
x32 version tho work ONLY if I:
1. load Amir.MODEL.GR2 first
2. copy Amir.MODEL.GR2 and rename it to Attack01.MODEL.GR2
3. then in noesis where the plugin ask me to load file with same extension but expect animation file I give it Attack01.MODEL.GR2
so only by this way the plugin will spit a model into noesis viewer. Also there's no possibility to load only a model. Is there's a fix to it?
Re: Granny .GR2 Reader plugin for Noesis
Posted: Fri Aug 20, 2021 2:21 am
by Allanoon
Tosyk wrote: ↑Thu Aug 19, 2021 9:16 pm
okay, more about lionheart.
x64 granny dll doesn't work at all.
x32 version tho work ONLY if I:
1. load Amir.MODEL.GR2 first
2. copy Amir.MODEL.GR2 and rename it to Attack01.MODEL.GR2
3. then in noesis where the plugin ask me to load file with same extension but expect animation file I give it Attack01.MODEL.GR2
so only by this way the plugin will spit a model into noesis viewer. Also there's no possibility to load only a model. Is there's a fix to it?
To load only the model, simply double click it, and then close the windows or press ESC.
Also no need to rename the model if you want anim+model. Load 1 animation, then type * in "File Name" -> Enter , and you'll see all the files in the folder, pick the model and you're good to go.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Fri Aug 20, 2021 7:31 am
by Tosyk
Allanoon wrote: ↑Fri Aug 20, 2021 2:21 amAlso no need to rename the model if you want anim+model. Load 1 animation, then type * in "File Name" -> Enter , and you'll see all the files in the folder, pick the model and you're good to go.
yeah, I tried that but it doesn't work:
Re: Granny .GR2 Reader plugin for Noesis
Posted: Fri Aug 20, 2021 12:14 pm
by Allanoon
Tosyk wrote: ↑Fri Aug 20, 2021 7:31 am
Allanoon wrote: ↑Fri Aug 20, 2021 2:21 amAlso no need to rename the model if you want anim+model. Load 1 animation, then type * in "File Name" -> Enter , and you'll see all the files in the folder, pick the model and you're good to go.
yeah, I tried that but it doesn't work:
Dang, I've no idea on why it's working for me then

Re: Granny .GR2 Reader plugin for Noesis
Posted: Fri Aug 20, 2021 1:28 pm
by Tosyk
Allanoon wrote: ↑Fri Aug 20, 2021 12:14 pm
Tosyk wrote: ↑Fri Aug 20, 2021 7:31 am
Allanoon wrote: ↑Fri Aug 20, 2021 2:21 amAlso no need to rename the model if you want anim+model. Load 1 animation, then type * in "File Name" -> Enter , and you'll see all the files in the folder, pick the model and you're good to go.
yeah, I tried that but it doesn't work:
Dang, I've no idea on why it's working for me then
I think it's a matter of file handling only. hope
jayn23 gonna fix this when he get time.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Sat Aug 21, 2021 6:28 pm
by Tosyk
I have a suggestion to
jayn23 on how to load different games without changing the script manually. Instead the options may be applied like it does for \Noesis\plugins\python\fmt_ue4.py.
Also, to convert animations from specific game of a specific character and to prevent of several popup oppening the model with needed skeleton could be specified with an option as well. For example like:
Code: Select all
-useskeletonfrom "J:\Games\SoldnerSecretWars\game\soldner1\Soldiers\Soldier_China.GR2"
p.s.: I'm writing CMD tools and these options would be amazing to have just to simplify resource vieweing and conversion.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Sat Aug 21, 2021 7:18 pm
by 05SpeedMaster
There is the very real possibility that some files named as a GR2 file are not standard.
This was shown long ago with SWTOR.
Headers are correct but storage of the information was done in a different way.
Instead of floats? We found half floats and such.
Granny is made to be customizable so take that into account.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Sun Aug 22, 2021 1:52 am
by Neo210
Maybe someone smarter than me can help me. I'm trying to get the DIablo 2 files also. I downloaded the game files this weekend for the free play weekend. My understanding is
Ladik's CASC viewer 2.3.0.249 x64
extracted an entire folder of enemies or NPC or players then
Noesis 4.456 x64 to view the files. Installed the granny reader plugin 1.3 extracted the zip file and placed the py script in plugins > python folder.
my GR2reader.py settings are
MULTIFILE = 1
SMART_DETECTION = 1
SKELETON_LOAD = 0
ANIMATION_MODE = 1
MERGE_SCENE = 2
ANIMATION_TRACK = 1
GAME_TAG_ESO_STATIC = 0
GAMETAG_BG3_TEXTURES = 0
Then open noesis64 browsing to the folders extracted from CASC "character>NPC>Akara>torso_lod0.model"
Then a window opens looking for *animations so I go into the NPC>Akara>animation folder and select "combined.animations"
Now previously it threw some manner of python error "traceback" now it just says OPEN FOLDER "select folder that containes wanted .GR2 files" Browse OK Cancel
If I just hit ok it says
"Traceback (most recent call last):
file "plugins\python\fmt_GR2reader.py",
kube 4497, in noepuLoadModel
for fileName in os.listdir(MeshDir):
WindowsError: [Error 3] The system cannot find the path specified: ' '
If I instead just point it to my D2 files directory I get (got too lazy to type more error code)
https://ibb.co/Z8rvnVw
Anyway since everyone else has this working. I believe I am doing something wrong so I included all programs and versions (which I re-downloaded freshly today Aug 21st 2021.
Also I'm afraid someone is going to tell me there is a way to highlight and copy my error messages instead of typing them out.
Re: Granny .GR2 Reader plugin for Noesis
Posted: Sun Aug 22, 2021 5:14 am
by Allanoon
I'm in no way "understand" these errors so i'm just assuming:
Did you try with Noesis.exe and not the 64 bit version? To me the x64 version is not loading 'hem models.
Neo210 wrote: ↑Sun Aug 22, 2021 1:52 am
Now previously it threw some manner of python error "traceback" now it just says OPEN FOLDER "select folder that containes wanted .GR2 files" Browse OK Cance
This is because you're using the multifile option, so basically after chosing a mesh and the animation it's telling you "where are all the files i need to combine located?", if you don't give a location it throws an error if you put the folder it should load all the meshes inside and combine them.
You could try disable Multifile (Aka, put MULTIFILE = 0
MIND if you do while noesis is open and running you've to do Tools -> Reload plugin)
and see if it loads the single file
Neo210 wrote: ↑Sun Aug 22, 2021 1:52 am
If I instead just point it to my D2 files directory I get (got too lazy to type more error code)
https://ibb.co/Z8rvnVw
This seems caused by the Smart Detection + Multifile basicaly combining the meshes + skeletons, removing the duplicated skeletons and giving an error for reasons unknown to me. Again try with Multifile option off or with smart detection off and see if it's working.
Also are you getting errors even with other models? As even with those options ^ Akara it's loading fine for me.