Closed nonunknown closed 3 years ago
OK I tried for a little time here, and Got the plugin's Crowbar working by typing the command this following way:
Duplicate of #67. Seems that some models cause freezes on Linux (as part of .vmf or .agr import), but other things should work. I will add a mention of this in the readme. Could you try manually importing the model that freezes the import progress using the enhanced mdl importer to see if the model causes the freeze?
I've made tests, and it freezes for everyone, but using the Crowbar manually works fine!
Does it freeze if you use the bundled CrowbarCommandLineDecomp with the -o flag:
wine CrowbarCommandLineDecomp.exe -p "./test.mdl" -o "./test_out"
works fine !
Have you tried specifically with the model that causes the freeze (overpass_railing_sign)? You would need to manually extract it, or alternatively specify a cache path in the preference, which makes the addon extract the .mdl there (that should happen before it freezes).
this test.mdl is it, I noticed something, everytime blender freezes when decompiling the model, if I press CTRL-C
to interrupt, it shows the last decompiled model in blender, so I'm thinking maybe its freezing after the decompilation!
I was thinking in a solution, maybe calling a .sh
to run all necessary decompilation? and then it returns to python if it was successful?
@lasa01 did you hear of this one? maybe its possible to compile it for linux too: https://github.com/UltraTechX/Crowbar-Command-Line
Yes, that's the one the addon is using. I haven't tried compiling for Linux, but it would probably require a lot of changes in the code. While that version is cli-only, I think all the original Crowbar code is still there, just unused.
The python code shouldn't have anything that would cause it to freeze, maybe the model it shows is the previous successfully imported model. You could check if there is a wine process still running when Blender freezes, if there is it's probably wine that is freezing. In that case you could also see what happens if you kill the wine process.
What if I try to build for linux and give you the bin?
Sure, if you succeed I'd also appreciate instructions about what you had to do.
@lasa01 FINALLY!!!
I've converted Crowbar's Decompilation to C# and its working, please test it and contact me, then you can please update your plugin? I really need it!!!
Tested it quickly and it seems to work, thanks. Published a new Linux release.
Describe the bug I'm loading a csgo's map called de_overpass (tried with de_inferno too) and both get stuck at step 3/12 whem importing models.
To Reproduce Steps to reproduce the behavior: same as this vid tut: https://www.youtube.com/watch?v=G1_tGNeAo74
Expected behavior Import the map and see everything of it.
Related files https://drive.google.com/file/d/1vPGOTO46RWU5Wl4eBOzxDmG6khffpEyf/view?usp=sharing
Details (please complete the following information): CSGO Manjaro Linux Gnome Addon version 0.6.4
Log
Aditional Context
Since is related to models, and I'm under linux, I think the problem is related to
importqc.py
since I saw you use a version of crowbar for windows, just want to mention that I have crowbar on my manjaro and it works fine with wine. so this is just a kick into the air.