Git Product home page Git Product logo

msfs2020-google-map's Introduction

New version available and this repo will be read only.

Please see the new repo here: https://github.com/derekhe/msfs2020-google-map-electron

中文

免责声明

本教程提到的方法仅用于研究和学习用途。我不对使用、拓展该教程及方法所造成的任何法律责任和损失负责。

原理

替换本地的DNS,将微软服务器替换成本地服务器并从google地图上获取到卫星图像返回给游戏。涉及到的工具,请自行安装

  • 一个可以访问Google的HTTP代理(如果你在墙外可以直接访问,可忽略)

有哪些增强

  • 对地表的卫星图片进行全局替换成谷歌的
  • 有些地方bing地图没有数据会被显示成自动生成的卫星图,非常丑。谷歌地图涵盖地球所有的地方,不会出现这种问题。
  • 谷歌地图的卫星图比Bing地图更新更快
  • 游戏中微软做了个颜色修正,导致地图偏色很严重(常见偏色是绿色,特别是很多地方卫星图不好的地方),我将这个功能去掉,返回原来本来的颜色。

什么做不到

  • 自动生成的建筑、树木、道路和之前是一样的。
  • 倾斜摄影生成的建筑还是和之前一样,不会用谷歌替换

使用步骤

注意:如果杀毒软件报错,请加入白名单,都是误报;如果报告证书错误,请直接同意,否则加载不出来。

请参考:https://www.bilibili.com/video/BV1Eh411t7on/

背景

微软模拟飞行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)。遗憾的是这个仓库缺少一些必要的东西,无法正常的运行。

IMG

赞助

如果你已经成功的实现了,请给个star,让更多人看到! 如果你愿意给与作者一些赞助,请扫描以下二维码支持一下作者。

微信 阿里

msfs2020-google-map's People

Contributors

derekhe avatar madebylydia avatar marakai avatar orbitally avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

msfs2020-google-map's Issues

[Feature] Run without IU

IU = UI

It would be great if you tool would run without UI then I can start a script to start all my Addon and mods as well as the MSFS client. Further, I could then run this tool on WSL instead windows.

"server"message

srever console show message below repeatly, is this correct ?? Color of "GET /tiles/gen HTTP/1.1" 404 -" is ORANGE, I see "404" feel worrt.
127.0.0.1 - - [22/Aug/2021 10:07:22] "GET /tiles/gen HTTP/1.1" 404 -

and in fs2020 ,I didn't find enhancements.

Stuck at "health check passed"

After executing "run.bat" with administrative privileges, the process on CMD windows stops at "health check passed", and no imagery is added to MSFS 2020 whatever I choose as an option: servers,...I am in Spain, no Google proxy needed.
Thank you!

A Small tip/小贴士

mfs的procedural buildings分为两种,一种是基于OSM数据生成的较精细模型,另一种是在本地识别卫星图并生成的简易模型。在使用本脚本后,OSM的建筑并不会消失,但是卫星图识别的建筑会消失(似乎是SU5后无法再识别第三方卫星图)。而大部分自动生成的机场航站楼是基于卫星图的,请谨慎使用。

There are two types of procedural buildings in msfs, including osm buildings and autogens which are generated with local satellite images. It seems that simupdate 5 messed up almost everything related to aerial maps,including wrong colors while building package and lack of autogens that were available with non-bing satellite images back to simupdate 4. With a number of default airport using autogen terminals, I strongly recommend you to think twice before using it.

[BUG] UnableToWriteHosts() python_hosts.exception.UnableToWriteHosts

Describe the bug
I do run it as Administrator using Windows 11 Pro but it is not able to modify my host file for some reason.

To Reproduce
Run batch file as administrator no errors.
Then start run and I get an error that it can't modify the host file.
I can modify the host file with notepad without issues.
I have a standard host file with no special information within it.

Expected behavior

