-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request: linux/wine (with mono) support #218
Comments
There is no easy fix, wfinfo has been builed with a lot of core windows api
calls that can't easily be translated to Linux
…On Mon, Jan 10, 2022, 00:16 Ahmed W. ***@***.***> wrote:
Hello, I tried to start the app with wine (with mono v7.0) and it seems to
crash with:
exception inside UnhandledException handler: (null) assembly:C:\windows\mono\mono-2.0\lib\mono\4.5\mscorlib.dll type:Inval
idOperationException member:(null)
v[ERROR] FATAL UNHANDLED EXCEPTION: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
at System.Uri.CreateThis (System.String uri, System.Boolean dontEscape, System.UriKind uriKind) [0x0007b] in <0c924620d2cd4b85a989ca168d44cf08>:0
at System.Uri..ctor (System.String uriString) [0x00014] in <0c924620d2cd4b85a989ca168d44cf08>:0
at MS.Internal.FontCache.Util.CombineUriWithFaceIndex (System.String fontUri, System.Int32 faceIndex) [0x00009] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Media.GlyphTypeface..ctor (MS.Internal.Text.TextInterface.Font font) [0x0003b] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at MS.Internal.FontFace.PhysicalFontFamily.GetGlyphTypeface (System.Windows.FontStyle style, System.Windows.FontWeight weight, System.Windows.FontStretch stretch) [0x00022] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at MS.Internal.FontFace.PhysicalFontFamily.MS.Internal.FontFace.IFontFamily.GetTypefaceMetrics (System.Windows.FontStyle style, System.Windows.FontWeight weight, System.Windows.FontStretch stretch) [0x00001] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Media.Typeface.ConstructCachedTypeface () [0x000cf] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Media.Typeface.get_CachedTypeface () [0x00024] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Media.Typeface.CheckFastPathNominalGlyphs (System.Windows.Media.TextFormatting.CharacterBufferRange charBufferRange, System.Double emSize, System.Single pixelsPerDip, System.Double scalingFactor, System.Double widthMax, System.Boolean keepAWord, System.Boolean numberSubstitution, System.Globalization.CultureInfo cultureInfo, System.Windows.Media.TextFormattingMode textFormattingMode, System.Boolean isSideways, System.Boolean breakOnTabs, System.Int32& stringLengthFit) [0x00005] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.SimpleRun.CreateSimpleTextRun (System.Windows.Media.TextFormatting.CharacterBufferRange charBufferRange, System.Windows.Media.TextFormatting.TextRun textRun, Managed.TextFormatting.TextFormatterImp formatter, System.Int32 widthLeft, System.Boolean emergencyWrap, System.Boolean breakOnTabs, System.Double pixelsPerDip) [0x0007b] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.SimpleRun.Create (Managed.TextFormatting.FormatSettings settings, System.Windows.Media.TextFormatting.CharacterBufferRange charString, System.Windows.Media.TextFormatting.TextRun textRun, System.Int32 cp, System.Int32 cpFirst, System.Int32 runLength, System.Int32 widthLeft, System.Int32 idealRunOffsetUnRounded, System.Double pixelsPerDip) [0x0021f] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.SimpleRun.Create (Managed.TextFormatting.FormatSettings settings, System.Int32 cp, System.Int32 cpFirst, System.Int32 widthLeft, System.Int32 widthMax, System.Int32 idealRunOffsetUnRounded, System.Double pixelsPerDip) [0x0000e] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.SimpleTextLine.Create (Managed.TextFormatting.FormatSettings settings, System.Int32 cpFirst, System.Int32 paragraphWidth, System.Double pixelsPerDip) [0x00093] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.TextFormatterImp.FormatLineInternal (System.Windows.Media.TextFormatting.TextSource textSource, System.Int32 firstCharIndex, System.Int32 lineLength, System.Double paragraphWidth, System.Windows.Media.TextFormatting.TextParagraphProperties paragraphProperties, System.Windows.Media.TextFormatting.TextLineBreak previousLineBreak, System.Windows.Media.TextFormatting.TextRunCache textRunCache) [0x0004e] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at Managed.TextFormatting.TextFormatterImp.FormatLine (System.Windows.Media.TextFormatting.TextSource textSource, System.Int32 firstCharIndex, System.Double paragraphWidth, System.Windows.Media.TextFormatting.TextParagraphProperties paragraphProperties, System.Windows.Media.TextFormatting.TextLineBreak previousLineBreak, System.Windows.Media.TextFormatting.TextRunCache textRunCache) [0x00001] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at MS.Internal.Text.Line.Format (System.Int32 dcp, System.Double width, System.Windows.Media.TextFormatting.TextParagraphProperties lineProperties, System.Windows.Media.TextFormatting.TextLineBreak textLineBreak, System.Windows.Media.TextFormatting.TextRunCache textRunCache, System.Boolean showParagraphEllipsis) [0x00032] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Controls.TextBlock.MeasureOverride (System.Windows.Size constraint) [0x0024f] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at MS.Internal.Helper.MeasureElementWithSingleChild (System.Windows.UIElement element, System.Windows.Size constraint) [0x00023] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Controls.ContentPresenter.MeasureOverride (System.Windows.Size constraint) [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Controls.Border.MeasureOverride (System.Windows.Size constraint) [0x00115] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Controls.Control.MeasureOverride (System.Windows.Size constraint) [0x00027] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Controls.Grid.MeasureOverride (System.Windows.Size constraint) [0x00058] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at MS.Internal.Helper.MeasureElementWithSingleChild (System.Windows.UIElement element, System.Windows.Size constraint) [0x00023] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Controls.ContentPresenter.MeasureOverride (System.Windows.Size constraint) [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Controls.Decorator.MeasureOverride (System.Windows.Size constraint) [0x00011] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Documents.AdornerDecorator.MeasureOverride (System.Windows.Size constraint) [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Controls.Border.MeasureOverride (System.Windows.Size constraint) [0x00115] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x002ab] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Window.MeasureOverrideHelper (System.Windows.Size constraint) [0x000f4] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.MeasureOverride (System.Windows.Size availableSize) [0x0006e] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.FrameworkElement.MeasureCore (System.Windows.Size availableSize) [0x0004b] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.UIElement.Measure (System.Windows.Size availableSize) [0x001d1] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Interop.HwndSource.SetLayoutSize () [0x00220] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Interop.HwndSource.set_RootVisualInternal (System.Windows.Media.Visual value) [0x00156] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Interop.HwndSource.set_RootVisual (System.Windows.Media.Visual value) [0x00009] in <e43a66ac5a17469c8cf758a9c0e850de>:0
at System.Windows.Window+SourceWindowHelper.set_RootVisual (System.Windows.Media.Visual value) [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.SetRootVisual () [0x00016] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.SetRootVisualAndUpdateSTC () [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.SetupInitialState (System.Double requestedTop, System.Double requestedLeft, System.Double requestedWidth, System.Double requestedHeight) [0x003cc] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.CreateSourceWindow (System.Boolean duringShow) [0x00186] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.CreateSourceWindowDuringShow () [0x00001] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.SafeCreateWindowDuringShow () [0x0000c] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.ShowHelper (System.Object booleanBox) [0x00057] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.Show () [0x00025] in <6b66d3014d624c31b7d7f8166b362e2b>:0
at System.Windows.Window.ShowDialog () [0x00245] in <6b66d3014d624c31b7d7f8166b362e2b>:0
My .NET knowledge is a few decades old, I was wondering if there's an easy
fix for that?
—
Reply to this email directly, view it on GitHub
<#218>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACUQFUTWRVSHTDOP5VCRNLDUVIJNFANCNFSM5LSMYYKA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
For what it's worth I removed wine-mono and installed dotnet 4.8 on the same wine prefix as warframe and still got the same error, then I realized that the prefix is sandboxed and couldn't access all my system fonts, so I added that and got a different error now:
Do you mind keeping this issue open just in case I or someone else who plays on Linux can figure it out? |
I got it to work with proton by running it with protontricks in the proton env but it is unable to detect the warframe process:
|
@Jark5455 if you set |
Where is the WFInfo folder you are referring to? I cannot find it in the proton "env" |
On windows it's |
It does remove the error message but not overlay or window pops up showing the value of the drops after a relic mission |
I suspect that's either due to you having Auto disabled in settings, auto not working under these circumstances. You can simply press the activation key to trigger it manually instead. Beyond that, this is probably mostly WFInfo usage. I suspect it's preferrable to handle any issues that appear over on the WFInfo discord and just post anything we can determine to be related to linux/proton in here |
I accidentally deleted the game and reinstalled and cant seem to get it to work anymore, hmm It appears that the UI opens but doesn't actually load anything, all it shows is the stuff behind the UI but a window is present |
I may try to make a fork without WPF when I have time. Really sucks this doesnt run on linux. |
It's more like rewrite of the relic reward screen feature, but someone made a basic linux version some time ago https://github.com/knoellle/wfinfo-ng |
I could get it to launch (but only using 9.5.6, as 9.6 seems to have broken something when trying to launch it) and work but the only issue I have is that the screenshots end up as totally white or black, as if its not capturing anything.. We are so close to this actually working on linux, is there anyway I can help? I'm a QA and can provide some testing and debugging |
Hello, I tried to start the app with wine (with mono v7.0) and it seems to crash with:
My .NET knowledge is a few decades old, I was wondering if there's an easy fix for that?
The text was updated successfully, but these errors were encountered: