Jump to content

FBX to GLM converter


Recommended Posts

Yeah. Basically what carcass does with multiple xsi files. Question: How are we going to write out animation.cfg for this new GLA other than by hand? The carcass method uses assimilate and that works with .xsi &.car files.

Link to comment

Just tried this , it wont create a glm for , ito pens closes and basically does nothing

I tried runnint it via cmd and the drag&drop method , both didn't work

so I guess it has to be the .fbx got any ideas what it might be ?

 

Edit : probably adding error messages would be a good idea

Link to comment

I'm trying to get it to work with an exported .fbx (binary ver. 2014 with up axis z-up) from 3ds max 2014 x64, but all I get is this:

D:\base\models\players\_humanoid>fbx2ghoul2 -anim _humanoid.gla xizor.fbx

Converting xizor.fbx to GLM.
Using _humanoid.gla for skeleton.
Failed to create GLM file model.glm.

D:\base\models\players\_humanoid>

The _humanoid.gla file is in the same folder. What am I doing wrong?

Link to comment

Just tried this , it wont create a glm for , ito pens closes and basically does nothing

I tried runnint it via cmd and the drag&drop method , both didn't work

so I guess it has to be the .fbx got any ideas what it might be ?

 

Edit : probably adding error messages would be a good idea

I have an error message for every possible exit from the program, so I'm not sure what's happening in your case. When you run it via command line, does it exit with no message at all? It might be that you need the VC++ 2012 Redistributable.

 

I'm trying to get it to work with an exported .fbx (binary ver. 2014 with up axis z-up) from 3ds max 2014 x64, but all I get is this:

D:\base\models\players\_humanoid>fbx2ghoul2 -anim _humanoid.gla xizor.fbx

Converting xizor.fbx to GLM.
Using _humanoid.gla for skeleton.
Failed to create GLM file model.glm.

D:\base\models\players\_humanoid>

The _humanoid.gla file is in the same folder. What am I doing wrong?

Can you describe how your Max scene is organised? I've assumed a lot about how the scene is laid out, so it might be your scene is organized differently from how the program currently wants it :/

Link to comment

@@Xycaleth

 

While being able to make animations with this converter would be great, you've already done what the community really needed - being able to get player models ingame from any 3D package that supports FBX. :P

 

 

Rend2 sorely needs your talents again, good sir. :D

Link to comment

@@AshuraDX Doesn't look very good :/ Try opening Dependency Walker again, and then press F7. You should see a dialog window pop up. Just press okay, and it'll try to run the converter. Can you copy/paste the contents of the log window after you've run it into a post please? :)

 

We will get this working eventually :P

Link to comment

Xycaleth, my max scene contains a simple player model, using a poly, uvw and skin modifier on all the geometry. Everything is weighted and linked. Compiling with carcass works. I still haven't figured out the problem with your fbx converter.
 
 
I just tried Dependency Walker and got one error: 'GetProcAddress(0x76860000 [KERNEL32.DLL], "GetCurrentPackageId") called from "MSVCR110.DLL" at address 0x6754FDFA and returned NULL. Error: Kan opgegeven procedure niet vinden (127).'
 

--------------------------------------------------------------------------------
Starting profile on 17-1-2014 at 10:04:42

Operating System: Microsoft Windows NT/2000/XP/2003/Vista based Ultimate (64-bit), version 6.01.7601 Service Pack 1
Program Executable: d:\base\models\players\_humanoid\FBX2GHOUL2.EXE
Program Arguments: -anim _humanoid.gla model.fbx
Starting Directory: D:\base\models\players\_humanoid\
Search Path: C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files (x86)\Autodesk\Backburner\;C:\Program Files (x86)\Common Files\Autodesk Shared\;C:\Program Files (x86)\CMake 2.8\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files\Common Files\Microsoft Shared\Windows Live

Options Selected:
     Simulate ShellExecute by inserting any App Paths directories into the PATH environment variable.
     Log DllMain calls for process attach and process detach messages.
     Hook the process to gather more detailed dependency information.
     Log LoadLibrary function calls.
     Log GetProcAddress function calls.
     Log debug output messages.
     Automatically open and profile child processes.
