Map photos not working after packing

Phil25

L1: Registered
Jun 13, 2015
49
10
Finished your Halloween map yet? :p

I myself am stuck at making map photos work after packing them into the bsp. They appear just fine when I have them in my game directory and I checked with VIDE and Pakrat that they're under correct path in the bsp. When packing with VIDE, I tried entering the path both with slashes and backslashes.

I sent the map to my friends and the photos didn't appear for them either. I followed multiple tutorials on these forums and the one on Valve dev wiki and none of them seem to point out there's something I'm missing. I'm starting to think the path is too long: "/materials/vgui/maps/menu_photos_surf_10x_redone_rv7_event" "/materials/vgui/maps/map_photos_surf_10x_redone_rv7_event"
 
Last edited:

ics

http://ics-base.net
aa
Jun 17, 2010
841
543
Finished your Halloween map yet? :p

I myself am stuck at making map photos work after packing them into the bsp. They appear just fine when I have them in my game directory and I checked with VIDE and Pakrat that they're under correct path in the bsp. When packing with VIDE, I tried entering the path both with slashes and backslashes.

I sent the map to my friends and the photos didn't appear for them either. I followed multiple tutorials on these forums and the one on Valve dev wiki and none of them seem to point out there's something I'm missing. I'm starting to think the path is too long: "/materials/vgui/maps/map_photos_surf_10x_redone_rv7_event"

Path is too long. It should be:
"$basetexture" "VGUI/maps/menu_photos_mapname"

After packing map, run sv_pure 2 on console before you start the map. This will load everything from bsp instead of disk and you can see errors better.
 

nᵗʰSonata

Takes way to long to make and update maps
aa
Jun 11, 2015
433
436
I think you're naming them wrong. According to the developer wiki, it should be "menu_photos_[mapname]", whereas you are using "map_photos_[mapname]". I could be wrong, though, as I'm only reading the wiki for this. Also, you probably don't need the "/materials/".
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
543
I think you're naming them wrong. According to the developer wiki, it should be "menu_photos_[mapname]", whereas you are using "map_photos_[mapname]". I could be wrong, though, as I'm only reading the wiki for this. Also, you probably don't need the "/materials/".

You are correct, me and tumbo missed the whole map instead of menu. Good catch.
 

Phil25

L1: Registered
Jun 13, 2015
49
10
I apologize, the file I have does spell "menu_photos", I was writing it from memory when creating the thread, so that can't be it.

Also, this is the directory the files are packed into, the vmt does say "vgui\maps\menu_photos_surf_10x_redone_rv7_event"

An important thing to point out, I was testing the map while running a dedicated server. But when I started it on the listen server, the map photos showed. So I guess my question now is whether this could be a problem when I release it to my public server.

Thanks for the help guys, and sorry for my mistake up there.
 

ics

http://ics-base.net
aa
Jun 17, 2010
841
543
An important thing to point out, I was testing the map while running a dedicated server. But when I started it on the listen server, the map photos showed. So I guess my question now is whether this could be a problem when I release it to my public server.

Thanks for the help guys, and sorry for my mistake up there.

If the images show up on you on listen server, then the paths are correct and they are not packed in correctly. Like i said, you can load up the packed map with sv_pure 2 on before you load it and you can see if all the content comes out from the packed bsp or not. It will also show missing textures with either missing or checkerboard.
 

Phil25

L1: Registered
Jun 13, 2015
49
10
So I grabbed a pre-packed version and packed the menu photos again with Pakrat instead VIDE, and yup, it turned out to be a problem with the packing. I haven't tested any other tools though and seem to have the latest version of VIDE.

Thanks for all the support with this. Perhaps I was doing something wrong when packing in VIDE but since they did show on a listen server, I can't be certain.
 

henke37

aa
Sep 23, 2011
2,075
515
Note that the game won't use the photos when initially downloading the map. It only uses them when it already has the bsp file downloaded.