STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
388
I SPIL
2,219
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Help > Trådoplysninger
Can't Import DMX Animation from HL:Alyx S2FM
Hello:

I made a pose as an animation from Source 2 Filmmaker in HL:Alyx, and export the DMX file as either "Animation" or "Taunt Animation".

When I try to import the DMX to my model in Blender, it failed to apply on my model and this show up at console:

Oprindeligt skrevet af PanzerDame:

DMX IMPORTER: now working on stand_attention.dmx
- Loading DMX...
Traceback (most recent call last):
File "C:\Users\<my name>\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\io_scene_valvesource\datamodel.py", line 985, in load
read_element(line[0], line_tracker)
File "C:\Users\<my name>\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\io_scene_valvesource\datamodel.py", line 872, in read_element
return element_chain.pop()
^^^^^^^^^^^^^^^^^^^
IndexError: pop from empty list

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\<my name>\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\io_scene_valvesource\import_smd.py", line 84, in execute
self.num_files_imported = self.readDMX(filepath, self.properties.upAxis, self.properties.rotMode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<my name>\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\io_scene_valvesource\import_smd.py", line 1253, in readDMX
dm = datamodel.load(filepath)
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\<my name>\AppData\Roaming\Blender Foundation\Blender\4.4\scripts\addons\io_scene_valvesource\datamodel.py", line 987, in load
raise DatamodelParseError("Parsing of {} failed on line {}".format(path, line_tracker.line)) from ex
io_scene_valvesource.datamodel.DatamodelParseError: Parsing of C:\Program Files (x86)\Steam\steamapps\common\Half-Life Alyx\content\hlvr_addons\source_filmmaker_2\models\infinity_crown_delia_20230513\animation_S2FM\stand_attention.dmx failed on line 25

I do not know what this message meaning.
Should I do the pose at Source 1 Filmmaker instead?

Thanks,
PanzerDame
< >
Viser 1-5 af 5 kommentarer
Artfunkel 19. juni kl. 0:31 
Source Filmmaker has a different animation format from the animations that you compile into a model for use in a normal Source game.

However, this is a DMX parsing error, and that at least should work. Please upload the DMX file you are trying to import.
Zappy 19. juni kl. 3:28 
Oprindeligt skrevet af Artfunkel:
Source Filmmaker has a different animation format from the animations that you compile into a model for use in a normal Source game.
I don't know about Source 2, but for Source 1, Source Filmmaker's StudioMDL can successfully compile DMX animations from Source Filmmaker's [right-click an animation set] > "Export" > "Animation" (both ASCII and non-ASCII) and "Taunt Animation" (both Z-up and Y-up) options, and Team Fortress 2's StudioMDL can successfully compile DMX animations from the "Taunt Animation" (both Z-up and Y-up) option. (In fact, the "Taunt Animation" option was explicitly made for that very purpose!)

Zip file containing all five export types for Source 1, for use with Source Filmmaker's (or Team Fortress 2's) "player/hwm/medic.mdl" model, simply moving/stretching the left arm (and some flexes, which are skipped by StudioMDL): https://drive.google.com/file/d/1mzDdQYnXiPGf2ZXk4Cr1ZoafiH4ML6HH

(Not even Source Filmmaker's StudioMDL can compile the "Facial Animation" type - but there's still an argument to be made that it's an official DMX animation format, and as such could be supported to better integrate with official Source tools anyway. I wouldn't worry about that one, though.)
Sidst redigeret af Zappy; 19. juni kl. 3:53
PanzerDame 19. juni kl. 22:22 
Sorry for late reply. (Initial posting is close to my sleep time)
Thank you for you two gentlemen (or ladies) help.

I just remembered that the Taunt Animation menu in S2FM shown StudioMDL is missing, and the StudioMDL is nowhere be found in the entire Half-Life: Alyx folder. I believe this might be the cause that my pose DMX cannot be import into Blender.

i am using the Source 1 Filmmaker for now, as my previous posing does work in Blender from there. Would have to return to type those QC for my custom model, but this seems the only choice for now.

Oprindeligt skrevet af Artfunkel:
However, this is a DMX parsing error, and that at least should work. Please upload the DMX file you are trying to import.
Do you still need my DMX file? Should I sent it via DM?
I can send you along with my model DMX as well.
Artfunkel 20. juni kl. 6:58 
Yes, I would still like the DMX file.
< >
Viser 1-5 af 5 kommentarer
Per side: 1530 50

Alle diskussioner > Help > Trådoplysninger