Hammerwatch Forum

Technical Support => Technical Support => Topic started by: cojobe on January 02, 2014, 04:37:22 AM

Title: Editor run crash
Post by: cojobe on January 02, 2014, 04:37:22 AM
I have made a level, and when I go into tools>run or even run from camera, it crashes tells me that it has crashed and to send file to an email. I have tried moving my whole hammerwatch folder to desktop, program files, and even program filesx86 and I still come up with the same issue every time.
Thanks for any help given! :)
Title: Re: Editor run crash
Post by: Hipshot on January 02, 2014, 02:45:31 PM
You are probably missing some xmls you need, did you look at this one?

http://www.youtube.com/watch?v=TUx9jSEE58E
Title: Re: Editor run crash
Post by: Zeus on January 02, 2014, 06:08:01 PM
It appears i also am missing the example folder, info.xml, levels.xml, icon.png.

I used steam to verify game cache and its saying its all fine but the folders and files are still missing.
Title: Re: Editor run crash
Post by: RoseyNineOneOne on January 02, 2014, 10:15:03 PM
I, too, am having this problem. Crash on testing, no example folder, etc.
Title: Re: Editor run crash
Post by: Hipshot on January 02, 2014, 10:35:22 PM
So, inside:
Steam\SteamApps\common\Hammerwatch

there's no

\editor\example

?

Title: Re: Editor run crash
Post by: RoseyNineOneOne on January 02, 2014, 10:38:13 PM
Correct, there is no folder.
Title: Re: Editor run crash
Post by: Hipshot on January 02, 2014, 10:42:05 PM
Hmm, I don't even have that folder... that's strange...
Title: Re: Editor run crash
Post by: RoseyNineOneOne on January 02, 2014, 10:45:01 PM
Okay, I figured it out by browsing about. You need to make a new folder for your map, name your map when you save it as level_mapname, and make to XML files:
info.xml:
Code: [Select]
<info>
<name>Script test level</name>
<description></description>
<lives>10</lives>
</info>

and

levels.xml:
Code: [Select]
<levels start="1">
<act name="lvl.act1">
<level id="1" res="test_puzzle.xml" name="Puzzle test" />
</act>
</levels>
Title: Re: Editor run crash
Post by: Hipshot on January 02, 2014, 10:50:55 PM
Yea, here's the files from the survival level.

It's strange that I don't have the example folders anymore myself though...
Title: Re: Editor run crash
Post by: cojobe on January 03, 2014, 06:10:10 AM
Got it to work! I did what RoseyNineOneOne did
Many thanks!
Okay, I figured it out by browsing about. You need to make a new folder for your map, name your map when you save it as level_mapname, and make to XML files:
info.xml:
Code: [Select]
<info>
<name>Script test level</name>
<description></description>
<lives>10</lives>
</info>

and

levels.xml:
Code: [Select]
<levels start="1">
<act name="lvl.act1">
<level id="1" res="test_puzzle.xml" name="Puzzle test" />
</act>
</levels>
Title: Re: Editor run crash
Post by: NekoBaron on January 03, 2014, 04:43:26 PM
It's strange that I don't have the example folders anymore myself though...
They've gone completely or just from the steam version? because I left a back up of hammer watch on my desktop and still have them ( I'm sure a few of us do).