Xycaleth Posted January 14, 2014 Author Posted January 14, 2014 @@DT85 Yep! (See addition below...) Edit: by multiple animations do you mean from multiple FBX files, each containing its own animation?
Tempust85 Posted January 14, 2014 Posted January 14, 2014 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.
Xycaleth Posted January 14, 2014 Author Posted January 14, 2014 I still need to go through the details but it'll be useful if you and maybe a few other modellers can discuss with me how you want the general workflow to go. I'll start up a little private convo today or tomorrow when I have time. Tempust85 likes this
AshuraDX Posted January 14, 2014 Posted January 14, 2014 Just tried this , it wont create a glm for , ito pens closes and basically does nothingI tried runnint it via cmd and the drag&drop method , both didn't workso 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
Mark Lubbers Posted January 14, 2014 Posted January 14, 2014 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?
Xycaleth Posted January 14, 2014 Author Posted January 14, 2014 Just tried this , it wont create a glm for , ito pens closes and basically does nothingI tried runnint it via cmd and the drag&drop method , both didn't workso I guess it has to be the .fbx got any ideas what it might be ? Edit : probably adding error messages would be a good ideaI 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 :/
Tempust85 Posted January 14, 2014 Posted January 14, 2014 I'll test out 2014 with my hoth trooper and see if there's a problem.
Tempust85 Posted January 15, 2014 Posted January 15, 2014 Here's my export dialog for any model I export: In terms of scene setup, just have it as you would for carcass. Both export selected & full export work.
Tempust85 Posted January 16, 2014 Posted January 16, 2014 @@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. Rend2 sorely needs your talents again, good sir.
Xycaleth Posted January 16, 2014 Author Posted January 16, 2014 At least let me iron out the remaining bugs, @@DT85 Tempust85 likes this
Tempust85 Posted January 16, 2014 Posted January 16, 2014 It exports fine for me, no idea why anyone else is having issues.
Xycaleth Posted January 16, 2014 Author Posted January 16, 2014 Another update in the process of being approved. I've updated the FBX SDK I'm using and added more information to the error messages. Tempust85 likes this
AshuraDX Posted January 16, 2014 Posted January 16, 2014 @@Xycaleth Installed that , didn't change anything it still just opens and closes again
Xycaleth Posted January 16, 2014 Author Posted January 16, 2014 @@AshuraDX Which version of Windows are you running and did you install the redistributable?
AshuraDX Posted January 16, 2014 Posted January 16, 2014 @@Xycaleth Windows 7 home Premium 32 bit , and yes I did
Archangel35757 Posted January 16, 2014 Posted January 16, 2014 @@AshuraDX -- how are you running it? By dropping a file on it? Or a .bat file? Or are you trying to double-click the executable?
AshuraDX Posted January 16, 2014 Posted January 16, 2014 I tried various things @@Archangel35757 (.bat , directly via cmd and drag&drop) nothing worked
Xycaleth Posted January 16, 2014 Author Posted January 16, 2014 @@AshuraDX: do you mind running Dependency Walker on the fbx2ghoul2.exe program and see what comes up? It'll tell you what dependencies are missing for you to run the program, if any. And also post a screenshot of what shows up please
Tempust85 Posted January 17, 2014 Posted January 17, 2014 @@Xycaleth Could you add a "press any key to exit" ? This way, we could see any errors using the drag and drop method.
Xycaleth Posted January 17, 2014 Author Posted January 17, 2014 @@DT85 @@AshuraDX You can use a batch file to do that. Something like this should let you drag and drop on to the .bat file, while pausing it as well: fbx2ghoul2.exe %1 pause
Tempust85 Posted January 17, 2014 Posted January 17, 2014 Yeah I do that from a batch file but I meant more for those who don't know how. Maybe instead you could make the compiler pause hang if there's an error?
AshuraDX Posted January 17, 2014 Posted January 17, 2014 @@Xycaleth I actually tried adding pause to my .bat before , sadly it just runs the fbxconverter , closes it and then says press any key to exit , same with your version
Xycaleth Posted January 17, 2014 Author Posted January 17, 2014 @@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
Mark Lubbers Posted January 17, 2014 Posted January 17, 2014 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).
AshuraDX Posted January 17, 2014 Posted January 17, 2014 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 lognote : I'M the noly user at this PC , there is no other user account
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now