Automated Map Installer
Hello everyone!
Portal 2 Map Installer is a compact program I wrote. It monitors My Documents/Portal 2 Map Installer and automatically installs any maps it finds there. It can also accept maps dragged onto the window.
FEATURES:
-Easy to use
-Folder monitoring
-Drag and drop support
-Minimalistic user interface (prevents screen clutter)
-Stay on top functionality (optional - disabled by default)
-Run at startup functionality (optional - disabled by default)
-Asks politely before overwriting files and makes a backup
SUPPORTED MAP TYPES:
-Just about all of the maps on this site
-Archives: RAR, ZIP, 7Z
-BSP, VMT, VTF, NUT, MDL, PHY and a whole lot more
-Map, materials, textures, scripts, models etc...
-Will keep folder architecture if valid
-Can install maps with unsupported extensions if valid folder architecture is found.
It is currently in BETA. I have tested it myself and found a few minor errors, but it is at a releasable stage. Please test it and let me know of any errors.
Tutorial videos coming soon, should be pretty self explanatory though.
Known errors:
- Places unknown file types in: Steam>Steamapps>Common>Portal 2>Portal2>INVALID
- Because of this you will probably often get messages asking you if you want to overwrite readme.txt
- Does not correctly detect Portal 2 directory when it is not in Steam directory. (Does anyone know of a better registry key to use than HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run and then adding SteamApps/common/portal 2?)
CHANGELOG:
V1.2.0
FIXED - Files extracted to the wrong place when the archive name contained portal2 or portal 2 (case-insensitive)
V1.1.0
FIXED Major error where 7zip was not packaged with the program
V1.0.0
Original Release
File Name: Portal 2 Map Installer v1.2.0.msi
File Size: 1.58 MiB
Should be fixed now. (Hopefully!)
I'd love a look at the sourcecode of yours. Here's mine: http://code.google.com/p/portal2-map-in ... vn%2Ftrunk
One thing my program does is adding installed maps to the extras menu, maybe you want to add this functionality.
Best wishes to a fellow coder,
Tailgunner
Tailgunner wrote:
Oh dear, now I have spent three days to write a program that basically works exactly like yours and then I stumble about this post. Bummer.I'd love a look at the sourcecode of yours. Here's mine: http://code.google.com/p/portal2-map-in ... vn%2Ftrunk
One thing my program does is adding installed maps to the extras menu, maybe you want to add this functionality.
Best wishes to a fellow coder,
Tailgunner
I fully support anyone who goes OpenSource, keep it up!
"Talk is cheap. Show me the code" - Linus Torvalds

Tailgunner wrote:
Oh dear, now I have spent three days to write a program that basically works exactly like yours and then I stumble about this post. Bummer.I'd love a look at the sourcecode of yours. Here's mine: http://code.google.com/p/portal2-map-in ... vn%2Ftrunk
One thing my program does is adding installed maps to the extras menu, maybe you want to add this functionality.
Best wishes to a fellow coder,
Tailgunner
Wow, sorry I'm so late, I only just saw this.
Here is the source code: http://code.google.com/p/portal-2-autom ... installer/
It doesn't have a license, it's free domain, so do whatever the hell you want with it. I would appreciate credit if you use it though.
HammerHead wrote:
I'm fairly certain that valve announced that this functionality will be added with the next DLC.
Yes, but this thread/program has been created in august; far before they said they were working on this. Valve also said that vpk's will most likely not be fixed by the time DLC2 arrives; so this can still be useful for maps in vpk's. (although they said they'd be looking into vpk's after DLC2 was ready)