

GitHub - derekhe/msfs2020-google-map: Replace MSFS2020's bing map to google map
source link: https://github.com/derekhe/msfs2020-google-map
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

English version here
本教程提到的方法仅用于研究和学习用途。我不对使用、拓展该教程及方法所造成的任何法律责任和损失负责。
替换本地的DNS,将微软服务器替换成本地服务器并从google地图上获取到卫星图像返回给游戏。涉及到的工具,请自行安装
- 一个可以访问Google的HTTP代理(如果你在墙外可以直接访问,可忽略)
有哪些增强
- 对地表的卫星图片进行全局替换成谷歌的
- 有些地方bing地图没有数据会被显示成自动生成的卫星图,非常丑。谷歌地图涵盖地球所有的地方,不会出现这种问题。
- 谷歌地图的卫星图比Bing地图更新更快
- 游戏中微软做了个颜色修正,导致地图偏色很严重(常见偏色是绿色,特别是很多地方卫星图不好的地方),我将这个功能去掉,返回原来本来的颜色。
什么做不到
- 自动生成的建筑、树木、道路和之前是一样的。
- 倾斜摄影生成的建筑还是和之前一样,不会用谷歌替换
注意:如果杀毒软件报错,请加入白名单,都是误报;如果报告证书错误,请直接同意,否则加载不出来。
- 下载release压缩包并解压
- 第一次:安装Python(https://www.python.org/ftp/python/3.9.7/python-3.9.7-amd64.exe),全部使用默认配置
- 运行
run.bat
启动程序,设置好proxy并测试代理,确保代理正常使用。 - 启动模拟飞行,保留命令行的黑窗口
- 保证游戏中在线地图功能打开(BING DATA WORLD GRAPHICS和PHOTOGRAMMETRY),否则只能获得离线地图
- 尽情享用吧
如果hosts文件需要手动恢复,请删除
C:\Windows\System32\drivers\etc\hosts
文件中的如下两行:
127.0.0.1 kh.ssl.ak.tiles.virtualearth.net
127.0.0.1 khstorelive.azureedge.net
微软模拟飞行2020的地景使用了Bing的卫星地图,然而卫星地图比较老旧,很多地区都是几年前的图设置直接是没有的。这种现象在全球不同地区都有。在大陆的图更是10年前的图,有大量地区的卫星图都是没有的,微软便使用程序生成的图代替,质量非常的差。替换过后画质和细节得以明显的提升,可以见下图
Google地图替换后可以得到高清最新的影像
一个小城镇
青海湖(这些卫星图在Bing中不存在)
历史及相关资料
我很早就在研究用谷歌地图替换的可能性,在网上也有油管大神提供了一些思路,使用爬虫从谷歌爬下数据然后导入到MSFS2020中。但这种方式比较复杂,不能大规模的使用。
后来我研究了下网络请求,发现MSFS会从bing的服务器上下载图片,理论上讲将图片替换成另外的图片应该是可以的。而且恰好bing和google的卫星图片的切片方式是类似的可以进行无缝切换,甚至微软还提供了转换的[源代码](https://docs.microsoft.com/en-us/bingmaps/articles/bing-maps-tile-system)(见QuadKeyToTileXY这个函数)
在不断的搜索过程中,发现了和我思路类似的例子。但他的主要目的是将一些不要的东西去掉以改善地景质量。他还建立了一个另外的仓库用来演示一个[使用代理方式替换地景的方法](https://github.com/muumimorko/MSFS2020_Proxy)。遗憾的是这个仓库缺少一些必要的东西,无法正常的运行。
如果你已经成功的实现了,请给个star,让更多人看到! 如果你愿意给与作者一些赞助,请扫描以下二维码支持一下作者。
Recommend
-
9
Easiest Way to Implement Google Map in Scala.js Reading Time: < 1 minuteIn this blog, I would explain how to implement Google Map in scala .js. If you are developing your web application in Scala and you want...
-
9
How To Integrate Customized Google Map in FlutterLet’s develop a customised Google Maps for the best user experience.SourceCO...
-
9
现在 Google map 的移动版是可以直连了吗? V2EX › Google 现在 Google map 的移动版是可以直连了吗?
-
9
msfs2020-electron Project setup npm install Compiles and hot-reloads for development npm run serve Compiles and minifies for production
-
12
Search Engine Land » Google » Google Maps » Google...
-
3
🎬How To Make Side Navigation Menu Using HTML And CSS | Sidebar Menu Design✨ Robson Muniz - Mar 3
-
8
The 11 Best Image Search Engines Want a high-res image to use in your next marketing campaign? Find a list of image search engines here for your next pictur...
-
4
Plus, Bing Chat has passed 100 million daily active users. Barry Schwartz on March 13, 2023 at 10:30 am | Readi...
-
8
In more than two months, Alphabet Inc has seen the fastest decline in its stock price in a single day. The fundamentals seem to be going against Google. This happened after reports emerged suggestin...
-
4
This story is part of a group of stories called Finding the best ways to do good. A few years ago, when Gmail rolled out its a...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK