Jump to content

Recommended Posts

Posted (edited)

The game engine is the same as MSGV/P.T (Fox Engine) but I know those games .gani/.mtar cannot work with PES but kinda similar. I've tested swapping animations files between PES19 and 21. Both are compatible with each other.

There's a "sort of" working tool for exporting mtar (they're kinda like a zip file for gani) to FBX for PES2017 here: https://gist.github.com/Hazuki-san/50e5ad0860d3b5e276eddf41bc2e570f
Partially documented file format here: https://github.com/kapuragu/FoxEngineTemplates/blob/main/gani.bt

The attached file is an animation where player stand still.

Example .gani and .mtar (from PES2019) files can be found below, I've also included necessary files for bones generation in the zip:

gani files.zip

body_anime_file0.zip

Edited by Aoba
added tags
Posted (edited)

There's also this tool, which made by id-daemon but it was made for 32bit so I recompiled it to 64bit.

This tool exports .SMD file by reading MSGV .mtar by loading sna2_main0_def.fmdl as model/armature.
mgs5_gz_human_64bit_fix.zip

Edited by Aoba
typo
  • Aoba changed the title to PES 2019/eFootball PES 2021 .gani/.mtar file
Posted

.gani were controlled by "CobraAndBodyAnimControl" and "GenAnimControl" according to PES2019 disassembly code, but I never researched about file format. This is the first time, so I needed help on this.

  • Engineers
Posted (edited)

EDIT: i made plugin for *.ask fmt_ask.py

structure for *.ask files:

uint32 unk(1)
uint32 num_bones

foreach num_bones:
	4bytes unk(НННН)
	uint32 nameOfs
	int32 parent
	3float positions
	20bytes unks(maybe int zero and quat[float])

names buffer
Edited by Durik256
  • Thanks 1
  • 3 weeks later...
Posted
On 1/5/2024 at 10:24 PM, Durik256 said:

EDIT: i made plugin for *.ask fmt_ask.py

structure for *.ask files:

uint32 unk(1)
uint32 num_bones

foreach num_bones:
	4bytes unk(НННН)
	uint32 nameOfs
	int32 parent
	3float positions
	20bytes unks(maybe int zero and quat[float])

names buffer

unk1 seems to be version because eFootball 2024 has it as 2.

body_anim_skel.zip

  • 5 months later...
Posted
On 1/1/2024 at 4:44 PM, Aoba said:

The game engine is the same as MSGV/P.T (Fox Engine) but I know those games .gani/.mtar cannot work with PES but kinda similar. I've tested swapping animations files between PES19 and 21. Both are compatible with each other.

There's a "sort of" working tool for exporting mtar (they're kinda like a zip file for gani) to FBX for PES2017 here: https://gist.github.com/Hazuki-san/50e5ad0860d3b5e276eddf41bc2e570f
Partially documented file format here: https://github.com/kapuragu/FoxEngineTemplates/blob/main/gani.bt

The attached file is an animation where player stand still.

Example .gani and .mtar (from PES2019) files can be found below, I've also included necessary files for bones generation in the zip:

gani files.zip 15.14 kB · 9 downloads

body_anime_file0.zip 3 MB · 8 downloads

Hello my friend! Do you have any idea how to open pes fdc files? It will be cool if I find a way for it! 

Thanks in advance! 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...