Join also our Discord channel! Click here.

Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post questions about game models here, or help out others!
Post Reply
User avatar
Joschka
veteran
Posts: 93
Joined: Fri Aug 09, 2019 3:51 pm
Has thanked: 14 times
Been thanked: 121 times

Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Joschka » Sat Jan 25, 2020 11:19 pm

Grab the tool on my github repository, check the readme for some usage instructions (Link down below).

If you have some questions about assets' extraction ask them on Yretenai's thread here viewtopic.php?f=10&t=21679

Image

Notable features :
-choose a g1m file to import it. Supports g1m files with a separate g1m skeleton (see instructions and options on github). You can also choose a paired g1t file, textures will be placed on the corresponding meshes automatically.
-choose a g1t file to extract all the textures it contains. I only support most common formats for now.
-supports both LE and BE. I added BE after I was done though and only had limited samples so there may be problems but it should work.
-supports cloth types 1 and 2, the cloth vertices will be computed according to the NUNO/NUNV sections. Driver meshes will be rendered as simple white surfaces and physics bones will be rigged to the main skeleton with the corresponding parent bones.

Image

-supports the recent G2A animation format (used in DOA6, FETH and Dissidia NT) and the old G1A format used in older games (even though Atelier Ryza still uses it). For both of them, only skeletal animations are supported for now.

Image

Important note for animations
As the cloth are supposed to be simulated by physics at runtime they won't move at all, which means you'll see cloth pieces staying at their T-Pose position. Same for some character parts such as tails for example. As you can see below only the driver meshes will follow the movement.

Image

(model below has his cloth parts hidden, only showing the drivers)

Image

Use these drivers and whatever method you want to skin the cloth correctly. Rigging to physics bones,actual cloth simulation,data transfer... Be creative.

This plugin should work on most KT games, considering the number of semantics that this format has and the number of games using it, I don't really expect it to be bug free so feel free to report any issue here or on the github repository. Please note that I won't provide any game files

Credits :
-My partner Yretenai who helped me by providing me samples, figuring out the formats with me, developping custom tools and writing binary templates.
-Semory/Howfie who did a phenomenal job figuring out most of the g1m/g1t formats, the gas machine source code was my main reference when working on the plugin.
-Chrrox and MrAdults for their help during the development and their Noesis scripts that I used as reference.
-Acewell for his Noesis scripts for various texture formats that I used as reference.
-VitaSmith for the gust-tools which helped us for g1t
-Ploaj for his work on cloth type 1, which helped me to better understand the computation needed for this cloth type
-Daemon's NT Tool, which output was used as reference for some models.
-Eternity, who we teamed up with to figure out the animation formats.
-PredatorCZ for his help on the animation binary template when we hit a dead end.
-Delguoqing for his research on g1a
-S-ilent, who provided me some BE samples and pushed me to add BE support.
-DeathChaos who provided me samples, tested the plugin and proposed some features.
-Demonslayerx8 for a lot of testing and samples sharing.

Here's the Link as promised
Image

https://github.com/Joschuka/fmt_g1m
Last edited by Joschka on Thu Jan 30, 2020 9:05 pm, edited 6 times in total.

demonslayerx8
veteran
Posts: 83
Joined: Mon Jul 06, 2015 12:48 am
Has thanked: 19 times
Been thanked: 13 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by demonslayerx8 » Sun Jan 26, 2020 4:35 pm

oh this is actually nice, but seems like MUA3 has meshes not lined up with the boneset
Image

If ya like, I can send ya a few samples, maybe some uncompressed files too?

edit:
also doing Merger gives me this
Image

G1M's for Vision (along with G1T) here

lolwatt
veteran
Posts: 125
Joined: Mon Sep 22, 2014 1:23 am
Has thanked: 63 times
Been thanked: 10 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by lolwatt » Sun Jan 26, 2020 5:29 pm

May I know what games have you tested your tool with?

I'm interested in testing the ones you did not try yet, possibly increasing your compatibility list. :P
This is pretty nice

User avatar
Joschka
veteran
Posts: 93
Joined: Fri Aug 09, 2019 3:51 pm
Has thanked: 14 times
Been thanked: 121 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Joschka » Sun Jan 26, 2020 6:04 pm

