XQF / xqf

XQF game server browser
http://xqf.github.io
GNU General Public License v2.0
37 stars 12 forks source link

Map Previews? #163

Open Xylemon opened 9 years ago

Xylemon commented 9 years ago

This would be a great addition to XQF, so players could see a preview of the map before joining. Perhaps it could work with an additional download, that contains all the images with sub folders for each game. Or it could work through some online service as well.

illwieckz commented 9 years ago

There is already a map preview mechanism for some games (mainly quake 3 derivations), if you click on a map name on the server list, a map screenshot pops-up. This is why XQF asks for game data path even if in many case it only needs the binary path to run it.

For Q3-like games, I think it extracts the screenshot from the levelshots dir in pk3 map archive, but I've never verified that.

If you get a red cross instead of a map screenshot, it means the game is not supported or misconfigured. :stuck_out_tongue:

Xylemon commented 9 years ago

Well then I guess what I should request for is simple map previews for all games.

illwieckz commented 9 years ago

Hem, in fact, options for map preview were mistakenly hidden from gui when splashscreen was removed, also, some minizip releases just SIGSEGV on the current code. I have patches for theses two issues.

Xylemon commented 9 years ago

Since the last PR, I still don't see any map previews. How do I enable them?

illwieckz commented 9 years ago

"Preferences > General > Scan now", you can also tick the "Scan for map on Startup" check box. :wink:

It only works on some idtech derivatives, and you must configure the good “Working directory” for each games.

Xylemon commented 9 years ago

Hmm I'm still not noticing anything. Will there eventually be a more universal map preview feature?

Edit: You're not talking about the feature that tells you whether or not you have the map installed right?

illwieckz commented 9 years ago

Edit: You're not talking about the feature that tells you whether or not you have the map installed right?

What is that? Unless I'm missing something, it's the same feature that said a map is missing and that display a map shot.

If a map is installed, the map shot displays itself while you click on the map name in a server list.

Xylemon commented 9 years ago

Ok, I see how it works now. You basically have to click and hold on the map name and it will show in a popup window. I was thinking a better placement would be in the bottom right next to the server variables that's always there.