--------------------------------------------------------------------------------

Started "FBX2GHOUL2.EXE" (process 0x13DC) at address 0x00EE0000.  Successfully hooked module.
Loaded "NTDLL.DLL" at address 0x771A0000.  Successfully hooked module.
Loaded "KERNEL32.DLL" at address 0x76860000.  Successfully hooked module.
Loaded "KERNELBASE.DLL" at address 0x75E70000.  Successfully hooked module.
DllMain(0x75E70000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNELBASE.DLL" called.
DllMain(0x75E70000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNELBASE.DLL" returned 1 (0x1).
DllMain(0x76860000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" called.
DllMain(0x76860000, DLL_PROCESS_ATTACH, 0x00000000) in "KERNEL32.DLL" returned 1 (0x1).
Injected "DEPENDS.DLL" at address 0x08370000.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_ATTACH, 0x00000000) in "DEPENDS.DLL" returned 1 (0x1).
Loaded "MSVCP110.DLL" at address 0x67590000.  Successfully hooked module.
Loaded "MSVCR110.DLL" at address 0x674B0000.  Successfully hooked module.
Loaded "ADVAPI32.DLL" at address 0x75EC0000.  Successfully hooked module.
Loaded "MSVCRT.DLL" at address 0x76740000.  Successfully hooked module.
Loaded "SECHOST.DLL" at address 0x75FF0000.  Successfully hooked module.
Loaded "RPCRT4.DLL" at address 0x76650000.  Successfully hooked module.
Loaded "SSPICLI.DLL" at address 0x74BC0000.  Successfully hooked module.
Loaded "CRYPTBASE.DLL" at address 0x74BB0000.  Successfully hooked module.
Entrypoint reached. All implicit modules have been loaded.
Loaded "APPHELP.DLL" at address 0x720E0000.  Successfully hooked module.
DllMain(0x720E0000, DLL_PROCESS_ATTACH, 0x00000000) in "APPHELP.DLL" called.
DllMain(0x720E0000, DLL_PROCESS_ATTACH, 0x00000000) in "APPHELP.DLL" returned 1 (0x1).
DllMain(0x674B0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCR110.DLL" called.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FlsAlloc") called from "MSVCR110.DLL" at address 0x6754FBE6 and returned 0x76874ECB.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FlsFree") called from "MSVCR110.DLL" at address 0x6754FBF9 and returned 0x7687353F.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FlsGetValue") called from "MSVCR110.DLL" at address 0x6754FC0C and returned 0x76871252.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FlsSetValue") called from "MSVCR110.DLL" at address 0x6754FC1F and returned 0x768741A8.
GetProcAddress(0x76860000 [KERNEL32.DLL], "InitializeCriticalSectionEx") called from "MSVCR110.DLL" at address 0x6754FC32 and returned 0x76874CC8.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CreateSemaphoreExW") called from "MSVCR110.DLL" at address 0x6754FC45 and returned 0x768F41C5.
GetProcAddress(0x76860000 [KERNEL32.DLL], "SetThreadStackGuarantee") called from "MSVCR110.DLL" at address 0x6754FC58 and returned 0x7687D2BF.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CreateThreadpoolTimer") called from "MSVCR110.DLL" at address 0x6754FC6B and returned 0x7688EE16.
GetProcAddress(0x76860000 [KERNEL32.DLL], "SetThreadpoolTimer") called from "MSVCR110.DLL" at address 0x6754FC7E and returned 0x771F308E.
GetProcAddress(0x76860000 [KERNEL32.DLL], "WaitForThreadpoolTimerCallbacks") called from "MSVCR110.DLL" at address 0x6754FC91 and returned 0x7720DC7A.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CloseThreadpoolTimer") called from "MSVCR110.DLL" at address 0x6754FCA4 and returned 0x7720DAED.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CreateThreadpoolWait") called from "MSVCR110.DLL" at address 0x6754FCB7 and returned 0x7688F020.
GetProcAddress(0x76860000 [KERNEL32.DLL], "SetThreadpoolWait") called from "MSVCR110.DLL" at address 0x6754FCCA and returned 0x771E4D23.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CloseThreadpoolWait") called from "MSVCR110.DLL" at address 0x6754FCDD and returned 0x772133A5.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FlushProcessWriteBuffers") called from "MSVCR110.DLL" at address 0x6754FCF0 and returned 0x771C0B9C.
GetProcAddress(0x76860000 [KERNEL32.DLL], "FreeLibraryWhenCallbackReturns") called from "MSVCR110.DLL" at address 0x6754FD03 and returned 0x7727FF2C.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetCurrentProcessorNumber") called from "MSVCR110.DLL" at address 0x6754FD16 and returned 0x77217149.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetLogicalProcessorInformation") called from "MSVCR110.DLL" at address 0x6754FD29 and returned 0x768F4791.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CreateSymbolicLinkW") called from "MSVCR110.DLL" at address 0x6754FD3C and returned 0x768ECCE9.
GetProcAddress(0x76860000 [KERNEL32.DLL], "SetDefaultDllDirectories") called from "MSVCR110.DLL" at address 0x6754FD4F and returned 0x75E8207D.
GetProcAddress(0x76860000 [KERNEL32.DLL], "EnumSystemLocalesEx") called from "MSVCR110.DLL" at address 0x6754FD62 and returned 0x768F427F.
GetProcAddress(0x76860000 [KERNEL32.DLL], "CompareStringEx") called from "MSVCR110.DLL" at address 0x6754FD75 and returned 0x768F46E1.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetDateFormatEx") called from "MSVCR110.DLL" at address 0x6754FD88 and returned 0x7690664E.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetLocaleInfoEx") called from "MSVCR110.DLL" at address 0x6754FD9B and returned 0x768F4781.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetTimeFormatEx") called from "MSVCR110.DLL" at address 0x6754FDAE and returned 0x769065C9.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetUserDefaultLocaleName") called from "MSVCR110.DLL" at address 0x6754FDC1 and returned 0x768F47F1.
GetProcAddress(0x76860000 [KERNEL32.DLL], "IsValidLocaleName") called from "MSVCR110.DLL" at address 0x6754FDD4 and returned 0x768F4811.
GetProcAddress(0x76860000 [KERNEL32.DLL], "LCMapStringEx") called from "MSVCR110.DLL" at address 0x6754FDE7 and returned 0x768F4821.
GetProcAddress(0x76860000 [KERNEL32.DLL], "GetCurrentPackageId") called from "MSVCR110.DLL" at address 0x6754FDFA and returned NULL. Error: Kan opgegeven procedure niet vinden (127).
DllMain(0x674B0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCR110.DLL" returned 1 (0x1).
DllMain(0x67590000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCP110.DLL" called.
DllMain(0x67590000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCP110.DLL" returned 1 (0x1).
DllMain(0x76740000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCRT.DLL" called.
DllMain(0x76740000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "MSVCRT.DLL" returned 1 (0x1).
DllMain(0x74BB0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "CRYPTBASE.DLL" called.
DllMain(0x74BB0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "CRYPTBASE.DLL" returned 1 (0x1).
DllMain(0x74BC0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "SSPICLI.DLL" called.
DllMain(0x74BC0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "SSPICLI.DLL" returned 1 (0x1).
DllMain(0x76650000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "RPCRT4.DLL" called.
DllMain(0x76650000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "RPCRT4.DLL" returned 1986438913 (0x7666A701).
DllMain(0x75FF0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "SECHOST.DLL" called.
DllMain(0x75FF0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "SECHOST.DLL" returned 1 (0x1).
DllMain(0x75EC0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "ADVAPI32.DLL" called.
DllMain(0x75EC0000, DLL_PROCESS_ATTACH, 0x00CBFBF0) in "ADVAPI32.DLL" returned 1 (0x1).
DllMain(0x720E0000, DLL_PROCESS_DETACH, 0x00000000) in "APPHELP.DLL" called.
DllMain(0x720E0000, DLL_PROCESS_DETACH, 0x00000000) in "APPHELP.DLL" returned 1 (0x1).
Unloaded "APPHELP.DLL" at address 0x720E0000.
DllMain(0x75EC0000, DLL_PROCESS_DETACH, 0x00000001) in "ADVAPI32.DLL" called.
DllMain(0x75EC0000, DLL_PROCESS_DETACH, 0x00000001) in "ADVAPI32.DLL" returned 1 (0x1).
DllMain(0x75FF0000, DLL_PROCESS_DETACH, 0x00000001) in "SECHOST.DLL" called.
DllMain(0x75FF0000, DLL_PROCESS_DETACH, 0x00000001) in "SECHOST.DLL" returned 1 (0x1).
DllMain(0x76650000, DLL_PROCESS_DETACH, 0x00000001) in "RPCRT4.DLL" called.
DllMain(0x76650000, DLL_PROCESS_DETACH, 0x00000001) in "RPCRT4.DLL" returned 1 (0x1).
DllMain(0x74BC0000, DLL_PROCESS_DETACH, 0x00000001) in "SSPICLI.DLL" called.
DllMain(0x74BC0000, DLL_PROCESS_DETACH, 0x00000001) in "SSPICLI.DLL" returned 1 (0x1).
DllMain(0x74BB0000, DLL_PROCESS_DETACH, 0x00000001) in "CRYPTBASE.DLL" called.
DllMain(0x74BB0000, DLL_PROCESS_DETACH, 0x00000001) in "CRYPTBASE.DLL" returned 1 (0x1).
DllMain(0x76740000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCRT.DLL" called.
DllMain(0x76740000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCRT.DLL" returned 1 (0x1).
DllMain(0x67590000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCP110.DLL" called.
DllMain(0x67590000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCP110.DLL" returned 1 (0x1).
DllMain(0x674B0000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCR110.DLL" called.
DllMain(0x674B0000, DLL_PROCESS_DETACH, 0x00000001) in "MSVCR110.DLL" returned 1 (0x1).
DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "DEPENDS.DLL" called.
DllMain(0x08370000, DLL_PROCESS_DETACH, 0x00000001) in "DEPENDS.DLL" returned 1 (0x1).
DllMain(0x76860000, DLL_PROCESS_DETACH, 0x00000001) in "KERNEL32.DLL" called.
DllMain(0x76860000, DLL_PROCESS_DETACH, 0x00000001) in "KERNEL32.DLL" returned 1 (0x1).
DllMain(0x75E70000, DLL_PROCESS_DETACH, 0x00000001) in "KERNELBASE.DLL" called.
DllMain(0x75E70000, DLL_PROCESS_DETACH, 0x00000001) in "KERNELBASE.DLL" returned 1 (0x1).
Exited "FBX2GHOUL2.EXE" (process 0x13DC) with code 1 (0x1).

Link to comment

Starting profile on 17.01.2014 at 15:45:44

Operating System: Microsoft Windows NT/2000/XP/2003/Vista based Home Premium (32-bit), version 6.01.7601 Service Pack 1
Program Executable: c:\base\FBX2GHOUL2.EXE
Program Arguments:
Starting Directory: c:\base\
Search Path: C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Common Files\Autodesk Shared\;C:\Program Files\Autodesk\Backburner\;C:\Program Files\Common Files\Microsoft Shared\Windows Live

Options Selected:
     Simulate ShellExecute by inserting any App Paths directories into the PATH environment variable.
     Log DllMain calls for process attach and process detach messages.
     Log DllMain calls for all other messages, including thread attach and thread detach.
     Hook the process to gather more detailed dependency information.
     Log LoadLibrary function calls.
     Log GetProcAddress function calls.
     Log first chance exceptions.
     Log debug output messages.
     Use full paths when logging file names.
     Log a time stamp with each line of log.
     Automatically open and profile child processes.
--------------------------------------------------------------------------------

00:00:00.000: Failure starting the process. Der angeforderte Vorgang erfordert erhhte Rechte (740).(rough translation : The requested Process requires extended rights)


Well , that's my log

note : I'M the noly user at this PC , there is no other user account

Link to comment

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...