STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,789
IN-GAME
10,060
ONLINE
Founded
26 October, 2013
Language
English
Horsecock 27 Jan, 2016 @ 1:10pm
Compiling qc file ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
I am just now learning modding. I have a model (the name is somehorsedude) and I want to replace coach with this model. I have been following a guide to make mods when i got to the section about compiling. When i use crowbar to compile my qc file, i get this message :
Compiling with Crowbar 0.33.0.0: "C:\Users\user\Desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc" ...

Compiling ".\somehorsedude.qc" ...
qdir: "c:\users\user\desktop\survivor _coach\models\survivors\decompile\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\left4dead2\"
g_path: "somehorsedude.qc"
Building binary model files...
Working on "somehorsedude.qc"
SMD MODEL C:\Users\user\Desktop\survivor _coach\models\survivors\decompile/somehorsedude_coach.smd
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on 'survivors/survivor_coach.mdl'
WARNING: Leaking 1 elements
CDynamicFunction: Loading library 'Kernel32.dll' (75D80000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 779ABEC0
CDynamicFunction: Loading library 'psapi.dll' (77410000)
CDynamicFunction: Lookup of 'GetProcessMemoryInfo' in 'psapi.dll': 774117A0
CDynamicFunction: Closing library 'psapi.dll' (77410000)
CDynamicFunction: Closing library 'Kernel32.dll' (75D80000)
... Compiling ".\somehorsedude.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.33.0.0: "C:\Users\user\Desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc" finished.

I've read some other people's post with similar issues, but the solutions they had dont work for me. Is this something to do with my qc file or a different file? Is there anyway to solve this?
Last edited by ZeqMacaw; 29 Jan, 2016 @ 4:24am
< >
Showing 1-6 of 6 comments
ZeqMacaw 27 Jan, 2016 @ 3:01pm 
Perhaps the mesh has too many triangles or vertices.
Horsecock 27 Jan, 2016 @ 4:59pm 
Originally posted by ZeqMacaw:
Perhaps the mesh has too many triangles or vertices.

I attempted to remove as many vertices as I could and it changed the error message. Now the message says :
Compiling with Crowbar 0.33.0.0: "C:\Users\user\Desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc" ...

Compiling ".\somehorsedude.qc" ...
qdir: "c:\users\user\desktop\survivor _coach\models\survivors\decompile\"
gamedir: "C:\Program Files (x86)\Steam\steamapps\common\left 4 dead 2\left4dead2\"
g_path: "somehorsedude.qc"
Building binary model files...
Working on "somehorsedude.qc"
SMD MODEL C:\Users\user\Desktop\survivor _coach\models\survivors\decompile/somehorsedude_coach.smd
ERROR: c:\users\user\desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc(22): - bad command }
ERROR: Aborted Processing on 'survivors/survivor_coach.mdl'
CDynamicFunction: Loading library 'Kernel32.dll' (75D80000)
CDynamicFunction: Lookup of 'TryEnterCriticalSection' in 'Kernel32.dll': 779ABEC0
CDynamicFunction: Loading library 'psapi.dll' (77410000)
CDynamicFunction: Lookup of 'GetProcessMemoryInfo' in 'psapi.dll': 774117A0
CDynamicFunction: Closing library 'psapi.dll' (77410000)
CDynamicFunction: Closing library 'Kernel32.dll' (75D80000)
... Compiling ".\somehorsedude.qc" finished. Check above for any errors.

... Compiling with Crowbar 0.33.0.0: "C:\Users\user\Desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc" finished.
ZeqMacaw 27 Jan, 2016 @ 6:18pm 
Originally posted by yamizombies:
ERROR: c:\users\user\desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc(22): - bad command }

The ERROR states there is an extra or misplaced closing brace on line 22 or a missing opening brace earlier in the QC file.
Last edited by ZeqMacaw; 27 Jan, 2016 @ 6:19pm
Horsecock 27 Jan, 2016 @ 6:26pm 
Originally posted by ZeqMacaw:
Originally posted by yamizombies:
ERROR: c:\users\user\desktop\survivor _coach\models\survivors\decompile\somehorsedude.qc(22): - bad command }

The ERROR states there is an extra or misplaced closing brace on line 22 or a missing opening brace earlier in the QC file.
Thank you. After looking at the QC file i noticed an extra closing brace. I removed it and was able to finish compiling.
TrinTrin 7 Feb, 2016 @ 4:48am 
I got the same problem, however i may have a bit of trouble if i have too many triangles or vertices

Compiling with Crowbar 0.33.0.0: "C:\Users\TrinTiger\Downloads\R2D2_Enhanced (SFM)\models\ptejack\robots\R2\decompiled 0.33" (folder + subfolders) ...