demonslayerx8 wrote:
Sun Jan 26, 2020 4:35 pm
oh this is actually nice, but seems like MUA3 has meshes not lined up with the boneset
Image

If ya like, I can send ya a few samples, maybe some uncompressed files too?

edit:
also doing Merger gives me this
Image

G1M's for Vision (along with G1T) here
Thank you for the samples, seems like some blendweight issue. I probably missed some semantics, will take a look at the files when I have some time.

Merging works for me, the above error happens when you don't provide a valid skeleton.
lolwatt wrote:
Sun Jan 26, 2020 5:29 pm
May I know what games have you tested your tool with?

I'm interested in testing the ones you did not try yet, possibly increasing your compatibility list. :P
This is pretty nice
Pretty much all of my testing samples were from Fire emblem three houses, dissidia NT and hyrule warriors. I also tried a few atelier models here and there, feel free to report any issue you have with any game with the tool so I can add support to it. The game I'm currently focusing on is DOA6, most models work fine but there are some issues.

demonslayerx8
veteran
Posts: 83
Joined: Mon Jul 06, 2015 12:48 am
Has thanked: 19 times
Been thanked: 13 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by demonslayerx8 » Sun Jan 26, 2020 6:56 pm

lolwatt wrote:
Sun Jan 26, 2020 5:29 pm
May I know what games have you tested your tool with?