Screenshots
Traceback (most recent call last):
File "C:\Users\Joe\Desktop\msfs2020-google-map-2021-11-11\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\Joe\Desktop\msfs2020-google-map-2021-11-11\src\app.py", line 234, in run
self.stop()
File "C:\Users\Joe\Desktop\msfs2020-google-map-2021-11-11\src\app.py", line 301, in stop
restore_hosts()
File "C:\Users\Joe\Desktop\msfs2020-google-map-2021-11-11\src\runner.py", line 42, in restore_hosts
hosts.write()
File "C:\Users\Joe\Desktop\msfs2020-google-map-2021-11-11\Python39\lib\site-packages\python_hosts\hosts.py", line 216, in write
raise UnableToWriteHosts()
python_hosts.exception.UnableToWriteHosts

Desktop (please complete the following information):

  • OS: Windows 11 Pro
  • MOD Using the 11-11 relases
  • MSFS MS flightsim ultimate version from ms store.

Additional context
No additional information.

UnicodeDecodeError与证书错误

15b28bd079dd1674aad3075756fbdbe
不好意思,靠录像截到的,有点糊。。。
修改hosts那一段代码不知道为什么会报错(如图),删掉这段代码手动修改运行的话服务器能够启动
不过会出现:
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
然后游戏中会出现data stream带宽过小已关闭串流。
于是目前卡在这里了。。。

No BING photogrammetry

Discussed in #39

Originally posted by 3DSpotters October 21, 2021
So I've checked:

Google mod ON - no BING photogrammetry :/ ...
https://ibb.co/nRkNhpJ

Google mod OFF - BING photogrammetry is ON!
https://ibb.co/pdhMhY8

Looks like the above behavior is logical but... is it possible to somehow do workaround this problem, from inside this mod?

无法加载谷歌卫星图

正常情况下游戏会提示证书,点是之后就能加载谷歌卫星图了,但是现在突然不提示证书了,程序运行情况如下
image

带宽不足

更新SU6及最新的release之后就出现带宽不足的错误,在墙外,链接留空了。bing的卫星图是可以正常读取的,希望可以得以解决。

[BUG] UnableToWriteHosts

When I press run, in the last version of the app, that is what appears, It never worked for me, but now appears that:

File "G:\Flight Simulator 2020\Google no Bing\Python39\lib\site-packages\python_hosts\hosts.py", line 193, in write
with open(output_file_path, mode) as hosts_file:
PermissionError: [Errno 13] Permission denied: 'c:\windows\system32\drivers\etc\hosts'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "G:\Flight Simulator 2020\Google no Bing\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "G:\Flight Simulator 2020\Google no Bing\src\app.py", line 237, in run
self.stop()
File "G:\Flight Simulator 2020\Google no Bing\src\app.py", line 317, in stop
restore_hosts()
File "G:\Flight Simulator 2020\Google no Bing\src\runner.py", line 42, in restore_hosts
hosts.write()
File "G:\Flight Simulator 2020\Google no Bing\Python39\lib\site-packages\python_hosts\hosts.py", line 216, in write
raise UnableToWriteHosts()
python_hosts.exception.UnableToWriteHosts

HELP! I don't know what to do.
My firewall is on, game is not running: in other versions I tried with and without firewall and the result is the same. Maybe hosts archive is protected?

Thanks.

python hosts 无法运行?

请教您,出现如下报错,hosts文件确认后并无写入痕迹,run.bat脚本运行后出现如下内容,请您指教如何修正?谢谢大哥!
Screenshot 2021-09-29 195007
)

I lost my entire internet connection when i used this mod.

I don't have idea why, but when i use this mod. start to work fine i can see the Google Photogrammetry. but after some minutos. my internet conection die, even in my other devices like other PC, Cellphone, TV etc, is really weird. when I see the modem online light is off or flashing . I have tried several time alwayis with the same result. can not be a coincident. if you need more information about it. Tell me where I can get more information and I will gladly provide it to you. this is a great mod.

