Comments (8)
Thank you @Steveveepee for opening the issue and pre-qualifying this much... and adding the file :-)
Unfortunately, even with your file, it doesn't crash for me. But your suggestion was correct - where I actually use try/catch here, I added the e.message to show what's wrong.
Would you be so kind and test this version? Haven't published this one yet, so please DL this zip.
R3.zip
Thank you for contributing!
from dcs-config-manager.
Thanks, It's a path error.
Its looking for C:\Users*username*\SavedGames\DCS\config\options.lua
I don't have the base DCS folder with a config\options.lua in my Saved Games folder.
I do have Saved Games\DCS.openalpha and Save Games\DCS.openbeta with the correct structure for each under that.
Sounds like it needs some fall through logic to find a options.lua in one or more of these folders.
Regards,
Steve.
from dcs-config-manager.
Thanks @Steveveepee for the info. In that case you'll have to use the settings tab to tell the app where your config folder is for that instance. That's why I gave the option to change the path for each installation... but obviously didn't test this case good enough :-)
Btw I just "guess" the path in the app (looking directly at %userprofile%\Saved Games) - can't check right now (I'm on an airport) - but DCS doesn't note the config path in the registry, so I can't detect where it is. My guess is/was that the majority of all users will have it where it originally gets saved.
Planned changes to the app: I need to overhaul the error handling & messages that this case is communicated to the user properly - not as an error per se, but a notification, on first load.
from dcs-config-manager.
I cant get to the settings tab at all, the program exits after the first options.lua cant be found.
from dcs-config-manager.
Yeah :-) The panic was implemented pretty late and I simply forgot to test that scenario. Will have an update ready within the day.
from dcs-config-manager.
@Steveveepee Hmmm actually I do check for the existance of the directory at least...
So I build "%userprofile%\Saved Games\DCS" and check for it's existance. This seems to be true for you as I only try to read the options lua in that case (I then add \config\options.lua). Only then it would run into the situation you're facing.
Does this mean you have a DCS folder (no matter the content) in Saved Games, but the "real content" is elsewhere? Can you give me the full path to your options.lua?
I get the feelign that you might be "breaking" the "Basefolder+config+options.lua"-formula.
from dcs-config-manager.
@Steveveepee if you're still interested - I added logging to the recent pre-release that will help me understand you problem better. You can get it via https://github.com/TheFitzZZ/DCS-Config-Manager/releases/download/R3Pre1/PreRelease-Portable-R3.zip
It'll drop a log in %localappdata%\DCSConfMgr - please upload this here.
from dcs-config-manager.
Closed due to inactivity by OP - feel free to open it again.
from dcs-config-manager.
Related Issues (20)
- Crash on second use after reinstall HOT 2
- Switch back to original configuration (vr/nonVR) on first launch to not irritate user and create rage on /r/hoggit HOT 1
- Configuration mixup RC6 HOT 4
- Crash in luacheck HOT 1
- Config load from clone may not be working after update HOT 1
- Implement detection of any number of DCS versions - e.g. "Advanced mode"
- Error pop up on program startup HOT 3
- Errorscreen Pull up! HOT 3
- Allow user to specify additional applications to be started when using vr or nonvr
- Add general logging capabilities (also for startup shortcuts) HOT 1
- Buildin cleanup for clone HOT 1
- Add option to specify DCS install path if reg keys are not found.
- New feature: logbook sharing HOT 2
- New feature: Change standard audio devices when launching DCS VR HOT 2
- UX Improvements
- Steam? HOT 1
- Fix slow loading
- Installer won't run
- IE treats .application as .txt when downloading ... *sigh* HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcs-config-manager.