Error opening <dir> (Check for write enable), but the directory exists?
4 replies, posted
Hi so I am experiencing this error... (trying to compile a model from tutorial here [url]https://www.youtube.com/watch?v=LWvAkJryAhI[/url])
[CODE]
Compiling with Crowbar 0.44.0.0: "C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.qc" ...
Compiling ".\cube.qc" ...
qdir: "c:\users\krejzifik\desktop\gmmodelling\curproject\"
gamedir: "E:\Steamgrynadfolder\Steamgry\steamapps\common\GarrysMod\garrysmod\"
g_path: "cube.qc"
Building binary model files...
Working on "cube.qc"
SMD MODEL cube.smd
SMD MODEL anims\cube_idle.smd
SMD MODEL cube_phys.smd
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Model has 2-dimensional geometry (less than 0.500 inches thick on any axis)!!!
WARNING: Error with convex elements of cube_phys.smd, building single convex!!!!
Model has 1 convex sub-parts
Collision model completed.
Computed Mass: 9.80 kg
Nazwa pliku, nazwa katalogu lub skˆadnia etykiety woluminu jest niepoprawna.
---------------------
writing E:\Steamgrynadfolder\Steamgry\steamapps\common\GarrysMod\garrysmod\models/C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.mdl:
Error opening E:\Steamgrynadfolder\Steamgry\steamapps\common\GarrysMod\garrysmod\models/C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.mdl! (Check for write enable)
... Compiling ".\cube.qc" finished. Check above for any errors.
... Compiling with Crowbar 0.44.0.0: "C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.qc" finished.
[/CODE]
but the file paths are existing (as the source wiki says "Studiomdl won't create folders that don't exist; you must manually create a path to your .mdl before compiling.")
here is qc file
[CODE]
$modelname "C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.mdl"
$scale 1
$model "cube" "cube.smd"
$surfaceprop "metal"
$cdmaterials "materials\"
$sequence idle "anims\cube_idle.smd" fps 1
$collisionmodel "cube_phys.smd" {
$automass
$inertia 1
$damping 0
$rotdamping 0
$concave
}
[/CODE]
[QUOTE]E:\Steamgrynadfolder\Steamgry\steamapps\common\GarrysMod\garrysmod\models/C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.mdl[/QUOTE]
This is not a valid directory. You have entered it wrong.
[QUOTE=James xX;52653719]This is not a valid directory. You have entered it wrong.[/QUOTE]
erm tf? [url]http://imgur.com/a/QLHTM[/url]
[QUOTE=matik04;52653737]erm tf? [url]http://imgur.com/a/QLHTM[/url][/QUOTE]
[quote]
$modelname "C:\Users\Krejzifik\Desktop\gmmodelling\curproject\cube.mdl"
[/quote]
$modelname is a relative path.
[QUOTE=James xX;52653771]$modelname is a relative path.[/QUOTE]
Thank you
[editline]6th September 2017[/editline]
[QUOTE=James xX;52653771]$modelname is a relative path.[/QUOTE]
Now after compiling and creating a texture I get this error in console
[CODE]
Model missing: models/cube.mdl
[/CODE]
qc
[CODE]
$modelname "cube.mdl"
$scale 1
$body 1 "cube.smd"
$model "cube" "cube.smd"
$surfaceprop "metal"
$cdmaterials "cube\"
$sequence idle "anims\cube_idle.smd" fps 1
$collisionmodel "cube_phys.smd" {
$automass
$inertia 1
$damping 0
$rotdamping 0
$concave
}
[/CODE]
vmt
[CODE]
"VertexLitGeneric"
{
"basetexture" "cube\cube"
"surfaceprop" "metal"
}
[/CODE]
Sorry, you need to Log In to post a reply to this thread.