Closed irishgreencitrus closed 2 years ago
Hello! Sorry about the delay. I believe I have identified the issue and have a fix. It will be a part of the next release, though if you'd like to test it out now you can download the new version here: VMF2OBJ-2.0.0+issue25.zip (just unzip the jar file and run it like normal. v2 also has a GUI you can check out by double-clicking on it :D)
Thanks, i'll check it out when i can
Hi I tried this new version as I was also experiencing errors like the ones op experienced. I get this message when starting the program
SEVERE: Failed to extract tools, do you have permissions?
SEVERE: java.io.FileNotFoundException: D:\Documents\Git\VMF2OBJ\target\VMF2OBJ-2.0.0-rc.2-jar-with-dependencies.jar (지정된 경로를 찾을 수 없습니다)
Starting VMF2OBJ conversion v2.0.0-rc.2
[1/5] Reading VPK file(s) and custom content...
[2/5] Reading geometry...
[3/5] Writing brushes...
Writing Brushes... 0% [> ] 1/490 (0:00:00 / 0:00:01) ?/sSEVERE: Failed to extract material: tile/white_wall_tile003f
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract bump material: tile/white_wall_tile003f_height-ssbump
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract material: metal/black_wall_metal_002a
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract bump material: metal/black_wall_metal_002_height-ssbump
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract material: metal/black_floor_metal_001b
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract bump material: metal/black_floor_tile_001c_height-ssbump
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract material: metal/black_wall_metal_002c
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract bump material: metal/black_wall_metal_002c_height-ssbump
SEVERE: java.lang.NullPointerException
SEVERE: Failed to extract material: concrete/observationwall_001b
SEVERE: java.lang.NullPointerException
SEVERE: Fatal error: java.lang.ArrayIndexOutOfBoundsException: -1
Writing Brushes... 0% [> ] 2/490 (0:00:01 / 0:04:04) 2.0/s
The korean message translates to 'can not find directory'
Also noticed that when attempting to set output file to an existing output file, the process gets interrupted like this:
Failed to parse Material: effects/fizzler_center
Failed to parse Material: effects/fizzler_center
Failed to parse Material: effects/fizzler_l
Failed to parse Material: effects/fizzler_center
Failed to parse Material: effects/fizzler_r
Failed to parse Material: effects/fizzler_center
Writing Brushes... 100% [=========================================================] 490/490 (0:00:22 / 0:00:00) 22.3/s
[4/5] Processing entities...
Material has no texture: glasswindow_observation
Prop has no model? prop_testchamber_door
Material has no texture: glasswindow_observation
Processing entities... 25% [=============> ] 72/282 (0:00:19 / 0:00:55) 3.8/sException in thread "main" java.io.IOException: Cannot run program "C:\Users\locti\AppData\Local\Temp\vmf2objtemp\CrowbarCommandLineDecomp.exe": CreateProcess error=2, 지정된 파일을 찾을 수 없습니다
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.lathrum.VMF2OBJ.App.main(App.java:978)
Caused by: java.io.IOException: CreateProcess error=2, 지정된 파일을 찾을 수 없습니다
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 4 more
Processing entities... 25% [=============> ] 73/282 (0:02:06 / 0:06:01) 0.6/s
Hi! Could you please try out the newest version? https://github.com/Dylancyclone/VMF2OBJ/releases/tag/2.0.0-rc.3 Let me know if that works for you
Not sure what happened here. I've decompiled all the maps from portal 2 using bspsrc and have had moderate success however things keep cropping up and one in particular is really annoying due to it failing to give me any output at all. These errors include:
When i'm converting
sp_a3_transition01.bsp
as well as several errors in other maps likeIt's more likely to be my fault than the tools however i'm not really sure how to solve any of these. If anyone else has encountered these and fixed them please let me know how.