Compiling ".\r2d2_enhanced.qc" ...
qdir: "c:\users\trintiger\downloads\r2d2_enhanced (sfm)\models\ptejack\robots\r2\decompiled 0.33\"
gamedir: "D:\Programs\Steam\steamapps\common\Half-Life 2\hl2\"
g_path: "r2d2_enhanced.qc"
Building binary model files...
Working on "r2d2_enhanced.qc"
SMD MODEL r2d2_enhanced_reference.smd
VTA MODEL r2d2_enhanced.vta
SMD MODEL r2d2_enhanced_body_vents.smd
SMD MODEL r2d2_enhanced_hatch_door.smd
SMD MODEL r2d2_enhanced_head.smd
SMD MODEL r2d2_enhanced_head_lenses.smd
SMD MODEL r2d2_enhanced_head_vents.smd
SMD MODEL r2d2_enhanced_jetpack_l.smd
SMD MODEL r2d2_enhanced_jetpack_r.smd
SMD MODEL r2d2_enhanced_leg_f.smd
SMD MODEL r2d2_enhanced_leg_foot_l.smd
SMD MODEL r2d2_enhanced_leg_foot_r.smd
SMD MODEL r2d2_enhanced_leg_l.smd
SMD MODEL r2d2_enhanced_leg_r.smd
SMD MODEL r2d2_enhanced_tools_body.smd
SMD MODEL r2d2_enhanced_tools_chest.smd
SMD MODEL r2d2_enhanced_tools_head_arms.smd
SMD MODEL r2d2_enhanced_tools_lightsaber.smd
SMD MODEL r2d2_enhanced_tools_radar.smd
SMD MODEL r2d2_enhanced_anims\Idle.smd
SMD MODEL r2d2_enhanced_anims\Jets_Deploy.smd
SMD MODEL r2d2_enhanced_anims\Jets_Close.smd
SMD MODEL r2d2_enhanced_anims\FLeg_Deploy.smd
SMD MODEL r2d2_enhanced_anims\FLeg_Retract.smd
SMD MODEL r2d2_enhanced_anims\FLeg_Deploy2.smd
SMD MODEL r2d2_enhanced_anims\FLeg_Retract2.smd
Max flex verts 2926
---------------------
writing D:\Programs\Steam\steamapps\common\Half-Life 2\hl2\models/ptejack\robots\r2\r2d2_enhanced.mdl:
bones 29804 bytes (122)
animation x y ips angle
@Idle 0.00 0.00 : 1.#J ( 90.00) 0.0
@Jets_Deploy 0.00 0.00 : 0.00 ( 90.00) 2.0
@Jets_Close 0.00 0.00 : 0.00 ( 90.00) 2.0
@FLeg_Deploy 0.00 0.00 : 0.00 ( 90.00) 2.0
@FLeg_Retract 0.00 0.00 : 0.00 ( 90.00) 2.0
@FLeg_Deploy2 0.00 0.00 : 0.00 ( 90.00) 2.0
@FLeg_Retract2 0.00 0.00 : 0.00 ( 90.00) 2.0
animations 4640 bytes (7 anims) (295 frames) [0:13]
sequences 2000 bytes (7 seq)
ik/pose 3216 bytes
eyeballs 0 bytes (0 eyeballs)
flexes 62396 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
eyeballs 0 bytes (0 eyeballs)
flexes 0 bytes (6 flexes)
textures 1492 bytes
keyvalues 0 bytes
bone transforms 16656 bytes
bone flex driver 0 bytes
collision 0 bytes
total 125740
---------------------
writing D:\Programs\Steam\steamapps\common\Half-Life 2\hl2\models/ptejack\robots\r2\r2d2_enhanced.vvd:
vertices 486240 bytes (10130 vertices)
vertices 973776 bytes (20287 vertices)
vertices 410256 bytes (8547 vertices)
vertices 489120 bytes (10190 vertices)
vertices 334368 bytes (6966 vertices)
vertices 378144 bytes (7878 vertices)
vertices 243984 bytes (5083 vertices)
vertices 243504 bytes (5073 vertices)
vertices 496080 bytes (10335 vertices)
vertices 838656 bytes (17472 vertices)
vertices 839328 bytes (17486 vertices)
vertices 682800 bytes (14225 vertices)
vertices 711072 bytes (14814 vertices)
vertices 905424 bytes (18863 vertices)
ERROR: 'EXCEPTION_ACCESS_VIOLATION' (assert: 1)
ERROR: Aborted Processing on 'ptejack\robots\r2\r2d2_enhanced.mdl'
... Compiling ".\r2d2_enhanced.qc" finished. Check above for any errors.

18863 vertices -_- Can someone please help
TheByteNinjλ 5 Mar, 2016 @ 7:17pm 
You have the .qc file open. Make sure all the files used by the studiomdl are closed before you compile.
Last edited by TheByteNinjλ; 5 Mar, 2016 @ 7:18pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: 27 Jan, 2016 @ 1:10pm
Posts: 6