I'm interested in testing the ones you did not try yet, possibly increasing your compatibility list. :P
This is pretty nice
I've been testing it thoroughly, and here's my list
-Warriors All Stars[PC]
-Warriors Orochi 4[Switch]
-Hyrule Warriors[WiiU]/Definitive Edition[Switch]
--->Animations work
-Fire Emblem Warriors[Switch]
--->Animations work; G2A for Body, G1A for face
-Marvel Ultimate Alliance 3[Switch] (main model needs to be aligned to boneset tho)
--->Animations work; G2A Format
-Fire Emblem Three Houses[Switch]
--->Animations work; G2A Format
-One Piece Pirate Warriors 3[PC] (same issue as MUA3)
-Samurai Warriors 4-II[PC]
-Berserk and the Band of the Hawk[PC] (same issue as MUA3, some models have weight issue's)
--->Animations work; G2A Format
Last edited by demonslayerx8 on Tue Jan 28, 2020 10:11 pm, edited 1 time in total.

Allanoon
advanced
Posts: 52
Joined: Sat Apr 14, 2012 9:00 pm
Has thanked: 45 times
Been thanked: 12 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Allanoon » Mon Jan 27, 2020 12:29 am

Fantastic Tool, thank you!
EDITED: It works with Toukiden Kiwami (meshes, anim, texture too i supose), will try with Toukiden 2 too, for big bosses you need to enable manual skeleton loading or it'll throw an error (just needed to read better ^^")

Question 2: is there an "easy" way to identify the animation or the best bet is "load everything"? xD

User avatar
Joschka
veteran
Posts: 93
Joined: Fri Aug 09, 2019 3:51 pm
Has thanked: 14 times
Been thanked: 121 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Joschka » Mon Jan 27, 2020 2:27 am

Allanoon wrote:
Mon Jan 27, 2020 12:29 am
Fantastic Tool, thank you!
EDITED: It works with Toukiden Kiwami (meshes, anim, texture too i supose), will try with Toukiden 2 too, for big bosses you need to enable manual skeleton loading or it'll throw an error (just needed to read better ^^")

Question 2: is there an "easy" way to identify the animation or the best bet is "load everything"? xD
Glad you like it, thank you for testing the script on these games.

Unfortunately most KT games won't have filenames so yeah I'd the say the best solution for now if your extractor doesn't provide some would be :
-load whole folders of animations
-check the results on preview
-when you see an animation you like, pause and check at which frame you are (top right)
-open the data viewer (tool/data viewer) and check the Animation section, you'll have the start and end frame of each animation, enabling you to get the animation name
-put all of the animations you want in a folder, load them all, export

Good luck !

Crazy31139
advanced
Posts: 49
Joined: Fri Dec 02, 2016 5:53 pm
Has thanked: 114 times
Been thanked: 9 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Crazy31139 » Mon Jan 27, 2020 8:42 pm

Hello, need help, maybe i dont understand
i use latest version Noesis4417, copy two files .py in noesisv4417\plugins\python
try star noesis.exe and see this error
tool_merge.py and fmt_g1m.py, same error too
You do not have the required permissions to view the files attached to this post.

User avatar
chrrox
Moderator
Posts: 2564
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1308 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by chrrox » Mon Jan 27, 2020 10:09 pm

you did not download the files you saved the webpage of the files.

Darkhowlings
veteran
Posts: 104
Joined: Mon Sep 01, 2014 8:33 am
Has thanked: 50 times
Been thanked: 4 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Darkhowlings » Tue Jan 28, 2020 8:27 am

Small question:
Why when I load a model from NT, the texture come all like in lines? Beside that UV actually work, just the texture come out like that (and still don't know were the animation are lol, but, me ok)

User avatar
chrrox
Moderator
Posts: 2564
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1308 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by chrrox » Tue Jan 28, 2020 10:28 am

what version are you using ps4 or pc?

Darkhowlings
veteran
Posts: 104
Joined: Mon Sep 01, 2014 8:33 am
Has thanked: 50 times
Been thanked: 4 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Darkhowlings » Tue Jan 28, 2020 2:41 pm

chrrox wrote:
Tue Jan 28, 2020 10:28 am
what version are you using ps4 or pc?
PS4.
Wait, now it is possible to unpack Steam version?

User avatar
Yretenai
advanced
Posts: 76
Joined: Tue Jan 28, 2020 4:39 pm
Has thanked: 3 times
Been thanked: 83 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Yretenai » Tue Jan 28, 2020 4:42 pm

Darkhowlings wrote:
Tue Jan 28, 2020 2:41 pm
chrrox wrote:
Tue Jan 28, 2020 10:28 am
what version are you using ps4 or pc?
PS4.
Wait, now it is possible to unpack Steam version?
You can dump textures from memory.


On an aside: I noticed something interesting with G1T textures, if people could PM me G1T samples from different platforms I'd appreciate it.

Allanoon
advanced
Posts: 52
Joined: Sat Apr 14, 2012 9:00 pm
Has thanked: 45 times
Been thanked: 12 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Allanoon » Wed Jan 29, 2020 12:31 pm

Hi Again, I tested the program with some other games~
So yeah Toukiden 2 perfectly works too!
The Program also work with BladeStorm Nightmare (unpacked with Steven's gas machine)
It also work with Nioh, i can load Textures and models after extracting with daemon1 tool, Animations seems to be working too (they're packed together i manually extracted them with HxD). Unfortunately the bms script doesn't extract everything and everything is a mess so i stopped looking.

It partially works with Deception IV Blood Ties PS3 (Kagero Dark Side Princess with Steven's machine), the meshes are loaded but require to load the skeleton, Texture throws this error (although they can be extracted with Steven's machine i guess)
Image
There some G1A anim and various G2A too, both give errors when trying to load them
G1A
Image
G2A
Image
If You're interestend in taking a look i can up them.

And now 2 OT questiong regarding Hyrule Warriors:
1- Could someone point me out how to extract animations properly? I decrypt the file with daemon1 tool, Then i used the same method of Nioh, Cut/Paste in HxD but manualy doing so to extract 1xx file is... ugly :D
2- I noticed that out of the 186 animations extracted (Lizalfos enemy) only the 1st 95 works, the others area loaded but break the model are they like... additive animations or.. what? :o

User avatar
Yretenai
advanced
Posts: 76
Joined: Tue Jan 28, 2020 4:39 pm
Has thanked: 3 times
Been thanked: 83 times

Re: Noesis g1m/g1t importer with animations (FETH, Dissidia, DOA6, FEW, HW...)

Post by Yretenai » Wed Jan 29, 2020 4:11 pm

Allanoon wrote:
Wed Jan 29, 2020 12:31 pm
1- Could someone point me out how to extract animations properly? I decrypt the file with daemon1 tool, Then i used the same method of Nioh, Cut/Paste in HxD but manualy doing so to extract 1xx file is... ugly :D
Use my tool Cethleann https://github.com/healingbrew/Cethlean ... ts/1421065, drag the decrypted motion bin.gz file into Cethleann.Unbundler.exe.
Read more about it here viewtopic.php?f=10&t=21679

Post Reply