Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: [SOLVED] Fixing GUI.  (Read 4454 times)

Vabalokis

  • Bay Watcher
  • Urist McKneeGrow
    • View Profile
[SOLVED] Fixing GUI.
« on: January 06, 2014, 07:14:21 pm »

Everything was fine in 4.e version and then after 4.f none of the versions work for me , it crashes before it loads.
Spoiler (click to show/hide)
Reinstalling .net framework dosnt help. Any ideas how to fix it?
« Last Edit: January 07, 2014, 10:45:35 am by Vabalokis »
Logged

FengYun

  • Bay Watcher
    • View Profile
Re: Fixing GUI.
« Reply #1 on: January 06, 2014, 11:43:33 pm »

It must be .NET Framework, I suspect.

You can start Dwarf Fortress without GUI - basically it's there just to customize the settings before you start to play. What I would try is downloading 4g and 4e and then replacing the GUI application file with an old one from 4e.

Did you try MWDF - SWP? As I can see, Splinterz updated the GUI a bit, though it was not really connected with incompatibility issues. But who knows, maybe it will work better.
Logged

Vabalokis

  • Bay Watcher
  • Urist McKneeGrow
    • View Profile
Re: Fixing GUI.
« Reply #2 on: January 07, 2014, 05:24:59 am »

As for now i can manage w/o gui , but i want to find a fix before warlock fortress hits cuz its a pain to change more advanced things w/o it.
Logged

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Fixing GUI.
« Reply #3 on: January 07, 2014, 05:29:02 am »

I dont know what it could be. I think its not a bug in the GUI, but rather a dependency that your system does not have, like NET.framework, some software that missing, a Microsoft Service Pack... something like that. I honestly dont know.

I found this "d73f75374b65fea38feeedc8c51d26b8" in a german board about VB programs, but that was the only other hit. No solutions in there.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

Vabalokis

  • Bay Watcher
  • Urist McKneeGrow
    • View Profile
Re: Fixing GUI.
« Reply #4 on: January 07, 2014, 06:44:10 am »

Tried debugging and this what ive got .
Spoiler (click to show/hide)
The program breaks 'At MasterworkDwarfFortress.My.MyProject.MyForms.get_MainForm + 0x00000046 in process Masterwork Dwarf Fortress.exe'

Assembly(disassembly) code of MasterworkDwarfFortress.My.MyProject.MyForms.get_MainForm:
Spoiler (click to show/hide)
« Last Edit: January 07, 2014, 06:55:42 am by Vabalokis »
Logged

kamikazi1231

  • Bay Watcher
  • Meddler of Raws
    • View Profile
Re: Fixing GUI.
« Reply #5 on: January 07, 2014, 06:57:56 am »

What OS are you using?
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Fixing GUI.
« Reply #6 on: January 07, 2014, 07:07:55 am »

what dll files are in your masterworkdwarffortress folder?

FengYun

  • Bay Watcher
    • View Profile
Re: Fixing GUI.
« Reply #7 on: January 07, 2014, 07:08:45 am »

He's using Win7 x64 IIRC: he wrote about this earlier in one of the threads.

Vabalokis, could you check what versions of .NET you have installed, following this guide? I thought, sometimes different versions need to be used, so if there is a chance that there is no 2.0, 3.0 or 3.5 in your system, it might be the case. Though I'm not really sure.
Logged

Urist McTeellox

  • Bay Watcher
    • View Profile
Re: Fixing GUI.
« Reply #8 on: January 07, 2014, 07:11:16 am »

Writing from a position of ignorance here, but if you replace the MasterworkDwarfFortress/System.Windows.Forms.Ribbon35.dll file with the copy from one of the previous releases which does work for you, does that alter the situation at all?  (My git history says that it changed a bunch around the 22-23rd December, and I don't usually expect .dll files to change...)

~ T
Logged

kamikazi1231

  • Bay Watcher
  • Meddler of Raws
    • View Profile
Re: Fixing GUI.
« Reply #9 on: January 07, 2014, 07:48:29 am »

Just an idea maybe try shutting down any virus scan and redownload? A while back my Norton was blocking the masterwork download. Maybe a new version of whatever you use is corrupting something during download or unzipping?
Logged

Vabalokis

  • Bay Watcher
  • Urist McKneeGrow
    • View Profile
Re: Fixing GUI.
« Reply #10 on: January 07, 2014, 07:55:16 am »

What OS are you using?
Win7x64

what dll files are in your masterworkdwarffortress folder?

KRBTabControl.dll
System.Windows.Forms.Ribbon35.dll

He's using Win7 x64 IIRC: he wrote about this earlier in one of the threads.

Vabalokis, could you check what versions of .NET you have installed, following this guide? I thought, sometimes different versions need to be used, so if there is a chance that there is no 2.0, 3.0 or 3.5 in your system, it might be the case. Though I'm not really sure.

2.0 , 3.0 , 3.5 , 4.0 is there.

Writing from a position of ignorance here, but if you replace the MasterworkDwarfFortress/System.Windows.Forms.Ribbon35.dll file with the copy from one of the previous releases which does work for you, does that alter the situation at all?  (My git history says that it changed a bunch around the 22-23rd December, and I don't usually expect .dll files to change...)

~ T

Thanks to you , i noticed that 4.e version had "Jacksonsoft.CustomTabControl.dll" and 4.f didnt , so i coppied it to 4.f "MasterworkDwarfFortress" folder and now it dosnt crash. So now i can play 4.f , now lets try to dl 4.g and try it there.




4.g , new error :( Again random crash report but debugged and this what it said :
Spoiler (click to show/hide)
Now random font problem :@
When this curse will end...

ps.Thanks for all the support!
« Last Edit: January 07, 2014, 07:56:59 am by Vabalokis »
Logged

kamikazi1231

  • Bay Watcher
  • Meddler of Raws
    • View Profile
Re: Fixing GUI.
« Reply #11 on: January 07, 2014, 08:04:10 am »

Haha watch out for those 4f diseases. They were insane.

The missing file makes me still think something is corrupting the download. Maybe a spy ware blocker or new firewall update recently?
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Fixing GUI.
« Reply #12 on: January 07, 2014, 10:04:50 am »

Quote
Additional information: An error occurred creating the form. See Exception.InnerException for details.  The error is: Font 'Arial' does not support style 'Regular'.
that sounds like either a corrupt or unregistered font problem on your machine.

Quote
Thanks to you , i noticed that 4.e version had "Jacksonsoft.CustomTabControl.dll" and 4.f didnt , so i coppied it to 4.f "MasterworkDwarfFortress" folder and now it dosnt crash. So now i can play 4.f , now lets try to dl 4.g and try it there.
yes, copy/pasting things you think have changed to manually update can and will cause these kinds of problems.  :-\

Vabalokis

  • Bay Watcher
  • Urist McKneeGrow
    • View Profile
Re: Fixing GUI.
« Reply #13 on: January 07, 2014, 10:41:37 am »

Quote
Additional information: An error occurred creating the form. See Exception.InnerException for details.  The error is: Font 'Arial' does not support style 'Regular'.
that sounds like either a corrupt or unregistered font problem on your machine.

Thanks for suggestions !

For people who have(will have) same problem : a FIX .

Everything works fine now ! Thank you all for support <3333
Logged