Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map Previews? #163

Open
Xylemon opened this issue Jun 22, 2015 · 8 comments
Open

Map Previews? #163

Xylemon opened this issue Jun 22, 2015 · 8 comments

Comments

@Xylemon
Copy link

Xylemon commented Jun 22, 2015

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.

@Xylemon Xylemon changed the title Image Map Previews? Map Previews? Jun 22, 2015
@illwieckz
Copy link
Member

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. 😛

@Xylemon
Copy link
Author

Xylemon commented Jun 23, 2015

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

@illwieckz
Copy link
Member

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.

illwieckz added a commit that referenced this issue Jun 23, 2015
re-enable map screenshot preview, fix minizip SIGSEGV, fix #141, ref #163
@Xylemon
Copy link
Author

Xylemon commented Jun 23, 2015

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

@illwieckz
Copy link
Member

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

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

@Xylemon
Copy link
Author

Xylemon commented Jun 23, 2015

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
Copy link
Member

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
Copy link
Author

Xylemon commented Jun 24, 2015

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants