How to import workshop maps to hammer?

Avatar
Dude
5 Posts
Posted May 14, 2012
I found few threads here about it, but it not helps me. Where are (on my HD) and what format for my maps files in Workshop???
How to import it to Hammer.
Thanks for your help

Dude

Advertisement
Registered users don't see ads! Register now!
Avatar
Bluntman
18 Posts
Posted May 14, 2012
Replied 18 minutes later
1.Open your map in the puzzle maker.
2.Open the console and type the following:
puzzlemaker_export name (obviously you can enter any other name)
3.The resulting .vmf file will be saved in:
steam/steamapps/common/portal 2/sdk_content\maps
Then just open the .vmf file in the Authoring Tools and feel free to edit it.
Hope this helped.
Avatar
Dude
5 Posts
Posted May 14, 2012
Replied 41 minutes later

Thank you! Working

Bluntman wrote:
1.Open your map in the puzzle maker.
2.Open the console and type the following:
puzzlemaker_export name (obviously you can enter any other name)
3.The resulting .vmf file will be saved in:
steam/steamapps/common/portal 2/sdk_content\maps
Then just open the .vmf file in the Authoring Tools and feel free to edit it.
Hope this helped.

Avatar
HMW
806 Posts
Posted May 14, 2012
Replied 4 hours later
Hey, that's a useful command! I didn't know of that one yet.
Avatar
Lpfreaky90
2,842 Posts
Posted May 16, 2012
Replied 1 day later

HMW wrote:
Hey, that's a useful command! I didn't know of that one yet.

That's one of the two things valve messed up:
the command was told to us in the beta at some stage but it hasn't been really communicated by valve.

Second one is the portal 2 publishing tool for non-pti maps.
(located in steam/steamapps/common/portal 2/bin) lot of people don't know about it. (and I keep getting poked on steam "what is that map" stuff)

Avatar
HMW
806 Posts
Posted May 16, 2012
Replied 6 hours later

lpfreaky90 wrote:
Second one is the portal 2 publishing tool for non-pti maps.

Yes, good thing Motanum mentioned that in his instruction videos!

I just uploaded my first map to the workshop, and I must say it looks very good. Nice big screenshots, super easy downloading, and automatic updates when I upload a new version because of some stupid mistake with the first one. It's a huge improvement!

I had some struggle with the tool itself though, but it gets the job done and that's the main thing.

Dear Valve,
did you know that most operating systems, including Windows, come with their own collection of form controls? They support really nice features like standard copy&paste key combinations, the ability to move around text with the arrow keys, working backspace and delete keys, and not making that horrible sound when you type too much in them. You really should consider using those next time, mkay?
Thanks a bunch,
HMW

Avatar
madcat1030
66 Posts
Posted May 16, 2012
Replied 7 hours later
First things first: I love your maps Hen. Manic Mechanic is my absolute favorite map of anything ever.

Now that that's out of my system: The copy-paste commands have never given me trouble in the PeTI publisher (I'm assuming that's what your talking about), but the whole arrow-key-failure thing really gets on my nerves. You can still move around by highlighting the whole thing in an up-/down-wards direction. Really funky though. They should fix that.

Avatar
BlumCoLe
211 Posts
Posted Jun 04, 2012
Replied 18 days later
Hey guys,

thanks for your help with the commands and the information about the publishing tool.

One question: Is there a way to import a hammer map to pti, that I can edit it in pti again?
I've reworked my map in hammer and add some things, but I want to open it in pti now for some tests.

Is it possible?

Thanks a lot!

Avatar
Lpfreaky90
2,842 Posts
Posted Jun 04, 2012
Replied 6 minutes later

BlumCoLe wrote:
Hey guys,

thanks for your help with the commands and the information about the publishing tool.

One question: Is there a way to import a hammer map to pti, that I can edit it in pti again?
I've reworked my map in hammer and add some things, but I want to open it in pti now for some tests.

Is it possible?

Thanks a lot!

No. Sorry, not possible p2c -> vmf is one way.

Avatar
HMW
806 Posts
Posted Jun 04, 2012
Replied 4 hours later

lpfreaky90 wrote:
BlumCoLe wrote:

Hey guys,

thanks for your help with the commands and the information about the publishing tool.

