GFD Studio replacing animations

Describe your problem in as much detail as you can. Other users might help.
Post Reply
User avatar
Elvagan
Posts: 17
Joined: Sat May 09, 2020 6:03 pm
Has liked: 5 posts
Been liked: 7 posts

Hi,

I wanted to test the FBX animation import feature of GFD studio but it seems I don't understand how it works :/

My process for testing is to try to replace by an already existing animation before trying to create new ones ^^:
- Open a model and some animations in GFD Studio, let's say c0007_001_00.GMD and af0007_002.GAP for example
- Import the same model (c0007_001_00.GMD) in 3dsMax using the import script (i'm using 3dsMax 2019 and script 0.15 alpha)
- Import an animation file from the same character let's say af0007_051.GAP
- Load an animation (index 0)
- Export as FBX. Here are my export parameters (I used the same as Shrinefox in Rigging video tutorial)
Image

- Choose an animation in GFD Studio and click "replace" (animation 0 in af0007_002.GAP)
- Select my exported FBX
- And I get this GFD Studio unhandled exception

Code: Select all

System.NullReferenceException: Object reference not set to an instance of an object.
   à GFDLibrary.Animations.Conversion.AnimationConverter.ConvertFromAssimpScene(Scene aiScene, Animation aiAnimation, AnimationConverterOptions options)
   à GFDStudio.GUI.DataViewNodes.AnimationViewNode.<InitializeCore>b__27_2(String file)
   à GFDStudio.GUI.DataViewNodes.DataViewNode.ReplaceInternal(String filepath, Type selectedType)
   à GFDStudio.GUI.DataViewNodes.DataViewNode.Replace()
   à GFDStudio.GUI.DataViewNodes.DataViewNode.<>c__DisplayClass80_0.<CreateEventHandler>b__0(Object s, EventArgs e)
   à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   ... and some other stuff from Windows callstack
Did I miss something in the process, or did I do something wrong?

Thanks for any help :)
User avatar
Elvagan
Posts: 17
Joined: Sat May 09, 2020 6:03 pm
Has liked: 5 posts
Been liked: 7 posts

Alright I fixed the problem by debuging GFD sources :)

A "find" result was used either it is null or not and in my case it was null, so it crashed.
It's probably related to my FBX file, i don't know but at least now it works.
Post Reply

Created by ShrineFox. Maintained 2020 - 2024.
Support | Privacy | Terms
This site is NOT affiliated, associated, authorized, endorsed by, or in any way officially connected with Atlus Co., Ltd, Atlus U.S.A., Inc. or Sega Games Co., Ltd, or any of its subsidiaries or its affiliates.