Dylancyclone / VMF2OBJ

Convert source-engine VMF files into OBJ files with materials (including brushes, displacements, entities, and models)
MIT License
113 stars 7 forks source link

File not found #23

Closed Devostated closed 3 years ago

Devostated commented 3 years ago

I got the following error while trying to convert a de_Dust2 CSGO map.

Processing entities... 16% [=> ] 603/3751 (0:00:01 / 0:00:05) 603.0/sSEVERE: Fatal error: java.nio.file.NoSuchFileException: C:\Users\Devo\AppData\Local\Temp\vmf2objtemp\models\props\autocombine\de_dust2\dust_windowframe.smd

The tool did create a folder called autocombine, while the VMF uses the path autocombine2. dust_windowframe.smd is also a weird name, there shouldn't be any file called like that since there is a missing word after the frame_.

Dylancyclone commented 3 years ago

Hello! I am unable to reproduce this locally, when I try to convert de_dust2 the conversion succeeds without any errors. I agree, dust_window_frame_.smd is a weird name and it should have something after the last underscore, as I'm seeing here: image

Could you try again on the latest version to see if the problem still occurs? I may have accidentally fixed it :D

https://github.com/Dylancyclone/VMF2OBJ/releases/tag/2.0.0-rc.2

Devostated commented 3 years ago

Same error: Processing entities... 0% [> ] 29/3751 (0:00:00 / 0:00:00) ?/sSEVERE: Fatal error: java.nio.file.NoSuchFileException: C:\Users\Devo\AppData\Local\Temp\vmf2objtemp\models\props\autocombine\de_dust2\dust_windowframe.smd

Processing entities... 16% [=> ] 603/3751 (0:00:01 / 0:00:05) 603.0/s

I will try and decompile again.

Update: It seems to work now. The VMF and extracted model path doesn't use autocombine2 as model path anymore after decompiling again. So far no errors while processing entities.