madewokherd / wine-mono

Other
287 stars 38 forks source link

Steam Deck, Mono vs dotnet40, new Fling trainers #167

Open sevenpastzeero opened 1 year ago

sevenpastzeero commented 1 year ago

Sorry if this is the wrong place to post, but it is related to NET framework, linux, and Mono. Firstly, I am using Steam Deck. I recently started having issues with Fling trainers. The old ones worked on Steam proton/wine prefixes without any issue (Wine Mono Windows Support v7.4.1 is installed by default). But the recently released trainers does not work. After much research, it turns out I need to install dotnet40. And after much work, I was able to install dotnet40 and get the trainers to start. So I thought I wold post here, so maybe there would be a fix to make Mono support these new trainers.

Old trainers that work without any fixes. Mono 7.4.1 is installed by default: https://flingtrainer.com/trainer/ace-combat-7-skies-unknown-trainer/ https://flingtrainer.com/trainer/elden-ring-trainer/

New trainers tested not working unless installing dotnet40: https://flingtrainer.com/trainer/starfield-trainer/ https://flingtrainer.com/trainer/total-war-warhammer-iii-trainer/ https://flingtrainer.com/trainer/powerwash-simulator-trainer/

If I am at wrong here, then forgive me. If you need any testing or logs, I can gladly provide them.

madewokherd commented 1 year ago

Thank you. This is the right place for this bug.

A log of the trainer running with WINE_MONO_TRACE=x WINEDEBUG=mscoree might shed some light on it. If it doesn't, it'll probably be a while before I can find time to investigate.

sevenpastzeero commented 1 year ago

Ok, so here is 3 log files after starting 2 trainers added as a non steam games. Using Proton 7. First on is Ace Combat 7 trainer that is working normally without any workarounds: Ace_Combat_7_trainer_working_steam-14402251569569464320.log

Armored Core 6 trainer, not working: Armored_core_6_trainer_notworking_steam-12961832436001406976.log

Armored Core 6 trainer working after force installing dotnet4 through cli using these commands (normal installation through winetricks gui fails) WINEPREFIX=/home/deck/.steam/steam/steamapps/compatdata/{APPID}/pfx winetricks dotnet40 win7 WINEPREFIX=/home/deck/.steam/steam/steamapps/compatdata/{APPID}/pfx winetricks winecfg then switching to Windows 10 steam-12961832436001406976.log

steam-18104240248866209792.log

Hope this helps

madewokherd commented 1 year ago

I'm gonna say this shouldn't happen:

[0000000000000138:] EXCEPTION handling: System.InvalidOperationException: The calling thread must be STA, because many UI components require this.

Can you redo "Armored_core_6_trainer_notworking" with WINE_MONO_TRACE=E:System.InvalidOperationException? That should give a stack trace for this.

sevenpastzeero commented 1 year ago

For some reason this command is not giving me a log file in the Home folder? Does it out put it somwhere else?

madewokherd commented 1 year ago

It shouldn't change where the log goes.

sevenpastzeero commented 1 year ago

This one WINE_MONO_TRACE=x WINEDEBUG=mscoree immediatly gives a log file but the other one does not. I am adding it as a Launch Options in steam game properties.

Edit: steam-10976871175115767808.log

sevenpastzeero commented 1 year ago

I am not sure if this is correct but I also used this command WINE_MONO_TRACE=E:System.InvalidOperationException PROTON_LOG=1 %command% and got this output file steam-10976871175115767808.log

Xathros1 commented 1 year ago

Armored Core 6 trainer working after force installing dotnet4 through cli using these commands (normal installation through winetricks gui fails) WINEPREFIX=/home/deck/.steam/steam/steamapps/compatdata/{APPID}/pfx winetricks dotnet40 win7 WINEPREFIX=/home/deck/.steam/steam/steamapps/compatdata/{APPID}/pfx winetricks winecfg then switching to Windows 10 steam-12961832436001406976.log

I tried dotnet48, which works directly without changing to win7. dotnet40 didn't work for me.

wyyadd commented 11 months ago

Hi, any updates to this issue?