Editor problem...


Rolk
11-16-2005, 01:34 AM
Tryign to export a map so I can test it...

And I get this error: (dod_stquentin is just a production name, and I removed my email name)


** Executing...
** Command: Copy File
** Parameters: "C:\Program Files\Valve\Steam\SteamApps\<EMAIL>\sourcesdk_content\dods\mapsrc\dod_stquentin.bsp" "C:\Program Files\Valve\Steam\SteamApps\<EMAIL>\day of defeat source\dod\maps\dod_stquentin.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

I can't run it and I don't kwno whats stopping it!

Rolk
11-16-2005, 03:25 AM
Hmm, when I compile it on 'expert' it works fine... Weird.

travis
11-16-2005, 03:57 AM
That error is caused by bad directory information in your hammer setup, sometimes it can be caused by you running hammer on 1 drive and reading files from another.

otF yetihw
11-16-2005, 11:18 AM
I had this problem once with CS:S. I opened my map, selected all, copied it and pasted it in a new map and saved it as a different name and it worked fine.

Unk
11-16-2005, 01:12 PM
or if your trying to recompile maps that you have decompiled

TheMiede
11-16-2005, 10:22 PM
Originally posted by Unk
or if your trying to recompile maps that you have decompiled :eek: uh oh. Caught red handed? jk. Im sure your work is genuine. Any screens?

Rolk
11-16-2005, 10:29 PM
Was actually just about to post them...

otF yetihw
11-18-2005, 12:17 PM
And guess what.. it's just happened to me again :|

(and no, I haven't nicked from a decompiled map :))

otF yetihw
11-19-2005, 09:54 AM
Ok this is causing me serious problems now... It's not working at all, not in expert, not when I copied all to a new map, and my Hammer appears to be set up fine. Any help please?

StreamlineData
11-19-2005, 10:17 AM
i ALWAYS used to get this problem in Hammer 3.5

For me, the problem was the directory path was too long, too many characters in one folder. (I did have Hammer installed on the same drive). Also, if you look in your map directory, you'll see that the names are cut off by the "~1" thing since by default, filenames can only be 8 characters long, and the extensions 3 characters long (11 chars in total).

My path was set as:
D:\Program Files\HAMMER\Designs\dod_passage_b2\dod_passage_b2 .bsp

I found that if I changed the path to be something shorter like:
D:\HAMMER\passage_b2\passage_b2.bsp

I also renamed all the files that were listed to have "~1" to the correct name, which should be the same filename as your map (though not the extension).

So like...
1TEST_~1.log

is supposed to be
1TEST_radiocapture.log

and so fourth.

That *should* fix your problem.

See, Hammer is creating these files in a too long of a directory path, and somehow ends up creating these short names (for no apparent reason, really...).. but then when it's trying to look for the files required for the map to compile, it's looking for:
dod_somethingorother.p1
dod_somethingorother.p2
dod_somethingorother.p3

and not:
dod_so~1.p1
dod_so~1.p2
dod_so~1.p3

[edit]
So for future, when you first compile your map and find that it doesn't work and comes up with that error, go straight to your map directory to rename all the files that were screwed up. Fix that, then try recompiling. It should work.

otF yetihw
11-20-2005, 08:35 AM
Thanks for the in depth answer :D but sadly not the problem, and I still can't compile... Which is annoying me a tiny bit considering how much work has gone in to this map. Please someone suggest something else before I pull all my hair out.

Ca-Chicken-Soup
11-20-2005, 04:23 PM
Firstly if it can't find the file then it hasn't been made most likely, check the rest of your log to see if any of the compile tools came up with a problem, ie: leaks. Then in expert mode, tick the little box that says "use long filenames". It is possible also that the program does not like spaces in the directories ( I know thats what caused me grief). In the expert mode put quotations around the whole directory structure and it might fix it.
Aucutaly now that I check that log bit there, is there a folder called "sourcesdk_content" or is it "sourcesdk content"? It could be pointing to a folder with a underscore when the real folder does not have an underscore...

Something in there should fix it :D

StreamlineData
11-20-2005, 05:00 PM
Originally posted by otF yetihw
Thanks for the in depth answer :D but sadly not the problem, and I still can't compile... Which is annoying me a tiny bit considering how much work has gone in to this map. Please someone suggest something else before I pull all my hair out. Oh whoops. For some reason, I thought the thread was referring to an error in Hammer 3.5.. not Hammer 4.

I have no idea then.
Good luck!

Rolk
11-26-2005, 08:43 AM
Argh, I'm still getting it, but I can't seem to fix it, doesnt work in expert mode either...

Ginger Lord
11-26-2005, 09:25 AM
If your hammer directory is in Program Files, make sure the whole path is surrounded in ""'s


e.g:

c:/program files/steam/etc/yadda/blahblah

Should be

"c:/program files/steam/etc/yadda/blahblah"

Rolk
11-26-2005, 09:32 PM
Still no luck, and I can't compile my map :(

Edit:

Loading c:\program files\valve\steam\steamapps\<EMAIL>\sourcesdk_content\dod\mapsrc\dod_stquentin_b0.bsp
Error opening c:\program files\valve\steam\steamapps\<EMAIL>\\sourcesdk_content\dod\mapsrc\dod_stquentin_b0.bs p

** Executing...
** Command: Copy File
** Parameters: "c:\program files\valve\steam\steamapps\<EMAIL>\\sourcesdk_content\dod\mapsrc\dod_stquentin_b0.bs p" "c:\program files\valve\steam\steamapps\<EMAIL>\\day of defeat source\dod\maps\dod_stquentin_b0.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

Rolk
11-27-2005, 09:25 AM
Not sure if this helps:

http://www.rolkdesigns.com/images/temp_images/edit_problem.jpg

otF yetihw
11-27-2005, 09:58 AM
Yes I'm getting it again too :D

Furyo
11-27-2005, 10:22 AM
Check the path to your mapsrc folder. Your log is set to "dod/mapsrc" and your hammer is set to "dods/mapsrc".

Rolk
11-28-2005, 05:30 AM
I'm clue less. I've jes spent 2 hours trying to fix it and I can't. Deleted all the SDK stuff and re-installed and still nothing.

Does anyone know what the problem is or who might know?

Rolk
11-28-2005, 09:26 PM
I deleted all my SDK information (backed up my maps) - and reinstalling the whole thing. Will let you know how it goes.

Rolk
11-28-2005, 11:26 PM
I don't understand. I deleted everything and re-installed. I can compile the SDK stuff but not custom stuff?? WTF!

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.