Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Host custom maps on Google Drive

#1
Hi, I was just seeing if it was possible to host custom maps Google Drive? I made my data directory public but when I add the address to my server.cfg it's https not http. Thanks!
Reply

#2
Downloading custom pk3 files using https protokoll does not work Sad

But there seems to be support for https...

https://gitlab.com/xonotic/darkplaces/bl.../libcurl.c
Reply

#3
libcurl supports TLS/SSL (ie: https:// urls) but not sure about how well that works in Darkplaces.

However, having used curl to download files from a lot of things (deploying files all over the place), the issue might be that the link you're using isn't the final canonical link to the file, but is a redirect. I don't know how well Darkplaces supports redirects (if at all).

If you have a copy of curl, you can try this yourself in a command prompt using the links you've got.

Try:
curl -O https://your.link.goes/here/whatever.pk3

If that doesn't work, try:
curl -O -J -L https://your.link.goes/here/whatever.pk3

If the first one doesn't work but the second does, the link is a redirect link.

FWIW: Dropbox uses redirect links when you select 'Download' and get a link that ends in "?dl=0" (which actually makes it open a view window). You can improve that by changing it to "?raw=1"
on the end, but it still does a redirect.
[Image: 21975.jpg]

Quote:“To summarize the summary of the summary: people are a problem.” - Douglas Adams
Reply

#4
Thank you for the info guys..... I think I'm going to host the maps on my web host.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Help Adding Custom Gametypes CarbonGhost 3 568 01-24-2023, 09:09 PM
Last Post: ballerburg9005
  Full server tutorial start-2-finish with maps & config from live server xonotic.us.to ballerburg9005 0 3,660 09-03-2021, 10:21 AM
Last Post: ballerburg9005
  Help needed with custom gametypes Notavi 4 2,671 07-29-2018, 07:22 AM
Last Post: Freddy
  Help for custom voteble commands KyMAN 4 3,793 05-01-2018, 11:37 AM
Last Post: morosophos
  Ch4mp's Xonotic Repository + DL PAGE (maps, configs, extensions and demos) Ch4mp 1 2,389 03-23-2017, 05:09 PM
Last Post: Smilecythe
  custom weapons cadrogui 2 4,181 05-28-2016, 08:43 PM
Last Post: cadrogui
  Duel Maps Ch4mp 2 3,303 01-18-2016, 08:17 AM
Last Post: Ch4mp
  Adding maps to server BuddyFriendGuy 3 3,826 10-20-2015, 01:21 AM
Last Post: BuddyFriendGuy
  Removed official maps Mirio 0 17,087 08-28-2015, 08:00 AM
Last Post: Mirio
Question Question about server and maps XCanG 4 6,585 06-22-2015, 12:57 AM
Last Post: -maniac|Su-

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-