[BUG] Can't get the program to run: "Exception: Address and Name(s) must be specified."

Describe the bug
"Exception: Address and Name(s) must be specified."

I watched the introduction video and set it up exactly as I should, if I am not mistaken.
When I want to Run the program nothing happens and the console looks like this

It doesn't open the two firewall warnings like in the introduction/Installation video.
I tried it with Anti Virus and Firewall disabled. Both look the same (as in Screenshot)

To Reproduce
Steps to reproduce the behavior:

  1. Go to run.bat and open as administrator
  2. Click on "Test" --> "Connection is good"
  3. Click on "Run"
  4. See Screenshot

Expected behavior
To Run it like in the Video

Screenshots

Screenshot (7)

Desktop (please complete the following information):

  • OS: Win10 21H1 Build: 19043.1348
  • MOD Version newest from 11.11.2021
  • MSFS Version, MS Store: Newst

Additional context

embedded null character

Hello I need some help :

the soft doesnt start, it stay on "stopped"

last line in cmd.exe is : ValueErrror: embedded null character

V2021.11.10 , same issue without antivirus & firewall

thanks for your help :)

[BUG] DOES not seem to work looks good but when you terminate says exit with y it fails when run again it gives port error and total restart of computer needed

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • MOD Version [e.g. 22]
  • MSFS Version, MS Store or Stream

Additional context
Add any other context about the problem here.

Program won't run

I get the Following when i click run

Restoring hosts
Exception in Tkinter callback
Traceback (most recent call last):
File "D:\fs2020\msfs2020-google-map-2021-11-10\Python39\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "D:\fs2020\msfs2020-google-map-2021-11-10\src\app.py", line 230, in run
self.stop()
File "D:\fs2020\msfs2020-google-map-2021-11-10\src\app.py", line 295, in stop
restore_hosts()
File "D:\fs2020\msfs2020-google-map-2021-11-10\src\runner.py", line 40, in restore_hosts
hosts = Hosts()
File "D:\fs2020\msfs2020-google-map-2021-11-10\Python39\lib\site-packages\python_hosts\hosts.py", line 144, in init
self.populate_entries()
File "D:\fs2020\msfs2020-google-map-2021-11-10\Python39\lib\site-packages\python_hosts\hosts.py", line 457, in populate_entries
entry_type = HostsEntry.get_entry_type(hosts_entry)
File "D:\fs2020\msfs2020-google-map-2021-11-10\Python39\lib\site-packages\python_hosts\hosts.py", line 103, in get_entry_type
if is_ipv6(entry_chunks[0]):
File "D:\fs2020\msfs2020-google-map-2021-11-10\Python39\lib\site-packages\python_hosts\utils.py", line 32, in is_ipv6
if socket.inet_pton(socket.AF_INET6, entry):
ValueError: embedded null character

windows 10 MS store version of MSFS

SSLCertVerificationError

New problem. Looking at the command line, I see the 2 most common errors:

ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)

urllib3.exceptions.MaxRetryError`: HTTPSConnectionPool(host='kh.ssl.ak.tiles.virtualearth.net', port=443): Max retries exceeded with url: /tiles/gen (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1123)')))

I installed the certificate from the folder "certs"

使用1.5.0出现问题,请求帮忙

运行server.exe, 出现一行代码就退了,不知道如何解决
server.py:44:Deprecetionwarning:please use dns.resolver.resolver.resolve()instead

[BUG]: Photogrammetry COLOGNE GERMANY not visible

Describe the bug
A clear and concise description of what the bug is.
goto 50.9287712868099, 6.9655217292848155 in maps and flightsim buildings look generated
To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'50.9287712868099, 6.9655217292848155
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.
photogrammetry
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS] win10
  • MOD Version [e.g. 22] latest
  • MSFS Version, MS Store or Stream: Store

Additional context
Add any other context about the problem here.
the dos box show continous loading of tiles

软路由科学上网如何设置?留空或者修改软路由的地址,都无法启动server~

无法启动!显示如下信息

`root "受信任的根证书颁发机构"
相关证书:

