https://bugs.winehq.org/show_bug.cgi?id=48596
Bug ID: 48596 Summary: Net64+ needs tasklist implementation Product: Wine Version: 5.0 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: thegooster88@gmail.com
Net64+ requires to find an emulator to run the Super Mario 64 online mod on. it uses tasklist which at the time of writing has not been implemented. could this be implemented at some point?
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #1 from thegooster88@gmail.com --- applies to https://appdb.winehq.org/objectManager.php?sClass=application&iId=19744
https://bugs.winehq.org/show_bug.cgi?id=48596
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://github.com/Tarnadas | |/net64plus/releases Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=48596
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 66436 --> https://bugs.winehq.org/attachment.cgi?id=66436 copy/paste hack
The program has apparently fallback, if you disable tasklist.exe it seems to choose a different route and it starts to show some servers
Attached also a copy/paste hack that allows the program to start with tasklist enabled.
Maybe someone more skilled could make a "real' patch out of it (this is just crappy copy/paste code from wine/programs/find/find.c and wine/programs/taskmgr/perfdata.c)
There`s is already a bugreport about tasklist (bug 43990) but I suggest to make this one for the "printing tasks in csv format" issue, and keep it open as it has source code
https://bugs.winehq.org/show_bug.cgi?id=48596
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |programs Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Summary|Net64+ needs tasklist |Net64+ needs tasklist print |implementation |process +PID in csv format Keywords| |source
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Added some info, L"tasklist" L"/FO" L"CSV" L"/NH"
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #4 from thegooster88@gmail.com --- cool, however i don't know how to compile wine... do you think you could give me a compiled version for Mac?
https://bugs.winehq.org/show_bug.cgi?id=48596
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Net64+ needs tasklist print |Net64+ needs tasklist.exe |process +PID in csv format |to print process +PID in | |csv format
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to thegooster88 from comment #4)
cool, however i don't know how to compile wine... do you think you could give me a compiled version for Mac?
I don`t have Mac, but did you already try the 1st work-around from comment 2 by disabling tasklist?
So open winecfg/library tab and add tasklist.exe and set it to disabled, or run by: WINEDLLOVERRIDES=tasklist.exe=d wine Net64+.exe
That allowed me to see the servers as well, didn`t any further
Regards
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #6 from thegooster88@gmail.com --- damn, it crashes when I hit connect. can that be fixed now?
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #7 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to thegooster88 from comment #6)
damn, it crashes when I hit connect. can that be fixed now?
Could you attach the console output and backtrace of the crash?
Also, do you need to have ROMS loaded to reproduce this crash, or can it be reproduced by just the programs from the downloadlink?
My guess (for now) is you just run into (yet) another bug, not related to this one
Regards
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #8 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 66442 --> https://bugs.winehq.org/attachment.cgi?id=66442 minimal functionality patch
I polished up the patch;
It handles the "tasklist" L"/FO" L"CSV" L"/NH" apparently.
But it looks like the app now wants more after this patch applied:
"tasklist" L"/FI" L"PID eq 99" L"/FO" L"CSV" L"/NH" L"/V"
So we should now only print that pid (of Project64MM.exe in this case)
With the patch the wrong process (services.exe) appears in the GUI, but I was nevertheless able to connect to a server...
https://bugs.winehq.org/show_bug.cgi?id=48596
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #9 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 66467 --> https://bugs.winehq.org/attachment.cgi?id=66467 updated patch
attached another update of the patch
The command line parsing turns out to be much more complicated then adding the simple "report all running processes " code
Here`s an attempt, still rather clumsy maybe, but it fixes this bug, and also handles something like (found in bugzilla for nox player):
tasklist L"/FI" L"Imagename eq NoxVMSVC.exe" L"-nh"
https://bugs.winehq.org/show_bug.cgi?id=48596
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/tasklist-basics Status|NEW |STAGED
https://bugs.winehq.org/show_bug.cgi?id=48596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
--- Comment #10 from Anastasius Focht focht@gmx.net --- *** Bug 43990 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48596
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Net64+ needs tasklist.exe |Multiple applications need |to print process +PID in |tasklist.exe to support |csv format |printing process list in | |CSV format '/fo CSV /nh' | |(Net64+ Client 2.x, | |Playstation Now 11.x) CC| |focht@gmx.net URL|https://github.com/Tarnadas |https://web.archive.org/web |/net64plus/releases |/20210306110002/https://git | |hub.com/Tarnadas/net64plus/ | |releases/download/2.5.2/Net | |64plus_2.5.2-win32-x64.7z
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
refining summary to collect more applications (dupes) here.
Adding stable download via Internet Archive:
https://web.archive.org/web/20210306110002/https://github.com/Tarnadas/net64...
$ sha1sum Net64plus_2.5.2-win32-x64.7z 21f0244d7f7a4b59708fcf1b438c6893b65a4636 Net64plus_2.5.2-win32-x64.7z
$ du -sh Net64plus_2.5.2-win32-x64.7z 38M Net64plus_2.5.2-win32-x64.7z
---
Adding application from bug 43990 -> Playstation Now 11.x
Stable download link via Internet Archive:
https://web.archive.org/web/20190604203659/https://download-psnow.playstatio...
$ sha1sum PlayStationNow-11.0.0.exe be7532ca525e66bbe822503f6b9d7d3adc57f39d PlayStationNow-11.0.0.exe
$ du -sh PlayStationNow-11.0.0.exe 91M PlayStationNow-11.0.0.exe
$ wine --version wine-6.3-195-g5bccf6fc3f3
Regards
https://bugs.winehq.org/show_bug.cgi?id=48596
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |topjetboy@yahoo.com
--- Comment #12 from Jactry Zeng jactry92@gmail.com --- *** Bug 47318 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=48596
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Multiple applications need |Multiple applications need |tasklist.exe to support |tasklist.exe to support |printing process list in |printing process list in |CSV format '/fo CSV /nh' |CSV format '/fo CSV /nh' |(Net64+ Client 2.x, |(Net64+ Client 2.x, |Playstation Now 11.x) |Playstation Now 11.x, | |MathType)
https://bugs.winehq.org/show_bug.cgi?id=48596
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |zzhang@codeweavers.com CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=48596
--- Comment #13 from Zhiyi Zhang zzhang@codeweavers.com --- Assigning to myself to upstream this.
https://bugs.winehq.org/show_bug.cgi?id=48596
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |397ce0dbf2c8f536c2fab781093 | |62b962c5de8cb
--- Comment #14 from Vijay Kamuju infyquest@gmail.com --- Upstreamed by merge request : https://gitlab.winehq.org/wine/wine/-/merge_requests/2688
https://bugs.winehq.org/show_bug.cgi?id=48596
Zhiyi Zhang zzhang@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|zzhang@codeweavers.com |wine-bugs@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=48596
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 8.8.