Closed jmfergeau closed 7 months ago
Try running under .Net Framework instead of mono.
Thanks. I didn't even know the official dotnet was a thing for linux! :o
I tried but sadly, it doesn't work. libhostpolicy.so
can't be found when I try to launch it with dotnet. And when I do searches about that file, all the answers i found is "it won't work. use mono." :/
Are you trying to run it natively, not in wine/proton? Only the latter will work properly. You can ask 2155x on the discord server for help if you can't get it to work.
usually no one replies to me on discord but i can try eventually.
I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here.
Thanks for the infos. :)
usually no one replies to me on discord but i can try eventually.
I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here.
Thanks for the infos. :)
Use Winetricks to install dotnet
usually no one replies to me on discord but i can try eventually. I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here. Thanks for the infos. :)
Use Winetricks to install dotnet
I used bottles to make the prefix for KK and dotnet dependencies are installed already. I don't think i would even be able to run the updater at all if I wasn't having them.
Unless you mean a specific dotnet dependency?
i made a wineprefix, and for koikatsu and kkmanager to work and with mods, i used winetricks to set the winhttp.dll
override and installed dotnet with winetricks dotnet35 dotnet48
i didn't have to do anything extra, maybe it depends on the version of wine used? idk
I have all of these in my prefix. Actually it's the only problem I'm facing on my KK and KKS setting. All the rest works as intended. (Though, KK freezes on exiting but that's another problem i think)
So in the end KKM does work?
it always did.
Only thing that happens is that error i mentioned in first post and that non-P2P updating doesn't work.
And even, something to add: the updater seems to struggle on some specific files (most of them being "0b" of size) in both cases, keeping them in a "downloading" state. It's just more problematic on non-p2p because the updater won't download the rest if it doesn't manage to download these files. (mostly the [katarsys] KPlug Animation Bundles
ones)
0b update means it needs to delete a given file, it should be marked with red. The only way this could fail is if the file is used by something else since it's a simple delete operation.
I always run the updater alone from the launcher without launching KK, knowing it can cause problems. (actually, the updater even wants to kill the launcher when it's launched) Maybe it's caused by wine and mono not able to delete the files itself since nothing ever appears in red.
Do you think it can help if i manually delete the files before updating?
(btw tested with 1.2.0 today, still same issue. Not really a surprise but better mention it :p )
Check the log for errors.
Here's the logs I got where I start the standalone updater, click "continue" when the bug report i mentionned first appears, disable the p2p download, then choose to download all updates. It stays stuck at the last lines. I notice an error on some source being not available and skipping... But it looks like it's not skipping?
[13:00:05] Application startup - StandaloneUpdater v1.2.0.0 Amd64
[13:00:05] Following language files are present but they are not specified as supported in LanguageManager: de, fr
[13:00:05] Arguments: Z:\home\max\koikatsu
[13:00:07] [SelfUpdater] The current version of KKManager is the latest
[13:00:07] Looking for update sources...
[13:00:07] Found 5 sources
[13:00:47] Starting update search...
[13:00:47] Start loading zipmods from [Z:\home\max\koikatsu\mods]
[13:02:30] Finished loading zipmods from [Z:\home\max\koikatsu\mods] in 103657ms
[13:02:32] [eus3.betterrepack.com] Failed to download Updates file Updates1.xml - Failed to download file
[13:02:32] [eus3.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISUserData because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:32] [eus2.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISUserData because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:33] [sideload.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISUserData because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping aisr9.1h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping phr32.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.401.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h.c because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.hdhh because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h.cdhh because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kk.101.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkS.1.2.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.r6 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.r6ch because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ais.r11 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ais.r11ch because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkS.2.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kksr2.1h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HC Cockblocker because of conditions
[13:02:34] [betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:34] [betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:34] [betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:34] [betterrepack.com] Skipping HS2UserData because of conditions
[13:02:34] [betterrepack.com] Skipping AISUserData because of conditions
[13:02:34] [betterrepack.com] Skipping dhh.presets because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:34] [betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:34] [betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:34] [betterrepack.com] Skipping aisr9.1h1 because of conditions
[13:02:34] [betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:34] [betterrepack.com] Skipping phr32.h1 because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.401.h because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h.c because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.hdhh because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h.cdhh because of conditions
[13:02:34] [betterrepack.com] Skipping kk.101.h because of conditions
[13:02:34] [betterrepack.com] Skipping kkS.1.2.h1 because of conditions
[13:02:34] [betterrepack.com] Skipping HC Cockblocker because of conditions
[13:02:34] [betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:54] [ERROR] Unexpected error while collecting updates from source hf.honeyselect2.com - skipping the source. Error: System.Net.Sockets.SocketException: Could not resolve host 'hf.honeyselect2.com'
at void System.Net.Dns.Error_11001(string hostName)
at IPHostEntry System.Net.Dns.GetHostByName(string hostName)
at IPHostEntry System.Net.Dns.GetHostEntry(string hostNameOrAddress)
at IPAddress[] System.Net.Dns.GetHostAddresses(string hostNameOrAddress)
at IPAddress[] System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)
at void System.Threading.Tasks.TaskFactory<System.Net.IPAddress[]>.FromAsyncCoreLogic(IAsyncResult iar, Func<IAsyncResult, IPAddress[]> endFunction, Action<IAsyncResult> endAction, Task<IPAddress[]> promise, bool requiresSynchronization)
at async Task FluentFTP.FtpSocketStream.ConnectAsync(string host, int port, FtpIpVersion ipVersions, CancellationToken token)
at async Task FluentFTP.FtpClient.ConnectAsync(FtpSocketStream stream, CancellationToken token) x 2
at async Task<List<FtpProfile>> FluentFTP.FtpClient.AutoDetectAsync(bool firstOnly, bool cloneConnection, CancellationToken token) x 2
at async Task<FtpProfile> FluentFTP.FtpClient.AutoConnectAsync(CancellationToken token)
at async Task KKManager.Updater.Sources.FtpUpdater.Connect(CancellationToken cancellationToken)+(?) => { }
at async Task KKManager.Updater.Sources.FtpUpdater.Connect(CancellationToken cancellationToken)
at async Task<List<UpdateTask>> KKManager.Updater.Sources.FtpUpdater.GetUpdateItems(CancellationToken cancellationToken, bool onlyDiscover, IProgress<float> progressCallback)
at async Task KKManager.Updater.UpdateSourceManager+<>c__DisplayClass1_1.<GetUpdates>g__DoUpdate|4(?)+DoUpdate(?)
at async Task<List<UpdateTask>> KKManager.Updater.UpdateSourceManager.GetUpdates(CancellationToken cancellationToken, UpdateSourceBase[] updateSources, string[] filterByGuids, bool onlyDiscover, IProgress<float> progressCallback)
[13:02:54] Found 4 direct download sources for mod GUID KKCCP - choosing eus2.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Animations - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Studio - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Maps - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - KK_UncensorSelector - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - KK_MaterialEditor - choosing eus2.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Fixes - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack KK - choosing eus3.betterrepack.com as latest
[13:02:54] Found 7 direct download sources for mod GUID Sideloader Modpack - choosing eus3.betterrepack.com as latest
[13:02:54] Found 3 direct download sources for mod GUID KKUserData - choosing eus2.betterrepack.com as latest
[13:02:54] Update search finished. Found 11 update tasks.
[13:04:29] [Updater] 43 out of 43 items have more than 1 source
[13:04:29] [Updater] Downloading updates...
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.0 D.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.0 K.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.1-1.1.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.2.zipmod
The log looks fine. I guess the next step would be to attach a debugger and see where it's stuck in. Not sure what works best on linux/wine though. It can clearly list and download from ftp so there should be no reason to get stuck on it specifically. P2P also deletes old files like this so if it works there then chances are it's not actually the problem.
Well, from what I noticed, P2P doesn't delete old files either. But since it seems to download everything at the same time, it doesn't block what can be downloaded... At the end, when it finished download the downloadable, it also stays stuck the same way.
Try turning off deleting to recycle bin in settings menu.
Try turning off deleting to recycle bin in settings menu.
Just did and tried to update in non-P2P. It worked ! The updater did the job and all as intended. KK also works with no issues after update as well.
Thanks for the suggestion and help. ^^
Note to devs first: I know you don't do support for linux. I'm just asking here for any people who also uses linux here if they experience the same problem and if they might have clues of why it's happening.
Happens both on 1.0.0 and 1.1.0. Never occured on previous versions.
First when I launch the updater, the following error appears. It can be ignored by clicking continue, i don't know if it's related:
Next, if i choose to not use P2P at all, it checks successfully for the updates and lets me choose them. but when I start them, no download occurs. The list appears, with the status "downloading" for the first 4, the others on "waiting" but actual downloading never occurs.
On P2P, no issues. It's horrendously slow but it works.
Anyone else got the issues? Any fixes that can be done on wine/mono eventually?