Raised This Month: $99 Target: $400
 24% 

CSGO Map thumbnails at endgame vote


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wanko
Junior Member
Join Date: Nov 2018
Old 11-24-2018 , 03:05   CSGO Map thumbnails at endgame vote
Reply With Quote #1

Hi guys,

I'm trying to set up a csgo dedicated server for a lan environment. I want to keep it vanilla, without any mods as much as possible.

I start the server with a custom map collection that works so far. At the end of a match I enabled voting which works as supposed.

What the clients see is this: https://imgur.com/KcVGkmO

How do I make it that the map thumbnails are shown. I want it to look like in official games, like this: https://vignette.wikia.nocookie.net/...20180826134116

So far I wasn't even able to find out if this is a serverside setting or it depends on the client. So any help at all is appreciated.
wanko is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-24-2018 , 03:20   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #2

...wild gues is, send ....csgo/maps/map_name.jpg to clients. 1920x1080 about 500KB size
__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 11-24-2018 , 05:53   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #3

Actually there is a warning in the client console that some picture in ./materials/panorama/images/map_icons/screenshots/1080p/map_name.png is missing.

Once I create this image it turns out to be the background image that appeares blured during the loading screen of that map.

Sending a file to your suggested folder sadly does not show in the voting process either.

There is no mention of any image file neither on the client nor the server, that's what makes it so hard to debug.
wanko is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-24-2018 , 16:04   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #4

Did you try another folder ? 360p ?
./materials/panorama/images/map_icons/screenshots/360p/map_name.png

*edit I assume these are those pictures (*.png files)
Code:
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_cache' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_dust2' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_inferno' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_mirage' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_nuke' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_overpass' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_train' RefCount: 1
__________________
Do not Private Message @me

Last edited by Bacardi; 11-24-2018 at 16:31.
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 11-25-2018 , 02:07   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #5

I didn't try them yet, but I will give it a go.

Meanwhile I tried differently: I started the server with the mapgroup mg_active. The endvote showed the thumbs as wanted: https://i.imgur.com/rjxTHgQ.jpg

Next I created a new collection with those standard maps only, all from the "CS:GO Official" account like the tutorials say. The endvote hat the thumbs missing:
https://i.imgur.com/NZm83YU.jpg

Is this a workshop thing?
wanko is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-25-2018 , 03:59   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #6

yeah, there maybe trick to load it.
I added workshop map in mapgroup and in end vote it not even try to load map thump picture.
Code:
Texture: 'materials/panorama/images/map_icons/screenshots/360p/de_inferno' RefCount: 1
Texture: 'materials/panorama/images/map_icons/screenshots/360p/random' RefCount: 1
*edit
Not sure, when I added custom map in "maps" section inside gamemodes.txt, then it try load
Code:
Error reading file materials/panorama/images/map_icons/screenshots/360p/cs_mansion_go.png.
I have that file, 640x360 24bit.
I think those need to be inside map or *.VPK file
__________________
Do not Private Message @me

Last edited by Bacardi; 11-25-2018 at 04:31.
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-25-2018 , 04:54   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #7

Ok I got it work. But this is tested only client side.
https://forums.alliedmods.net/attach...1&d=1543139409

What I did, I added map name in "maps" section in gamemodes.txt
Then I have png file in
Code:
csgo\materials\panorama\images\map_icons\screenshots\360p\cs_mansion_go.png
I don't know, maybe this can't set up from server side...
Attached Thumbnails
Click image for larger version

Name:	nimetön.png
Views:	296
Size:	66.3 KB
ID:	172451  
__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 11-28-2018 , 02:30   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #8

I can't reproduce your result.

What I did is: I copied one of the existing map pictures (640x360px) into the 360p folder like you, with the name of the map de_park.png

Then I copied one of the existing entries of the gamemodes.txt and changed it so de_park. The result is the following gamemodes_server.txt
Code:
	"mapgroups"
	{
		"mg_de_park"
		{
			//"imagename"				"map-park-overall"
			"nameID"				"Park"
			"name"					"mg_de_park"
			"icontag"				"bomb"
			"grouptype"				"active"
			"icon_image_path"		"map_icons/map_icon_de_park"
			"maps"
			{
				"de_park"		""
			}
		}
		"de_park"
		{
			"nameID"				"Park"
			"name"					"de_park"
			//"imagename"				"map-park-overall"
		}
	}
What have you done differently?
wanko is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 11-28-2018 , 11:37   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #9

Quote:
Originally Posted by wanko View Post
I can't reproduce your result.

What I did is: I copied one of the existing map pictures (640x360px) into the 360p folder like you, with the name of the map de_park.png

Then I copied one of the existing entries of the gamemodes.txt and changed it so de_park. The result is the following gamemodes_server.txt
Code:

What have you done differently?
More like this way. But I tested in gamemodes.txt and in-game, not server...
PHP Code:
"GameModes_Server.txt"
{

    
"mapgroups"
    
{
        
"mg_de_park"
        
{
            
"maps"
            
{
                
"de_park"        ""
            
}
        }
    }

    
"maps"
    
{
        
"de_park"
        
{
            
"nameID"                "Park"
            "name"                    "de_park"
        
}
    }

__________________
Do not Private Message @me
Bacardi is offline
wanko
Junior Member
Join Date: Nov 2018
Old 12-02-2018 , 07:54   Re: CSGO Map thumbnails at endgame vote
Reply With Quote #10

I'm close to getting crazy over this ... I redid every step, triple and quadruple checked everything over the past week. Copied images from the existing ones. So I guess there's no error in the text files, paths, images, whatsoever.

Still I can't reproduce your result, not offline, not on my server. What makes me go crazy is that I don't get any error message or even any hint in the console at all.

Is there a command that extends the console output beyond -condebug?
wanko is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:41.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode