Giter VIP home page Giter VIP logo

Comments (13)

IgorTheLight avatar IgorTheLight commented on September 4, 2024 1

I would be interested in your old Local.ini so I would know what caused that problem in the first place.
Sadly to get the old one you should use file recovery utility so I'm not sure that it worth the hassle.
Anyways - I looked at all "SelectedIndex" in SettingsManagerForm.InitializeGUIWithSettings(bool localINI, bool playercfgLUA)
and couldn't spot the problem.
P. S. Glad to see another fellow programmer. I hope our code is not too terrible ;-)

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024 1

And it's fixed now!
I can't extensively test it because I don't have two videocards but it will not longer throw an exception and will actually correct the active videocard! :-)

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024 1

Nice!
Was glad to help :-)

from dow-mod-manager.

Fragjacker avatar Fragjacker commented on September 4, 2024

Peculiar. I'll also tag @IgorTheLight since this is also relevant for him as well.

from dow-mod-manager.

ianharrigan avatar ianharrigan commented on September 4, 2024

Btw, just read a little bit of the code, and realised my Local.ini will be regened, so delete it and settings works again.

from dow-mod-manager.

ianharrigan avatar ianharrigan commented on September 4, 2024

I guess logically deleted would have probably been a better term to use :)

Heres my old Local.ini that seemed to have the issue (zipped so i can paste it)

__Local.zip

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024

Thanks!
I could reproduce the bug all the time!
Investigating...

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024

I located the bug and working on solving it...
The bug is that in Local.ini "screenadapter=1" (that mean that game should select your second videocard) while DoW Mod Manager could detect only one videocard.
So it tries to select the second videocard in the list with just one and Windows Forms tries to prevent that.
The question is: do you really have two videocards or "screenadapter=1" is just a mistake?

from dow-mod-manager.

ianharrigan avatar ianharrigan commented on September 4, 2024

Nice one, i havent tested it, but im sure its working :)

Ill close this.

Cheers,
Ian

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024

No-no-no!
Test it first.
It worked for me - maybe I was lucky ;-)

from dow-mod-manager.

ianharrigan avatar ianharrigan commented on September 4, 2024

OK, in meetings at the moment - is there a precompiled version?

from dow-mod-manager.

IgorTheLight avatar IgorTheLight commented on September 4, 2024

Sure!
https://github.com/IgorTheLight/DoW-Mod-Manager/tree/master/DoW%20Mod%20Manager/LatestStable
Here it is - it's 2.1.8 just wothout version number in it's name
Autoupdate will be available as fast as Fragjacker could accept my last pull request (after fixing a few weird issues that GitHub will throw :-) )

from dow-mod-manager.

ianharrigan avatar ianharrigan commented on September 4, 2024

Cool - worked fine - renamed old _Local.ini back to Local.ini and verified crash on old version, no crash on new one.

πŸ‘

Cheers,
Ian

from dow-mod-manager.

Related Issues (18)

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.