kubilus1 / autoortho

Orthophoto streaming for X-Plane 11
Apache License 2.0
215 stars 38 forks source link

Autoortho 0.6.0.1 Error Loading the scenery package : Custom Scenery/z_aus_pac/ Still Exists #368

Closed SimOld73 closed 1 year ago

SimOld73 commented 1 year ago

I have tried version 0.5.1.3 and 0.6.01 and I get the error Loading the scenery package: Custom Scenery/z_aus_pac/. In both version I have tried Dokan and WinFSP and I still get the error with X-Plane 12 shutting down. I have been able to get autoortho to load and X-Plane 12 to run if I change the Debug Mode in the .autoortho file from False to True.

Jeff2122 commented 1 year ago

Seems like a timing or race condition is changed/fixed by extra work in debug mode. (?) I just can't understand how it is helping here yet. It makes sense internally in a compiled program to adjust delays to make things work. But adjusting timing on AO by putting it in debug mode? Perhaps this tidbit will help the dev see an issue in the code.

rayw45 commented 1 year ago

Well thanks SimOld73. I tried this workaround and finally I no longer got the cant run error. I even brought back my original V4 cache file which is over 300GB in size and that worked with this making the DebugMode = True. However it seems to take about twice as long to load in new scenery files form areas where I have flown many times and would be in my cache folder.

Another new problem I am getting is that way after the long process of Reading New Scenery Files when it gets to the last stage of Preparing World it sometimes crashes XP12 with un unexpected termination error. So the workaround does help but seems to be producing another problem of its own and it seems to be slowing down loading existing scenery tiles.

zippy77777 commented 1 year ago

I have tried version 0.5.1.3 and 0.6.01 and I get the error Loading the scenery package: Custom Scenery/z_aus_pac/. In both version I have tried Dokan and WinFSP and I still get the error with X-Plane 12 shutting down. I have been able to get autoortho to load and X-Plane 12 to run if I change the Debug Mode in the .autoortho file from False to True.

where do you find debug mode?????????

SimOld73 commented 1 year ago

The Debug mode is in the .autoortho file which is located C:\users\Your computer name

zippy77777 commented 1 year ago

I don't see anything at all there relating to debug?

zippy77777 commented 1 year ago

I just cannot get autoortho working, it's just crashed constantly, all day I have tried.

SimOld73 commented 1 year ago

It is not in the .autoortho-data folder is in the .autoortho cfg file. You have to open it in notepad see the following text.

[general]

use gui config at startup

gui = True

show config setup at startup everytime

showconfig = True

hide when running

hide = True

debug mode

debug = True

[paths]

x-plane custom scenery path

scenery_path = H:/X-Plane 12/Custom Scenery

directory where satellite images are cached

cache_dir = H:/.autoortho-data/cache

changing downloader_dir is currently not supported

download_dir = C:\Users\ddash.autoortho-data\downloads

changing log_file dir is currently not supported

log_file = C:\Users\ddash.autoortho-data\logs\autoortho.log

[autoortho]

override map type with a different source

maptype_override = BI

minimum zoom level to allow. this will not increase the max quality of satellite imagery

min_zoom = 12

max time to wait for images. higher numbers mean better quality, but more

stutters. lower numbers will be more responsive at the expense of

ocassional low quality tiles.

maxwait = 0.5

[pydds]

ispc or stb for dds file compression

compressor = ISPC

bc1 or bc3 for dxt1 or dxt5 respectively

format = BC1

[scenery]

don't cleanup downloads

noclean = False

[fuse]

enable or disable multi-threading when using fuse

threading = True

[winfsp]

enable windows to use winfsp mode instead of fuse mode. this is not typically recommended

winfsp_raw = False

[flightdata]

local port for map and stats

webui_port = 5000

udp port xplane listens on

xplane_udp_port = 49000

SimOld73 commented 1 year ago

On my computer the file is C:\Users\ddash\ .autoortho

zippy77777 commented 1 year ago

image

zippy77777 commented 1 year ago

image

zippy77777 commented 1 year ago

I don't have that file!

zippy77777 commented 1 year ago

where is this .cfg file you talk about???

zippy77777 commented 1 year ago

On my computer the file is C:\Users\ddash\ .autoortho

what is ddash?

Jeff2122 commented 1 year ago

.autoortho file is located in C:\Users\YOURUSERNAME\

ddash is his username.

This file has a dot in front, not at the end. It may be hidden on your system, so try showing hidden files. Note that this file may not be present until the first time you run AO. So if not there, run AO, close AO, find file.

zippy77777 commented 1 year ago

Thx

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

Ichnusa66 commented 11 months ago

I don't know if my contribution can be useful....I solved the problem by uninstalling Dokan, clearing the Auto Ortho cache and installing WinSfp