p2map_publish fix!!!
Quote from TreasureGhost on October 22, 2015, 3:20 pmHi 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.
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.
Quote from DaMaGepy on October 22, 2015, 4:25 pmI 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...
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...
Quote from splatt on October 22, 2015, 5:04 pmDaMaGepy wrote:I quickly write a small program that replaces files with one click, and then restores them after publishing. Just for lazy peopleYou mean EFFICIENT people, silly.
![Smile :)](https://www.thinking.withportals.com/wp-content/uploads/images/smilies/icon_smile.gif)
You mean EFFICIENT people, silly.
Quote from CamBen on October 22, 2015, 8:41 pmOh, 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.
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.
Aperture Science: We do our science asbestos we can!
Quote from DaMaGepy on October 22, 2015, 9:54 pmthe prog reads the paths from the registry, mine is at
SteamSteamAppscommonportal 2binfirst checks
'SystemCurrentControlSetControlSession ManagerEnvironment','sourcesdk'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'SoftwareValveHammerGeneral','Directory'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'SoftwareValveSteam','SteamPath'
and adds: SteamAppscommonportal 2binIf 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
the prog reads the paths from the registry, mine is at
SteamSteamAppscommonportal 2bin
first checks
'SystemCurrentControlSetControlSession ManagerEnvironment','sourcesdk'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'SoftwareValveHammerGeneral','Directory'
if there is a 'portal 2' in the value then uses it, otherwise reads:
'SoftwareValveSteam','SteamPath'
and adds: SteamAppscommonportal 2bin
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
Quote from TreasureGhost on October 23, 2015, 12:37 amDaMaGepy
How will we know when to stop using the program when the Valve fixes the issue (hopefully!)?
DaMaGepy
How will we know when to stop using the program when the Valve fixes the issue (hopefully!)?
Quote from DaMaGepy on October 23, 2015, 9:19 amwell, 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
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
Quote from TreasureGhost on October 24, 2015, 1:19 amAhh ok then
Ahh ok then
Quote from Portal_Placer121 on October 30, 2015, 8:13 pmDaMaGepy 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)
![Smile :)](https://www.thinking.withportals.com/wp-content/uploads/images/smilies/icon_smile.gif)
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)
Quote from DaMaGepy on May 7, 2017, 2:21 pmI 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..."
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..."