Coder Social home page Coder Social logo

Comments (8)

AntonioDePau avatar AntonioDePau commented on August 29, 2024

Hey, I don't know much about Linux, so I don't think I'll be able to help much with this, but I'll try.

The error log mentions the following, it's worth Googling it and checking if there are any fixes:
012c:err:module:fixup_imports_ilonly mscoree.dll not found

Found this for now:
https://www.reddit.com/r/winehq/comments/eqx1uu/wine_doesnt_see_mscoreedll/

For me, a repair of dotnet would not fix it, had to run the uninstaller via "wine uninstaller" and then re-install dot net via "winetricks -force dotnet".
I would say try the repair option first anyway though. Using the "wine uninstaller" wizard should prompt to repair or remove.

Try that and let me know how it goes.

But to be honest, I don't think the issue is KHPCPatchManager related and seems to be obviously tied to Linux/Wine/Lutris. So yeah, have a look on the internet regarding that error I quoted. Let me know what you find and I'll try and help from there.

from khpcpatchmanager.

RoseIlanga avatar RoseIlanga commented on August 29, 2024

Oh, sorry. I should have said I was running directly through Wine, not Lutris.

I've tried searching for what fixes I can, but none of them have worked for me so far. I can't imagine I'm doing anything wrong, since I'm testing with a clean Wine prefix and installing .NET stuff in it.

For some reason, none of the .NET installers are installing mscoree.dll into the system32 and syswow64 directories, so programs aren't finding it and then fail.

from khpcpatchmanager.

AntonioDePau avatar AntonioDePau commented on August 29, 2024

Regarding this:

I'm not sure if there's a winetricks thing I'm missing, but I thought the dotnet ones should have covered it. I get the same error when running in Wine with Mono.

Are you sure the error message when using Wine with Mono is 100% the same?

Have you seen the last reply to this thread: https://forum.winehq.org/viewtopic.php?p=136376&sid=c46a649c0cb3ad29e070c661c34fc253#p136376

You can also replace Wine-Mono with .Net from Microsoft. This can be done easily with winetricks.

Have you tried that?

from khpcpatchmanager.

RoseIlanga avatar RoseIlanga commented on August 29, 2024

I guess I misremembered. It's not the same.

wine KHPCPatchManager.exe
002c:fixme:winediag:loader_init wine-staging 8.18 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
0080:fixme:wineusb:query_id Unhandled ID query type 0x5.
012c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
* Assertion at /vagrant/mono/mono/metadata/object.c:4677, condition `is_ok (error)' not met, function:prepare_
run_main, Could not load type of field 'KHPCPatchManager:ZipFiles' (12) due to: Could not load file or assembl
y 'DotNetZip, Version=1.15.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745' or one of its dependencies. 
assembly:Z:\home\sleetixia\Downloads\KHPCPatchManager.exe type:KHPCPatchManager member:(null)

012c:err:mscoree:expect_no_runtimes Process exited with a Mono runtime loaded.

I don't know if Mono implements .NET 5.0+, though, so that might be the problem when it comes to running it through Mono.

I haven't looked at that thread specifically but I've already done that. I did winetricks dotnet40 dotnet452 dotnet48, which automatically removes Mono if it's installed (it shouldn't have been in this case), and then manually installed .NET 5.0 from the installers on Microsoft's website.

from khpcpatchmanager.

AntonioDePau avatar AntonioDePau commented on August 29, 2024

condition `is_ok (error)' not met, function:prepare_
run_main, Could not load type of field 'KHPCPatchManager:ZipFiles' (12) due to: Could not load file or assembl
y 'DotNetZip, Version=1.15.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745' or one of its dependencies.

Okay, so your issue is with DotNetZip specifically. This is the one that handles .khpcpatchfiles, which are just compressed archives.
I have no idea how to make that work in your case though... But it doesn't seem like it's an issue with .NET's version.

The error message also indicates that it could be one of DotNetZip dependencies being the issue. You can check them here:
https://www.nuget.org/packages/DotNetZip/#dependencies-body-tab

Which version of KHPCPatchManager have you been trying?
I suggest you download and try with version 1.1.5: https://github.com/AntonioDePau/KHPCPatchManager/releases/tag/v1.1.5

Do you have Discord? Add me (antoniodepau) if possible and I'll try and send you a custom made version to see if we can solve this.

from khpcpatchmanager.

RoseIlanga avatar RoseIlanga commented on August 29, 2024

Huh, I wonder why...

How would I check problems with the dependencies on the compiled executable?

I've been using the latest version, 1.2.0, but I can try with 1.1.5.

Yeah, I have Discord. I'll add you later after some sleep and hopefully we can figure something out.

from khpcpatchmanager.

Raflos10 avatar Raflos10 commented on August 29, 2024

I was able to solve this issue for myself by downloading https://www.nuget.org/packages/DotNetZip/1.15.0
Extract lib/net40/DotNetZip.dll and put it in the same directory as the patch manager.

from khpcpatchmanager.

NeverBetterGT23 avatar NeverBetterGT23 commented on August 29, 2024

I wanted to ask, though I doubt it; Are there any plans to make a Linux version of this app? I don't have a steam deck yet, but I plan to buy a used one soon and would like to be able to run mods on that version just like I do on Windows.

from khpcpatchmanager.

Related Issues (20)

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.