精确匹配:
元素 8:
序列号: 1e35e0ede2501f81dafdd462b1632ef6
颁发者: CN=mkcert DESKTOP-O2CB4QF\derekhe@DESKTOP-O2CB4QF, OU=DESKTOP-O2CB4QF\derekhe@DESKTOP-O2CB4QF, O=mkcert development CA
NotBefore: 2021/8/15 0:17
NotAfter: 2023/11/15 0:17
使用者: OU=DESKTOP-O2CB4QF\derekhe@DESKTOP-O2CB4QF, O=mkcert development certificate
非根证书
证书哈希(sha1): 962050be3c49c3aff75f025a676cf3b202245a83

证书 "DESKTOP-O2CB4QF\derekhe@DESKTOP-O2CB4QF" 已经在存储中。
CertUtil: -addstore 命令成功完成。
Proxy url

  • Serving Flask app 'server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
    Traceback (most recent call last):
    File "server.py", line 92, in
    File "flask\app.py", line 922, in run
    File "werkzeug\serving.py", line 1008, in run_simple
    File "werkzeug\serving.py", line 948, in inner
    File "werkzeug\serving.py", line 780, in make_server
    File "werkzeug\serving.py", line 686, in init
    File "socketserver.py", line 452, in init
    File "http\server.py", line 138, in server_bind
    File "socketserver.py", line 466, in server_bind
    OSError: [WinError 10013] 以一种访问权限不允许的方式做了一个访问套接字的尝试。
    [6784] Failed to execute script 'server' due to unhandled exception!`

Scenery I think loads but says connection lost and then goes offline without reconnect

It seems that the Google Maps imagery loads but only in certain places...it's like a mixture of satellite data but then default non-photogrammetry scenery like it can't load certain places.....no clue on how to fix it.

I also had to manually insert what needed to be in the hosts file to make it work. The run.bat didn't seem to do anything to add to the hosts file or to make it work.

Simulator says it disconnected from photogrammetry, then says connected again on the screen, then says it kicks me offline and I have to go back to the menu to make it have Bing data on.
Google Scenery
Google Half and Half

关于不使用代理的bug

如果不使用代理或者使用全局代理的情况下,代码中原有本应该直接返回内容的链接会因为host的本地转发又会被程序捕获造成死循环,然后最终超时报错。
解决方案已经提交审核。

Crash on startup

Hi. Thanks for your hard work but it crashes on startup for me, the main popop doesn't load. Copy/paste of the output from the cmd window below.

C:\Games\Sim\MSFS Google Maps Mod>if exist .\Python39\python.exe (
echo "Use embedded python"
.\Python39\python.exe src\app.py
) else (
echo "Use user python"
py -m pip install -r requirements.txt
py src\app.py
)
"Use embedded python"
Traceback (most recent call last):
File "C:\Games\Sim\MSFS Google Maps Mod\src\app.py", line 12, in
from runner import add_cert, override_hosts, restore_hosts, get_hosts_origin_ips
File "C:\Games\Sim\MSFS Google Maps Mod\src\runner.py", line 9, in
__my_hosts = Hosts()
File "C:\Games\Sim\MSFS Google Maps Mod\Python39\lib\site-packages\python_hosts\hosts.py", line 144, in init
self.populate_entries()
File "C:\Games\Sim\MSFS Google Maps Mod\Python39\lib\site-packages\python_hosts\hosts.py", line 457, in populate_entries
entry_type = HostsEntry.get_entry_type(hosts_entry)
File "C:\Games\Sim\MSFS Google Maps Mod\Python39\lib\site-packages\python_hosts\hosts.py", line 103, in get_entry_type
if is_ipv6(entry_chunks[0]):
File "C:\Games\Sim\MSFS Google Maps Mod\Python39\lib\site-packages\python_hosts\utils.py", line 32, in is_ipv6
if socket.inet_pton(socket.AF_INET6, entry):
ValueError: embedded null character

C:\Games\Sim\MSFS Google Maps Mod>pause
Press any key to continue . . .

How to return to default Bing imagery

Before I try this (which seems amazing as I prefer Google imagery over Bing).....

How do you return to the default photogrammetry of MSFS 2020 if you install this msfs2020-google-map mod?

Please let us know just in case we want to turn it back to the original Bing data

Thanks
Eric

[BUG] Still stuck at 'health check passed'

when i open the mod it shows that the 'requirement is already satisfied' , and when i press RUN in mod it's just stuck at health check passed

please help me out with this sir
image
image

and please inform me if your working on it sir

Endless loading screens when app enabled

Not sure what's causing this, but it's extremely annoying.

if I start MSFS with the google map tool running, the initial loading screen will hang forever. In order to get to the main menu, I need to stop the tool, and only run it once the menu loads.

if I then try to load into a flight with the tool running, it will show some activity in the command prompt window and then eventually stop. The loading screen will then proceed to hang forever.

There are no errors, it just sits on the loading screen indefinitely.

I'm currently trying to locally cache the area I'm wanting to fly, to see if that will improve things. At present though, I cannot get ingame with the tool running.

[BUG] doesn't work

For me the mod doesn't work. No maps being loaded and not maps being visualized in the simulator
The mod loads correctly, but don't load maps.
I looked at the log files under the nginx folder and into the error.log it's showing :
2021/11/11 19:26:32 [notice] 256#5576: using the "select" event method
2021/11/11 19:26:32 [notice] 256#5576: using the "select" event method
2021/11/11 19:26:32 [notice] 256#5576: nginx/1.21.3
2021/11/11 19:26:32 [notice] 256#5576: nginx/1.21.3
2021/11/11 19:26:32 [info] 256#5576: OS: 260200 build:9200, "", suite:100, type:1
2021/11/11 19:26:32 [notice] 256#5576: start worker processes
2021/11/11 19:26:32 [notice] 256#5576: start worker processes
2021/11/11 19:26:32 [notice] 256#5576: start worker process 9296
2021/11/11 19:26:32 [notice] 256#5576: start worker process 9296
2021/11/11 19:26:32 [notice] 9296#7808: nginx/1.21.3
2021/11/11 19:26:32 [notice] 9296#7808: nginx/1.21.3
2021/11/11 19:26:32 [info] 9296#7808: OS: 260200 build:9200, "", suite:100, type:1
2021/11/11 19:26:32 [notice] 9296#7808: create thread 6052
2021/11/11 19:26:32 [notice] 9296#7808: create thread 6052
2021/11/11 19:26:32 [notice] 9296#7808: create thread 5468
2021/11/11 19:26:32 [notice] 9296#7808: create thread 5468
2021/11/11 19:26:32 [notice] 9296#7808: create thread 1924
2021/11/11 19:26:32 [notice] 9296#7808: create thread 1924
2021/11/11 19:26:44 [error] 9296#6052: *1 connect() failed (10061: Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/11 19:26:44 [error] 9296#6052: *1 connect() failed (10061: Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/11 19:26:44 [error] 9296#6052: *1 connect() failed (10061: Impossibile stabilire la connessione. Rifiuto persistente del computer di destinazione) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/11 19:26:44 [warn] 9296#6052: *1 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/11 19:26:44 [warn] 9296#6052: *1 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/11 19:26:44 [info] 9296#6052: *1 client 127.0.0.1 closed keepalive connection

证书验证失败

证书验证失败,换了地区也是一样,上一个版本没问题,打开证书显示Windows没有足够信息,不能验证该证书

出現了這個怎麼辦

C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28>if exist .\Python39\python.exe (
echo "Use embedded python"
.\Python39\python.exe src\app.py
) else (
echo "Use user python"
py -m pip install -r requirements.txt
py src\app.py
)
"Use embedded python"
Traceback (most recent call last):
File "C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28\src\app.py", line 11, in
from runner import add_cert, override_hosts, restore_hosts
File "C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28\src\runner.py", line 15, in
my_hosts = Hosts()
File "C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28\Python39\lib\site-packages\python_hosts\hosts.py", line 144, in init
self.populate_entries()
File "C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28\Python39\lib\site-packages\python_hosts\hosts.py", line 455, in populate_entries
hosts_entries = [line for line in hosts_file]
File "C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28\Python39\lib\site-packages\python_hosts\hosts.py", line 455, in
hosts_entries = [line for line in hosts_file]
UnicodeDecodeError: 'gbk' codec can't decode byte 0xbf in position 2: illegal multibyte sequence

C:\Users\choyt\Downloads\msfs2020-google-map-2021-09-28>pause
Press any key to continue . . .``

[BUG]

Describe the bug
A clear and concise description of what the bug is.
MSFS_2020_google_map_install_issue

here is a screen shot the the run bat box that pops up as requested...

error message "Generate nginx file failed"

Congratulations for the effort to develop this nice mod!
After starting the run.bat file as administrator, I click "run", and receive the error message "Generate nginx file failed". It seems the mod is not loading Google Maps images.
Also, I'm getting another error message in the run.dat output "dns.exeption.Timeout: The DNS operation timed out after 5.4 seconds".
Any suggestions?
Thanks!

Version 20211111 Not working...

I am using Win11.

Error log of nginx:
`2021/11/12 10:10:23 [notice] 28996#28640: using the "select" event method

