p2map_publish fix!!!

Avatar
TreasureGhost
31 Posts
Posted Oct 22, 2015
Hi everybody, my friend Redstoncraft had made a fix for the not working p2map_publish!
download the files and extract to portal2/bin
HOWEVER! Use the fix only when you need publish! if you will replace the files immediately you will get non-working portal 2, so when you need to publish, place the files, publish, and validate portal 2 files.
I also guess its only for 64 bit windows, 32 bits, please try.

http://www13.zippyshare.com/v/2yY0CbRg/file.html
Advertisement
Registered users don't see ads! Register now!
Avatar
DaMaGepy
361 Posts
Posted Oct 22, 2015
Replied 1 hour later
I wrote a small program that replaces (fixes) files with one click, and then restores them after publishing. Just for lazy people
I could've add a detection of the publisher running and auto-restore when its closed, but people can't be that lazy!

Please test it and tell if it works or not.
Works for me... (worked for tmast too, thx for testing)

Only works if the path only contains english characters, with chinese russian arabic etc characters it cant replace beacuse I wrote it with an old program that cant handle unicode characters yet. In this case you must backup original files and then replace them manually with the fixed 3 dll which within the zip...
Avatar
splatt
40 Posts
Posted Oct 22, 2015
Replied 39 minutes later
DaMaGepy wrote: I quickly write a small program that replaces files with one click, and then restores them after publishing. Just for lazy people

You mean EFFICIENT people, silly.



Avatar
CamBen
973 Posts
Posted Oct 22, 2015
Replied 3 hours later
Oh, also if you use the original common/portal 2/bin/ files, to get portal 2 to work again, revert your common/portal 2/portal2/bin/ files as well.
Avatar
DaMaGepy
361 Posts
Posted Oct 22, 2015
Replied 1 hour later
the prog reads the paths from the registry, mine is at
Steam\SteamApps\common\portal 2\bin\

first checks
'System\CurrentControlSet\Control\Session Manager\Environment','sourcesdk'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'Software\Valve\Hammer\General','Directory'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'Software\Valve\Steam','SteamPath'
and adds: SteamApps\common\portal 2\bin\

If I need to add alternate paths as well for replacing, tell me
I'm using my steam installation for 6-7 year or more now, kept the files while changed computers or reinstalled windows, without reinstalling steam, so new steams may store things in different folders
Avatar
TreasureGhost
31 Posts
Posted Oct 23, 2015
Replied 2 hours later
DaMaGepy
How will we know when to stop using the program when the Valve fixes the issue (hopefully!)?
Avatar
DaMaGepy
361 Posts
Posted Oct 23, 2015
Replied 8 hours later
well, if you see a steam update, just try if the publisher works (if they fixed it)
or just always try to launch the publisher first, and only use my program if still not working.
if the publisher starts, then just stop using the program
Avatar
TreasureGhost
31 Posts
Posted Oct 24, 2015
Replied 16 hours later
Ahh ok then
Avatar
Portal_Placer121
2 Posts
Posted Oct 30, 2015
Replied 6 days later
DaMaGepy wrote: I wrote a small program that replaces (fixes) files with one click, and then restores them after publishing. Just for lazy people
*I could've add a detection of the publisher running and auto-restore when its closed, but people can't be that lazy!*

Please test it and tell if it works or not.
Works for me... (worked for tmast too, thx for testing)

I can confirm that it works And DANG it's been a long time since I've logged on here! But I still can't believe that they haven't fixed it themselves, especially because there was an update today with no fix :( (random note, care to play my somewhat new test I've made? http://steamcommunity.com/sharedfiles/f ... =541272333)





>


Avatar
DaMaGepy
361 Posts
Posted May 07, 2017
Replied 1 year later
I haven't mapped or checked Portal for a while, but... the publisher still broken?
For me it gives the same error about "Steam must be running..."
Avatar
Sejievan
232 Posts
Posted May 07, 2017
Replied 4 hours later
Yes, Publisher is still broken =(, silver cave rock walls r fixed tho.
Avatar
BenVlodgi
633 Posts
Posted May 15, 2017
Replied 7 days later
Sejievan wrote: Yes, Publisher is still broken =(, silver cave rock walls r fixed tho.

took like 5 of us emailing them about it to get that fixed


Avatar
AdamPlays
14 Posts
Posted May 18, 2017
Replied 2 days later
This fix is really helpful.
Avatar
TeamSpen210
608 Posts
Posted May 18, 2017
Replied 17 minutes later
I just kinda realised something. I wonder if it's possible to just reimplement p2_map_publish? Anyone tried snopping at the internet traffic?
Avatar
DrPeeper@The Mover Cell
1 Posts
Posted Jul 30, 2023
Replied 6 years later
link dead
Advertisement
Registered users don't see ads! Register now!