One question: Is there a way to import a hammer map to pti, that I can edit it in pti again?
I've reworked my map in hammer and add some things, but I want to open it in pti now for some tests.

Is it possible?

Thanks a lot!

No. Sorry, not possible p2c -> vmf is one way.

...because you are adding information in Hammer that cannot be represented in the PTI editor. Even if someone were to make a conversion tool the other way, you would loose all of your Hammer work during the process, like brushes that are not aligned to the 128 grid, all entities that have no PTI equivalent etc.

(I don't mean to pre-empt your answer, lpfreaky. I just thought it would be useful to explain it a bit )

Avatar
mrbob806
29 Posts
Posted Aug 14, 2012
Replied 2 months later

Lpfreaky90 wrote:
HMW wrote:

Hey, that's a useful command! I didn't know of that one yet.

That's one of the two things valve messed up:
the command was told to us in the beta at some stage but it hasn't been really communicated by valve.

Second one is the portal 2 publishing tool for non-pti maps.(located in steam/steamapps/common/portal 2/bin) lot of people don't know about it. (and I keep getting poked on steam "what is that map" stuff)

Am I understanding correctly that this is the way to publish maps made in Hammer into the workshop? If so, what is that tool called within that folder?

Avatar
Alexander Bell
306 Posts
Posted Aug 14, 2012
Replied 1 hour later
p2map_publish.exe

It shocks me people don't know about puzzlemaker_export, I knew about it before I even had Hammer.

Avatar
mrbob806
29 Posts
Posted Aug 14, 2012
Replied 4 hours later
cool, thanks. I'll be needing to use this stuff pretty soon; I'm working on building a maze that utilizes world portals and vanishing func_brush blocks =D
Avatar
Alexander Bell
306 Posts
Posted Aug 14, 2012
Replied 21 minutes later

mrbob806 wrote:
cool, thanks. I'll be needing to use this stuff pretty soon; I'm working on building a maze that utilizes world portals and vanishing func_brush blocks =D

But good luck anyway...

Avatar
FelixGriffin
2,680 Posts
Posted Aug 17, 2012
Replied 2 days later
That could be fun if done properly, but remember the four-portals-on-screen limit.
Avatar
Yenwood
95 Posts
Posted Aug 17, 2012
Replied 7 hours later

Lpfreaky90 wrote:
That's one of the two things valve messed up:
the command was told to us in the beta at some stage but it hasn't been really communicated by valve.

Second one is the portal 2 publishing tool for non-pti maps.
(located in steam/steamapps/common/portal 2/bin) lot of people don't know about it. (and I keep getting poked on steam "what is that map" stuff)

PTI was made for people who don't/can't use the Hammer, so I guess Valve was just thinking that people who use PTI wouldn't want to export it to Hammer.

Avatar
mrbob806
29 Posts
Posted Sep 01, 2012
Replied 14 days later

Alexander Bell wrote:
mrbob806 wrote:

cool, thanks. I'll be needing to use this stuff pretty soon; I'm working on building a maze that utilizes world portals and vanishing func_brush blocks =D

But good luck anyway...

If you'd like to try it, now that it's done, here it is: http://steamcommunity.com/sharedfiles/f ... d=89932264
I think I should mention that the main focus isn't the world portals and such. those are just towards the end.

Avatar
RogerL
490 Posts
Posted Sep 22, 2012
Replied 21 days later
I have a related problem to the OP. I published a map to the workshop with the in-game editor. I then found that I needed to make changes to it which could be accomplished only in Hammer. So I made those changes, but I'm unsure how to publish it on the workshop so that it will replace the one I put there through the editor. I used the same file name and everything, but it just puts a duplicate map up. It would be nice to be able to keep the use stats and comments from the original map. Any ideas?
Advertisement
Registered users don't see ads! Register now!
Avatar
Mevious
205 Posts
Posted Sep 22, 2012
Replied 3 minutes later

RogerL wrote:
I have a related problem to the OP. I published a map to the workshop with the in-game editor. I then found that I needed to make changes to it which could be accomplished only in Hammer. So I made those changes, but I'm unsure how to publish it on the workshop so that it will replace the one I put there through the editor. I used the same file name and everything, but it just puts a duplicate map up. It would be nice to be able to keep the use stats and comments from the original map. Any ideas?

As far as I know it's not possible. In-game editor maps and hammer maps are handled differently.