2021/11/12 10:10:23 [notice] 28996#28640: using the "select" event method
2021/11/12 10:10:23 [notice] 28996#28640: nginx/1.21.3
2021/11/12 10:10:23 [notice] 28996#28640: nginx/1.21.3
2021/11/12 10:10:23 [info] 28996#28640: OS: 260200 build:9200, "", suite:100, type:1
2021/11/12 10:10:23 [notice] 28996#28640: start worker processes
2021/11/12 10:10:23 [notice] 28996#28640: start worker processes
2021/11/12 10:10:23 [notice] 28996#28640: start worker process 12860
2021/11/12 10:10:23 [notice] 28996#28640: start worker process 12860
2021/11/12 10:10:23 [notice] 12860#20632: nginx/1.21.3
2021/11/12 10:10:23 [notice] 12860#20632: nginx/1.21.3
2021/11/12 10:10:23 [info] 12860#20632: OS: 260200 build:9200, "", suite:100, type:1
2021/11/12 10:10:23 [notice] 12860#20632: create thread 22976
2021/11/12 10:10:23 [notice] 12860#20632: create thread 22976
2021/11/12 10:10:23 [notice] 12860#20632: create thread 24928
2021/11/12 10:10:23 [notice] 12860#20632: create thread 24928
2021/11/12 10:10:23 [notice] 12860#20632: create thread 25332
2021/11/12 10:10:23 [notice] 12860#20632: create thread 25332
2021/11/12 10:10:35 [error] 12860#22976: *1 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/12 10:10:35 [error] 12860#22976: *1 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/12 10:10:35 [error] 12860#22976: *1 connect() failed (10061: No connection could be made because the target machine actively refused it) while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/12 10:10:35 [warn] 12860#22976: *1 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/12 10:10:35 [warn] 12860#22976: *1 upstream server temporarily disabled while connecting to upstream, client: 127.0.0.1, server: kh.ssl.ak.tiles.virtualearth.net, request: "GET /health HTTP/1.1", upstream: "http://[::1]:8000/health", host: "kh.ssl.ak.tiles.virtualearth.net"
2021/11/12 10:10:35 [info] 12860#22976: *1 client 127.0.0.1 closed keepalive connection`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.